Home
last modified time | relevance | path

Searched refs:Hold (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/power/test/unittest/src/
H A Dhdf_power_runninglock_test.cpp48 * @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 Drunning_lock_impl.h35 static int32_t Hold(const RunningLockInfo &info, PowerHdfState state,
H A Drunning_lock_impl.cpp43 int32_t RunningLockImpl::Hold(const RunningLockInfo &info, PowerHdfState state, in Hold() function in OHOS::HDI::Power::V1_2::RunningLockImpl
H A Dpower_interface_impl.cpp452 return RunningLockImpl::Hold(info, g_powerState); in HoldRunningLock()

Completed in 3 milliseconds