Home
last modified time | relevance | path

Searched refs:statusBarDelegate (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/ability_runtime/test/unittest/status_bar_delegate_manager_test/
H A Dstatus_bar_delegate_manager_test.cpp67 std::shared_ptr<StatusBarDelegateManager> statusBarDelegate = std::make_shared<StatusBarDelegateManager>(); in HWTEST_F() local
68 EXPECT_NE(statusBarDelegate, nullptr); in HWTEST_F()
69 statusBarDelegate->RegisterStatusBarDelegate(nullptr); in HWTEST_F()
70 statusBarDelegate->GetStatusBarDelegate(); in HWTEST_F()
71 bool ret = statusBarDelegate->IsCallerInStatusBar(); in HWTEST_F()
82 std::shared_ptr<StatusBarDelegateManager> statusBarDelegate = std::make_shared<StatusBarDelegateManager>(); in HWTEST_F() local
83 EXPECT_NE(statusBarDelegate, nullptr); in HWTEST_F()
84 statusBarDelegate->RegisterStatusBarDelegate(nullptr); in HWTEST_F()
85 statusBarDelegate->GetStatusBarDelegate(); in HWTEST_F()
86 bool ret = statusBarDelegate in HWTEST_F()
100 std::shared_ptr<StatusBarDelegateManager> statusBarDelegate = std::make_shared<StatusBarDelegateManager>(); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/fuzztest/statusbardelegatemanager_fuzzer/
H A Dstatusbardelegatemanager_fuzzer.cpp38 std::shared_ptr<StatusBarDelegateManager> statusBarDelegate = std::make_shared<StatusBarDelegateManager>(); in DoSomethingInterestingWithMyAPI() local
39 if (!statusBarDelegate) { in DoSomethingInterestingWithMyAPI()
43 statusBarDelegate->RegisterStatusBarDelegate(delegate); in DoSomethingInterestingWithMyAPI()
44 statusBarDelegate->GetStatusBarDelegate(); in DoSomethingInterestingWithMyAPI()
45 statusBarDelegate->IsCallerInStatusBar(); in DoSomethingInterestingWithMyAPI()
47 statusBarDelegate->DoProcessAttachment(abilityRecord); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/
H A Dstatus_bar_delegate_manager.cpp40 auto statusBarDelegate = GetStatusBarDelegate(); in IsCallerInStatusBar() local
41 CHECK_POINTER_AND_RETURN(statusBarDelegate, false); in IsCallerInStatusBar()
44 auto ret = statusBarDelegate->CheckIfStatusBarItemExists(callingTokenId, isExist); in IsCallerInStatusBar()
72 auto statusBarDelegate = GetStatusBarDelegate(); in DoProcessAttachment() local
73 CHECK_POINTER_AND_RETURN(statusBarDelegate, ERR_INVALID_VALUE); in DoProcessAttachment()
75 auto ret = statusBarDelegate->AttachPidToStatusBarItem(accessTokenId, abilityRecord->GetPid()); in DoProcessAttachment()
93 auto statusBarDelegate = GetStatusBarDelegate(); in DoCallerProcessAttachment() local
94 CHECK_POINTER_AND_RETURN(statusBarDelegate, ERR_INVALID_VALUE); in DoCallerProcessAttachment()
96 auto ret = statusBarDelegate->AttachPidToStatusBarItem(accessTokenId, abilityRecord->GetPid()); in DoCallerProcessAttachment()

Completed in 1 milliseconds