Searched refs:svc (Results 1 – 9 of 9) sorted by relevance
/system/core/init/ |
D | init_parser_test.cpp | 82 Service* svc = sm.MakeExecOneshotService(args); in Test_make_exec_oneshot_service() local 83 ASSERT_NE(nullptr, svc); in Test_make_exec_oneshot_service() 86 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_exec_oneshot_service() 88 ASSERT_EQ("", svc->seclabel()); in Test_make_exec_oneshot_service() 91 ASSERT_EQ(decode_uid("log"), svc->uid()); in Test_make_exec_oneshot_service() 93 ASSERT_EQ(0U, svc->uid()); in Test_make_exec_oneshot_service() 96 ASSERT_EQ(decode_uid("shell"), svc->gid()); in Test_make_exec_oneshot_service() 98 ASSERT_EQ(0U, svc->gid()); in Test_make_exec_oneshot_service() 101 ASSERT_EQ(2U, svc->supp_gids().size()); in Test_make_exec_oneshot_service() 102 ASSERT_EQ(decode_uid("system"), svc->supp_gids()[0]); in Test_make_exec_oneshot_service() [all …]
|
D | keychords.cpp | 36 void add_service_keycodes(Service* svc) in add_service_keycodes() argument 41 if (!svc->keycodes().empty()) { in add_service_keycodes() 43 size = sizeof(*keychord) + svc->keycodes().size() * sizeof(keychord->keycodes[0]); in add_service_keycodes() 55 keychord->count = svc->keycodes().size(); in add_service_keycodes() 56 svc->set_keychord_id(keychord->id); in add_service_keycodes() 58 for (i = 0; i < svc->keycodes().size(); i++) { in add_service_keycodes() 59 keychord->keycodes[i] = svc->keycodes()[i]; in add_service_keycodes() 79 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord() local 80 if (svc) { in handle_keychord() 81 NOTICE("Starting service '%s' from keychord %d\n", svc->name().c_str(), id); in handle_keychord() [all …]
|
D | service.cpp | 692 Service* svc = svc_p.get(); in MakeExecOneshotService() local 695 return svc; in MakeExecOneshotService() 699 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByName() local 703 if (svc != services_.end()) { in FindServiceByName() 704 return svc->get(); in FindServiceByName() 710 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByPid() local 714 if (svc != services_.end()) { in FindServiceByPid() 715 return svc->get(); in FindServiceByPid() 721 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByKeychord() local 726 if (svc != services_.end()) { in FindServiceByKeychord() [all …]
|
D | builtins.cpp | 175 Service *svc = ServiceManager::GetInstance().FindServiceByName("watchdogd"); in unmount_and_fsck() local 176 if (svc) { in unmount_and_fsck() 180 } while (svc->flags() & SVC_RUNNING); // Paranoid Cargo in unmount_and_fsck() 181 svc->Start(); in unmount_and_fsck() 254 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_enable() local 255 if (!svc) { in do_enable() 258 return svc->Enable(); in do_enable() 262 Service* svc = ServiceManager::GetInstance().MakeExecOneshotService(args); in do_exec() local 263 if (!svc) { in do_exec() 266 if (!svc->Start()) { in do_exec() [all …]
|
D | init.cpp | 145 Service* svc = ServiceManager::GetInstance().FindServiceByName(name); in handle_control_message() local 146 if (svc == nullptr) { in handle_control_message() 152 svc->Start(); in handle_control_message() 154 svc->Stop(); in handle_control_message() 156 svc->Restart(); in handle_control_message()
|
D | service.h | 172 void (*func)(Service* svc)) const; 174 void (*func)(Service* svc)) const; 176 void RemoveService(const Service& svc);
|
D | readme.txt | 411 init.svc.<name>
|
/system/core/bootstat/ |
D | bootstat.rc | 10 # property:init.svc.bootanim=running: The boot animation is running 11 on post-fs-data && property:init.svc.bootanim=running 29 on property:init.svc.zygote=stopping
|
/system/bt/btif/src/ |
D | btif_hf.c | 1087 static bt_status_t cind_response(int svc, int num_active, int num_held, in cind_response() argument 1113 svc, /* network service */ in cind_response()
|