Home
last modified time | relevance | path

Searched refs:called (Results 1 - 6 of 6) sorted by relevance

/base/notification/eventhandler/frameworks/test/moduletest/
H A Devent_handler_test_common.h72 * Function: Get the called result of task.
73 * @return Returns true if task has been called.
81 * Function: Set the called result of task.
82 * @param run Set false or true for called result.
84 static inline void TaskCalledSet(bool called) in TaskCalledSet() argument
86 taskCalled_.store(called); in TaskCalledSet()
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
H A Dlib_event_handler_event_runner_test.cpp87 auto called = taskCalled.load(); in CreateRunnerWithName() local
88 EXPECT_TRUE(called); in CreateRunnerWithName()
147 auto called = taskCalled.load(); in HWTEST_F() local
148 EXPECT_TRUE(called); in HWTEST_F()
312 * @tc.expected: step1. stop() could be called multi times. in HWTEST_F()
H A Dlib_event_handler_event_queue_test.cpp378 * Finish() are called in right order
391 * @tc.steps: step1. prepare queue and inserted in queue when Prepare() and Finish() are called in right order. in HWTEST_F()
392 * @tc.expected: step1. event and event id is valid when Prepare() and Finish() are called in right order. in HWTEST_F()
415 * @tc.steps: step1. prepare queue and inserted in queue when Prepare() and Finish() are called in wrong order. in HWTEST_F()
416 * @tc.expected: step1. event and event id is invalid when Prepare() and Finish() are called in wrong order. in HWTEST_F()
441 * @tc.steps: step1. get and check event Finish() is called in wrong order. in HWTEST_F()
453 * @tc.steps: step2. prepare queue and get event from queue when Prepare() is called in right order. in HWTEST_F()
476 * @tc.steps: step1. get and check event Finish() is called in wrong order. in HWTEST_F()
488 * @tc.steps: step2. prepare queue and get event from queue when Prepare() is called in right order. in HWTEST_F()
840 auto called in HWTEST_F() local
925 auto called = taskCalled.load(); HWTEST_F() local
964 auto called = taskCalled.load(); HWTEST_F() local
1013 auto called = taskCalled.load(); HWTEST_F() local
1038 auto called = taskCalled.load(); HWTEST_F() local
[all...]
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
H A Dems_event_handler_test.cpp92 * Function: Get the called result of task.
93 * @return Returns true if task has been called.
101 * Function: Set the called result of task.
102 * @param run Set false or true for called result.
104 static inline void TaskCalledSet(bool called) in TaskCalledSet() argument
106 g_taskCalled_.store(called); in TaskCalledSet()
1982 auto called = taskCalled.load(); in HWTEST_F() local
1983 EXPECT_FALSE(called); in HWTEST_F()
2002 auto called = taskCalled.load(); in HWTEST_F() local
2003 EXPECT_FALSE(called); in HWTEST_F()
2022 auto called = taskCalled.load(); HWTEST_F() local
2042 auto called = taskCalled.load(); HWTEST_F() local
2061 auto called = taskCalled.load(); HWTEST_F() local
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
H A Ddlp_permission_kit_test.cpp103 // set tokenId can only be called by native process in TestSetSelfTokenId()
987 called = true; in OnOpenDlpFile()
989 bool called = false; member in OHOS::Security::DlpPermission::TestOpenDlpFileCallbackCustomize
1096 EXPECT_EQ(true, callbackPtr->called); in HWTEST_F()
1203 EXPECT_EQ(true, callbackPtr->called); in HWTEST_F()
/base/notification/eventhandler/test/systemtest/ems_event_runner_system_test/
H A Dems_event_runner_system_test.cpp223 auto called = taskCalled.load(); in CreateRunnerWithName() local
224 EXPECT_TRUE(called); in CreateRunnerWithName()
1117 auto called = taskCalled.load(); in HWTEST_F() local
1118 EXPECT_TRUE(called); in HWTEST_F()

Completed in 12 milliseconds