Searched refs:Service (Results 1 - 23 of 23) sorted by relevance

/system/bt/service/common/bluetooth/
H A Dservice.cc20 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 Dservice.h25 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 Dkeychords.h25 void add_service_keycodes(Service* svc);
H A Dservice.cpp105 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 Dservice_test.cpp32 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 Dservice.h63 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 Dkeychords.cpp39 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 Dsigchld_handler.cpp59 // 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 Dbuiltins.cpp116 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 Dinit.cpp214 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 Dreboot.cpp142 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 Dbluetooth_gatt_service.h32 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 Dbluetooth_gatt_included_service.h37 const ::bluetooth::Service& service) // NOLINT(implicit)
/system/tools/hidl/test/hidl_test/
H A Dhidl_test.h15 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 DMultiProcessService.java3 import android.app.Service;
10 public class MultiProcessService extends Service {
/system/core/libmemunreachable/tests/
H A DBinder_test.cpp74 _exit(Service());
98 int Service() { function in class:android::ServiceProcess
/system/bt/service/test/
H A Dparcelable_unittest.cc39 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 Dgatt_server_unittest.cc255 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 DWritingService.java18 import android.app.Service;
60 public class WritingService extends Service {
/system/bt/service/
H A Dgatt_server.h125 std::function<void(BLEStatus status, const Service& id)>;
137 bool AddService(const Service&, const ResultCallback& callback);
H A Dgatt_server.cc59 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 Dbluetooth_gatt_server_binder_server.cc82 const bluetooth::Service& service) {
/system/bt/service/example/heart_rate/
H A Dheart_rate_server.cc58 /* Advertising data: 16-bit Service Uuid: Heart Rate Service, Tx power*/
242 bluetooth::Service hrService(0, true, kHRServiceUuid,

Completed in 251 milliseconds