Searched refs:perfLockType (Results 1 – 2 of 2) sorted by relevance
83 static QCameraPerfLock* create(PerfLockEnum perfLockType);92 QCameraPerfLock(PerfLockEnum perfLockType, QCameraPerfLockIntf *perfLockIntf);139 bool releasePerfLock(PerfLockEnum perfLockType);140 bool acquirePerfLock(PerfLockEnum perfLockType, uint32_t timer = DEFAULT_PERF_LOCK_TIMEOUT_MS);144 void powerHintInternal(PerfLockEnum perfLockType, PowerHint powerHint, int32_t time_out);151 inline bool isValidPerfLockEnum(PerfLockEnum perfLockType) in isValidPerfLockEnum() argument152 { return (perfLockType < PERF_LOCK_COUNT); } in isValidPerfLockEnum()
271 PerfLockEnum perfLockType, in acquirePerfLock() argument276 isValidPerfLockEnum(perfLockType)) { in acquirePerfLock()277 ret = mPerfLock[perfLockType]->acquirePerfLock(true, timer); in acquirePerfLock()296 PerfLockEnum perfLockType, in acquirePerfLockIfExpired() argument301 isValidPerfLockEnum(perfLockType)) { in acquirePerfLockIfExpired()302 ret = mPerfLock[perfLockType]->acquirePerfLock(false, timer); in acquirePerfLockIfExpired()321 PerfLockEnum perfLockType) in releasePerfLock() argument325 isValidPerfLockEnum(perfLockType)) { in releasePerfLock()326 ret = mPerfLock[perfLockType]->releasePerfLock(); in releasePerfLock()346 PerfLockEnum perfLockType, in powerHintInternal() argument[all …]