Home
last modified time | relevance | path

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

12

/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/core/init/
Dservice.cpp153 Service::Service(const std::string& name, const std::vector<std::string>& args) in Service() function in Service
172 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() function in Service
196 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange()
212 void Service::KillProcessGroup(int signal) { in KillProcessGroup()
230 void Service::SetProcessAttributes() { in SetProcessAttributes()
271 void Service::Reap() { in Reap()
323 void Service::DumpState() const { in DumpState()
331 bool Service::ParseCapabilities(const std::vector<std::string>& args, std::string* err) { in ParseCapabilities()
361 bool Service::ParseClass(const std::vector<std::string>& args, std::string* err) { in ParseClass()
366 bool Service::ParseConsole(const std::vector<std::string>& args, std::string* err) { in ParseConsole()
[all …]
Dservice_test.cpp27 constexpr auto memory_size = sizeof(Service); in TEST()
28 alignas(alignof(Service)) char old_memory[memory_size]; in TEST()
35 Service* service_in_old_memory = new (old_memory) Service("test_old_memory", dummy_args); in TEST()
53 Service* service_in_old_memory2 = new (old_memory) in TEST()
54 Service("test_old_memory", 0U, 0U, 0U, std::vector<gid_t>(), CapSet(), 0U, "", dummy_args); in TEST()
Dservice.h67 class Service {
69 Service(const std::string& name, const std::vector<std::string>& args);
71 Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid,
112 using OptionParser = bool (Service::*) (const std::vector<std::string>& args,
191 void AddService(std::unique_ptr<Service> service);
192 Service* MakeExecOneshotService(const std::vector<std::string>& args);
196 Service* FindServiceByName(const std::string& name) const;
197 Service* FindServiceByPid(pid_t pid) const;
198 Service* FindServiceByKeychord(int keychord_id) const;
199 void ForEachService(const std::function<void(Service*)>& callback) const;
[all …]
Dreboot.cpp335 ServiceManager::GetInstance().ForEachService([&kill_after_apps, &to_starts](Service* s) { in DoReboot()
344 Service* bootAnim = ServiceManager::GetInstance().FindServiceByName("bootanim"); in DoReboot()
345 Service* surfaceFlinger = ServiceManager::GetInstance().FindServiceByName("surfaceflinger"); in DoReboot()
347 ServiceManager::GetInstance().ForEachServiceInClass("animation", [](Service* s) { in DoReboot()
358 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()
369 ServiceManager::GetInstance().ForEachService([&service_count](Service* s) { in DoReboot()
394 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()
400 Service* voldService = ServiceManager::GetInstance().FindServiceByName("vold"); in DoReboot()
408 ServiceManager::GetInstance().ForEachService([&kill_after_apps](Service* s) { in DoReboot()
Dkeychords.cpp37 void add_service_keycodes(Service* svc) in add_service_keycodes()
80 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord()
Dbuiltins.cpp135 ForEachServiceInClass(args[1], [] (Service* s) { s->StartIfNotDisabled(); }); in do_class_start()
141 ForEachServiceInClass(args[1], [] (Service* s) { s->Stop(); }); in do_class_stop()
147 ForEachServiceInClass(args[1], [] (Service* s) { s->Reset(); }); in do_class_reset()
153 ForEachServiceInClass(args[1], [] (Service* s) { s->Restart(); }); in do_class_restart()
162 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_enable()
576 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_start()
587 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_stop()
597 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_restart()
Dinit_parser_test.cpp82 Service* svc = sm.MakeExecOneshotService(args); in Test_make_exec_oneshot_service()
Dinit.cpp174 ServiceManager::GetInstance().ForEachServiceWithFlags(SVC_RESTARTING, [](Service* s) { in restart_processes()
180 Service* svc = ServiceManager::GetInstance().FindServiceByName(name); in handle_control_message()
/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()
Dbluetooth_gatt_included_service.h37 const ::bluetooth::Service& service) // NOLINT(implicit) in BluetoothGattIncludedService()
/system/update_engine/
Dweave_service.h51 void OnWeaveServiceConnected(const std::weak_ptr<weaved::Service>& service);
60 std::unique_ptr<weaved::Service::Subscription> weave_service_subscription_;
61 std::weak_ptr<weaved::Service> weave_service_;
Dweave_service.cc41 weave_service_subscription_ = weaved::Service::Connect( in Init()
49 const std::weak_ptr<weaved::Service>& service) { in OnWeaveServiceConnected()
/system/bt/service/test/
Dparcelable_unittest.cc39 using bluetooth::Service;
183 Service s = in TEST()
184 Service(0x0001, true, UUID("CAFE"), in TEST()
206 bool result = TestData<Service, android::bluetooth::BluetoothGattService>(s); in TEST()
Dgatt_server_unittest.cc255 Service service(0, true, uuid0, {}, {}); in SetUpTestService()
258 service, [&](BLEStatus status, const Service& added_service) { in SetUpTestService()
/system/bt/service/
Dgatt_server.h124 std::function<void(BLEStatus status, const Service& id)>;
136 bool AddService(const bluetooth::Service&, const ResultCallback& callback);
Dgatt_server.cc69 bool GattServer::AddService(const bluetooth::Service& service, in AddService()
310 Service service(svc[0].attribute_handle, true, UUID(svc[0].uuid), {}, {}); in ServiceAddedCallback()
/system/ca-certificates/files/
D6fcc125d.029 Issuer: C=US, O=VISA, OU=Visa International Service Association, CN=Visa eCommerce Root
33 Subject: C=US, O=VISA, OU=Visa International Service Association, CN=Visa eCommerce Root
/system/sepolicy/private/
Dsecurity_classes134 # Service manager
/system/sepolicy/reqd_mask/
Dsecurity_classes134 # Service manager
/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.cc82 const bluetooth::Service& service) { in AddService()
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc242 bluetooth::Service hrService( in OnServerRegistered()
/system/sepolicy/public/
Dvold.te111 # Property Service
/system/core/liblog/
DREADME186 temporarily backed-up either because of Denial Of Service (DOS) logging

12