Lines Matching refs:cbh

807     CallbackHolder cbh = (*it).second;  in onCaptureErrorLocked()  local
808 sp<ACameraCaptureSession> session = cbh.mSession; in onCaptureErrorLocked()
809 if ((size_t) burstId >= cbh.mRequests.size()) { in onCaptureErrorLocked()
811 __FUNCTION__, burstId, cbh.mRequests.size()); in onCaptureErrorLocked()
815 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onCaptureErrorLocked()
821 cbh.mOnCaptureBufferLost; in onCaptureErrorLocked()
838 msg->setPointer(kContextKey, cbh.mContext); in onCaptureErrorLocked()
850 ACameraCaptureSession_captureCallback_failed onError = cbh.mOnCaptureFailed; in onCaptureErrorLocked()
859 sp<AMessage> msg = new AMessage(cbh.mIsLogicalCameraCallback ? kWhatLogicalCaptureFail : in onCaptureErrorLocked()
861 msg->setPointer(kContextKey, cbh.mContext); in onCaptureErrorLocked()
863 if (cbh.mIsLogicalCameraCallback) { in onCaptureErrorLocked()
868 msg->setPointer(kCallbackFpKey, (void*) cbh.mOnLogicalCameraCaptureFailed); in onCaptureErrorLocked()
1317 CallbackHolder cbh = cbIt->second; in checkRepeatingSequenceCompleteLocked() local
1321 msg->setPointer(kContextKey, cbh.mContext); in checkRepeatingSequenceCompleteLocked()
1322 msg->setObject(kSessionSpKey, cbh.mSession); in checkRepeatingSequenceCompleteLocked()
1323 msg->setPointer(kCallbackFpKey, (void*) cbh.mOnCaptureSequenceAborted); in checkRepeatingSequenceCompleteLocked()
1367 CallbackHolder cbh = cbIt->second; in checkAndFireSequenceCompleteLocked() local
1371 msg->setPointer(kContextKey, cbh.mContext); in checkAndFireSequenceCompleteLocked()
1372 msg->setObject(kSessionSpKey, cbh.mSession); in checkAndFireSequenceCompleteLocked()
1373 msg->setPointer(kCallbackFpKey, (void*) cbh.mOnCaptureSequenceCompleted); in checkAndFireSequenceCompleteLocked()
1381 cbh.mSession.clear(); in checkAndFireSequenceCompleteLocked()
1529 CallbackHolder cbh = (*it).second; in onCaptureStarted() local
1530 ACameraCaptureSession_captureCallback_start onStart = cbh.mOnCaptureStarted; in onCaptureStarted()
1531 sp<ACameraCaptureSession> session = cbh.mSession; in onCaptureStarted()
1532 if ((size_t) burstId >= cbh.mRequests.size()) { in onCaptureStarted()
1534 __FUNCTION__, burstId, cbh.mRequests.size()); in onCaptureStarted()
1537 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onCaptureStarted()
1539 msg->setPointer(kContextKey, cbh.mContext); in onCaptureStarted()
1588 CallbackHolder cbh = (*it).second; in onResultReceived() local
1589 sp<ACameraCaptureSession> session = cbh.mSession; in onResultReceived()
1590 if ((size_t) burstId >= cbh.mRequests.size()) { in onResultReceived()
1592 __FUNCTION__, burstId, cbh.mRequests.size()); in onResultReceived()
1595 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onResultReceived()
1602 cbh.mIsLogicalCameraCallback ? kWhatLogicalCaptureResult : kWhatCaptureResult, in onResultReceived()
1604 msg->setPointer(kContextKey, cbh.mContext); in onResultReceived()
1610 (void *)cbh.mOnCaptureProgressed); in onResultReceived()
1611 } else if (cbh.mIsLogicalCameraCallback) { in onResultReceived()
1613 (void *)cbh.mOnLogicalCameraCaptureCompleted); in onResultReceived()
1617 (void *)cbh.mOnCaptureCompleted); in onResultReceived()