Home
last modified time | relevance | path

Searched refs:RUNNINGLOCK_BACKGROUND (Results 1 - 18 of 18) sorted by relevance

/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Drunning_lock_info.h37 RUNNINGLOCK_BACKGROUND = 1, member in OHOS::PowerMgr::RunningLockType
49 RUNNINGLOCK_BACKGROUND_PHONE = RUNNINGLOCK_BACKGROUND | 1 << 1, // 0b00000011
53 RUNNINGLOCK_BACKGROUND_NOTIFICATION = RUNNINGLOCK_BACKGROUND | 1 << 2, // 0b00000101
57 RUNNINGLOCK_BACKGROUND_AUDIO = RUNNINGLOCK_BACKGROUND | 1 << 3, // 0b00001001
61 RUNNINGLOCK_BACKGROUND_SPORT = RUNNINGLOCK_BACKGROUND | 1 << 4, // 0b00010001
65 RUNNINGLOCK_BACKGROUND_NAVIGATION = RUNNINGLOCK_BACKGROUND | 1 << 5, // 0b00100001
69 RUNNINGLOCK_BACKGROUND_TASK = RUNNINGLOCK_BACKGROUND | 1 << 6, // 0b01000001
/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/
H A Drunning_lock_scenario_test.cpp50 "background.test019", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
76 "background.test020", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
119 "background.test021", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
169 "background.test004", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
/base/powermgr/powermgr_lite/interfaces/kits/
H A Drunning_lock.h35 RUNNINGLOCK_BACKGROUND, enumerator
/base/web/webview/ohos_adapter/power_mgr_adapter/src/
H A Dpower_mgr_client_adapter_impl.cpp32 rawType = OHOS::PowerMgr::RunningLockType::RUNNINGLOCK_BACKGROUND; in ConvertRunningLockType()
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Drunning_lock_test.cpp142 "background", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
181 "background.test005", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
269 "background.test008", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
449 "background.test016", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
475 "background.test017", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
H A Dpower_mgr_client_test.cpp1026 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
/base/powermgr/power_manager/frameworks/cj/runninglock/src/
H A Dcj_running_lock_ffi.cpp64 return (type == RunningLockType::RUNNINGLOCK_BACKGROUND) || in FfiOHOSRunningLockIsSupported()
/base/powermgr/power_manager/frameworks/napi/runninglock/
H A Drunninglock_module.cpp93 napi_create_int32(env, (int32_t)RunningLockType::RUNNINGLOCK_BACKGROUND, &background); in CreateRunningLockType()
H A Drunninglock_napi.cpp77 bool isSupported = (type == RunningLockType::RUNNINGLOCK_BACKGROUND) || in IsSupported()
H A Drunninglock_interface.cpp323 return type == RunningLockType::RUNNINGLOCK_BACKGROUND || in IsTypeSupported()
/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_timer_handler_test.cpp74 RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
H A Drunning_lock_mock_test.cpp91 EXPECT_EQ(param.type, RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
98 EXPECT_EQ(param.type, RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
147 EXPECT_EQ(param.type, RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
154 EXPECT_EQ(param.type, RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
502 RunningLockInfo runninglockInfo("RunningLockMockBackground8.1", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
/base/powermgr/power_manager/utils/native/src/
H A Dpower_utils.cpp161 case RunningLockType::RUNNINGLOCK_BACKGROUND: in GetRunningLockTypeString()
/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_parcel_test.cpp121 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
H A Dpower_mock_object_test.cpp106 EXPECT_FALSE(sptrProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND)); in HWTEST_F()
/base/powermgr/power_manager/utils/shell/src/
H A Dpower_shell_command.cpp364 case RunningLockType::RUNNINGLOCK_BACKGROUND: in GetBundleRunningLockTypeString()
/base/powermgr/power_manager/services/native/src/
H A Dpower_mgr_service.cpp1062 if (filledParam.type == RunningLockType::RUNNINGLOCK_BACKGROUND) { in FillRunningLockParam()
1113 return type == RunningLockType::RUNNINGLOCK_BACKGROUND || in IsRunningLockTypeSupported()
1117 type == RunningLockType::RUNNINGLOCK_BACKGROUND || // this will be instead by BACKGROUND_XXX types. in IsRunningLockTypeSupported()
/base/powermgr/power_manager/test/unittest/src/servicetest/
H A Dpowermgr_service_native_test.cpp800 ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()

Completed in 15 milliseconds