Home
last modified time | relevance | path

Searched refs:perfLockType (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraPerf.cpp256 PerfLockEnum perfLockType, in acquirePerfLock() argument
261 isValidPerfLockEnum(perfLockType)) { in acquirePerfLock()
262 ret = mPerfLock[perfLockType]->acquirePerfLock(true, timer); in acquirePerfLock()
281 PerfLockEnum perfLockType, in acquirePerfLockIfExpired() argument
286 isValidPerfLockEnum(perfLockType)) { in acquirePerfLockIfExpired()
287 ret = mPerfLock[perfLockType]->acquirePerfLock(false, timer); in acquirePerfLockIfExpired()
306 PerfLockEnum perfLockType) in releasePerfLock() argument
310 isValidPerfLockEnum(perfLockType)) { in releasePerfLock()
311 ret = mPerfLock[perfLockType]->releasePerfLock(); in releasePerfLock()
331 PerfLockEnum perfLockType, in powerHintInternal() argument
[all …]
DQCameraPerf.h83 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() argument
152 { return (perfLockType < PERF_LOCK_COUNT); } in isValidPerfLockEnum()