Home
last modified time | relevance | path

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

1234

/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<std::unique_ptr<Service>>& services() const { return services_; } in services()
70 const std::vector<Service*> services_in_shutdown_order() const;
76 void DelayService(const Service& service);
84 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.cpp132 unsigned long Service::next_start_order_ = 1;
133 bool Service::is_exec_service_running_ = false;
135 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, in Service() function in android::init::Service
137 : Service(name, 0, 0, 0, {}, 0, "", subcontext_for_restart_commands, args, from_apex) {} in Service()
139 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() function in android::init::Service
163 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange()
190 void Service::KillProcessGroup(int signal, bool report_oneshot) { in KillProcessGroup()
222 void Service::SetProcessAttributesAndCaps() { in SetProcessAttributesAndCaps()
259 void Service::Reap(const siginfo_t& siginfo) { in Reap()
350 void Service::DumpState() const { in DumpState()
[all …]
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(
Dreboot.cpp88 static std::vector<Service*> GetDebuggingServices(bool only_post_data) { in GetDebuggingServices()
89 std::vector<Service*> ret; in GetDebuggingServices()
193 Service* service = ServiceList::GetInstance().FindService("blank_screen"); in TurnOffBacklight()
506 static void StopServices(const std::vector<Service*>& services, std::chrono::milliseconds timeout, in StopServices()
532 static int StopServicesAndLogViolations(const std::vector<Service*>& services, in StopServicesAndLogViolations()
623 std::vector<Service*> stop_first; in DoReboot()
651 Service* boot_anim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot()
652 Service* surface_flinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot()
694 Service* vold_service = ServiceList::GetInstance().FindService("vold"); in DoReboot()
784 std::vector<Service*> stop_first; in DoUserspaceReboot()
[all …]
/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.h67 struct Service { struct
105 void Clear() { std::list<Service>().swap(services); } in Clear()
108 const std::list<Service>& Services() const { return services; } in Services()
120 std::list<Service> services;
125 Service* FindService(std::list<Service>& services, uint16_t handle);
Ddatabase.cc38 bool HandleInRange(const Service& svc, uint16_t handle) { in HandleInRange()
43 Service* FindService(std::list<Service>& services, uint16_t handle) { in FindService()
44 for (Service& service : services) { in FindService()
55 for (const Service& service : services) { in ToString()
87 for (const Service& service : services) { in Serialize()
95 for (const Service& service : services) { in Serialize()
130 result.services.emplace_back(Service{ in Deserialize()
158 Service* included_service = in Deserialize()
Ddatabase_builder.cc35 database.services.emplace_back(Service{ in AddService()
47 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService()
50 vec.emplace(it, Service{ in AddService()
64 Service* service = FindService(database.services, handle); in AddIncludedService()
86 Service* service = FindService(database.services, handle); in AddCharacteristic()
107 Service* service = FindService(database.services, handle); in AddDescriptor()
151 Service* service = FindService(database.services, pending_service.first); in NextDescriptorRangeToExplore()
Dbta_gattc_cache.cc57 using gatt::Service;
122 const Service* bta_gattc_find_matching_service( in bta_gattc_find_matching_service()
123 const std::list<Service>& services, uint16_t handle) { in bta_gattc_find_matching_service()
124 for (const Service& service : services) { in bta_gattc_find_matching_service()
403 for (const Service& service : p_clcb->p_srcb->gatt_database.Services()) { in bta_gattc_search_service()
422 const std::list<Service>* bta_gattc_get_services_srcb(tBTA_GATTC_SERV* p_srcb) { in bta_gattc_get_services_srcb()
428 const std::list<Service>* bta_gattc_get_services(uint16_t conn_id) { in bta_gattc_get_services()
438 const Service* bta_gattc_get_service_for_handle_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_service_for_handle_srcb()
440 const std::list<Service>* services = bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_service_for_handle_srcb()
445 const Service* bta_gattc_get_service_for_handle(uint16_t conn_id, in bta_gattc_get_service_for_handle()
[all …]
/system/libhidl/transport/
DHidlLazyUtils.cpp43 struct Service { struct in android::hardware::details::ClientCounterCallback
53 Service& assertRegisteredService(const sp<IBase>& service);
69 std::vector<Service> mRegisteredServices;
94 ClientCounterCallback::Service& ClientCounterCallback::assertRegisteredService( in assertRegisteredService()
96 for (Service& registered : mRegisteredServices) { in assertRegisteredService()
133 Service& registered = assertRegisteredService(service); in onClients()
142 for (const Service& registered : mRegisteredServices) { in onClients()
/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/core/adb/daemon/
Dlogging.cpp52 result[adb::LogType::Service] = true; in ParseLogStatus()
57 result[adb::LogType::Service] = true; in ParseLogStatus()
Dlogging.h24 Service, enumerator
/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/bt/gd/hci/facade/
Dcontroller_facade.cc39 class ControllerFacadeService : public ControllerFacade::Service {
91 ::grpc::Service* ControllerFacadeModule::GetService() const { in GetService()
/system/memory/libmemunreachable/tests/
DBinder_test.cpp74 _exit(Service()); in Run()
98 int Service() { in Service() function in android::ServiceProcess
/system/bt/gd/security/
Dfacade.h34 ::grpc::Service* GetService() const override;

1234