/base/powermgr/power_manager/test/unittest/include/interface_test/ |
H A D | running_lock_test.h | 34 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 D | running_lock_scenario_test.h | 34 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 D | powermgr_service_mock_parcel_test.cpp | 80 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 D | powermgr_service_native_test.cpp | 288 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 D | powermgr_service_test_proxy.cpp | 39 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 D | powermgr_service_test_proxy.h | 43 PowerErrors CreateRunningLock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo);
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
H A D | ipower_mgr.h | 42 const RunningLockInfo& runningLockInfo) = 0;
|
/base/powermgr/power_manager/services/zidl/include/ |
H A D | power_mgr_proxy.h | 48 const RunningLockInfo& runningLockInfo) override;
|
/base/powermgr/power_manager/services/zidl/src/ |
H A D | power_mgr_stub.cpp | 217 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 D | power_mgr_proxy.cpp | 32 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 D | power_mgr_service.cpp | 1073 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 D | power_mgr_service.h | 94 const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo) override;
|