/system/extras/libperfmgr/tests/ |
D | HintManagerTest.cc | 410 std::map<std::string, std::vector<NodeAction>> actions = in TEST_F() local 412 EXPECT_EQ(2u, actions.size()); in TEST_F() 414 EXPECT_EQ(2u, actions["INTERACTION"].size()); in TEST_F() 415 EXPECT_EQ(1u, actions["INTERACTION"][0].node_index); in TEST_F() 416 EXPECT_EQ(1u, actions["INTERACTION"][0].value_index); in TEST_F() 418 actions["INTERACTION"][0].timeout_ms.count()); in TEST_F() 420 EXPECT_EQ(2u, actions["INTERACTION"][1].node_index); in TEST_F() 421 EXPECT_EQ(1u, actions["INTERACTION"][1].value_index); in TEST_F() 423 actions["INTERACTION"][1].timeout_ms.count()); in TEST_F() 425 EXPECT_EQ(3u, actions["LAUNCH"].size()); in TEST_F() [all …]
|
D | NodeLooperThreadTest.cc | 82 std::vector<NodeAction> actions{{0, 0, 200ms}, {1, 1, 400ms}}; in TEST_F() local 83 EXPECT_TRUE(th->Request(actions, "LAUNCH")); in TEST_F() 104 std::vector<NodeAction> actions{{0, 0, 200ms}, {1, 1, 500ms}}; in TEST_F() local 105 EXPECT_TRUE(th->Request(actions, "LAUNCH")); in TEST_F() 112 actions = std::vector<NodeAction>{{0, 0, 300ms}, {1, 1, 100ms}}; in TEST_F() 113 EXPECT_TRUE(th->Request(actions, "LAUNCH")); in TEST_F() 135 std::vector<NodeAction> actions{{0, 0, 0ms}, {1, 1, 0ms}}; in TEST_F() local 136 EXPECT_TRUE(th->Request(actions, "LAUNCH")); in TEST_F() 140 EXPECT_TRUE(th->Cancel(actions, "LAUNCH")); in TEST_F()
|
/system/extras/libperfmgr/ |
D | HintManager.cc | 119 std::map<std::string, std::vector<NodeAction>> actions = in GetFromJSON() local 122 if (actions.empty()) { in GetFromJSON() 129 std::make_unique<HintManager>(std::move(nm), actions); in GetFromJSON() 293 Json::Value actions = root["Actions"]; in ParseActions() local 301 for (Json::Value::ArrayIndex i = 0; i < actions.size(); ++i) { in ParseActions() 302 const std::string& hint_type = actions[i]["PowerHint"].asString(); in ParseActions() 311 std::string node_name = actions[i]["Node"].asString(); in ParseActions() 324 std::string value_name = actions[i]["Value"].asString(); in ParseActions() 338 if (actions[i]["Duration"].empty() || in ParseActions() 339 !actions[i]["Duration"].isUInt64()) { in ParseActions() [all …]
|
D | NodeLooperThread.cc | 27 bool NodeLooperThread::Request(const std::vector<NodeAction>& actions, in Request() argument 39 for (const auto& a : actions) { in Request() 66 bool NodeLooperThread::Cancel(const std::vector<NodeAction>& actions, in Cancel() argument 78 for (const auto& a : actions) { in Cancel()
|
/system/extras/libperfmgr/include/perfmgr/ |
D | NodeLooperThread.h | 68 bool Request(const std::vector<NodeAction>& actions, 73 bool Cancel(const std::vector<NodeAction>& actions,
|
D | HintManager.h | 39 const std::map<std::string, std::vector<NodeAction>>& actions) in HintManager() argument 40 : nm_(std::move(nm)), actions_(actions) {} in HintManager()
|
/system/core/adb/client/ |
D | usb_linux.cpp | 599 struct sigaction actions; in usb_init() local 600 memset(&actions, 0, sizeof(actions)); in usb_init() 601 sigemptyset(&actions.sa_mask); in usb_init() 602 actions.sa_flags = 0; in usb_init() 603 actions.sa_handler = [](int) {}; in usb_init() 604 sigaction(SIGALRM, &actions, nullptr); in usb_init()
|
/system/extras/libperfmgr/tools/ |
D | ConfigVerifier.cc | 69 const std::map<std::string, std::vector<NodeAction>>& actions) in NodeVerifier() argument 70 : HintManager(std::move(nm), actions) {} in NodeVerifier()
|
/system/core/libprocessgroup/profiles/ |
D | task_profiles_test.h | 56 auto&& action = profile.actions(action_idx); in TEST_P()
|
D | task_profiles.proto | 37 repeated Action actions = 2 [json_name = "Actions"]; field
|
/system/bt/doc/ |
D | power_management.md | 45 and what actions to take for the above events are defined in the 52 power modes are acceptable and what actions to take for each event. 55 hex bitfields. The actual actions taken are determined by the 56 `bta_dm_pm_set_mode` function, but a few of the actions listed deserve some 122 both actions specified for the profile in the `bta_dm_pm_spec` tables. If 127 instead. If both actions have been attempted, then the action is set to
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 356 const Json::Value& actions = profile_val["Actions"]; in Load() local 359 for (Json::Value::ArrayIndex act_idx = 0; act_idx < actions.size(); ++act_idx) { in Load() 360 const Json::Value& action_val = actions[act_idx]; in Load()
|
/system/update_engine/ |
D | update_engine-client.gyp | 24 'actions': [
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | isolated_app.te | 76 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager 77 # except the find actions for services whitelisted below.
|
D | app_neverallows.te | 123 # Do not permit untrusted apps to perform actions on HwBinder service_manager 124 # other than find actions for services listed below
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | isolated_app.te | 79 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager 80 # except the find actions for services whitelisted below.
|
D | app_neverallows.te | 146 # Do not permit untrusted apps to perform actions on HwBinder service_manager 147 # other than find actions for services listed below
|
/system/extras/memory_replay/dumps/ |
D | README | 21 free - Free memory allocated using one of the above actions.
|
/system/sepolicy/private/ |
D | isolated_app.te | 89 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager 90 # except the find actions for services whitelisted below.
|
D | app_neverallows.te | 204 # Do not permit untrusted apps to perform actions on HwBinder service_manager 205 # other than find actions for services listed below
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | isolated_app.te | 89 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager 90 # except the find actions for services whitelisted below.
|
D | app_neverallows.te | 204 # Do not permit untrusted apps to perform actions on HwBinder service_manager 205 # other than find actions for services listed below
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | app_neverallows.te | 118 # Do not permit untrusted apps to perform actions on HwBinder service_manager 119 # other than find actions for services listed below
|
/system/core/fs_mgr/ |
D | README.overlayfs.md | 21 as an upper reference, and mount overtop the lower. These actions
|
/system/core/init/ |
D | README.md | 61 2. /vendor/etc/init/ is for SoC vendor items such as actions or 64 actions or daemons needed for motion sensor or other peripheral 72 init .rc file should additionally contain any actions associated with 85 actions that init performs correspond to services whose binaries are in 824 1) Well formatted action, service and import sections, e.g. no actions without a preceding 'on'
|