/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/adb/client/ |
D | transport_mdns.cpp | 324 const std::string& service_name); 370 auto service_name = service->serviceName(); in forEachService() local 376 cb(service_name.c_str(), reg_type.c_str(), ip.c_str(), port); in forEachService() 377 } else if (service_name == wanted_service_name) { in forEachService() 378 cb(service_name.c_str(), reg_type.c_str(), ip.c_str(), port); in forEachService() 385 const std::string& service_name) { in connectByServiceName() argument 388 if (service_name == service->serviceName()) { in connectByServiceName() 393 D("No registered serviceNames matched [%s]", service_name.c_str()); in connectByServiceName() 428 void adb_secure_foreach_pairing_service(const char* service_name, in adb_secure_foreach_pairing_service() argument 430 ResolvedService::forEachService(*ResolvedService::sAdbSecurePairingServices, service_name, cb); in adb_secure_foreach_pairing_service() [all …]
|
D | mdns_utils_test.cpp | 30 EXPECT_TRUE(res->service_name.empty()); in TEST() 38 EXPECT_TRUE(res->service_name.empty()); in TEST() 46 EXPECT_TRUE(res->service_name.empty()); in TEST() 82 EXPECT_EQ(res->service_name, "service"); in TEST() 90 EXPECT_EQ(res->service_name, "service"); in TEST() 98 EXPECT_EQ(res->service_name, "service"); in TEST() 106 EXPECT_EQ(res->service_name, "service"); in TEST() 146 EXPECT_EQ(res->service_name, "service"); in TEST() 155 EXPECT_EQ(res->service_name, "service"); in TEST()
|
D | adb_client.h | 94 std::function<void(const char* _Nonnull service_name, const char* _Nonnull reg_type, 100 void adb_secure_foreach_pairing_service(const char* _Nullable service_name, 102 void adb_secure_foreach_connect_service(const char* _Nullable service_name, 106 bool adb_secure_connect_by_service_name(const char* _Nonnull service_name);
|
D | mdns_utils.h | 28 std::string service_name; // "_adb-tls-connect" member 32 : instance_name(inst), service_name(serv), transport_type(trans) {} in MdnsInstance()
|
/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/adb/daemon/ |
D | mdns.cpp | 65 static void register_mdns_service(int index, int port, const std::string service_name) { in register_mdns_service() argument 97 &mdns_refs[index], 0, 0, service_name.c_str(), kADBDNSServices[index], nullptr, nullptr, in register_mdns_service() 203 auto service_name = ReadDeviceGuid(); in register_adb_secure_connect_service() local 204 if (service_name.empty()) { in register_adb_secure_connect_service() 207 LOG(INFO) << "Registering secure_connect service (" << service_name << ")"; in register_adb_secure_connect_service() 208 register_mdns_service(kADBSecureConnectServiceRefIndex, port, service_name); in register_adb_secure_connect_service()
|
/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/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 | 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()
|
/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 | 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 | adb_wifi.h | 35 std::string service_name; member 41 : service_name(name), service_type(type), addr(addr), port(port) {} in MdnsInfo()
|
D | services.cpp | 46 void service_bootstrap_func(std::string service_name, std::function<void(unique_fd)> func, in service_bootstrap_func() argument 48 adb_thread_setname(android::base::StringPrintf("%s svc %d", service_name.c_str(), fd.get())); in service_bootstrap_func() 54 unique_fd create_service_thread(const char* service_name, std::function<void(unique_fd)> func) { in create_service_thread() argument 63 if (strcmp(service_name, "sync") == 0) { in create_service_thread() 71 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()
|
/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/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()
|