/system/bt/service/common/bluetooth/ |
D | service.h | 25 class Service { 27 Service() = default; 28 Service(const Service& other); 29 Service(uint16_t handle, bool primary, const Uuid& uuid, in Service() function 31 const std::vector<Service>& included_services) in Service() 37 Service& operator=(const Service& other); 38 virtual ~Service() = default; 41 bool Equals(const Service& other) const; 42 bool operator==(const Service& rhs) const; 43 bool operator!=(const Service& rhs) const; [all …]
|
D | service.cc | 20 Service::Service(const Service& other) { in Service() function in bluetooth::Service 28 Service& Service::operator=(const Service& other) { in operator =() 39 bool Service::Equals(const Service& other) const { in Equals() 45 bool Service::operator==(const Service& rhs) const { return Equals(rhs); } in operator ==() 47 bool Service::operator!=(const Service& rhs) const { return !Equals(rhs); } in operator !=()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test.h | 32 template <template <typename Type> class Service> 46 Service<IMemoryTest>::run("memory"); in runOnEachServer() 47 Service<IChild>::run("child"); in runOnEachServer() 48 Service<IParent>::run("parent"); in runOnEachServer() 49 Service<IFetcher>::run("fetcher"); in runOnEachServer() 50 Service<IBaz>::run("baz"); in runOnEachServer() 51 Service<IBar>::run("foo"); in runOnEachServer() 52 Service<IHash>::run("default"); in runOnEachServer() 53 Service<IMultithread>::run("multithread"); in runOnEachServer() 54 Service<ITrie>::run("trie"); in runOnEachServer() [all …]
|
/system/core/init/ |
D | service_list.h | 35 void AddService(std::unique_ptr<Service> service); 36 void RemoveService(const Service& svc); 43 template <typename T, typename F = decltype(&Service::name)> 44 Service* FindService(T value, F function = &Service::name) const { 46 [&function, &value](const std::unique_ptr<Service>& s) { 55 Service* FindInterface(const std::string& interface_name) { in FindInterface() 69 const std::vector<Service*> services_in_shutdown_order() const; 75 void DelayService(const Service& service); 83 std::vector<std::unique_ptr<Service>> services_;
|
D | service_list.cpp | 39 void ServiceList::AddService(std::unique_ptr<Service> service) { in AddService() 44 const std::vector<Service*> ServiceList::services_in_shutdown_order() const { in services_in_shutdown_order() 45 std::vector<Service*> shutdown_services; in services_in_shutdown_order() 54 void ServiceList::RemoveService(const Service& svc) { in RemoveService() 57 [&svc](const std::unique_ptr<Service>& s) { return svc.name() == s->name(); }); in RemoveService() 84 Service* service = FindService(name); in MarkServicesUpdate() 96 void ServiceList::DelayService(const Service& service) { in DelayService()
|
D | service_test.cpp | 33 constexpr auto memory_size = sizeof(Service); in TEST() 34 alignas(alignof(Service)) unsigned char old_memory[memory_size]; in TEST() 41 Service* service_in_old_memory = in TEST() 42 new (old_memory) Service("test_old_memory", nullptr, dummy_args); in TEST() 60 Service* service_in_old_memory2 = new (old_memory) Service( in TEST() 79 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 83 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 87 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 101 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 126 auto service_ret = Service::MakeTemporaryOneshotService(args); in Test_make_temporary_oneshot_service()
|
D | service.cpp | 128 unsigned long Service::next_start_order_ = 1; 129 bool Service::is_exec_service_running_ = false; 131 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, in Service() function in android::init::Service 133 : Service(name, 0, 0, 0, {}, 0, "", subcontext_for_restart_commands, args, from_apex) {} in Service() 135 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() function in android::init::Service 160 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange() 187 void Service::KillProcessGroup(int signal, bool report_oneshot) { in KillProcessGroup() 219 void Service::SetProcessAttributesAndCaps() { in SetProcessAttributesAndCaps() 256 void Service::Reap(const siginfo_t& siginfo) { in Reap() 353 void Service::DumpState() const { in DumpState() [all …]
|
D | reboot_test.cpp | 134 std::unique_ptr<Service> oneshot_service; in TEST_F() 136 auto result = Service::MakeTemporaryOneshotService( in TEST_F() 174 std::unique_ptr<Service> oneshot_service; in TEST_F() 176 auto result = Service::MakeTemporaryOneshotService( in TEST_F()
|
D | service.h | 63 class Service { 67 Service(const std::string& name, Subcontext* subcontext_for_restart_commands, 70 Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, 75 static Result<std::unique_ptr<Service>> MakeTemporaryOneshotService(
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_gatt_service.h | 32 class BluetoothGattService : public Parcelable, public ::bluetooth::Service { 35 BluetoothGattService(const ::bluetooth::Service& service) in BluetoothGattService() 36 : ::bluetooth::Service(service){}; // NOLINT(implicit) in BluetoothGattService() 39 : ::bluetooth::Service(includedService.handle(), in BluetoothGattService()
|
/system/bt/bta/gatt/ |
D | database.h | 70 struct Service { struct 110 void Clear() { std::list<Service>().swap(services); } in Clear() 113 const std::list<Service>& Services() const { return services; } in Services() 128 std::list<Service> services; 133 Service* FindService(std::list<Service>& services, uint16_t handle);
|
D | database_builder.cc | 42 database.services.emplace_back(Service{ in AddService() 54 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService() 57 vec.emplace(it, Service{ in AddService() 71 Service* service = FindService(database.services, handle); in AddIncludedService() 93 Service* service = FindService(database.services, handle); in AddCharacteristic() 114 Service* service = FindService(database.services, handle); in AddDescriptor() 163 Service* service = FindService(database.services, pending_service.first); in NextDescriptorRangeToExplore() 195 Descriptor* FindDescriptorByHandle(std::list<Service>& services, in FindDescriptorByHandle() 197 Service* service = FindService(services, handle); in FindDescriptorByHandle()
|
D | database.cc | 41 bool HandleInRange(const Service& svc, uint16_t handle) { in HandleInRange() 51 Service* FindService(std::list<Service>& services, uint16_t handle) { in FindService() 52 for (Service& service : services) { in FindService() 63 for (const Service& service : services) { in ToString() 95 for (const Service& service : services) { in Serialize() 103 for (const Service& service : services) { in Serialize() 145 result.services.emplace_back(Service{ in Deserialize() 173 Service* included_service = in Deserialize() 215 for (const Service& service : services) { in Hash() 245 for (const Service& service : services) { in Hash()
|
D | bta_gattc_cache.cc | 49 using gatt::Service; 123 const Service* bta_gattc_find_matching_service( in bta_gattc_find_matching_service() 124 const std::list<Service>& services, uint16_t handle) { in bta_gattc_find_matching_service() 125 for (const Service& service : services) { in bta_gattc_find_matching_service() 501 for (const Service& service : p_clcb->p_srcb->gatt_database.Services()) { in bta_gattc_search_service() 520 const std::list<Service>* bta_gattc_get_services_srcb(tBTA_GATTC_SERV* p_srcb) { in bta_gattc_get_services_srcb() 526 const std::list<Service>* bta_gattc_get_services(uint16_t conn_id) { in bta_gattc_get_services() 536 const Service* bta_gattc_get_service_for_handle_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_service_for_handle_srcb() 538 const std::list<Service>* services = bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_service_for_handle_srcb() 543 const Service* bta_gattc_get_service_for_handle(uint16_t conn_id, in bta_gattc_get_service_for_handle() [all …]
|
/system/libhidl/transport/ |
D | HidlLazyUtils.cpp | 49 struct Service { struct in android::hardware::details::ClientCounterCallback 61 Service& assertRegisteredServiceLocked(const sp<IBase>& service); 82 std::vector<Service> mRegisteredServices; 121 ClientCounterCallback::Service& ClientCounterCallback::assertRegisteredServiceLocked( in assertRegisteredServiceLocked() 123 for (Service& registered : mRegisteredServices) { in assertRegisteredServiceLocked() 158 Service& registered = assertRegisteredServiceLocked(service); in onClients() 167 for (const Service& registered : mRegisteredServices) { in onClients() 197 for (Service& entry : mRegisteredServices) { in tryUnregisterLocked() 214 for (Service& entry : mRegisteredServices) { in reRegisterLocked()
|
/system/bt/bta/test/common/ |
D | bta_gatt_api_mock.h | 41 virtual const std::list<Service>* GetServices(uint16_t conn_id) = 0; 44 virtual const Service* GetOwningService(uint16_t conn_id, 74 MOCK_METHOD((std::list<Service>*), GetServices, (uint16_t conn_id)); 77 MOCK_METHOD((const Service*), GetOwningService,
|
D | bta_gatt_api_mock.cc | 60 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices() 69 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/ |
D | MultiProcessService.java | 3 import android.app.Service; 10 public class MultiProcessService extends Service {
|
/system/bt/gd/facade/ |
D | read_only_property_server.cc | 24 class ReadOnlyPropertyService : public ReadOnlyProperty::Service { 52 ::grpc::Service* ReadOnlyPropertyServerModule::GetService() const { in GetService()
|
/system/bt/gd/shim/facade/ |
D | facade.cc | 38 class ShimFacadeService : public ShimFacade::Service { 73 ::grpc::Service* ShimFacadeModule::GetService() const { in GetService()
|
/system/bt/gd/hci/facade/ |
D | controller_facade.cc | 39 class ControllerFacadeService : public ControllerFacade::Service { 82 ::grpc::Service* ControllerFacadeModule::GetService() const { in GetService()
|
/system/bt/service/test/ |
D | parcelable_unittest.cc | 39 using bluetooth::Service; 183 Service s = in TEST() 184 Service(0x0001, true, Uuid::FromString("CAFE", nullptr), in TEST() 206 bool result = TestData<Service, android::bluetooth::BluetoothGattService>(s); in TEST()
|
/system/extras/boottime_tools/bootanalyze/stressfs/ |
D | proguard.flags | 3 -keep public class * extends android.app.Service
|
/system/memory/libmemunreachable/tests/ |
D | Binder_test.cpp | 74 _exit(Service()); in Run() 98 int Service() { in Service() function in android::ServiceProcess
|
/system/bt/gd/iso/ |
D | facade.h | 34 ::grpc::Service* GetService() const override;
|