/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | lock.cpp | 20 Lock::Lock():mtx_(new std::mutex) in Lock() function in OHOS::Global::Resource::Lock 23 Lock::~Lock() in ~Lock() 28 bool Lock::lock() in lock() 34 bool Lock::unlock() in unlock()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | lock.cpp | 20 Lock::Lock():mtx_(new std::mutex) in Lock() function in OHOS::Global::Resource::Lock 23 Lock::~Lock() in ~Lock() 28 bool Lock::lock() in lock() 34 bool Lock::unlock() in unlock()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
D | lock.h | 22 class Lock { 24 Lock(); 26 ~Lock(); 35 Lock(const Lock &src) = delete;
|
D | auto_mutex.h | 25 explicit inline AutoMutex(Lock &lock) : lock_(lock) in AutoMutex() 28 explicit inline AutoMutex(Lock *lock) : lock_(*lock) in AutoMutex() 35 Lock &lock_;
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | lock.h | 22 class Lock { 24 Lock(); 26 ~Lock(); 35 Lock(const Lock &src) = delete;
|
D | auto_mutex.h | 25 explicit inline AutoMutex(Lock &lock) : lock_(lock) in AutoMutex() 28 explicit inline AutoMutex(Lock *lock) : lock_(*lock) in AutoMutex() 35 Lock &lock_;
|
/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | running_lock_test.cpp | 47 runningLock1->Lock(); 60 runningLock1->Lock(); 83 runningLock->Lock(); 120 runningLock->Lock(); 135 runningLock1->Lock(); 141 runningLock1->Lock(50); 209 runningLock1->Lock(30); 210 runningLock1->Lock(80); 218 runningLock1->Lock(2); 219 runningLock1->Lock(3); [all …]
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | string_utils_test.cpp | 73 void FuncMultiThread(int* num, Lock* lock) in FuncMultiThread() 81 void TestThread(int* num, int threadNum, Lock* lock) in TestThread() 102 Lock lock;
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | string_utils_test.cpp | 74 void FuncMultiThread(int* num, Lock* lock) in FuncMultiThread() 82 void TestThread(int* num, int threadNum, Lock* lock) in TestThread() 103 Lock lock;
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_st_mock_test.cpp | 156 pms->Lock(token, info, 0); 190 EXPECT_CALL(*g_lockAction, Lock(_, _)).Times(1); 191 pms->Lock(token, info, 0); 227 EXPECT_CALL(*g_lockAction, Lock(_, _)).Times(1); 228 pms->Lock(token, info, 0); 263 EXPECT_CALL(*g_lockAction, Lock(_, _)).Times(0); 264 pms->Lock(token, info, 0); 350 pms->Lock(token, info, 0); 389 pms->Lock(token, info, 0); 425 EXPECT_CALL(*g_lockAction, Lock(_, _)).Times(1); [all …]
|
/base/web/webview/ohos_adapter/power_mgr_adapter/src/ |
D | power_mgr_client_adapter_impl.cpp | 57 int32_t RunningLockAdapterImpl::Lock(uint32_t timeOutMs) in Lock() function in OHOS::NWeb::RunningLockAdapterImpl 60 return lock_->Lock(timeOutMs); in Lock()
|
/base/web/webview/test/unittest/power_mgr_client_adapter_impl_test/ |
D | power_mgr_client_adapter_impl_test.cpp | 60 EXPECT_NE(runLockAdapter->Lock(1), -1); 82 EXPECT_EQ(runLockAdapter->Lock(1), -1);
|
/base/theme/screenlock_mgr/test/unittest/ |
D | screenlock_client_test.cpp | 99 int32_t result = ScreenLockManager::GetInstance()->Lock(listener); 112 result = ScreenLockManager::GetInstance()->Lock(listener); 198 result = proxy->Lock(listener);
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
D | running_lock_action.cpp | 24 void RunningLockAction::Lock(RunningLockType type, const string& tag) in Lock() function in OHOS::PowerMgr::RunningLockAction
|
D | running_lock_action.h | 25 void Lock(RunningLockType type, const std::string& tag) override;
|
/base/powermgr/power_manager/services/native/test/unittest/mock/ |
D | mock_lock_action.h | 30 MOCK_METHOD2(Lock, void(RunningLockType type, const std::string& tag));
|
/base/powermgr/power_manager/test/systemtest/mock/ |
D | mock_lock_action.h | 30 MOCK_METHOD2(Lock, void(RunningLockType type, const std::string& tag));
|
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/lock_fuzzer/ |
D | lock_fuzzer.cpp | 34 runningLockAdapter.Lock(timeOutMs); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/core_service/services/tel_ril/src/ |
D | tel_ril_handler.cpp | 83 reqRunningLock_->Lock(); in ApplyRunningLock() 88 ackRunningLock_->Lock(); in ApplyRunningLock()
|
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/ |
D | power_fuzzer.cpp | 167 static void Lock(const uint8_t* data) in Lock() function 176 fuzzLock -> Lock(); in Lock() 188 fuzzLock -> Lock(); in UnLock() 288 Lock(data); in DoSomethingInterestingWithMyAPI()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | power_mgr_client_adapter.h | 37 virtual int32_t Lock(uint32_t timeOutMs = 0) = 0;
|
/base/powermgr/power_manager/frameworks/native/ |
D | running_lock.cpp | 57 ErrCode RunningLock::Lock(uint32_t timeOutMs) in Lock() function in OHOS::PowerMgr::RunningLock 67 proxy->Lock(token_, runningLockInfo_, timeOutMs); in Lock()
|
/base/theme/screenlock_mgr/frameworks/kitsimpl/src/ |
D | screenlock_manager.cpp | 101 int32_t ScreenLockManager::Lock(const sptr<ScreenLockSystemAbilityInterface> &listener) in Lock() function in OHOS::ScreenLock::ScreenLockManager 113 return proxy->Lock(listener); in Lock()
|
/base/web/webview/ohos_adapter/power_mgr_adapter/include/ |
D | power_mgr_client_adapter_impl.h | 29 int32_t Lock(uint32_t timeOutMs = 0) override;
|
/base/powermgr/power_manager/interfaces/innerkits/native/include/ |
D | running_lock.h | 47 ErrCode Lock(uint32_t timeOutMs = 0);
|