Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 10 of 10) sorted by relevance

/system/tools/hidl/test/hidl_test/
Dhidl_test_servers.cpp52 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()
Dhidl_test_client.cpp2220 const std::string serviceName = "otherinterface"; in TEST_F() local
2222 EXPECT_EQ(::android::OK, otherInterface->registerAsService(serviceName)); in TEST_F()
2862 static void run(const std::string& serviceName) { in run()
2863 ::android::hardware::details::waitForHwService(T::descriptor, serviceName); in run()
/system/libhwbinder/vts/performance/
DBenchmark_throughput.cpp174 string serviceName = "hwbinderService" + to_string(num); in generateServiceName() local
175 return serviceName; in generateServiceName()
178 void service_fx(const string &serviceName, Pipe p) { in service_fx() argument
180 sp<IBenchmark> server = IBenchmark::getService(serviceName, true); in service_fx()
181 ALOGD("Registering %s", serviceName.c_str()); in service_fx()
182 status_t status = server->registerAsService(serviceName); in service_fx()
184 ALOGE("Failed to register service %s", serviceName.c_str()); in service_fx()
188 ALOGD("Starting %s", serviceName.c_str()); in service_fx()
350 string serviceName = generateServiceName(i); in main() local
351 cout << "creating service: " << serviceName << endl; in main()
[all …]
DLatency.cpp147 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/
DbinderAddInts.cpp50 String16 serviceName("test.binderAddInts"); variable
94 if ((rv = sm->addService(serviceName, in server()
96 cerr << "addService " << serviceName << " failed, rv: " << rv in server()
117 binder = sm->getService(serviceName); in BM_addInts()
119 cout << serviceName << " not published, waiting..." << endl; in BM_addInts()
124 cout << serviceName << " failed to publish, aborting" << endl; in BM_addInts()
/system/core/adb/client/
Dtransport_mdns.cpp185 DiscoveredService(uint32_t interfaceIndex, const char* serviceName, in DiscoveredService() argument
187 : serviceName_(serviceName) { in DiscoveredService()
190 DNSServiceResolve(&sdRef_, 0, interfaceIndex, serviceName, regtype, in DiscoveredService()
246 const char* serviceName, in register_mdns_transport() argument
258 auto discovered = new DiscoveredService(interfaceIndex, serviceName, regtype, domain); in register_mdns_transport()
/system/netd/server/
DMDnsSdListener.h30 const char *serviceName, const char *regType, const char *replyDomain,
34 DNSServiceErrorType errorCode, const char *serviceName, const char *regType,
120 const char *serviceName, const char *serviceType, const char *domain,
124 const char *interfaceName, const char *serviceName, const char *regType,
DMDnsSdListener.cpp104 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/hwservicemanager/
Dservice.cpp63 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/
DIBluetoothSocketManager.aidl31 …@nullable ParcelFileDescriptor createSocketChannel(int type, in @nullable String serviceName, in @… in createSocketChannel() argument