Lines Matching refs:thiz
54 CameraServiceListener* thiz = reinterpret_cast<CameraServiceListener*>(obj); in onAvailable() local
55 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable()
56 thiz->mOnAvailableCount++; in onAvailable()
57 thiz->mAvailableMap[cameraId] = true; in onAvailable()
66 CameraServiceListener* thiz = reinterpret_cast<CameraServiceListener*>(obj); in onUnavailable() local
67 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable()
68 thiz->mOnUnavailableCount++; in onUnavailable()
69 thiz->mAvailableMap[cameraId] = false; in onUnavailable()
112 CameraDeviceListener* thiz = reinterpret_cast<CameraDeviceListener*>(obj); in onDisconnected() local
113 std::lock_guard<std::mutex> lock(thiz->mMutex); in onDisconnected()
114 thiz->mOnDisconnect++; in onDisconnected()
123 CameraDeviceListener* thiz = reinterpret_cast<CameraDeviceListener*>(obj); in onError() local
124 std::lock_guard<std::mutex> lock(thiz->mMutex); in onError()
125 thiz->mOnError++; in onError()
126 thiz->mLatestError = errorCode; in onError()
146 CaptureSessionListener* thiz = reinterpret_cast<CaptureSessionListener*>(obj); in onClosed() local
147 std::lock_guard<std::mutex> lock(thiz->mMutex); in onClosed()
148 thiz->mIsClosed = true; in onClosed()
149 thiz->mOnClosed++; // Should never > 1 in onClosed()
157 CaptureSessionListener* thiz = reinterpret_cast<CaptureSessionListener*>(obj); in onReady() local
158 std::lock_guard<std::mutex> lock(thiz->mMutex); in onReady()
162 if (ret != ACAMERA_OK && !thiz->mIsClosed) { in onReady()
165 thiz->mInError = true; in onReady()
168 thiz->mIsIdle = true; in onReady()
169 thiz->mOnReady++; in onReady()
177 CaptureSessionListener* thiz = reinterpret_cast<CaptureSessionListener*>(obj); in onActive() local
178 std::lock_guard<std::mutex> lock(thiz->mMutex); in onActive()
184 thiz->mInError = true; in onActive()
187 thiz->mIsIdle = false; in onActive()
188 thiz->mOnActive; in onActive()
248 ImageReaderListener* thiz = reinterpret_cast<ImageReaderListener*>(obj); in onImageAvailable() local
249 std::lock_guard<std::mutex> lock(thiz->mMutex); in onImageAvailable()
250 thiz->mOnImageAvailableCount++; in onImageAvailable()
269 if (thiz->mDumpFilePathBase && format == AIMAGE_FORMAT_JPEG) { in onImageAvailable()
308 sprintf(dumpFilePath, "%s/%dx%d.jpg", thiz->mDumpFilePathBase, width, height); in onImageAvailable()