/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 | 18 template <template <typename Type> class Service> 34 Service<IMemoryTest>::run("memory"); in runOnEachServer() 35 Service<IChild>::run("child"); in runOnEachServer() 36 Service<IParent>::run("parent"); in runOnEachServer() 37 Service<IFetcher>::run("fetcher"); in runOnEachServer() 38 Service<IBaz>::run("baz"); in runOnEachServer() 39 Service<IBar>::run("foo"); in runOnEachServer() 40 Service<IHash>::run("default"); in runOnEachServer() 41 Service<IGraph>::run("graph"); in runOnEachServer() 42 Service<IPointer>::run("pointer"); in runOnEachServer() [all …]
|
/system/core/init/ |
D | service.cpp | 109 Result<Success> Service::SetUpMountNamespace() const { in SetUpMountNamespace() 144 Result<Success> Service::SetUpPidNamespace() const { in SetUpPidNamespace() 177 Result<Success> Service::EnterNamespaces() const { in EnterNamespaces() 216 unsigned long Service::next_start_order_ = 1; 217 bool Service::is_exec_service_running_ = false; 219 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, in Service() function in android::init::Service 221 : Service(name, 0, 0, 0, {}, 0, "", subcontext_for_restart_commands, args) {} in Service() 223 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() function in android::init::Service 246 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange() 264 void Service::KillProcessGroup(int signal) { in KillProcessGroup() [all …]
|
D | service_test.cpp | 32 constexpr auto memory_size = sizeof(Service); in TEST() 33 alignas(alignof(Service)) char old_memory[memory_size]; in TEST() 40 Service* service_in_old_memory = in TEST() 41 new (old_memory) Service("test_old_memory", nullptr, dummy_args); in TEST() 59 Service* service_in_old_memory2 = new (old_memory) Service( in TEST() 78 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); in TEST() 82 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); in TEST() 86 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); in TEST() 100 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); in TEST() 125 auto svc = Service::MakeTemporaryOneshotService(args); in Test_make_temporary_oneshot_service()
|
D | service.h | 65 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 std::unique_ptr<Service> MakeTemporaryOneshotService(const std::vector<std::string>& args); 132 using OptionParser = Result<Success> (Service::*)(std::vector<std::string>&& args); 263 void AddService(std::unique_ptr<Service> service); 264 void RemoveService(const Service& svc); 266 template <typename T, typename F = decltype(&Service::name)> 267 Service* FindService(T value, F function = &Service::name) const { 269 [&function, &value](const std::unique_ptr<Service>& s) { [all …]
|
D | sigchld_handler.cpp | 62 Service* service = nullptr; in ReapOneProcess() 69 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess()
|
D | builtins.cpp | 140 ForEachServiceInClass(args[1], &Service::Stop); in do_class_stop() 145 ForEachServiceInClass(args[1], &Service::Reset); in do_class_reset() 153 ForEachServiceInClass(args[1], &Service::ResetIfPostData); in do_class_reset_post_data() 161 ForEachServiceInClass(args[1], &Service::Restart); in do_class_restart() 173 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() 184 auto service = Service::MakeTemporaryOneshotService(args.args); in do_exec() 197 auto service = Service::MakeTemporaryOneshotService(args.args); in do_exec_background() 210 Service* service = ServiceList::GetInstance().FindService(args[1]); in do_exec_start() 279 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart() 286 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start() [all …]
|
D | init.cpp | 237 static Result<Success> DoControlStart(Service* service) { in DoControlStart() 241 static Result<Success> DoControlStop(Service* service) { in DoControlStop() 246 static Result<Success> DoControlRestart(Service* service) { in DoControlRestart() 258 std::function<Result<Success>(Service*)> action; 303 Service* svc = nullptr; in HandleControlMessage() 776 if (!(waiting_for_prop || Service::is_exec_service_running())) { in SecondStageMain() 779 if (!(waiting_for_prop || Service::is_exec_service_running())) { in SecondStageMain()
|
D | reboot.cpp | 148 Service* service = ServiceList::GetInstance().FindService("blank_screen"); in TurnOffBacklight() 399 Service* bootAnim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot() 400 Service* surfaceFlinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot() 479 Service* voldService = ServiceList::GetInstance().FindService("vold"); in DoReboot()
|
/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()
|
D | bluetooth_gatt_included_service.h | 37 const ::bluetooth::Service& service) // NOLINT(implicit) in BluetoothGattIncludedService()
|
/system/bt/bta/gatt/ |
D | database.h | 67 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);
|
D | database.cc | 38 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() 131 Service{.handle = attr.handle, in Deserialize() 157 Service* included_service = in Deserialize()
|
D | database_builder.cc | 35 database.services.emplace_back(Service{.handle = handle, in AddService() 45 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService() 48 vec.emplace(it, Service{.handle = handle, in AddService() 60 Service* service = FindService(database.services, handle); in AddIncludedService() 82 Service* service = FindService(database.services, handle); in AddCharacteristic() 102 Service* service = FindService(database.services, handle); in AddDescriptor() 146 Service* service = FindService(database.services, pending_service.first); in NextDescriptorRangeToExplore()
|
D | bta_gattc_cache.cc | 57 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 …]
|
D | bta_gattc_int.h | 429 extern const std::list<gatt::Service>* bta_gattc_get_services(uint16_t conn_id); 430 extern const gatt::Service* bta_gattc_get_service_for_handle(uint16_t conn_id, 434 extern const gatt::Service* bta_gattc_get_service_for_handle_srcb(
|
/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/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/core/libmemunreachable/tests/ |
D | Binder_test.cpp | 74 _exit(Service()); in Run() 98 int Service() { in Service() function in android::ServiceProcess
|
/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/ |
D | WritingService.java | 18 import android.app.Service; 60 public class WritingService extends Service {
|
/system/iorap/src/binder/ |
D | iiorap_impl.h | 28 template <typename Service>
|
/system/libhidl/transport/ |
D | HidlLazyUtils.cpp | 57 struct Service { struct in android::hardware::details::ClientCounterCallback 64 std::vector<Service> mRegisteredServices;
|
/system/bt/service/ |
D | gatt_server.h | 125 std::function<void(BLEStatus status, const Service& id)>; 137 bool AddService(const Service&, const ResultCallback& callback);
|