/system/bt/service/common/bluetooth/ |
H A D | service.cc | 20 Service::Service(const Service& other) { function in class:bluetooth::Service 28 Service& Service::operator=(const Service& other) { 39 bool Service::Equals(const Service& other) const { 45 bool Service::operator==(const Service [all...] |
H A D | service.h | 25 class Service { class in namespace:bluetooth 27 Service() = default; 28 Service(const Service& other); 29 Service(uint16_t handle, bool primary, const Uuid& uuid, function in class:bluetooth::Service 31 const std::vector<Service>& included_services) 37 Service& operator=(const Service& other); 38 virtual ~Service() = default; 41 bool Equals(const Service [all...] |
/system/core/init/ |
H A D | keychords.h | 25 void add_service_keycodes(Service* svc);
|
H A D | service.cpp | 105 Result<Success> Service::SetUpMountNamespace() const { 140 Result<Success> Service::SetUpPidNamespace() const { 173 Result<Success> Service::EnterNamespaces() const { 203 unsigned long Service::next_start_order_ = 1; 204 bool Service::is_exec_service_running_ = false; 206 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, function in class:android::init::Service 208 : Service(name, 0, 0, 0, {}, 0, 0, "", subcontext_for_restart_commands, args) {} 210 Service::Service(cons function in class:android::init::Service [all...] |
H A D | service_test.cpp | 32 constexpr auto memory_size = sizeof(Service); 33 alignas(alignof(Service)) char old_memory[memory_size]; 40 Service* service_in_old_memory = 41 new (old_memory) Service("test_old_memory", nullptr, dummy_args); 60 Service* service_in_old_memory2 = new (old_memory) Service( 80 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); 84 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); 88 ASSERT_EQ(nullptr, Service::MakeTemporaryOneshotService(args)); 102 ASSERT_EQ(nullptr, Service [all...] |
H A D | service.h | 63 class Service { class in namespace:android::init 65 Service(const std::string& name, Subcontext* subcontext_for_restart_commands, 68 Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, 73 static std::unique_ptr<Service> MakeTemporaryOneshotService(const std::vector<std::string>& args); 124 using OptionParser = Result<Success> (Service::*)(const std::vector<std::string>& args); 234 void AddService(std::unique_ptr<Service> service); 235 void RemoveService(const Service& svc); 237 template <typename T, typename F = decltype(&Service::name)> 238 Service* FindService(T value, F function = &Service [all...] |
H A D | keychords.cpp | 39 void add_service_keycodes(Service* svc) 82 Service* svc = ServiceList::GetInstance().FindService(id, &Service::keychord_id); 90 LOG(ERROR) << "Service for keychord " << id << " not found";
|
H A D | sigchld_handler.cpp | 59 // We do NOT want to reap the zombie earlier as in Service::Reap(), we kill(-pid, ...) and we 65 Service* service = nullptr; 72 service = ServiceList::GetInstance().FindService(pid, &Service::pid); 75 name = StringPrintf("Service '%s' (pid %d)", service->name().c_str(), pid);
|
H A D | builtins.cpp | 116 ForEachServiceInClass(args[1], &Service::Stop); 121 ForEachServiceInClass(args[1], &Service::Reset); 126 ForEachServiceInClass(args[1], &Service::Restart); 138 Service* svc = ServiceList::GetInstance().FindService(args[1]); 149 auto service = Service::MakeTemporaryOneshotService(args.args); 162 auto service = Service::MakeTemporaryOneshotService(args.args); 175 Service* service = ServiceList::GetInstance().FindService(args[1]); 177 return Error() << "Service not found"; 618 Service* svc = ServiceList::GetInstance().FindService(args[1]); 627 Service* sv [all...] |
H A D | init.cpp | 214 static Result<Success> DoControlStart(Service* service) { 218 static Result<Success> DoControlStop(Service* service) { 223 static Result<Success> DoControlRestart(Service* service) { 235 std::function<Result<Success>(Service*)> action; 277 Service* svc = ServiceList::GetInstance().FindService(name); 760 if (!(waiting_for_prop || Service::is_exec_service_running())) { 763 if (!(waiting_for_prop || Service::is_exec_service_running())) {
|
H A D | reboot.cpp | 142 Service* service = ServiceList::GetInstance().FindService("blank_screen"); 392 Service* bootAnim = ServiceList::GetInstance().FindService("bootanim"); 393 Service* surfaceFlinger = ServiceList::GetInstance().FindService("surfaceflinger"); 449 Service* voldService = ServiceList::GetInstance().FindService("vold");
|
/system/bt/service/common/android/bluetooth/ |
H A D | bluetooth_gatt_service.h | 32 class BluetoothGattService : public Parcelable, public ::bluetooth::Service { 35 BluetoothGattService(const ::bluetooth::Service& service) 36 : ::bluetooth::Service(service){}; // NOLINT(implicit) 39 : ::bluetooth::Service(includedService.handle(),
|
H A D | bluetooth_gatt_included_service.h | 37 const ::bluetooth::Service& service) // NOLINT(implicit)
|
/system/tools/hidl/test/hidl_test/ |
H A D | hidl_test.h | 15 template <template <typename Type> class Service> 28 Service<IMemoryTest>::run("memory"); 29 Service<IChild>::run("child"); 30 Service<IParent>::run("parent"); 31 Service<IFetcher>::run("fetcher"); 32 Service<IBar>::run("foo"); 33 Service<IHash>::run("default"); 34 Service<IGraph>::run("graph"); 35 Service<IPointer>::run("pointer"); 36 Service<IMultithrea [all...] |
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/ |
H A D | MultiProcessService.java | 3 import android.app.Service; 10 public class MultiProcessService extends Service {
|
/system/core/libmemunreachable/tests/ |
H A D | Binder_test.cpp | 74 _exit(Service()); 98 int Service() { function in class:android::ServiceProcess
|
/system/bt/service/test/ |
H A D | parcelable_unittest.cc | 39 using bluetooth::Service; 183 Service s = 184 Service(0x0001, true, Uuid::FromString("CAFE", nullptr), 206 bool result = TestData<Service, android::bluetooth::BluetoothGattService>(s);
|
H A D | gatt_server_unittest.cc | 255 Service service(0, true, uuid0, {}, {}); 258 service, [&](BLEStatus status, const Service& added_service) {
|
/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/ |
H A D | WritingService.java | 18 import android.app.Service; 60 public class WritingService extends Service {
|
/system/bt/service/ |
H A D | gatt_server.h | 125 std::function<void(BLEStatus status, const Service& id)>; 137 bool AddService(const Service&, const ResultCallback& callback);
|
H A D | gatt_server.cc | 59 bool GattServer::AddService(const bluetooth::Service& service, 300 Service service(svc[0].attribute_handle, true, Uuid(svc[0].uuid), {}, {});
|
/system/bt/service/ipc/binder/ |
H A D | bluetooth_gatt_server_binder_server.cc | 82 const bluetooth::Service& service) {
|
/system/bt/service/example/heart_rate/ |
H A D | heart_rate_server.cc | 58 /* Advertising data: 16-bit Service Uuid: Heart Rate Service, Tx power*/ 242 bluetooth::Service hrService(0, true, kHRServiceUuid,
|