Searched refs:Hold (Results 1 - 4 of 4) sorted by relevance
/drivers/peripheral/power/test/unittest/src/ |
H A D | hdf_power_runninglock_test.cpp | 48 * @tc.desc: test Hold, running lock name is null 60 EXPECT_EQ(HDF_ERR_INVALID_PARAM, RunningLockImpl::Hold(runinglockInfo, powerState)); in HWTEST_F() 65 * @tc.desc: test Hold, running lock type is invalid 77 EXPECT_EQ(HDF_ERR_INVALID_PARAM, RunningLockImpl::Hold(runinglockInfo, powerState)); in HWTEST_F() 114 * @tc.desc: test Hold and UnHold, running lock type is phone 134 EXPECT_EQ(HDF_SUCCESS, RunningLockImpl::Hold(runinglockInfo, powerState)); in HWTEST_F() 139 EXPECT_EQ(HDF_FAILURE, RunningLockImpl::Hold(runinglockInfo, powerState)); in HWTEST_F() 142 EXPECT_EQ(HDF_SUCCESS, RunningLockImpl::Hold(runinglockInfo, powerState)); in HWTEST_F() 167 * @tc.desc: test Hold and UnHold, running lock type is notification 187 EXPECT_EQ(HDF_SUCCESS, RunningLockImpl::Hold(runinglockInf in HWTEST_F() [all...] |
/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | running_lock_impl.h | 35 static int32_t Hold(const RunningLockInfo &info, PowerHdfState state,
|
H A D | running_lock_impl.cpp | 43 int32_t RunningLockImpl::Hold(const RunningLockInfo &info, PowerHdfState state, in Hold() function in OHOS::HDI::Power::V1_2::RunningLockImpl
|
H A D | power_interface_impl.cpp | 452 return RunningLockImpl::Hold(info, g_powerState); in HoldRunningLock()
|
Completed in 3 milliseconds