Searched refs:svc (Results 1 – 12 of 12) sorted by relevance
/system/core/init/ |
D | init_parser_test.cpp | 84 Service* svc = sm.MakeExecOneshotService(args); in Test_make_exec_oneshot_service() local 85 ASSERT_NE(nullptr, svc); in Test_make_exec_oneshot_service() 88 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_exec_oneshot_service() 90 ASSERT_EQ("", svc->seclabel()); in Test_make_exec_oneshot_service() 96 ASSERT_EQ(decoded_uid, svc->uid()); in Test_make_exec_oneshot_service() 98 ASSERT_EQ(0U, svc->uid()); in Test_make_exec_oneshot_service() 104 ASSERT_EQ(decoded_uid, svc->gid()); in Test_make_exec_oneshot_service() 106 ASSERT_EQ(0U, svc->gid()); in Test_make_exec_oneshot_service() 109 ASSERT_EQ(2U, svc->supp_gids().size()); in Test_make_exec_oneshot_service() 113 ASSERT_EQ(decoded_uid, svc->supp_gids()[0]); in Test_make_exec_oneshot_service() [all …]
|
D | keychords.cpp | 39 void add_service_keycodes(Service* svc) in add_service_keycodes() argument 44 if (!svc->keycodes().empty()) { in add_service_keycodes() 46 size = sizeof(*keychord) + svc->keycodes().size() * sizeof(keychord->keycodes[0]); in add_service_keycodes() 58 keychord->count = svc->keycodes().size(); in add_service_keycodes() 59 svc->set_keychord_id(keychord->id); in add_service_keycodes() 61 for (i = 0; i < svc->keycodes().size(); i++) { in add_service_keycodes() 62 keychord->keycodes[i] = svc->keycodes()[i]; in add_service_keycodes() 82 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord() local 83 if (svc) { in handle_keychord() 84 LOG(INFO) << "Starting service " << svc->name() << " from keychord " << id; in handle_keychord() [all …]
|
D | service.cpp | 986 Service* svc = MakeExecOneshotService(args); in Exec() local 987 if (!svc) { in Exec() 991 if (!svc->ExecStart(&exec_waiter_)) { in Exec() 993 ServiceManager::GetInstance().RemoveService(*svc); in Exec() 1000 Service* svc = FindServiceByName(name); in ExecStart() local 1001 if (!svc) { in ExecStart() 1005 if (!svc->ExecStart(&exec_waiter_)) { in ExecStart() 1075 Service* svc = svc_p.get(); in MakeExecOneshotService() local 1078 return svc; in MakeExecOneshotService() 1082 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByName() local [all …]
|
D | builtins.cpp | 165 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_enable() local 166 if (!svc) { in do_enable() 169 return svc->Enable(); in do_enable() 607 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_start() local 608 if (!svc) { in do_start() 612 if (!svc->Start()) in do_start() 618 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_stop() local 619 if (!svc) { in do_stop() 623 svc->Stop(); in do_stop() 628 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_restart() local [all …]
|
D | keychords.h | 25 void add_service_keycodes(Service* svc);
|
D | service.h | 213 void (*func)(Service* svc)) const; 215 void (*func)(Service* svc)) const; 217 void RemoveService(const Service& svc);
|
D | init.cpp | 210 Service* svc = ServiceManager::GetInstance().FindServiceByName(name); in handle_control_message() local 211 if (svc == nullptr) { in handle_control_message() 217 svc->Start(); in handle_control_message() 219 svc->Stop(); in handle_control_message() 221 svc->Restart(); in handle_control_message()
|
D | README.md | 570 `init.svc.<name>`
|
/system/bt/service/ |
D | gatt_server.cc | 68 std::vector<btgatt_db_element_t> svc; in AddService() local 70 svc.push_back({.type = (service.primary() ? BTGATT_DB_PRIMARY_SERVICE in AddService() 75 svc.push_back({.type = BTGATT_DB_CHARACTERISTIC, in AddService() 80 svc.push_back({.type = BTGATT_DB_DESCRIPTOR, in AddService() 86 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService() 93 server_id_, svc); in AddService() 295 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback() argument 301 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback() 302 << " service UUID: " << UUID(svc[0].uuid).ToString() in ServiceAddedCallback() 303 << " count: " << svc.size(); in ServiceAddedCallback() [all …]
|
/system/core/bootstat/ |
D | bootstat.rc | 42 # property:init.svc.bootanim=running: The boot animation is running 44 on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block 62 on property:init.svc.zygote=stopping
|
/system/bt/btif/src/ |
D | btif_hf.cc | 1019 static bt_status_t cind_response(int svc, int num_active, int num_held, in cind_response() argument 1043 svc, /* network service */ in cind_response()
|
/system/core/rootdir/ |
D | init.usb.configfs.rc | 15 on property:init.svc.adbd=stopped
|