Home
last modified time | relevance | path

Searched refs:Service (Results 1 – 25 of 122) sorted by relevance

12345

/system/bt/service/common/bluetooth/
Dservice.h25 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 …]
Dservice.cc20 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/
Dhidl_test.h32 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/
Dservice_list.h35 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_;
Dservice_list.cpp39 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()
Dservice_test.cpp33 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()
Dservice.cpp128 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 …]
Dreboot_test.cpp134 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()
Dservice.h63 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/
Dbluetooth_gatt_service.h32 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/
Ddatabase.h70 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);
Ddatabase_builder.cc42 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()
Ddatabase.cc41 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()
Dbta_gattc_cache.cc49 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/
DHidlLazyUtils.cpp49 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/
Dbta_gatt_api_mock.h41 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,
Dbta_gatt_api_mock.cc60 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/
DMultiProcessService.java3 import android.app.Service;
10 public class MultiProcessService extends Service {
/system/bt/gd/facade/
Dread_only_property_server.cc24 class ReadOnlyPropertyService : public ReadOnlyProperty::Service {
52 ::grpc::Service* ReadOnlyPropertyServerModule::GetService() const { in GetService()
/system/bt/gd/shim/facade/
Dfacade.cc38 class ShimFacadeService : public ShimFacade::Service {
73 ::grpc::Service* ShimFacadeModule::GetService() const { in GetService()
/system/bt/gd/hci/facade/
Dcontroller_facade.cc39 class ControllerFacadeService : public ControllerFacade::Service {
82 ::grpc::Service* ControllerFacadeModule::GetService() const { in GetService()
/system/bt/service/test/
Dparcelable_unittest.cc39 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/
Dproguard.flags3 -keep public class * extends android.app.Service
/system/memory/libmemunreachable/tests/
DBinder_test.cpp74 _exit(Service()); in Run()
98 int Service() { in Service() function in android::ServiceProcess
/system/bt/gd/iso/
Dfacade.h34 ::grpc::Service* GetService() const override;

12345