Searched refs:client_sockfd (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/power/ |
D | power.c | 39 static int client_sockfd; variable 45 if (!client_sockfd) { in socket_init() 46 client_sockfd = socket(PF_UNIX, SOCK_DGRAM, 0); in socket_init() 47 if (client_sockfd < 0) { in socket_init() 69 if (client_sockfd < 0) { in sync_thread() 78 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in sync_thread() 81 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in sync_thread() 95 if (client_sockfd < 0) { in enc_boost() 104 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in enc_boost() 107 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in enc_boost() [all …]
|