/system/core/libbinderwrapper/ |
D | stub_binder_wrapper.cc | 31 void StubBinderWrapper::SetBinderForService(const std::string& service_name, in SetBinderForService() argument 33 services_to_return_[service_name] = binder; in SetBinderForService() 37 const std::string& service_name) const { in GetRegisteredService() 38 const auto it = registered_services_.find(service_name); in GetRegisteredService() 48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) { in GetService() argument 49 const auto it = services_to_return_.find(service_name); in GetService() 53 bool StubBinderWrapper::RegisterService(const std::string& service_name, in RegisterService() argument 55 registered_services_[service_name] = binder; in RegisterService()
|
D | real_binder_wrapper.cc | 52 sp<IBinder> RealBinderWrapper::GetService(const std::string& service_name) { in GetService() argument 59 service_manager->checkService(String16(service_name.c_str())); in GetService() 61 LOG(ERROR) << "Unable to get \"" << service_name << "\" service"; in GetService() 65 bool RealBinderWrapper::RegisterService(const std::string& service_name, in RegisterService() argument 73 String16(service_name.c_str()), binder); in RegisterService() 75 LOG(ERROR) << "Failed to register \"" << service_name << "\" with service " in RegisterService()
|
D | real_binder_wrapper.h | 36 sp<IBinder> GetService(const std::string& service_name) override; 37 bool RegisterService(const std::string& service_name,
|
/system/core/libbinderwrapper/include/binderwrapper/ |
D | stub_binder_wrapper.h | 85 void SetBinderForService(const std::string& service_name, 90 sp<IBinder> GetRegisteredService(const std::string& service_name) const; 96 sp<IBinder> GetService(const std::string& service_name) override; 97 bool RegisterService(const std::string& service_name,
|
D | binder_wrapper.h | 60 virtual sp<IBinder> GetService(const std::string& service_name) = 0; 63 virtual bool RegisterService(const std::string& service_name,
|
/system/bt/btif/src/ |
D | btif_sdp_server.cc | 157 if (in_record->hdr.service_name == NULL || in copy_sdp_records() 159 out_record->hdr.service_name = NULL; in copy_sdp_records() 162 out_record->hdr.service_name = free_ptr; // Update service_name pointer in copy_sdp_records() 164 memcpy(free_ptr, in_record->hdr.service_name, in copy_sdp_records() 387 rec->hdr.l2cap_psm, rec->hdr.service_name); in add_maps_sdp() 416 (uint8_t*)rec->hdr.service_name); in add_maps_sdp() 474 rec->hdr.service_name); in add_mapc_sdp() 503 (uint8_t*)rec->hdr.service_name); in add_mapc_sdp() 546 APPL_TRACE_DEBUG("%s(): service name %s", __func__, rec->hdr.service_name); in add_pbapc_sdp() 559 (uint8_t*)rec->hdr.service_name); in add_pbapc_sdp() [all …]
|
D | btif_sock.cc | 44 static bt_status_t btsock_listen(btsock_type_t type, const char* service_name, 132 static bt_status_t btsock_listen(btsock_type_t type, const char* service_name, in btsock_listen() argument 150 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, in btsock_listen() 155 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen() 172 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
|
D | btif_sock_rfc.cc | 90 char service_name[256]; member 230 strlcpy(slot->service_name, name, sizeof(slot->service_name)); in alloc_rfc_slot() 232 memset(slot->service_name, 0, sizeof(slot->service_name)); in alloc_rfc_slot() 251 addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->scn, 0, false); in create_srv_accept_rfc_slot() 279 bt_status_t btsock_rfc_listen(const char* service_name, in btsock_rfc_listen() argument 315 alloc_rfc_slot(NULL, service_name, *service_uuid, channel, flags, true); in btsock_rfc_listen() 321 service_name, channel); in btsock_rfc_listen() 404 add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn); in create_server_sdp_record()
|
/system/core/libmemunreachable/tests/ |
D | Binder_test.cpp | 34 static const String16 service_name("test.libmemunreachable_binder"); variable 106 if (sm->addService(service_name, new BinderService()) != OK) { in Service() 141 sp<IBinder> service = sm->getService(service_name); in TEST_F()
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.cc | 58 record->mns.hdr.service_name = NULL; in bta_create_mns_sdp_record() 73 record->mns.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_mns_sdp_record() 99 record->mas.hdr.service_name = NULL; in bta_create_mas_sdp_record() 126 record->mas.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_mas_sdp_record() 152 record->pse.hdr.service_name = NULL; in bta_create_pse_sdp_record() 172 record->pse.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_pse_sdp_record() 198 record->ops.hdr.service_name = NULL; in bta_create_ops_sdp_record() 208 record->ops.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_ops_sdp_record() 283 record->sap.hdr.service_name = NULL; in bta_create_sap_sdp_record() 292 record->sap.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_sap_sdp_record() [all …]
|
/system/core/adb/ |
D | services.cpp | 44 void service_bootstrap_func(std::string service_name, std::function<void(unique_fd)> func, in service_bootstrap_func() argument 46 adb_thread_setname(android::base::StringPrintf("%s svc %d", service_name.c_str(), fd.get())); in service_bootstrap_func() 52 unique_fd create_service_thread(const char* service_name, std::function<void(unique_fd)> func) { in create_service_thread() argument 61 if (strcmp(service_name, "sync") == 0) { in create_service_thread() 69 std::thread(service_bootstrap_func, service_name, func, unique_fd(s[1])).detach(); in create_service_thread()
|
D | services.h | 31 unique_fd create_service_thread(const char* service_name, std::function<void(unique_fd)> func);
|
/system/bt/include/hardware/ |
D | bt_sdp.h | 42 char* service_name; member 56 char* service_name; member
|
D | bt_sock.h | 64 bt_status_t (*listen)(btsock_type_t type, const char* service_name,
|
/system/core/trusty/storage/proxy/ |
D | ipc.h | 21 int ipc_connect(const char *device, const char *service_name);
|
/system/connectivity/wificond/tests/integration/ |
D | process_utils.cpp | 106 bool IsBinderServiceRegistered(const char* service_name) { in IsBinderServiceRegistered() argument 108 defaultServiceManager()->checkService(String16(service_name)); in IsBinderServiceRegistered()
|
D | process_utils.h | 80 bool IsBinderServiceRegistered(const char* service_name);
|
/system/nfc/src/nfa/include/ |
D | nfa_snep_int.h | 68 char service_name[LLCP_MAX_SN_LEN + 1]; member 88 char service_name[LLCP_MAX_SN_LEN + 1]; member
|
D | nfa_p2p_int.h | 70 char service_name[LLCP_MAX_SN_LEN + 1]; member 112 char service_name[LLCP_MAX_SN_LEN + 1]; member 150 char service_name[LLCP_MAX_SN_LEN + 1]; member
|
D | nfa_snep_api.h | 77 char service_name[LLCP_MAX_SN_LEN + 1]; /* only for server */ member
|
/system/bt/bta/ar/ |
D | bta_ar.cc | 220 void bta_ar_reg_avrc(uint16_t service_uuid, const char* service_name, in bta_ar_reg_avrc() argument 233 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc() 246 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc()
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_act.cc | 621 p_msg->api_reg_server.service_name, nfa_p2p_llcp_cback); in nfa_p2p_reg_server() 626 strncpy(evt_data.reg_server.service_name, in nfa_p2p_reg_server() 627 p_msg->api_reg_server.service_name, LLCP_MAX_SN_LEN); in nfa_p2p_reg_server() 628 evt_data.reg_server.service_name[LLCP_MAX_SN_LEN] = 0; in nfa_p2p_reg_server() 647 strncpy(evt_data.reg_server.service_name, p_msg->api_reg_server.service_name, in nfa_p2p_reg_server() 649 evt_data.reg_server.service_name[LLCP_MAX_SN_LEN] = 0; in nfa_p2p_reg_server() 906 strncpy(conn_params.sn, p_msg->api_connect.service_name, LLCP_MAX_SN_LEN); in nfa_p2p_create_data_link_connection() 1087 if (!nfa_p2p_start_sdp(p_msg->api_remote_sap.service_name, local_sap)) { in nfa_p2p_get_remote_sap()
|
D | nfa_p2p_api.cc | 92 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pRegisterServer() 93 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pRegisterServer() 388 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pConnectByName() 389 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pConnectByName() 445 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pConnectBySap() 927 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pGetRemoteSap() 928 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pGetRemoteSap()
|
/system/libhwbinder/vts/performance/ |
D | Latency.cpp | 160 static Pipe makeServiceProces(string service_name) { in makeServiceProces() argument 169 serviceFx(service_name, move(get<1>(pipe_pair))); in makeServiceProces()
|
D | Benchmark_throughput.cpp | 258 Pipe make_service(string service_name) { in make_service() argument 266 service_fx(service_name, move(get<1>(pipe_pair))); in make_service()
|