Home
last modified time | relevance | path

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

/base/powermgr/power_manager/test/unittest/include/interface_test/
H A 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/include/scenario_test/running_lock/
H A Drunning_lock_scenario_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/
H A Dpowermgr_service_mock_parcel_test.cpp80 RunningLockInfo runningLockInfo; in HWTEST_F() local
81 runningLockInfo.name = "runninglock"; in HWTEST_F()
82 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
86 EXPECT_FALSE(g_powerMgrServiceProxy->CreateRunningLock(token, runningLockInfo) == PowerErrors::ERR_OK); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/src/servicetest/
H A Dpowermgr_service_native_test.cpp288 RunningLockInfo runningLockInfo; in HWTEST_F() local
289 runningLockInfo.name = "runninglock"; in HWTEST_F()
290 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
294 auto error = g_powerMgrServiceProxy->CreateRunningLock(token, runningLockInfo); in HWTEST_F()
325 RunningLockInfo runningLockInfo; in HWTEST_F() local
326 runningLockInfo.name = "runninglock"; in HWTEST_F()
327 runningLockInfo.type = RunningLockType::RUNNINGLOCK_SCREEN; in HWTEST_F()
329 auto error = g_powerMgrServiceProxy->CreateRunningLock(token, runningLockInfo); in HWTEST_F()
359 RunningLockInfo runningLockInfo; in HWTEST_F() local
360 runningLockInfo in HWTEST_F()
[all...]
H A Dpowermgr_service_test_proxy.cpp39 const RunningLockInfo& runningLockInfo) in CreateRunningLock()
53 data.WriteParcelable(&runningLockInfo); in CreateRunningLock()
38 CreateRunningLock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) CreateRunningLock() argument
/base/powermgr/power_manager/test/unittest/include/servicetest/
H A Dpowermgr_service_test_proxy.h43 PowerErrors CreateRunningLock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo);
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Dipower_mgr.h42 const RunningLockInfo& runningLockInfo) = 0;
/base/powermgr/power_manager/services/zidl/include/
H A Dpower_mgr_proxy.h48 const RunningLockInfo& runningLockInfo) override;
/base/powermgr/power_manager/services/zidl/src/
H A Dpower_mgr_stub.cpp217 std::unique_ptr<RunningLockInfo> runningLockInfo(data.ReadParcelable<RunningLockInfo>()); in CreateRunningLockStub()
218 RETURN_IF_WITH_RET((runningLockInfo == nullptr), E_READ_PARCEL_ERROR); in CreateRunningLockStub()
219 PowerErrors error = CreateRunningLock(remoteObj, *runningLockInfo); in CreateRunningLockStub()
H A Dpower_mgr_proxy.cpp32 const RunningLockInfo& runningLockInfo) in CreateRunningLock()
47 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, Parcelable, &runningLockInfo, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
31 CreateRunningLock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) CreateRunningLock() argument
/base/powermgr/power_manager/services/native/src/
H A Dpower_mgr_service.cpp1073 const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) in CreateRunningLock()
1080 if (!IsRunningLockTypeSupported(runningLockInfo.type)) { in CreateRunningLock()
1083 runningLockInfo.name.c_str(), runningLockInfo.type); in CreateRunningLock()
1089 RunningLockParam runningLockParam = FillRunningLockParam(runningLockInfo, lockid); in CreateRunningLock()
1072 CreateRunningLock( const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) CreateRunningLock() argument
/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h94 const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) override;

Completed in 13 milliseconds