Home
last modified time | relevance | path

Searched refs:RUNNINGLOCK_SCREEN (Results 1 - 25 of 35) sorted by relevance

12

/base/powermgr/powermgr_lite/test/Interface_test/test/unittest/src/
H A Dpowermgr_interfaces_test.cpp44 RunningLockType type = RUNNINGLOCK_SCREEN; in HWTEST_F()
58 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F()
71 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F()
84 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F()
98 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_native_test.cpp70 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, pid, uid}; in HWTEST_F() member in __anon1560::RunningLockType
74 EXPECT_TRUE(runningLockMgr->GetRunningLockNum(RunningLockType::RUNNINGLOCK_SCREEN) == LOCKNUM_B); in HWTEST_F()
76 EXPECT_TRUE(runningLockMgr->GetValidRunningLockNum(RunningLockType::RUNNINGLOCK_SCREEN) == LOCKNUM_B); in HWTEST_F()
112 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, pid, uid}; in HWTEST_F() member in __anon1560::RunningLockType
222 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, UNPID, UNUID}; in HWTEST_F() member in __anon1560::RunningLockType
250 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, UNPID, UNUID}; in HWTEST_F() member in __anon1560::RunningLockType
294 runningLockMgr->lockCounters_[RunningLockType::RUNNINGLOCK_SCREEN]; in HWTEST_F()
438 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, UNPID, UNUID}; in HWTEST_F() member in __anon1560::RunningLockType
484 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, UNPID, UNUID}; in HWTEST_F() member in __anon1560::RunningLockType
508 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTM in HWTEST_F() member in __anon1560::RunningLockType
565 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, UNPID, UNUID}; HWTEST_F() member in __anon1560::RunningLockType
590 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, TIMEOUTMS, UNPID, UNUID}; HWTEST_F() member in __anon1560::RunningLockType
626 "runninglockNativeTest1", "", RunningLockType::RUNNINGLOCK_SCREEN, -1, pid, uid}; HWTEST_F() member in __anon1560::RunningLockType
[all...]
H A Dpower_mgr_client_native_test.cpp92 std::make_shared<RunningLock>(nullptr, "runninglock1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Drunning_lock_timer_handler_test.cpp71 RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
/base/powermgr/powermgr_lite/interfaces/kits/
H A Drunning_lock.h31 RUNNINGLOCK_SCREEN, enumerator
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Drunning_lock_info.h33 RUNNINGLOCK_SCREEN = 0, member in OHOS::PowerMgr::RunningLockType
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Drunning_lock_test.cpp46 auto runningLock1 = powerMgrClient.CreateRunningLock("runninglock1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
67 auto runningLock1 = powerMgrClient.CreateRunningLock("runninglock1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
205 "background.test006", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
234 "background.test007", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
288 "screen.test009", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
419 RunningLock runninglock1(ptr, "runninglock_recover_test", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Dpower_mgr_client_test.cpp357 auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
385 auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
414 auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
444 auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
475 auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
1024 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
1147 auto runningLock = powerMgrClient.CreateRunningLock("runninglock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
1204 powerMgrClient.CreateRunningLock("testLock", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Dpower_mgr_service_test.cpp362 auto runningLock1 = powerMgrClient.CreateRunningLock("runninglock1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
448 runningLockParam.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
/base/web/webview/ohos_adapter/power_mgr_adapter/src/
H A Dpower_mgr_client_adapter_impl.cpp29 rawType = OHOS::PowerMgr::RunningLockType::RUNNINGLOCK_SCREEN; in ConvertRunningLockType()
/base/powermgr/powermgr_lite/services/src/
H A Drunning_lock_mgr.c94 for (int32_t t = RUNNINGLOCK_SCREEN; t < RUNNINGLOCK_BUTT; t++) { in ShowLocks()
153 for (int32_t t = RUNNINGLOCK_SCREEN; t < RUNNINGLOCK_BUTT; t++) { in RunningLockMgrGetTotalLockCount()
/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_parcel_test.cpp65 EXPECT_FALSE(powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_SCREEN)); in HWTEST_F()
140 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Dpower_mock_proxy_test.cpp65 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Dpower_mock_peer_test.cpp107 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Dpower_mock_object_test.cpp70 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_st_suspend_test.cpp132 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
H A Dpower_mgr_st_mock_test.cpp157 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
241 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
/base/powermgr/powermgr_lite/services/src/screensaver/small/
H A Dscreen_saver_handler.cpp85 if (!enabled_ || screenSaverStarted_ || (RunningLockMgrIsLockHolding(RUNNINGLOCK_SCREEN) == TRUE)) { in StartScreenSaver()
/base/telephony/call_manager/services/call/call_state_observer/src/
H A Dincoming_call_wake_up.cpp75 CreateRunningLock("screenonrunninglock", PowerMgr::RunningLockType::RUNNINGLOCK_SCREEN); in WakeupDevice()
/base/tee/tee_client/services/cadaemon/src/tui_daemon/
H A Dtui_event.cpp215 OHOS::PowerMgr::RunningLockType::RUNNINGLOCK_SCREEN); in TUIGetRunningLock()
239 OHOS::PowerMgr::RunningLockType::RUNNINGLOCK_SCREEN); in TuiEventInit()
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/
H A Dpowermgr_service_mock_parcel_test.cpp82 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
/base/powermgr/power_manager/utils/native/src/
H A Dpower_utils.cpp159 case RunningLockType::RUNNINGLOCK_SCREEN: in GetRunningLockTypeString()
/base/powermgr/power_manager/test/unittest/src/servicetest/
H A Dpowermgr_service_native_test.cpp290 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
327 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
361 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
798 ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_SCREEN); in HWTEST_F()
/base/powermgr/power_manager/services/native/src/runninglock/
H A Drunning_lock_mgr.cpp84 lockCounters_.emplace(RunningLockType::RUNNINGLOCK_SCREEN, in InitLocksTypeScreen()
85 std::make_shared<LockCounter>(RunningLockType::RUNNINGLOCK_SCREEN, in InitLocksTypeScreen()
87 POWER_HILOGD(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_SCREEN action start"); in InitLocksTypeScreen()
98 "[UL_POWER] RUNNINGLOCK_SCREEN active, and the currrent power state = %{public}d", in InitLocksTypeScreen()
102 POWER_HILOGI(FEATURE_RUNNING_LOCK, "[UL_POWER] RUNNINGLOCK_SCREEN inactive"); in InitLocksTypeScreen()
340 type == RunningLockType::RUNNINGLOCK_SCREEN; in NeedNotify()
464 if (lockInnerParam.type == RunningLockType::RUNNINGLOCK_SCREEN) { in Lock()
509 if (lockInnerParam.type == RunningLockType::RUNNINGLOCK_SCREEN) { in UnLock()
/base/powermgr/display_manager/state_manager/frameworks/napi/
H A Dbrightness_module.cpp39 PowerMgrClient::GetInstance().CreateRunningLock(std::string("KeepScreenOn"), RunningLockType::RUNNINGLOCK_SCREEN);

Completed in 17 milliseconds

12