/system/libhidl/transport/ |
D | LegacySupport.cpp | 33 RegisterServiceCb registerServiceCb, const std::string& serviceName) { in registerPassthroughServiceImplementation() argument 35 getRawServiceInternal(interfaceName, serviceName, true /*retry*/, true /*getStub*/); in registerPassthroughServiceImplementation() 39 serviceName.c_str()); in registerPassthroughServiceImplementation() 43 ALOGE("Implementation of %s/%s is remote!", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation() 52 serviceName.c_str(), result.description().c_str()); in registerPassthroughServiceImplementation() 57 serviceName.c_str(), actualName.c_str(), expectInterfaceName.c_str()); in registerPassthroughServiceImplementation() 61 status_t status = registerServiceCb(service, serviceName); in registerPassthroughServiceImplementation() 63 ALOGI("Registration complete for %s/%s.", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation() 65 ALOGE("Could not register service %s/%s (%d).", interfaceName.c_str(), serviceName.c_str(), in registerPassthroughServiceImplementation() 76 const std::string& serviceName) { in registerPassthroughServiceImplementation() argument [all …]
|
/system/core/adb/client/ |
D | transport_mdns.cpp | 99 static bool adb_DNSServiceShouldAutoConnect(const char* regType, const char* serviceName) { in adb_DNSServiceShouldAutoConnect() argument 111 if (android::base::StartsWith(serviceName, "adb-EMULATOR")) { in adb_DNSServiceShouldAutoConnect() 112 LOG(INFO) << "Ignoring emulator transport service [" << serviceName << "]"; in adb_DNSServiceShouldAutoConnect() 185 ResolvedService(std::string serviceName, std::string regType, uint32_t interfaceIndex, in ResolvedService() argument 187 : serviceName_(serviceName), in ResolvedService() 302 std::string serviceName() const { return serviceName_; } in serviceName() function in ResolvedService 326 static void removeDNSService(const char* regType, const char* serviceName); 370 auto service_name = service->serviceName(); in forEachService() 388 if (service_name == service->serviceName()) { in connectByServiceName() 389 D("Got service_name match [%s]", service->serviceName().c_str()); in connectByServiceName() [all …]
|
/system/security/identity/ |
D | CredentialStoreFactory.cpp | 38 String16 serviceName = in createCredentialStore() local 41 android::waitForDeclaredService<IIdentityCredentialStore>(serviceName); in createCredentialStore() 44 << serviceName << "'"; in createCredentialStore() 50 LOG(ERROR) << "Error initializing CredentialStore with service name '" << serviceName in createCredentialStore()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_servers.cpp | 52 static void run(const std::string& serviceName) { in run() 58 int status = defaultPassthroughServiceImplementation<T>(serviceName); in run() 62 gPidList.push_back({serviceName, pid}); in run()
|
D | hidl_test_client.cpp | 2246 const std::string serviceName = "otherinterface"; in TEST_F() local 2248 EXPECT_EQ(::android::OK, otherInterface->registerAsService(serviceName)); in TEST_F() 2596 static void run(const std::string& serviceName) { in run() 2597 ::android::hardware::details::waitForHwService(T::descriptor, serviceName); in run()
|
/system/libhwbinder/vts/performance/ |
D | Benchmark_throughput.cpp | 175 string serviceName = "hwbinderService" + to_string(num); in generateServiceName() local 176 return serviceName; in generateServiceName() 179 void service_fx(const string &serviceName, Pipe p) { in service_fx() argument 181 sp<IBenchmark> server = IBenchmark::getService(serviceName, true); in service_fx() 182 ALOGD("Registering %s", serviceName.c_str()); in service_fx() 183 status_t status = server->registerAsService(serviceName); in service_fx() 185 ALOGE("Failed to register service %s", serviceName.c_str()); in service_fx() 189 ALOGD("Starting %s", serviceName.c_str()); in service_fx() 351 string serviceName = generateServiceName(i); in main() local 352 cout << "creating service: " << serviceName << endl; in main() [all …]
|
D | Latency.cpp | 147 static void serviceFx(const string& serviceName, Pipe p) { in serviceFx() argument 149 if (registerPassthroughServiceImplementation<IScheduleTest>(serviceName) != ::android::OK) { in serviceFx() 150 cerr << "Failed to register service " << serviceName.c_str() << endl; in serviceFx()
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 50 String16 serviceName("test.binderAddInts"); variable 93 if ((rv = sm->addService(serviceName, in server() 95 cerr << "addService " << serviceName << " failed, rv: " << rv in server() 116 binder = sm->getService(serviceName); in BM_addInts() 118 cout << serviceName << " not published, waiting..." << endl; in BM_addInts() 123 cout << serviceName << " failed to publish, aborting" << endl; in BM_addInts()
|
/system/libhidl/transport/include/hidl/ |
D | LegacySupport.h | 37 RegisterServiceCb registerServiceCb, const std::string& serviceName = "default"); 46 const std::string& serviceName); 49 const std::string& interfaceName, const std::string& serviceName = "default") { 50 return registerPassthroughServiceImplementation(interfaceName, interfaceName, serviceName);
|
/system/netd/server/ |
D | MDnsSdListener.h | 31 const char *serviceName, const char *regType, const char *replyDomain, 35 DNSServiceErrorType errorCode, const char *serviceName, const char *regType, 122 const char *serviceName, const char *serviceType, const char *domain, 126 const char *interfaceName, const char *serviceName, const char *regType,
|
D | MDnsSdListener.cpp | 104 uint32_t /* interfaceIndex */, DNSServiceErrorType errorCode, const char *serviceName, in MDnsSdListenerDiscoverCallback() argument 116 char *quotedServiceName = SocketClient::quoteArg(serviceName); in MDnsSdListenerDiscoverCallback() 120 serviceName, regType, replyDomain, refNumber); in MDnsSdListenerDiscoverCallback() 126 serviceName, regType, replyDomain, refNumber); in MDnsSdListenerDiscoverCallback() 162 const char *interfaceName, const char *serviceName, const char *serviceType, in serviceRegister() argument 166 interfaceName, serviceName, serviceType, domain, host, port, txtLen); in serviceRegister() 179 DNSServiceErrorType result = DNSServiceRegister(ref, interfaceInt, nativeFlags, serviceName, in serviceRegister() 197 DNSServiceErrorType errorCode, const char *serviceName, const char * /* regType */, in MDnsSdListenerRegisterCallback() argument 207 char *quotedServiceName = SocketClient::quoteArg(serviceName); in MDnsSdListenerRegisterCallback() 211 if (VDBG) ALOGD("register succeeded for %d as %s", refNumber, serviceName); in MDnsSdListenerRegisterCallback() [all …]
|
/system/tools/aidl/tests/lazy_test/ |
D | main.cpp | 161 const String16 serviceName = String16("aidl_lazy_test_1"); member in AidlLazyRegistrarTest 163 if (std::find(gServiceNames.begin(), gServiceNames.end(), serviceName) == gServiceNames.end()) { in SetUp() 164 GTEST_SKIP() << "Persistence test requires special instance: " << serviceName; in SetUp() 178 service = waitForLazyTestService(serviceName); in TEST_F() 188 ASSERT_TRUE(isServiceRunning(serviceName)) << "Service shut down when it shouldn't have."; in TEST_F() 190 ASSERT_FALSE(isServiceRunning(serviceName)) << "Service failed to shut down."; in TEST_F()
|
D | README | 13 With a service: aidl_lazy_test serviceName...
|
/system/hwservicemanager/ |
D | service.cpp | 63 static std::string serviceName = "default"; variable 149 if (!manager->add(serviceName, manager).withDefault(false)) { in main() 154 if (!manager->add(serviceName, tokenManager).withDefault(false)) { in main()
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothSocketManager.aidl | 31 …@nullable ParcelFileDescriptor createSocketChannel(int type, in @nullable String serviceName, in @… in createSocketChannel() argument
|