Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 25 of 34) sorted by relevance

12

/system/core/fs_mgr/libsnapshot/corpus/
Dlaunch_device.txt42 actions {
46 actions {
98 actions {
108 actions {
118 actions {
128 actions {
131 actions {
134 actions {
137 actions {
140 actions {
[all …]
/system/extras/libperfmgr/tests/
DHintManagerTest.cc410 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 …]
DNodeLooperThreadTest.cc82 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/
DHintManager.cc119 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 …]
DNodeLooperThread.cc27 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/
DNodeLooperThread.h68 bool Request(const std::vector<NodeAction>& actions,
73 bool Cancel(const std::vector<NodeAction>& actions,
DHintManager.h39 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/
Dusb_linux.cpp620 struct sigaction actions; in usb_init() local
621 memset(&actions, 0, sizeof(actions)); in usb_init()
622 sigemptyset(&actions.sa_mask); in usb_init()
623 actions.sa_flags = 0; in usb_init()
624 actions.sa_handler = [](int) {}; in usb_init()
625 sigaction(SIGALRM, &actions, nullptr); in usb_init()
/system/extras/libperfmgr/tools/
DConfigVerifier.cc52 const std::map<std::string, std::vector<NodeAction>>& actions) in NodeVerifier() argument
53 : HintManager(std::move(nm), actions) {} in NodeVerifier()
/system/core/libprocessgroup/profiles/
Dtask_profiles_test.h56 auto&& action = profile.actions(action_idx); in TEST_P()
Dtask_profiles.proto38 repeated Action actions = 2 [json_name = "Actions"]; field
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot_fuzz.proto107 // More data used to prep the test before running actions.
109 repeated SnapshotManagerActionProto actions = 10000; field
/system/bt/doc/
Dpower_management.md45 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/sepolicy/prebuilts/api/27.0/private/
Disolated_app.te76 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager
77 # except the find actions for services allowlisted below.
Dapp_neverallows.te123 # Do not permit untrusted apps to perform actions on HwBinder service_manager
124 # other than find actions for services listed below
/system/core/libprocessgroup/
Dtask_profiles.cpp406 const Json::Value& actions = profile_val["Actions"]; in Load() local
409 for (Json::Value::ArrayIndex act_idx = 0; act_idx < actions.size(); ++act_idx) { in Load()
410 const Json::Value& action_val = actions[act_idx]; in Load()
/system/sepolicy/prebuilts/api/28.0/private/
Disolated_app.te79 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager
80 # except the find actions for services allowlisted below.
Dapp_neverallows.te146 # Do not permit untrusted apps to perform actions on HwBinder service_manager
147 # other than find actions for services listed below
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp244 SnapshotManagerAction::ExecuteAll(test_module.snapshot.get(), snapshot_fuzz_data.actions()); in DEFINE_PROTO_FUZZER()
294 const auto& action_proto = snapshot_fuzz_data_->actions(action_index); in Execute()
/system/extras/memory_replay/traces/
DREADME21 free - Free memory allocated using one of the above actions.
/system/sepolicy/private/
Disolated_app.te93 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager
94 # except the find actions for services allowlisted below.
/system/sepolicy/prebuilts/api/29.0/private/
Disolated_app.te89 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager
90 # except the find actions for services allowlisted below.
/system/sepolicy/prebuilts/api/30.0/private/
Disolated_app.te90 # Isolated apps must not be permitted to perform actions on Binder and VndBinder service_manager
91 # except the find actions for services allowlisted below.
/system/sepolicy/prebuilts/api/26.0/private/
Dapp_neverallows.te118 # Do not permit untrusted apps to perform actions on HwBinder service_manager
119 # other than find actions for services listed below
/system/bt/gd/packet/parser/
Dlanguage_y.yy135 // All actions are handled in group_definition
139 // All actions are handled in checksum_definition
143 // All actions are handled in custom_field_definition

12