Home
last modified time | relevance | path

Searched refs:IsRunningLockTypeSupported (Results 1 – 22 of 22) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_client_test.cpp991 auto ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT);
993 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_SCREEN);
995 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND);
997 …ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_PROXIMITY_SCREEN_CONT…
1031 …auto ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND_PHONE…
1033 …ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND_NOTIFICATI…
1035 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND_AUDIO);
1037 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND_SPORT);
1039 …ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND_NAVIGATION…
1041 ret = powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND_TASK);
[all …]
Dpower_getcontroller_mock_test.cpp75 bool IsRunningLockTypeSupported(RunningLockType type) override;
/base/powermgr/power_manager/test/unittest/src/mock/
Dpower_mock_parcel_test.cpp57 EXPECT_FALSE(powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT));
58 EXPECT_FALSE(powerMgrClient.IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_SCREEN));
134 EXPECT_FALSE(sptrProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT));
Dpower_mock_object_test.cpp100 EXPECT_FALSE(sptrProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND));
Dpower_mock_proxy_test.cpp63 EXPECT_FALSE(sptrProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT));
Dpower_mock_peer_test.cpp99 EXPECT_FALSE(sptrProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT));
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.h45 static napi_value IsRunningLockTypeSupported(napi_env env, napi_callback_info info);
Drunninglock_module.cpp131 …LARE_NAPI_FUNCTION("isRunningLockTypeSupported", RunningLockInterface::IsRunningLockTypeSupported), in RunningLockInit()
Drunninglock_interface.cpp87 napi_value RunningLockInterface::IsRunningLockTypeSupported(napi_env env, napi_callback_info info) in IsRunningLockTypeSupported() function in OHOS::PowerMgr::RunningLockInterface
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp221 static void IsRunningLockTypeSupported(const uint8_t* data, size_t size) in IsRunningLockTypeSupported() function
224 g_powerMgrClient.IsRunningLockTypeSupported(static_cast<RunningLockType>(type)); in IsRunningLockTypeSupported()
313 &IsRunningLockTypeSupported,
/base/powermgr/power_manager/test/unittest/include/servicetest/
Dpowermgr_service_test_proxy.h43 bool IsRunningLockTypeSupported(RunningLockType type);
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_mgr_client.h103 bool IsRunningLockTypeSupported(RunningLockType type);
Dipower_mgr.h39 virtual bool IsRunningLockTypeSupported(RunningLockType type) = 0;
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp166 bool PowerMgrClient::IsRunningLockTypeSupported(RunningLockType type) in IsRunningLockTypeSupported() function in OHOS::PowerMgr::PowerMgrClient
170 return proxy_->IsRunningLockTypeSupported(type); in IsRunningLockTypeSupported()
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h48 virtual bool IsRunningLockTypeSupported(RunningLockType type) override;
/base/powermgr/power_manager/test/unittest/src/servicetest/
Dpowermgr_service_native_test.cpp774 … auto ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT);
776 ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_SCREEN);
778 … ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BACKGROUND);
780 …ret = g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_PROXIMITY_SC…
Dpowermgr_service_test_proxy.cpp91 bool PowerMgrServiceTestProxy::IsRunningLockTypeSupported(RunningLockType type) in IsRunningLockTypeSupported() function in OHOS::PowerMgr::PowerMgrServiceTestProxy
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/
Dpowermgr_service_mock_parcel_test.cpp83 …EXPECT_FALSE(g_powerMgrServiceProxy->IsRunningLockTypeSupported(RunningLockType::RUNNINGLOCK_BUTT)…
/base/powermgr/power_manager/services/native/include/
Dpower_mgr_service.h62 virtual bool IsRunningLockTypeSupported(RunningLockType type) override;
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp567 if (!IsRunningLockTypeSupported(runningLockInfo.type)) { in CreateRunningLock()
592 bool PowerMgrService::IsRunningLockTypeSupported(RunningLockType type) in IsRunningLockTypeSupported() function in OHOS::PowerMgr::PowerMgrService
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_stub.cpp183 ret = IsRunningLockTypeSupported(static_cast<RunningLockType>(type)); in IsRunningLockTypeSupportedStub()
Dpower_mgr_proxy.cpp84 bool PowerMgrProxy::IsRunningLockTypeSupported(RunningLockType type) in IsRunningLockTypeSupported() function in OHOS::PowerMgr::PowerMgrProxy