/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/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/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/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 | 2580 static void run(const std::string& serviceName) { in run() 2581 ::android::hardware::details::waitForHwService(T::descriptor, serviceName); in run()
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 107 const char* serviceName, const char* regType, in MDnsSdListenerDiscoverCallback() argument 120 info.serviceName = serviceName; in MDnsSdListenerDiscoverCallback() 130 serviceName, regType, replyDomain, refNumber); in MDnsSdListenerDiscoverCallback() 135 ALOGD("Discover lost serviceName %s, regType %s and domain %s for %d", serviceName, in MDnsSdListenerDiscoverCallback() 162 int MDnsSdListener::serviceRegister(int requestId, const char* serviceName, const char* serviceType, in serviceRegister() argument 167 serviceName, serviceType, domain ? domain : "null", host ? host : "null", port); in serviceRegister() 178 ref, nativeFlags, ifIndex, serviceName, serviceType, domain, host, port, in serviceRegister() 194 DNSServiceErrorType errorCode, const char* serviceName, in MDnsSdListenerRegisterCallback() argument 208 info.serviceName = serviceName; in MDnsSdListenerRegisterCallback() 211 if (VDBG) ALOGD("register succeeded for %d as %s", refNumber, serviceName); in MDnsSdListenerRegisterCallback() [all …]
|
D | MDnsSdListener.h | 31 DNSServiceErrorType errorCode, const char* serviceName, 35 DNSServiceErrorType errorCode, const char *serviceName, const char *regType, 70 int serviceRegister(int requestId, const char* serviceName, const char* serviceType, 74 int resolveService(int requestId, uint32_t ifIndex, const char* serviceName,
|
D | MDnsService.cpp | 75 info.id, info.serviceName.c_str(), info.registrationType.c_str(), nullptr /* domain */, in registerService() 89 int res = mListener.resolveService(info.id, info.interfaceIdx, info.serviceName.c_str(), in resolve()
|
/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/tools/aidl/tests/lazy_test/ |
D | main.cpp | 167 const String16 serviceName = String16("aidl_lazy_test_1"); member in AidlLazyRegistrarTest 169 if (std::find(gServiceNames.begin(), gServiceNames.end(), serviceName) == gServiceNames.end()) { in SetUp() 170 GTEST_SKIP() << "Persistence test requires special instance: " << serviceName; in SetUp() 185 service = waitForLazyTestService<ILazyTestService>(serviceName); in TEST_F() 195 ASSERT_TRUE(isServiceRunning(serviceName)) << "Service shut down when it shouldn't have."; in TEST_F() 197 ASSERT_FALSE(isServiceRunning(serviceName)) << "Service failed to shut down."; in TEST_F() 248 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 152 if (!manager->add(serviceName, manager).withDefault(false)) { in main() 157 if (!manager->add(serviceName, tokenManager).withDefault(false)) { in main()
|
/system/chre/host/common/ |
D | wifi_ext_hal_handler.cc | 57 auto serviceName = std::string() + IWifiExt::descriptor + "/default"; in checkWifiExtHalConnected() local 59 ndk::SpAIBinder(AServiceManager_waitForService(serviceName.c_str()))); in checkWifiExtHalConnected()
|
/system/chre/host/common/test/power_test/ |
D | chre_power_test_client.cc | 759 std::string &serviceName = args[2]; in createNanSubMessage() local 760 std::vector<uint8_t> serviceNameBytes(serviceName.begin(), serviceName.end()); in createNanSubMessage() 764 serviceName.c_str()); in createNanSubMessage()
|