Lines Matching refs:cbh

862     CallbackHolder cbh = (*it).second;  in onCaptureErrorLocked()  local
863 sp<ACameraCaptureSession> session = cbh.mSession; in onCaptureErrorLocked()
864 if ((size_t) burstId >= cbh.mRequests.size()) { in onCaptureErrorLocked()
866 __FUNCTION__, burstId, cbh.mRequests.size()); in onCaptureErrorLocked()
870 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onCaptureErrorLocked()
876 cbh.mOnCaptureBufferLost; in onCaptureErrorLocked()
893 msg->setPointer(kContextKey, cbh.mContext); in onCaptureErrorLocked()
905 ACameraCaptureSession_captureCallback_failed onError = cbh.mOnCaptureFailed; in onCaptureErrorLocked()
914 sp<AMessage> msg = new AMessage(cbh.mIsLogicalCameraCallback ? kWhatLogicalCaptureFail : in onCaptureErrorLocked()
916 msg->setPointer(kContextKey, cbh.mContext); in onCaptureErrorLocked()
918 if (cbh.mIsLogicalCameraCallback) { in onCaptureErrorLocked()
923 msg->setPointer(kCallbackFpKey, (void*) cbh.mOnLogicalCameraCaptureFailed); in onCaptureErrorLocked()
1462 CallbackHolder cbh = cbIt->second; in checkRepeatingSequenceCompleteLocked() local
1466 msg->setPointer(kContextKey, cbh.mContext); in checkRepeatingSequenceCompleteLocked()
1467 msg->setObject(kSessionSpKey, cbh.mSession); in checkRepeatingSequenceCompleteLocked()
1468 msg->setPointer(kCallbackFpKey, (void*) cbh.mOnCaptureSequenceAborted); in checkRepeatingSequenceCompleteLocked()
1693 CallbackHolder cbh = (*it).second; in onCaptureStarted() local
1694 bool v2Callback = cbh.mIs2Callback; in onCaptureStarted()
1695 ACameraCaptureSession_captureCallback_start onStart = cbh.mOnCaptureStarted; in onCaptureStarted()
1696 ACameraCaptureSession_captureCallback_startV2 onStart2 = cbh.mOnCaptureStarted2; in onCaptureStarted()
1697 sp<ACameraCaptureSession> session = cbh.mSession; in onCaptureStarted()
1698 if ((size_t) burstId >= cbh.mRequests.size()) { in onCaptureStarted()
1700 __FUNCTION__, burstId, cbh.mRequests.size()); in onCaptureStarted()
1703 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onCaptureStarted()
1712 msg->setPointer(kContextKey, cbh.mContext); in onCaptureStarted()
1761 CallbackHolder cbh = (*it).second; in onResultReceived() local
1762 sp<ACameraCaptureSession> session = cbh.mSession; in onResultReceived()
1763 if ((size_t) burstId >= cbh.mRequests.size()) { in onResultReceived()
1765 __FUNCTION__, burstId, cbh.mRequests.size()); in onResultReceived()
1768 sp<CaptureRequest> request = cbh.mRequests[burstId]; in onResultReceived()
1775 cbh.mIsLogicalCameraCallback ? kWhatLogicalCaptureResult : kWhatCaptureResult, in onResultReceived()
1777 msg->setPointer(kContextKey, cbh.mContext); in onResultReceived()
1783 (void *)cbh.mOnCaptureProgressed); in onResultReceived()
1784 } else if (cbh.mIsLogicalCameraCallback) { in onResultReceived()
1786 (void *)cbh.mOnLogicalCameraCaptureCompleted); in onResultReceived()
1790 (void *)cbh.mOnCaptureCompleted); in onResultReceived()
1869 CallbackHolder cbh = cbIt->second; in sendCaptureSequenceCompletedLocked() local
1874 msg->setPointer(kContextKey, cbh.mContext); in sendCaptureSequenceCompletedLocked()
1875 msg->setObject(kSessionSpKey, cbh.mSession); in sendCaptureSequenceCompletedLocked()
1876 msg->setPointer(kCallbackFpKey, (void*) cbh.mOnCaptureSequenceCompleted); in sendCaptureSequenceCompletedLocked()
1884 cbh.mSession.clear(); in sendCaptureSequenceCompletedLocked()