/system/core/init/ |
D | service_test.cpp | 125 auto svc = Service::MakeTemporaryOneshotService(args); in Test_make_temporary_oneshot_service() local 126 ASSERT_NE(nullptr, svc); in Test_make_temporary_oneshot_service() 129 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_temporary_oneshot_service() 131 ASSERT_EQ("", svc->seclabel()); in Test_make_temporary_oneshot_service() 136 ASSERT_EQ(*decoded_uid, svc->uid()); in Test_make_temporary_oneshot_service() 138 ASSERT_EQ(0U, svc->uid()); in Test_make_temporary_oneshot_service() 143 ASSERT_EQ(*decoded_uid, svc->gid()); in Test_make_temporary_oneshot_service() 145 ASSERT_EQ(0U, svc->gid()); in Test_make_temporary_oneshot_service() 148 ASSERT_EQ(2U, svc->supp_gids().size()); in Test_make_temporary_oneshot_service() 152 ASSERT_EQ(*decoded_uid, svc->supp_gids()[0]); in Test_make_temporary_oneshot_service() [all …]
|
D | builtins.cpp | 173 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() local 174 if (!svc) return Error() << "Could not find service"; in do_enable() 176 if (auto result = svc->Enable(); !result) { in do_enable() 279 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart() local 280 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_restart() 281 svc->Restart(); in do_interface_restart() 286 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start() local 287 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_start() 288 if (auto result = svc->Start(); !result) { in do_interface_start() 295 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop() local [all …]
|
D | init.cpp | 303 Service* svc = nullptr; in HandleControlMessage() local 307 svc = ServiceList::GetInstance().FindService(name); in HandleControlMessage() 310 svc = ServiceList::GetInstance().FindInterface(name); in HandleControlMessage() 318 if (svc == nullptr) { in HandleControlMessage() 323 if (auto result = function.action(svc); !result) { in HandleControlMessage() 587 auto svc = service.get(); in HandleKeychord() local 588 if (svc->keycodes() == keycodes) { in HandleKeychord() 590 LOG(INFO) << "Starting service '" << svc->name() << "' from keychord " in HandleKeychord() 592 if (auto result = svc->Start(); !result) { in HandleKeychord() 593 LOG(ERROR) << "Could not start service '" << svc->name() << "' from keychord " in HandleKeychord() [all …]
|
D | service.h | 264 void RemoveService(const Service& svc); 268 auto svc = std::find_if(services_.begin(), services_.end(), variable 272 if (svc != services_.end()) { 273 return svc->get(); 279 for (const auto& svc : services_) { in FindInterface() local 280 if (svc->interfaces().count(interface_name) > 0) { in FindInterface() 281 return svc.get(); in FindInterface()
|
D | service.cpp | 529 for (const auto& svc : ServiceList::GetInstance()) { in ParseInterface() local 530 if (svc->interfaces().count(fullname) > 0) { in ParseInterface() 532 << " but is already defined by " << svc->name(); in ParseInterface() 1349 void ServiceList::RemoveService(const Service& svc) { in RemoveService() argument 1351 [&svc] (const std::unique_ptr<Service>& s) { in RemoveService() 1352 return svc.name() == s->name(); in RemoveService()
|
D | README.md | 678 `init.svc.<name>`
|
/system/bt/service/ |
D | gatt_server.cc | 70 std::vector<btgatt_db_element_t> svc; in AddService() local 72 svc.push_back({.type = (service.primary() ? BTGATT_DB_PRIMARY_SERVICE in AddService() 77 svc.push_back({.type = BTGATT_DB_CHARACTERISTIC, in AddService() 82 svc.push_back({.type = BTGATT_DB_DESCRIPTOR, in AddService() 88 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService() 95 server_id_, svc); in AddService() 297 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback() argument 303 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback() 304 << " service Uuid: " << Uuid(svc[0].uuid).ToString() in ServiceAddedCallback() 305 << " 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/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 68 on property:init.svc.zygote=stopping
|
/system/bt/include/hardware/ |
D | bluetooth_headset_interface.h | 139 virtual bt_status_t CindResponse(int svc, int num_active, int num_held,
|
/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/prebuilts/api/29.0/public/ |
D | property_contexts | 188 init.svc.bugreport u:object_r:exported2_default_prop:s0 exact string 189 init.svc.console u:object_r:exported2_default_prop:s0 exact string 190 init.svc.dumpstatez u:object_r:exported2_default_prop:s0 exact string 191 init.svc.mediadrm u:object_r:exported2_default_prop:s0 exact string 192 init.svc.surfaceflinger u:object_r:exported2_default_prop:s0 exact string 193 init.svc.tombstoned u:object_r:exported2_default_prop:s0 exact string 194 init.svc.zygote u:object_r:exported2_default_prop:s0 exact string
|
/system/sepolicy/public/ |
D | property_contexts | 188 init.svc.bugreport u:object_r:exported2_default_prop:s0 exact string 189 init.svc.console u:object_r:exported2_default_prop:s0 exact string 190 init.svc.dumpstatez u:object_r:exported2_default_prop:s0 exact string 191 init.svc.mediadrm u:object_r:exported2_default_prop:s0 exact string 192 init.svc.surfaceflinger u:object_r:exported2_default_prop:s0 exact string 193 init.svc.tombstoned u:object_r:exported2_default_prop:s0 exact string 194 init.svc.zygote u:object_r:exported2_default_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | property_contexts | 164 init.svc.odm. u:object_r:vendor_default_prop:s0 165 init.svc.vendor. u:object_r:vendor_default_prop:s0
|
/system/sepolicy/private/ |
D | property_contexts | 164 init.svc.odm. u:object_r:vendor_default_prop:s0 165 init.svc.vendor. u:object_r:vendor_default_prop:s0
|
/system/bt/btif/src/ |
D | btif_hf.cc | 687 bt_status_t CindResponse(int svc, int num_active, int num_held, 920 bt_status_t HeadsetInterface::CindResponse(int svc, int num_active, in CindResponse() argument 943 svc, /* network service */ in CindResponse()
|
/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
|