/ohos5.0/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/ |
H A D | running_lock_scenario_test.cpp | 55 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource) == 0); 81 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource1) == 0); 92 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource0) == 0); 123 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource10) == 0); 126 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource11) == 0); 141 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource01) == 0); 144 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource00) == 0); 173 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource10) == 0); 180 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource11) == 0); 184 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource10) == 0); [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/test/unittest/audio_running_lock_manager_unit_test/src/ |
H A D | audio_running_lock_manager_unit_test.cpp | 43 virtual int32_t UpdateWorkSource(const std::vector<int32_t>&) = 0; 51 MOCK_METHOD(int32_t, UpdateWorkSource, (const std::vector<int32_t>&), (override)); 68 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(IsEmpty())).Times(1); 90 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(IsEmpty())).Times(0); 100 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(UnorderedElementsAreArray( 106 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(UnorderedElementsAreArray( 112 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(UnorderedElementsAreArray( 117 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(IsEmpty())).Times(1); 123 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(UnorderedElementsAreArray(
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/common/include/ |
H A D | audio_running_lock_manager.h | 60 auto ret = runningLock_->UpdateWorkSource({}); in UnLock() 99 auto ret = runningLock_->UpdateWorkSource(appsUid); in UpdateAppsUidToPowerMgr()
|
/ohos5.0/base/powermgr/power_manager/frameworks/native/ |
H A D | running_lock.cpp | 77 ErrCode RunningLock::UpdateWorkSource(const std::vector<int32_t>& workSources) in UpdateWorkSource() function in OHOS::PowerMgr::RunningLock 89 if (!proxy->UpdateWorkSource(token_, wks)) { in UpdateWorkSource()
|
/ohos5.0/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
H A D | running_lock.h | 39 ErrCode UpdateWorkSource(const std::vector<int32_t>& workSources);
|
H A D | ipower_mgr.h | 45 virtual bool UpdateWorkSource(const sptr<IRemoteObject>& remoteObj,
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/interface_test/ |
H A D | running_lock_test.cpp | 447 EXPECT_TRUE(runningLock->UpdateWorkSource(workSource) == 0); 471 EXPECT_TRUE(runninglockProxy->UpdateWorkSource(pid, uid, remoteObj, {{0, {"test", false}}})); 493 EXPECT_TRUE(runninglockProxy->UpdateWorkSource(pid, uid, remoteObj, {{0, {"test019", false}}}));
|
/ohos5.0/base/powermgr/power_manager/services/native/src/runninglock/ |
H A D | running_lock_proxy.h | 43 bool UpdateWorkSource(pid_t pid, pid_t uid, const sptr<IRemoteObject>& remoteObj,
|
H A D | running_lock_mgr.h | 52 bool UpdateWorkSource(const sptr<IRemoteObject>& remoteObj,
|
H A D | running_lock_proxy.cpp | 73 bool RunningLockProxy::UpdateWorkSource(pid_t pid, pid_t uid, const sptr<IRemoteObject>& remoteObj, in UpdateWorkSource() function in OHOS::PowerMgr::RunningLockProxy
|
H A D | running_lock_mgr.cpp | 426 bool RunningLockMgr::UpdateWorkSource(const sptr<IRemoteObject>& remoteObj, in UpdateWorkSource() function in OHOS::PowerMgr::RunningLockMgr 437 …runninglockProxy_->UpdateWorkSource(lockInner->GetPid(), lockInner->GetUid(), remoteObj, workSourc… in UpdateWorkSource()
|
/ohos5.0/base/powermgr/power_manager/services/zidl/include/ |
H A D | power_mgr_proxy.h | 51 virtual bool UpdateWorkSource(const sptr<IRemoteObject>& remoteObj,
|
/ohos5.0/base/powermgr/power_manager/services/native/include/ |
H A D | power_mgr_service.h | 84 virtual bool UpdateWorkSource(const sptr<IRemoteObject>& remoteObj,
|
/ohos5.0/base/powermgr/power_manager/services/native/src/ |
H A D | power_mgr_service.cpp | 1116 bool PowerMgrService::UpdateWorkSource(const sptr<IRemoteObject>& remoteObj, in UpdateWorkSource() function in OHOS::PowerMgr::PowerMgrService 1124 runningLockMgr_->UpdateWorkSource(remoteObj, workSources); in UpdateWorkSource() 1140 runningLockMgr_->UpdateWorkSource(remoteObj, {}); in Lock()
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/ |
H A D | running_lock_native_test.cpp | 660 runningLockMgr->UpdateWorkSource(token, {{0, ""}});
|
/ohos5.0/base/powermgr/power_manager/services/zidl/src/ |
H A D | power_mgr_stub.cpp | 264 UpdateWorkSource(remoteObj, workSources); in UpdateWorkSourceStub()
|
H A D | power_mgr_proxy.cpp | 118 bool PowerMgrProxy::UpdateWorkSource(const sptr<IRemoteObject>& remoteObj, in UpdateWorkSource() function in OHOS::PowerMgr::PowerMgrProxy
|