/system/core/init/ |
D | service_test.cpp | 128 auto svc = std::move(*service_ret); in Test_make_temporary_oneshot_service() local 131 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_temporary_oneshot_service() 133 ASSERT_EQ("", svc->seclabel()); in Test_make_temporary_oneshot_service() 138 ASSERT_EQ(*decoded_uid, svc->uid()); in Test_make_temporary_oneshot_service() 140 ASSERT_EQ(0U, svc->uid()); in Test_make_temporary_oneshot_service() 145 ASSERT_EQ(*decoded_uid, svc->gid()); in Test_make_temporary_oneshot_service() 147 ASSERT_EQ(0U, svc->gid()); in Test_make_temporary_oneshot_service() 150 ASSERT_EQ(2U, svc->supp_gids().size()); in Test_make_temporary_oneshot_service() 154 ASSERT_EQ(*decoded_uid, svc->supp_gids()[0]); in Test_make_temporary_oneshot_service() 158 ASSERT_EQ(*decoded_uid, svc->supp_gids()[1]); in Test_make_temporary_oneshot_service() [all …]
|
D | lmkd_service.cpp | 83 auto svc = service.get(); in RegisterServices() local 84 if (svc->oom_score_adjust() != DEFAULT_OOM_SCORE_ADJUST) { in RegisterServices() 86 if (svc->pid() == exclude_pid || svc->pid() == 0) { in RegisterServices() 89 if (RegisterProcess(svc->uid(), svc->pid(), svc->oom_score_adjust()) != in RegisterServices()
|
D | service_list.h | 36 void RemoveService(const Service& svc); 45 auto svc = std::find_if(services_.begin(), services_.end(), variable 49 if (svc != services_.end()) { 50 return svc->get(); 56 for (const auto& svc : services_) { in FindInterface() local 57 if (svc->interfaces().count(interface_name) > 0) { in FindInterface() 58 return svc.get(); in FindInterface()
|
D | service_list.cpp | 54 void ServiceList::RemoveService(const Service& svc) { in RemoveService() argument 57 [&svc](const std::unique_ptr<Service>& s) { return svc.name() == s->name(); }); in RemoveService()
|
D | builtins.cpp | 238 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() local 239 if (!svc) return Error() << "Could not find service"; in do_enable() 241 if (auto result = svc->Enable(); !result.ok()) { in do_enable() 344 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart() local 345 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_restart() 346 svc->Restart(); in do_interface_restart() 351 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start() local 352 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_start() 353 if (auto result = svc->Start(); !result.ok()) { in do_interface_start() 360 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop() local [all …]
|
D | init.cpp | 649 auto svc = service.get(); in HandleKeychord() local 650 if (svc->keycodes() == keycodes) { in HandleKeychord() 652 LOG(INFO) << "Starting service '" << svc->name() << "' from keychord " in HandleKeychord() 654 if (auto result = svc->Start(); !result.ok()) { in HandleKeychord() 655 LOG(ERROR) << "Could not start service '" << svc->name() << "' from keychord " in HandleKeychord() 852 for (const auto& svc : ServiceList::GetInstance()) { in SecondStageMain() local 853 keychords.Register(svc->keycodes()); in SecondStageMain()
|
D | service_parser.cpp | 171 for (const auto& svc : *service_list_) { in ParseInterface() 172 if (svc->interfaces().count(fullname) > 0) { in ParseInterface() 174 << " but is already defined by " << svc->name(); in ParseInterface()
|
D | README.md | 735 `init.svc.<name>`
|
/system/extras/profcollectd/libprofcollectd/ |
D | interface.cpp | 56 auto svc = sp<ProfcollectdBinder>(new ProfcollectdBinder()); in InitService() local 57 sm->addService(String16(ProfcollectdBinder::getServiceName()), svc); in InitService() 59 svc->ScheduleCollection(); in InitService()
|
/system/bt/service/ |
D | gatt_server.cc | 70 std::vector<btgatt_db_element_t> svc; in AddService() local 72 svc.push_back({ in AddService() 79 svc.push_back({.uuid = characteristic.uuid(), in AddService() 84 svc.push_back({.uuid = descriptor.uuid(), in AddService() 90 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService() 97 server_id_, svc); in AddService() 299 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback() argument 305 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback() 306 << " service Uuid: " << Uuid(svc[0].uuid).ToString() in ServiceAddedCallback() 307 << " count: " << svc.size(); in ServiceAddedCallback() [all …]
|
/system/bt/bta/gatt/ |
D | database.cc | 38 bool HandleInRange(const Service& svc, uint16_t handle) { in HandleInRange() argument 39 return handle >= svc.handle && handle <= svc.end_handle; in HandleInRange()
|
/system/bt/include/hardware/ |
D | bluetooth_headset_interface.h | 139 virtual bt_status_t CindResponse(int svc, int num_active, int num_held,
|
/system/core/bootstat/ |
D | bootstat.rc | 48 # property:init.svc.bootanim=running: The boot animation is running 50 on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | property_contexts | 139 init.svc.odm. u:object_r:vendor_default_prop:s0 140 init.svc.vendor. u:object_r:vendor_default_prop:s0
|
/system/sepolicy/private/ |
D | property_contexts | 186 init.svc.odm. u:object_r:vendor_default_prop:s0 187 init.svc.vendor. u:object_r:vendor_default_prop:s0 523 init.svc. u:object_r:init_service_status_private_prop:s0 prefix string 526 init.svc.bugreport u:object_r:init_service_status_prop:s0 exact string 527 init.svc.bugreportd u:object_r:init_service_status_prop:s0 exact string 528 init.svc.console u:object_r:init_service_status_prop:s0 exact string 529 init.svc.dumpstatez u:object_r:init_service_status_prop:s0 exact string 530 init.svc.mediadrm u:object_r:init_service_status_prop:s0 exact string 531 init.svc.statsd u:object_r:init_service_status_prop:s0 exact string 532 init.svc.surfaceflinger u:object_r:init_service_status_prop:s0 exact string [all …]
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | property_contexts | 199 init.svc.bugreport u:object_r:exported2_default_prop:s0 exact string 200 init.svc.console u:object_r:exported2_default_prop:s0 exact string 201 init.svc.dumpstatez u:object_r:exported2_default_prop:s0 exact string 202 init.svc.mediadrm u:object_r:exported2_default_prop:s0 exact string 203 init.svc.surfaceflinger u:object_r:exported2_default_prop:s0 exact string 204 init.svc.tombstoned u:object_r:exported2_default_prop:s0 exact string 205 init.svc.zygote u:object_r:exported2_default_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | property_contexts | 166 init.svc.odm. u:object_r:vendor_default_prop:s0 167 init.svc.vendor. u:object_r:vendor_default_prop:s0
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | property_contexts | 223 init.svc.bugreport u:object_r:exported2_default_prop:s0 exact string 224 init.svc.console u:object_r:exported2_default_prop:s0 exact string 225 init.svc.dumpstatez u:object_r:exported2_default_prop:s0 exact string 226 init.svc.mediadrm u:object_r:exported2_default_prop:s0 exact string 227 init.svc.surfaceflinger u:object_r:exported2_default_prop:s0 exact string 228 init.svc.tombstoned u:object_r:exported2_default_prop:s0 exact string 229 init.svc.zygote u:object_r:exported2_default_prop:s0 exact string
|
/system/bt/btif/src/ |
D | btif_hf.cc | 723 bt_status_t CindResponse(int svc, int num_active, int num_held, 956 bt_status_t HeadsetInterface::CindResponse(int svc, int num_active, in CindResponse() argument 979 svc, /* network service */ in CindResponse()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | property_contexts | 186 init.svc.odm. u:object_r:vendor_default_prop:s0 187 init.svc.vendor. u:object_r:vendor_default_prop:s0
|
/system/core/rootdir/ |
D | init.usb.configfs.rc | 14 on property:init.svc.adbd=stopped
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | property_contexts | 153 init.svc.tombstoned u:object_r:exported2_default_prop:s0 exact string
|