/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
H A D | running_lock_info.h | 37 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 D | running_lock_scenario_test.cpp | 50 "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 D | running_lock.h | 35 RUNNINGLOCK_BACKGROUND, enumerator
|
/base/web/webview/ohos_adapter/power_mgr_adapter/src/ |
H A D | power_mgr_client_adapter_impl.cpp | 32 rawType = OHOS::PowerMgr::RunningLockType::RUNNINGLOCK_BACKGROUND; in ConvertRunningLockType()
|
/base/powermgr/power_manager/test/unittest/src/interface_test/ |
H A D | running_lock_test.cpp | 142 "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 D | power_mgr_client_test.cpp | 1026 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
|
/base/powermgr/power_manager/frameworks/cj/runninglock/src/ |
H A D | cj_running_lock_ffi.cpp | 64 return (type == RunningLockType::RUNNINGLOCK_BACKGROUND) || in FfiOHOSRunningLockIsSupported()
|
/base/powermgr/power_manager/frameworks/napi/runninglock/ |
H A D | runninglock_module.cpp | 93 napi_create_int32(env, (int32_t)RunningLockType::RUNNINGLOCK_BACKGROUND, &background); in CreateRunningLockType()
|
H A D | runninglock_napi.cpp | 77 bool isSupported = (type == RunningLockType::RUNNINGLOCK_BACKGROUND) || in IsSupported()
|
H A D | runninglock_interface.cpp | 323 return type == RunningLockType::RUNNINGLOCK_BACKGROUND || in IsTypeSupported()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | running_lock_timer_handler_test.cpp | 74 RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
|
H A D | running_lock_mock_test.cpp | 91 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 D | power_utils.cpp | 161 case RunningLockType::RUNNINGLOCK_BACKGROUND: in GetRunningLockTypeString()
|
/base/powermgr/power_manager/test/unittest/src/mock/ |
H A D | power_mock_parcel_test.cpp | 121 RunningLockInfo info("test1", RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
|
H A D | power_mock_object_test.cpp | 106 EXPECT_FALSE(sptrProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND)); in HWTEST_F()
|
/base/powermgr/power_manager/utils/shell/src/ |
H A D | power_shell_command.cpp | 364 case RunningLockType::RUNNINGLOCK_BACKGROUND: in GetBundleRunningLockTypeString()
|
/base/powermgr/power_manager/services/native/src/ |
H A D | power_mgr_service.cpp | 1062 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 D | powermgr_service_native_test.cpp | 800 ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND); in HWTEST_F()
|