Home | History | Annotate | Download | only in android

Lines Matching refs:service_name

942                                           const char*    service_name );
984 char *service_name = qemud_service_load_name(f);
985 if (service_name == NULL)
989 QemudService *sv = qemud_service_find(current_services, service_name);
992 __FUNCTION__, service_name);
1171 qemud_service_find( QemudService* service_list, const char* service_name)
1175 if (!strcmp(sv->name, service_name)) {
1200 char *service_name = android_alloc(name_len);
1201 if ((ret = qemu_get_buffer(f, (uint8_t*)service_name, name_len) != name_len)) {
1204 AFREE(service_name);
1207 if (service_name[name_len - 1] != '\0') {
1208 char last = service_name[name_len - 1];
1209 service_name[name_len - 1] = '\0'; /* make buffer contents printable */
1212 __FUNCTION__, name_len, last, service_name, last);
1213 AFREE(service_name);
1217 return service_name;
1242 char* service_name = qemud_service_load_name(f);
1243 if (service_name == NULL)
1247 QemudService *sv = qemud_service_find(current_services, service_name);
1250 __FUNCTION__, service_name);
1328 const char* service_name,
1332 QemudService* sv = qemud_service_find(m->services, service_name);
1334 D("%s: no registered '%s' service", __FUNCTION__, service_name);
1341 __FUNCTION__, service_name, sv->num_clients);
1426 const char* service_name = (const char*)msg + 8;
1430 q = strchr(service_name, ':');
1444 ret = qemud_multiplexer_connect(mult, service_name, channel);
1488 const char* service_name = (const char*)msg + 11;
1489 char* q = strchr(service_name, ':');
1522 if (!strcmp(service_name,"control"))
1523 service_name = "hw-control";
1525 qemud_multiplexer_connect(mult, service_name, channel);
1904 char service_name[512];
1920 srv_name_len = min(client_args - args, sizeof(service_name) - 1);
1927 srv_name_len = min(strlen(args), sizeof(service_name) - 1);
1929 memcpy(service_name, args, srv_name_len);
1930 service_name[srv_name_len] = '\0';
1933 while (sv != NULL && strcmp(sv->name, service_name)) {
1937 D("%s: Service '%s' has not been registered!", __FUNCTION__, service_name);
2133 char *service_name = qemud_service_load_name(f);
2134 if (service_name == NULL)
2137 QemudService *sv = qemud_service_find(_multiplexer->services, service_name);
2140 __FUNCTION__, service_name);
2299 qemud_service_register( const char* service_name,
2311 sv = qemud_service_new(service_name,
2318 D("Registered QEMUD service %s", service_name);