Lines Matching refs:cbh
818 CallbackHolder cbh = (*it).second; in onCaptureErrorLocked() local
819 sp<ACameraCaptureSession> session = cbh.mSession; in onCaptureErrorLocked()
820 if ((size_t) burstId >= cbh.mRequests.size()) { in onCaptureErrorLocked()
822 __FUNCTION__, burstId, cbh.mRequests.size()); in onCaptureErrorLocked()
826 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onCaptureErrorLocked()
832 cbh.mCallbacks.onCaptureBufferLost; in onCaptureErrorLocked()
849 msg->setPointer(kContextKey, cbh.mCallbacks.context); in onCaptureErrorLocked()
861 ACameraCaptureSession_captureCallback_failed onError = cbh.mCallbacks.onCaptureFailed; in onCaptureErrorLocked()
871 msg->setPointer(kContextKey, cbh.mCallbacks.context); in onCaptureErrorLocked()
1179 CallbackHolder cbh = cbIt->second; in checkRepeatingSequenceCompleteLocked() local
1183 msg->setPointer(kContextKey, cbh.mCallbacks.context); in checkRepeatingSequenceCompleteLocked()
1184 msg->setObject(kSessionSpKey, cbh.mSession); in checkRepeatingSequenceCompleteLocked()
1185 msg->setPointer(kCallbackFpKey, (void*) cbh.mCallbacks.onCaptureSequenceAborted); in checkRepeatingSequenceCompleteLocked()
1229 CallbackHolder cbh = cbIt->second; in checkAndFireSequenceCompleteLocked() local
1233 msg->setPointer(kContextKey, cbh.mCallbacks.context); in checkAndFireSequenceCompleteLocked()
1234 msg->setObject(kSessionSpKey, cbh.mSession); in checkAndFireSequenceCompleteLocked()
1235 msg->setPointer(kCallbackFpKey, (void*) cbh.mCallbacks.onCaptureSequenceCompleted); in checkAndFireSequenceCompleteLocked()
1243 cbh.mSession.clear(); in checkAndFireSequenceCompleteLocked()
1386 CallbackHolder cbh = (*it).second; in onCaptureStarted() local
1387 ACameraCaptureSession_captureCallback_start onStart = cbh.mCallbacks.onCaptureStarted; in onCaptureStarted()
1388 sp<ACameraCaptureSession> session = cbh.mSession; in onCaptureStarted()
1389 if ((size_t) burstId >= cbh.mRequests.size()) { in onCaptureStarted()
1391 __FUNCTION__, burstId, cbh.mRequests.size()); in onCaptureStarted()
1394 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onCaptureStarted()
1396 msg->setPointer(kContextKey, cbh.mCallbacks.context); in onCaptureStarted()
1446 CallbackHolder cbh = (*it).second; in onResultReceived() local
1448 cbh.mCallbacks.onCaptureProgressed : in onResultReceived()
1449 cbh.mCallbacks.onCaptureCompleted; in onResultReceived()
1450 sp<ACameraCaptureSession> session = cbh.mSession; in onResultReceived()
1451 if ((size_t) burstId >= cbh.mRequests.size()) { in onResultReceived()
1453 __FUNCTION__, burstId, cbh.mRequests.size()); in onResultReceived()
1456 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onResultReceived()
1461 msg->setPointer(kContextKey, cbh.mCallbacks.context); in onResultReceived()