• Home
  • Raw
  • Download

Lines Matching refs:service_name

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