/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/core/init/test_kill_services/ |
D | init_kill_services_test.cpp | 26 void ExpectKillingServiceRecovers(const std::string& service_name) { in ExpectKillingServiceRecovers() argument 27 const std::string status_prop = "init.svc." + service_name; in ExpectKillingServiceRecovers() 28 const std::string pid_prop = "init.svc_debug_pid." + service_name; in ExpectKillingServiceRecovers()
|
/system/memory/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 | 41 record->mns.hdr.service_name = NULL; in bta_create_mns_sdp_record() 56 record->mns.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_mns_sdp_record() 82 record->mas.hdr.service_name = NULL; in bta_create_mas_sdp_record() 109 record->mas.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_mas_sdp_record() 135 record->pse.hdr.service_name = NULL; in bta_create_pse_sdp_record() 155 record->pse.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_pse_sdp_record() 181 record->ops.hdr.service_name = NULL; in bta_create_ops_sdp_record() 191 record->ops.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_ops_sdp_record() 266 record->sap.hdr.service_name = NULL; in bta_create_sap_sdp_record() 275 record->sap.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_sap_sdp_record() [all …]
|
/system/bt/btif/src/ |
D | btif_sock.cc | 45 static bt_status_t btsock_listen(btsock_type_t type, const char* service_name, 130 static bt_status_t btsock_listen(btsock_type_t type, const char* service_name, in btsock_listen() argument 148 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, in btsock_listen() 153 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen() 170 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
|
D | btif_sdp_server.cc | 156 if (in_record->hdr.service_name == NULL || in copy_sdp_records() 158 out_record->hdr.service_name = NULL; in copy_sdp_records() 161 out_record->hdr.service_name = free_ptr; // Update service_name pointer in copy_sdp_records() 163 memcpy(free_ptr, in_record->hdr.service_name, in copy_sdp_records() 406 (uint8_t*)rec->hdr.service_name); in add_maps_sdp() 486 (uint8_t*)rec->hdr.service_name); in add_mapc_sdp() 541 (uint8_t*)rec->hdr.service_name); in add_pbapc_sdp() 598 (uint8_t*)rec->hdr.service_name); in add_pbaps_sdp() 678 (uint8_t*)rec->hdr.service_name); in add_opps_sdp() 758 (uint8_t*)rec->hdr.service_name); in add_saps_sdp()
|
D | btif_sock_rfc.cc | 77 char service_name[256]; member 216 strlcpy(slot->service_name, name, sizeof(slot->service_name)); in alloc_rfc_slot() 218 memset(slot->service_name, 0, sizeof(slot->service_name)); in alloc_rfc_slot() 237 addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->scn, 0, false); in create_srv_accept_rfc_slot() 265 bt_status_t btsock_rfc_listen(const char* service_name, in btsock_rfc_listen() argument 297 alloc_rfc_slot(NULL, service_name, *service_uuid, channel, flags, true); in btsock_rfc_listen() 303 service_name, channel); in btsock_rfc_listen() 385 add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn); in create_server_sdp_record()
|
/system/bt/bta/ar/ |
D | bta_ar.cc | 158 void bta_ar_reg_avrc(uint16_t service_uuid, const char* service_name, in bta_ar_reg_avrc() argument 170 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc() 183 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc()
|
/system/core/trusty/storage/proxy/ |
D | ipc.h | 21 int ipc_connect(const char *device, const char *service_name);
|
/system/security/keystore2/src/ |
D | globals.rs | 191 let service_name = match *security_level { in connect_keymint() localVariable 212 let (keymint, hal_version) = if let Some(service_name) = service_name { in connect_keymint() 214 map_binder_status_code(binder::get_interface(&service_name)) in connect_keymint() 351 let service_name = match *security_level { in connect_remotely_provisioned_component() localVariable 372 map_binder_status_code(binder::get_interface(&service_name)) in connect_remotely_provisioned_component()
|
D | shared_secret_negotiation.rs | 176 let service_name = format!( in connect_participants() localVariable 180 match map_binder_status_code(binder::get_interface(&service_name)) { in connect_participants() 184 service_name, in connect_participants()
|
/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/bt/include/hardware/ |
D | bt_sdp.h | 43 char* service_name; member 57 char* service_name; member
|
D | bt_sock.h | 70 bt_status_t (*listen)(btsock_type_t type, 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
|
/system/bt/test/mock/ |
D | mock_bta_ar.cc | 51 void bta_ar_reg_avrc(uint16_t service_uuid, const char* service_name, in bta_ar_reg_avrc() argument
|
/system/chre/chpp/api_parser/ |
D | chre_api_to_chpp.py | 68 self.service_name = self.json['filename'].split('/')[-1].split('.')[0] 69 self.capitalized_service_name = self.service_name[0].upper() + self.service_name[1:] 341 "#include \"chpp/common/{}_types.h\"\n\n".format(self.service_name)] 587 upcased_service_name = self.service_name[0].upper() + self.service_name[1:] 593 return chre_stripped[len(self.service_name):] 831 filename = self.service_name + "_types.h" 846 header_guard = "CHPP_{}_TYPES_H_".format(self.service_name.upper()) 866 filename = self.service_name + "_convert.c"
|
/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 strlcpy(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 strlcpy(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 strlcpy(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 strlcpy(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 strlcpy(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 strlcpy(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()
|