/system/tools/hidl/test/hidl_test/ |
D | hidl_test.h | 32 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/ |
D | service_list.h | 39 void AddService(std::unique_ptr<Service> service); 40 void RemoveService(const Service& svc); 47 template <typename T, typename F = decltype(&Service::name)> 48 Service* FindService(T value, F function = &Service::name) const { 50 [&function, &value](const std::unique_ptr<Service>& s) { 59 std::vector<Service*> FindServicesByApexName(const std::string& apex_name) const { in FindServicesByApexName() 61 std::vector<Service*> matches; in FindServicesByApexName() 70 Service* FindInterface(const std::string& interface_name) { in FindInterface() 84 const std::vector<Service*> services_in_shutdown_order() const; 90 void DelayService(const Service& service); [all …]
|
D | service_list.cpp | 39 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()
|
D | service_test.cpp | 33 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, /*filename=*/"", dummy_args); in TEST() 60 Service* service_in_old_memory2 = new (old_memory) Service( in TEST() 80 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 84 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 88 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 102 ASSERT_FALSE(Service::MakeTemporaryOneshotService(args).ok()); in TEST() 127 auto service_ret = Service::MakeTemporaryOneshotService(args); in Test_make_temporary_oneshot_service()
|
D | service.cpp | 138 unsigned long Service::next_start_order_ = 1; 139 bool Service::is_exec_service_running_ = false; 141 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, in Service() function in android::init::Service 143 : Service(name, 0, 0, 0, {}, 0, "", subcontext_for_restart_commands, filename, args) {} in Service() 145 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() function in android::init::Service 170 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange() 197 void Service::KillProcessGroup(int signal, bool report_oneshot) { in KillProcessGroup() 229 void Service::SetProcessAttributesAndCaps(InterprocessFifo setsid_finished) { in SetProcessAttributesAndCaps() 266 void Service::Reap(const siginfo_t& siginfo) { in Reap() 401 void Service::DumpState() const { in DumpState() [all …]
|
D | service.h | 67 class Service { 71 Service(const std::string& name, Subcontext* subcontext_for_restart_commands, 74 Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, 78 Service(const Service&) = delete; 79 void operator=(const Service&) = delete; 81 static Result<std::unique_ptr<Service>> MakeTemporaryOneshotService(
|
D | reboot_test.cpp | 134 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()
|
D | builtins.cpp | 182 ForEachServiceInClass(args[1], &Service::Stop); in do_class_stop() 187 ForEachServiceInClass(args[1], &Service::Reset); in do_class_reset() 231 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() 242 auto service = Service::MakeTemporaryOneshotService(args.args); in do_exec() 255 auto service = Service::MakeTemporaryOneshotService(args.args); in do_exec_background() 268 Service* service = ServiceList::GetInstance().FindService(args[1]); in do_exec_start() 369 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart() 376 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start() 385 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop() 763 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_start() [all …]
|
D | sigchld_handler.cpp | 72 Service* service = nullptr; in ReapOneProcess() 77 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess()
|
/system/chre/java/test/utils/src/com/google/android/utils/chre/ |
D | ChreApiTestUtil.java | 40 import dev.pigweed.pw_rpc.Service; 384 public static Service getChreApiService() { in getChreApiService() 385 return new Service("chre.rpc.ChreApiTestService", in getChreApiService() 386 Service.unaryMethod( in getChreApiService() 390 Service.unaryMethod( in getChreApiService() 394 Service.unaryMethod( in getChreApiService() 398 Service.serverStreamingMethod( in getChreApiService() 402 Service.unaryMethod( in getChreApiService() 406 Service.serverStreamingMethod( in getChreApiService() 410 Service.unaryMethod( in getChreApiService() [all …]
|
/system/libhidl/transport/ |
D | HidlLazyUtils.cpp | 49 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/chre/util/include/chre/util/pigweed/ |
D | rpc_server.h | 44 struct Service { struct 46 pw::rpc::Service &service; argument 76 bool registerServices(size_t numServices, Service *services);
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | device_as_webcam.te | 1 # Domain for DeviceAsWebcam Service 11 # Allow DeviceAsWebcam Service needs to access ro.usb.uvc.enabled property to 19 # be accessed by the DeviceAsWebcam Service.
|
/system/sepolicy/private/ |
D | device_as_webcam.te | 1 # Domain for DeviceAsWebcam Service 11 # Allow DeviceAsWebcam Service needs to access ro.usb.uvc.enabled property to 19 # be accessed by the DeviceAsWebcam Service.
|
/system/extras/simpleperf/demo/SimpleperfExampleJava/app/src/main/java/simpleperf/example/java/ |
D | MultiProcessService.java | 3 import android.app.Service; 11 public class MultiProcessService extends Service {
|
/system/chre/java/utils/pigweed/src/com/google/android/chre/utils/pigweed/ |
D | ChreRpcClient.java | 35 import dev.pigweed.pw_rpc.Service; 65 long serverNanoappId, @NonNull List<Service> services, in ChreRpcClient() 91 @NonNull List<Service> services) { in ChreRpcClient()
|
/system/chre/java/test/rpc_service/src/com/google/android/chre/test/rpc_service/ |
D | ContextHubRpcServiceTestExecutor.java | 44 import dev.pigweed.pw_rpc.Service; 64 private final Service mEchoService; 75 mEchoService = new Service("pw.rpc.EchoService", in ContextHubRpcServiceTestExecutor() 76 Service.unaryMethod("Echo", Echo.EchoMessage.class, Echo.EchoMessage.class)); in ContextHubRpcServiceTestExecutor()
|
/system/memory/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/ |
D | proguard.flags | 3 -keep public class * extends android.app.Service
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubChreApiTestExecutor.java | 38 import dev.pigweed.pw_rpc.Service; 68 Service chreApiService = ChreApiTestUtil.getChreApiService(); in ContextHubChreApiTestExecutor()
|
/system/chre/apps/test/common/rpc_service_test/inc/ |
D | rpc_service_manager.h | 34 : public pw::rpc::pw_rpc::nanopb::EchoService::Service<EchoService> {
|
/system/chre/test/simulation/inc/ |
D | rpc_test.h | 36 : public chre::rpc::pw_rpc::nanopb::RpcTestService::Service<
|
/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/chre/util/pigweed/ |
D | rpc_server.cc | 42 RpcServer::Service *services) { in registerServices() 54 const Service &service = services[i]; in registerServices()
|
/system/chre/apps/test/common/rpc_service_test/src/ |
D | rpc_service_manager.cc | 39 RpcServer::Service service{ in start()
|