Home
last modified time | relevance | path

Searched defs:service (Results 1 – 25 of 130) sorted by relevance

123456

/system/core/init/
Dservice_test.cpp32 TEST(service, pod_initialized) { in TEST() argument
76 TEST(service, make_temporary_oneshot_service_invalid_syntax) { in TEST() argument
90 TEST(service, make_temporary_oneshot_service_too_many_supplementary_gids) { in TEST() argument
168 TEST(service, make_temporary_oneshot_service_with_everything) { in TEST() argument
172 TEST(service, make_temporary_oneshot_service_with_seclabel_uid_gid) { in TEST() argument
176 TEST(service, make_temporary_oneshot_service_with_seclabel_uid) { in TEST() argument
180 TEST(service, make_temporary_oneshot_service_with_seclabel) { in TEST() argument
184 TEST(service, make_temporary_oneshot_service_with_just_command) { in TEST() argument
188 TEST(service, make_temporary_oneshot_service_with_just_command_no_dash) { in TEST() argument
Dservice_list.cpp33 for (const auto& service : services_) { in CheckAllCommands() local
39 void ServiceList::AddService(std::unique_ptr<Service> service) { in AddService()
46 for (const auto& service : services_) { in services_in_shutdown_order() local
84 Service* service = FindService(name); in MarkServicesUpdate() local
96 void ServiceList::DelayService(const Service& service) { in DelayService()
/system/hwservicemanager/
Dtest_lazy.cpp63 auto service = std::make_unique<NiceMock<MockHidlService>>(); in makeService() local
85 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
100 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
115 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
137 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
156 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
180 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
203 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
228 std::unique_ptr<HidlService> service = makeService(); in TEST_F() local
DServiceManager.cpp71 forEachServiceEntry([&] (const HidlService *service) { in forEachExistingService()
80 forEachServiceEntry([&] (HidlService *service) { in forEachExistingService()
178 std::unique_ptr<HidlService> &&service) { in insertService()
200 const std::unique_ptr<HidlService> &service = instanceMapping.second; in addPackageListener() local
239 const std::unique_ptr<HidlService> &service = servicePair.second; in removeServiceListener() local
278 sp<IBase> service = hidlService->getService(); in get() local
306 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add()
328 const sp<IBase>& service, in addImpl()
439 forEachExistingService([&] (const HidlService *service) { in list()
467 const std::unique_ptr<HidlService> &service = serviceMapping.second; in listByInterface() local
[all …]
/system/libhidl/transport/
DHidlLazyUtils.cpp44 sp<IBase> service; member
83 bool ClientCounterCallback::addRegisteredService(const sp<IBase>& service, in addRegisteredService()
95 const sp<IBase>& service) { in assertRegisteredService()
105 bool ClientCounterCallback::registerService(const sp<IBase>& service, const std::string& name) { in registerService()
131 Return<void> ClientCounterCallback::onClients(const sp<::android::hidl::base::V1_0::IBase>& service, in onClients()
193 const sp<::android::hidl::base::V1_0::IBase>& service, const std::string& name) { in registerService()
213 const sp<::android::hidl::base::V1_0::IBase>& service, const std::string& name) { in registerService()
DHidlTransportSupport.cpp62 bool setMinSchedulerPolicy(const sp<IBase>& service, int policy, int priority) { in setMinSchedulerPolicy()
98 SchedPrio getMinSchedulerPolicy(const sp<IBase>& service) { in getMinSchedulerPolicy()
102 bool setRequestingSid(const sp<IBase>& service, bool requesting) { in setRequestingSid()
118 bool getRequestingSid(const sp<IBase>& service) { in getRequestingSid()
DLegacySupport.cpp34 sp<IBase> service = in registerPassthroughServiceImplementation() local
79 [](const sp<IBase>& service, const std::string& name) { in registerPassthroughServiceImplementation()
/system/libhwbinder/vts/performance/
DBenchmark.cpp59 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true); in startServer() local
70 static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) { in BM_sendVec()
86 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true /* getStub */); in BM_sendVec_passthrough() local
98 sp<IBenchmark> service = IBenchmark::getService(gServiceName); in BM_sendVec_binderize() local
DBenchmark_binder.cpp64 BenchmarkServiceAidl *service = new BenchmarkServiceAidl(); in startServer() local
74 sp<IBenchmark> service; in BM_sendVec_binder() local
/system/bt/bta/gatt/
Ddatabase_builder.cc64 Service* service = FindService(database.services, handle); in AddIncludedService() local
86 Service* service = FindService(database.services, handle); in AddCharacteristic() local
107 Service* service = FindService(database.services, handle); in AddDescriptor() local
151 Service* service = FindService(database.services, pending_service.first); in NextDescriptorRangeToExplore() local
Ddatabase.cc55 for (const Service& service : services) { in ToString() local
87 for (const Service& service : services) { in Serialize() local
95 for (const Service& service : services) { in Serialize() local
Dbta_gattc_cache.cc124 for (const Service& service : services) { in bta_gattc_find_matching_service() local
162 const auto& service = p_srvc_cb->pending_discovery.CurrentlyExploredService(); in bta_gattc_explore_next_service() local
380 auto& service = p_srvc_cb->pending_discovery.CurrentlyExploredService(); in bta_gattc_disc_cmpl_cback() local
403 for (const Service& service : p_clcb->p_srcb->gatt_database.Services()) { in bta_gattc_search_service() local
455 const Service* service = in bta_gattc_get_characteristic_srcb() local
479 const Service* service = in bta_gattc_get_descriptor_srcb() local
506 const Service* service = in bta_gattc_get_owning_characteristic_srcb() local
565 for (const Service& service : services) { in bta_gattc_get_db_size() local
619 for (const Service& service : p_srvc_cb->gatt_database.Services()) { in bta_gattc_get_gatt_db_impl() local
/system/connectivity/wificond/tests/integration/
Dscanner_test.cpp39 sp<IWifiScannerImpl> InitInterfaceAndReturnScanner(sp<IWificond> service) { in InitInterfaceAndReturnScanner()
62 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); in TEST() local
Dclient_interface_test.cpp44 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); in TEST() local
81 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); in TEST() local
/system/bt/bta/test/gatt/
Ddatabase_builder_test.cc63 auto service = result.Services().begin(); in TEST() local
84 auto service = result.Services().begin(); in TEST() local
143 auto service = result.Services().begin(); in TEST() local
/system/core/adb/client/
Dadb_client.cpp80 std::string service; in switch_socket_transport() local
153 static int _adb_connect(std::string_view service, TransportId* transport, std::string* error, in _adb_connect()
233 int adb_connect(std::string_view service, std::string* error) { in adb_connect()
344 int adb_connect(TransportId* transport, std::string_view service, std::string* error, in adb_connect()
369 bool adb_command(const std::string& service) { in adb_command()
386 bool adb_query(const std::string& service, std::string* result, std::string* error) { in adb_query()
/system/core/toolbox/
Dstart.cpp30 static void ControlService(bool start, const std::string& service) { in ControlService()
53 for (const auto& service : services) { in ControlDefaultServices() local
/system/tools/aidl/tests/
Daidl_test_client.h38 sp<ITestService> service; variable
/system/bt/service/test/
DParcelableTest.aidl28 void OnIncludedService(in BluetoothGattIncludedService service); in OnIncludedService()
29 void OnService(in BluetoothGattService service); in OnService()
/system/core/trusty/confirmationui/
Dservice.cpp27 auto service = createTrustyConfirmationUI(); in main() local
/system/extras/partition_tools/
Dlpdump_target.cc29 int Run(ILpdump* service, const std::vector<std::string>& args) { in Run()
77 sp<ILpdump> service = wrapper.get(); in main() local
/system/tools/aidl/tests/lazy_test/
Dmain.cpp91 sp<IBinder> service = waitForService(gServiceNames.at(i % nServices)); in TEST_F() local
115 sp<IBinder> service = waitForService(gServiceNames.at(i % nServices)); in testWithTimes() local
170 sp<ILazyTestService> service = android::waitForService<ILazyTestService>(name); in waitForLazyTestService() local
176 sp<ILazyTestService> service; in TEST_F() local
/system/security/keystore-engine/
Dkeystore_backend_hidl.cpp41 sp<IKeystore> service = IKeystore::tryGetService(); in sign() local
71 sp<IKeystore> service = IKeystore::tryGetService(); in get_pubkey() local
/system/bt/service/common/android/bluetooth/
Dbluetooth_gatt_service.h35 BluetoothGattService(const ::bluetooth::Service& service) in BluetoothGattService()
/system/security/keystore/
Dkeystore_cli.cpp179 static int list(const sp<IKeystoreService>& service, const String16& name, int uid) { in list()
204 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in main() local

123456