Home
last modified time | relevance | path

Searched refs:runningLockInfo (Results 1 – 12 of 12) sorted by relevance

/base/powermgr/power_manager/test/unittest/include/
Drunning_lock_test.h34 void TestRunningLockInnerExisit(sptr<IRemoteObject>& token, RunningLockInfo& runningLockInfo) in TestRunningLockInnerExisit() argument
41 ASSERT_TRUE(runningLockInner->GetType() == runningLockInfo.type); in TestRunningLockInnerExisit()
42 ASSERT_TRUE((runningLockInfo.name).compare(runningLockInner->GetName()) == 0); in TestRunningLockInnerExisit()
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/
Dpowermgr_service_mock_parcel_test.cpp75 RunningLockInfo runningLockInfo; variable
76 runningLockInfo.name = "runninglock";
77 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN;
81 …EXPECT_FALSE(g_powerMgrServiceProxy->CreateRunningLock(token, runningLockInfo) == PowerErrors::ERR…
/base/powermgr/power_manager/test/unittest/src/servicetest/
Dpowermgr_service_native_test.cpp270 RunningLockInfo runningLockInfo; variable
271 runningLockInfo.name = "runninglock";
272 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN;
276 auto error = g_powerMgrServiceProxy->CreateRunningLock(token, runningLockInfo);
305 RunningLockInfo runningLockInfo; variable
306 runningLockInfo.name = "runninglock";
307 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN;
309 auto error = g_powerMgrServiceProxy->CreateRunningLock(token, runningLockInfo);
337 RunningLockInfo runningLockInfo; variable
338 runningLockInfo.name = "runninglock";
[all …]
Dpowermgr_service_test_proxy.cpp38 const RunningLockInfo& runningLockInfo) in CreateRunningLock() argument
52 data.WriteParcelable(&runningLockInfo); in CreateRunningLock()
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp561 const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) in CreateRunningLock() argument
567 if (!IsRunningLockTypeSupported(runningLockInfo.type)) { in CreateRunningLock()
569 runningLockInfo.name.c_str(), runningLockInfo.type); in CreateRunningLock()
573 …E_RUNNING_LOCK, "name: %{public}s, type: %{public}d", runningLockInfo.name.c_str(), runningLockInf… in CreateRunningLock()
575 RunningLockParam runningLockParam = FillRunningLockParam(runningLockInfo); in CreateRunningLock()
/base/powermgr/power_manager/test/unittest/include/servicetest/
Dpowermgr_service_test_proxy.h41 …rs CreateRunningLock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo);
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dipower_mgr.h37 const RunningLockInfo& runningLockInfo) = 0;
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h46 const RunningLockInfo& runningLockInfo) override;
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_stub.cpp163 std::unique_ptr<RunningLockInfo> runningLockInfo(data.ReadParcelable<RunningLockInfo>()); in CreateRunningLockStub() local
164 RETURN_IF_WITH_RET((runningLockInfo == nullptr), E_READ_PARCEL_ERROR); in CreateRunningLockStub()
165 PowerErrors error = CreateRunningLock(remoteObj, *runningLockInfo); in CreateRunningLockStub()
Dpower_mgr_proxy.cpp29 const RunningLockInfo& runningLockInfo) in CreateRunningLock() argument
44 WRITE_PARCEL_WITH_RET(data, Parcelable, &runningLockInfo, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
/base/powermgr/power_manager/services/native/include/
Dpower_mgr_service.h60 const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) override;
/base/powermgr/power_manager/test/unittest/src/
Dpower_getcontroller_mock_test.cpp73 const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) override;