Searched refs:perfLockType (Results 1 – 2 of 2) sorted by relevance
256 PerfLockEnum perfLockType, in acquirePerfLock() argument261 isValidPerfLockEnum(perfLockType)) { in acquirePerfLock()262 ret = mPerfLock[perfLockType]->acquirePerfLock(true, timer); in acquirePerfLock()281 PerfLockEnum perfLockType, in acquirePerfLockIfExpired() argument286 isValidPerfLockEnum(perfLockType)) { in acquirePerfLockIfExpired()287 ret = mPerfLock[perfLockType]->acquirePerfLock(false, timer); in acquirePerfLockIfExpired()306 PerfLockEnum perfLockType) in releasePerfLock() argument310 isValidPerfLockEnum(perfLockType)) { in releasePerfLock()311 ret = mPerfLock[perfLockType]->releasePerfLock(); in releasePerfLock()331 PerfLockEnum perfLockType, in powerHintInternal() argument[all …]
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()