/base/powermgr/power_manager/test/unittest/src/ |
D | running_lock_test.cpp | 42 …auto runningLock1 = powerMgrClient.CreateRunningLock("runninglock1", RunningLockType::RUNNINGLOCK_… 62 …auto runningLock1 = powerMgrClient.CreateRunningLock("runninglock1", RunningLockType::RUNNINGLOCK_… 93 auto runningLock1 = powerMgrClient.CreateRunningLock("runninglock005", 134 std::shared_ptr<RunningLock> runningLock = powerMgrClient.CreateRunningLock( 138 …runningLock = powerMgrClient.CreateRunningLock("backgroudPhone", RunningLockType::RUNNINGLOCK_BACK… 141 runningLock = powerMgrClient.CreateRunningLock( 145 …runningLock = powerMgrClient.CreateRunningLock("backgroudAudio", RunningLockType::RUNNINGLOCK_BACK… 148 …runningLock = powerMgrClient.CreateRunningLock("backgroudSport", RunningLockType::RUNNINGLOCK_BACK… 151 runningLock = powerMgrClient.CreateRunningLock( 155 …runningLock = powerMgrClient.CreateRunningLock("backgroudTask", RunningLockType::RUNNINGLOCK_BACKG… [all …]
|
D | running_lock_mock_test.cpp | 104 …EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(runninglockToken, runninglockInfo… 105 …EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(runninglockToken2, runninglockInf… 157 …EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(runninglockToken, runninglockInfo… 209 EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(phoneToken, runninglockPhone)); 210 … EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(notifyToken, runninglockNotify)); 266 EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(audioToken, runninglockAudio)); 267 EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(sportToken, runninglockSport)); 324 EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(naviToken, runninglockNavi)); 325 EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(taskToken, runninglockTask)); 387 EXPECT_EQ(PowerErrors::ERR_OK, g_powerService->CreateRunningLock(phoneToken, runninglockPhone)); [all …]
|
D | running_lock_native_test.cpp | 66 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); 109 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); 160 EXPECT_TRUE(runningLockMgr->CreateRunningLock(token, runningLockParam) != nullptr); 192 EXPECT_TRUE(runningLockMgr->CreateRunningLock(token, runningLockParam) != nullptr); 203 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam2) != nullptr); 228 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); 234 EXPECT_TRUE(runningLockMgr->CreateRunningLock(token, runningLockParam1) != nullptr); 256 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); 538 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); 564 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr);
|
D | power_mgr_client_test.cpp | 338 …auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SC… 363 …auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SC… 389 …auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SC… 416 …auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SC… 444 …auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SC…
|
D | power_mgr_service_native_test.cpp | 62 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); in SetUp()
|
/base/web/webview/test/unittest/power_mgr_client_adapter_impl_test/ |
D | power_mgr_client_adapter_impl_test.cpp | 56 std::shared_ptr<RunningLockAdapter> runLockAdapter = powerMgrImpl->CreateRunningLock("screen", 62 … runLockAdapter = powerMgrImpl->CreateRunningLock("backgroud", RunningLockAdapterType::BACKGROUND); 64 runLockAdapter = powerMgrImpl->CreateRunningLock("proximity_screen_control", 67 runLockAdapter = powerMgrImpl->CreateRunningLock("butt", RunningLockAdapterType::BUTT);
|
/base/telephony/core_service/services/tel_ril/src/ |
D | tel_ril_handler.cpp | 55 ackRunningLock_ = powerMgrClient.CreateRunningLock( in OnInit() 57 reqRunningLock_ = powerMgrClient.CreateRunningLock( in OnInit() 68 ackRunningLock_ = powerMgrClient.CreateRunningLock( in ApplyRunningLock() 74 reqRunningLock_ = powerMgrClient.CreateRunningLock( in ApplyRunningLock()
|
/base/web/webview/ohos_adapter/power_mgr_adapter/src/ |
D | power_mgr_client_adapter_impl.cpp | 73 std::shared_ptr<RunningLockAdapter> PowerMgrClientAdapterImpl::CreateRunningLock( in CreateRunningLock() function in OHOS::NWeb::PowerMgrClientAdapterImpl 77 std::shared_ptr<RunningLock> lock = PowerMgrClient::GetInstance().CreateRunningLock( in CreateRunningLock()
|
/base/powermgr/power_manager/frameworks/napi/runninglock/ |
D | runninglock_module.cpp | 108 static napi_value CreateRunningLock(napi_env env, napi_callback_info info) in CreateRunningLock() function 110 return RunningLockInterface::CreateRunningLock(env, info, g_napiRunningLockIns); in CreateRunningLock() 130 DECLARE_NAPI_FUNCTION("createRunningLock", CreateRunningLock), in RunningLockInit()
|
D | runninglock_interface.h | 44 …static napi_value CreateRunningLock(napi_env env, napi_callback_info info, napi_ref& napiRunningLo…
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_st_mock_test.cpp | 158 pms->CreateRunningLock(token, info); 193 pms->CreateRunningLock(token, info); 260 pms->CreateRunningLock(token, info); 296 pms->CreateRunningLock(token, info); 343 pms->CreateRunningLock(token, info); 383 pms->CreateRunningLock(token, info); 412 pms->CreateRunningLock(token, info); 442 pms->CreateRunningLock(token, info); 477 pms->CreateRunningLock(token, info); 513 pms->CreateRunningLock(token, info);
|
D | power_mgr_st_suspend_test.cpp | 99 pms->CreateRunningLock(token, info); 130 pms->CreateRunningLock(token, info); 166 pms->CreateRunningLock(token, info);
|
D | power_mgr_mock_system_test.cpp | 81 pms->CreateRunningLock(token, info);
|
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/createrunninglock_fuzzer/ |
D | createrunninglock_fuzzer.cpp | 33 powerMgrClientAdapter.CreateRunningLock(name, RunningLockAdapterType::SCREEN); in DoSomethingInterestingWithMyAPI()
|
/base/powermgr/powermgr_lite/interfaces/kits/ |
D | running_lock.h | 60 const RunningLock *CreateRunningLock(const char *name, RunningLockType type, RunningLockFlag flag);
|
/base/web/webview/ohos_adapter/interfaces/ |
D | power_mgr_client_adapter.h | 48 virtual std::shared_ptr<RunningLockAdapter> CreateRunningLock(
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
D | async_callback_info.cpp | 80 PowerErrors AsyncCallbackInfo::AsyncData::CreateRunningLock() in CreateRunningLock() function in OHOS::PowerMgr::AsyncCallbackInfo::AsyncData 82 runningLock_ = PowerMgrClient::GetInstance().CreateRunningLock(name_, type_); in CreateRunningLock()
|
D | async_callback_info.h | 58 PowerErrors CreateRunningLock();
|
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/ |
D | power_fuzzer.cpp | 142 static void CreateRunningLock(const uint8_t* data, size_t size) in CreateRunningLock() function 149 g_powerMgrClient.CreateRunningLock(name, static_cast<RunningLockType>(type)); in CreateRunningLock() 188 auto fuzzLock = g_powerMgrClient.CreateRunningLock(name, static_cast<RunningLockType>(type)); in Lock() 203 auto fuzzLock = g_powerMgrClient.CreateRunningLock(name, static_cast<RunningLockType>(type)); in UnLock() 305 &CreateRunningLock,
|
/base/web/webview/ohos_adapter/power_mgr_adapter/include/ |
D | power_mgr_client_adapter_impl.h | 39 std::shared_ptr<RunningLockAdapter> CreateRunningLock(
|
/base/powermgr/power_manager/frameworks/native/ |
D | running_lock.cpp | 110 return proxy->CreateRunningLock(token_, runningLockInfo_); in Create()
|
/base/powermgr/power_manager/test/unittest/include/servicetest/ |
D | powermgr_service_test_proxy.h | 41 …PowerErrors CreateRunningLock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& running…
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
D | power_mgr_client.h | 128 std::shared_ptr<RunningLock> CreateRunningLock(const std::string& name, RunningLockType type);
|
D | ipower_mgr.h | 36 virtual PowerErrors CreateRunningLock(const sptr<IRemoteObject>& remoteObj,
|
/base/powermgr/powermgr_lite/ |
D | README_zh.md | 55 …me="p67351028124111"></a><a name="p67351028124111"></a>RunningLock *CreateRunningLock(const char *… 92 const RunningLock *lock = CreateRunningLock("runinglock_example", RUNNINGLOCK_BACKGROUND, RUNNINGLO…
|