Home
last modified time | relevance | path

Searched refs:actions (Results 1 - 10 of 10) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_media_content_test.cpp57 std::vector<uint32_t> actions; in HWTEST_F() local
59 rrc->SetShownActions(actions); in HWTEST_F()
60 EXPECT_EQ(rrc->GetShownActions(), actions); in HWTEST_F()
136 std::vector<uint32_t> actions = {1, 2}; in HWTEST_F() local
137 mediaContent->SetShownActions(actions); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/notificationmediacontent_fuzzer/
H A Dnotificationmediacontent_fuzzer.cpp31 std::vector<uint32_t> actions; in DoSomethingInterestingWithMyAPI() local
32 notificationMediaContent.SetShownActions(actions); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_media_content.cpp32 void NotificationMediaContent::SetShownActions(const std::vector<uint32_t> &actions) in SetShownActions() argument
34 sequenceNumbers_ = actions; in SetShownActions()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_media_content.h53 * numbers in the order they were added. The sequence numbers specified in the value of actions for this method
55 * the sequence number starts from 0. If you want to show three action buttons, the value of actions should be 0,
58 * @param actions Indicates the list of sequence numbers representing the NotificationActionButton objects
61 void SetShownActions(const std::vector<uint32_t> &actions);
/base/powermgr/power_manager/services/native/src/
H A Dpower_mode_policy.cpp168 for (const auto &actions : allActions) { in TriggerAllActions()
169 actions(isBoot); in TriggerAllActions()
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_keyboard_builder.cpp68 std::cout << " -f <FILE> Read actions from <FILE>" << std::endl; in ShowUsage()
253 auto tIter = model.find("actions"); in ReadModel()
274 static const std::unordered_map<std::string, std::function<void(const nlohmann::json &model)>> actions { in ReadAction()
279 auto actionItr = actions.find(it.value()); in ReadAction()
280 if (actionItr != actions.cend()) { in ReadAction()
354 auto actionIter = model.find("actions"); in ReadRawModel()
H A Dvirtual_touchscreen_builder.cpp136 std::cout << " -f <FILE> Read actions from <FILE>." << std::endl; in ShowUsage()
400 auto it = model.find("actions"); in ReadModel()
420 static const std::unordered_map<std::string, std::function<void(const nlohmann::json &model)>> actions { in ReadAction()
427 auto actionItr = actions.find(it.value()); in ReadAction()
428 if (actionItr != actions.cend()) { in ReadAction()
519 it = model.find("actions"); in ReadRawModel()
H A Dvirtual_mouse_builder.cpp100 std::cout << " -f <FILE> Read actions from <FILE>" << std::endl; in ShowUsage()
376 auto tIter = model.find("actions"); in ReadModel()
396 static const std::unordered_map<std::string, std::function<void(const nlohmann::json &model)>> actions { in ReadAction()
403 auto actionItr = actions.find(it.value()); in ReadAction()
404 if (actionItr != actions.cend()) { in ReadAction()
497 auto actionIter = model.find("actions"); in ReadRawModel()
/base/startup/init/ueventd/
H A Dueventd.c43 static const char *actions[] = { variable
74 return actions[action]; in ActionString()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp650 std::vector<uint32_t> actions; in HWTEST_F() local
651 actions.push_back(0); in HWTEST_F()
652 mediaContent->SetShownActions(actions); in HWTEST_F()

Completed in 11 milliseconds