Home
last modified time | relevance | path

Searched refs:NeedNotify (Results 1 - 7 of 7) sorted by relevance

/base/request/request/frameworks/native/src/
H A Drequest.cpp46 bool Request::NeedNotify(const std::shared_ptr<NotifyData> &notifyData) in NeedNotify() function in OHOS::Request::Request
66 if (NeedNotify(unusedNotifyData_[type])) { in AddListener()
103 if (NeedNotify(notifyData)) { in OnNotifyDataReceive()
/base/request/request/test/unittest/cpp_test/fwkTest/src/
H A Drequest_test.cpp158 * @tc.desc: Test NeedNotifyTest001 interface base function - NeedNotify
170 EXPECT_EQ(request.NeedNotify(notifyData), true); in HWTEST_F()
174 EXPECT_EQ(request.NeedNotify(notifyData), true); in HWTEST_F()
177 EXPECT_EQ(request.NeedNotify(notifyData), true); in HWTEST_F()
180 EXPECT_EQ(request.NeedNotify(notifyData), true); in HWTEST_F()
183 EXPECT_EQ(request.NeedNotify(notifyData), true); in HWTEST_F()
187 EXPECT_EQ(request.NeedNotify(notifyData), false); in HWTEST_F()
/base/request/request/frameworks/native/include/
H A Drequest.h39 bool NeedNotify(const std::shared_ptr<NotifyData> &notifyData);
/base/powermgr/power_manager/services/native/src/runninglock/
H A Drunning_lock_mgr.h156 static bool NeedNotify(RunningLockType type);
H A Drunning_lock_mgr.cpp337 bool RunningLockMgr::NeedNotify(RunningLockType type) in NeedNotify() function in OHOS::PowerMgr::RunningLockMgr
783 if (result == RUNNINGLOCK_SUCCESS && NeedNotify(lockInnerParam.type)) { in Increase()
799 if (result == RUNNINGLOCK_SUCCESS && NeedNotify(lockInnerParam.type)) { in Decrease()
/base/powermgr/power_manager/services/native/include/
H A Dpower_state_machine.h274 bool NeedNotify(PowerState currentState);
/base/powermgr/power_manager/services/native/src/
H A Dpower_state_machine.cpp2004 bool PowerStateMachine::StateController::NeedNotify(PowerState currentState) in WakeupDeviceInner() function in OHOS::PowerMgr::PowerStateMachine::StateController
2050 bool needNotify = NeedNotify(owner->currentState_); in WakeupDeviceInner()

Completed in 7 milliseconds