Home
last modified time | relevance | path

Searched refs:requestId (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderService.java137 private boolean onRegisterClient(Messenger messenger, int requestId, int version) { in onRegisterClient() argument
147 if (requestId != 0) { in onRegisterClient()
150 requestId, SERVICE_VERSION_CURRENT, in onRegisterClient()
160 private boolean onUnregisterClient(Messenger messenger, int requestId) { in onUnregisterClient() argument
168 sendGenericSuccess(messenger, requestId); in onUnregisterClient()
185 private boolean onCreateRouteController(Messenger messenger, int requestId, in onCreateRouteController() argument
194 sendGenericSuccess(messenger, requestId); in onCreateRouteController()
201 private boolean onReleaseRouteController(Messenger messenger, int requestId, in onReleaseRouteController() argument
210 sendGenericSuccess(messenger, requestId); in onReleaseRouteController()
217 private boolean onSelectRoute(Messenger messenger, int requestId, in onSelectRoute() argument
[all …]
DRegisteredMediaRouteProvider.java438 public boolean onGenericFailure(int requestId) { in onGenericFailure() argument
439 if (requestId == mPendingRegisterRequestId) { in onGenericFailure()
443 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onGenericFailure()
445 mPendingCallbacks.remove(requestId); in onGenericFailure()
451 public boolean onGenericSuccess(int requestId) { in onGenericSuccess() argument
455 public boolean onRegistered(int requestId, int serviceVersion, in onRegistered() argument
458 && requestId == mPendingRegisterRequestId in onRegistered()
479 public boolean onControlRequestSucceeded(int requestId, Bundle data) { in onControlRequestSucceeded() argument
480 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onControlRequestSucceeded()
482 mPendingCallbacks.remove(requestId); in onControlRequestSucceeded()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServerCallback.java62 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest() argument
81 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() argument
98 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest() argument
117 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() argument
134 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite() argument
/frameworks/av/camera/camera2/
DICameraDeviceCallbacks.cpp68 void onCaptureStarted(int32_t requestId, int64_t timestamp) in onCaptureStarted() argument
73 data.writeInt32(requestId); in onCaptureStarted()
80 void onResultReceived(int32_t requestId, const CameraMetadata& result) { in onResultReceived() argument
84 data.writeInt32(requestId); in onResultReceived()
121 int32_t requestId = data.readInt32(); in onTransact() local
123 onCaptureStarted(requestId, timestamp); in onTransact()
130 int32_t requestId = data.readInt32(); in onTransact() local
137 onResultReceived(requestId, result); in onTransact()
DICameraDeviceUser.cpp100 virtual status_t cancelRequest(int requestId) in cancelRequest() argument
104 data.writeInt32(requestId); in cancelRequest()
252 int requestId = data.readInt32(); in onTransact() local
254 reply->writeInt32(cancelRequest(requestId)); in onTransact()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDevice.java280 int requestId; in submitCaptureRequest() local
287 requestId = mRemoteDevice.submitRequest(request, repeating); in submitCaptureRequest()
295 mCaptureListenerMap.put(requestId, new CaptureListenerHolder(listener, request, in submitCaptureRequest()
300 mRepeatingRequestId = requestId; in submitCaptureRequest()
308 return requestId; in submitCaptureRequest()
336 int requestId = mRepeatingRequestId; in stopRepeating() local
340 mRepeatingRequestIdDeletedList.add(requestId); in stopRepeating()
343 mRemoteDevice.cancelRequest(requestId); in stopRepeating()
541 public void onCaptureStarted(int requestId, final long timestamp) { in onCaptureStarted() argument
543 Log.d(TAG, "Capture started for id " + requestId); in onCaptureStarted()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp160 int32_t requestId = mRequestIdCounter++; in submitRequest() local
161 metadata.update(ANDROID_REQUEST_ID, &requestId, /*size*/1); in submitRequest()
163 __FUNCTION__, mCameraId, requestId); in submitRequest()
171 mStreamingRequestList.push_back(requestId); in submitRequest()
183 return requestId; in submitRequest()
189 status_t CameraDeviceClient::cancelRequest(int requestId) { in cancelRequest() argument
191 ALOGV("%s, requestId = %d", __FUNCTION__, requestId); in cancelRequest()
204 if (*it == requestId) { in cancelRequest()
211 "requests", __FUNCTION__, mCameraId, requestId); in cancelRequest()
515 void CameraDeviceClient::notifyShutter(int requestId, in notifyShutter() argument
[all …]
DCameraDeviceClient.h68 virtual status_t cancelRequest(int requestId);
118 virtual void notifyShutter(int requestId, nsecs_t timestamp);
125 virtual void onFrameAvailable(int32_t requestId,
/frameworks/base/services/java/com/android/server/location/
DFlpHardwareProvider.java203 private native void nativeStartBatching(int requestId, FusedBatchOptions options); in nativeStartBatching() argument
204 private native void nativeUpdateBatchingOptions(int requestId, FusedBatchOptions optionsObject); in nativeUpdateBatchingOptions() argument
280 public void startBatching(int requestId, FusedBatchOptions options) {
281 nativeStartBatching(requestId, options);
285 public void stopBatching(int requestId) {
286 nativeStopBatching(requestId);
290 public void updateBatchingOptions(int requestId, FusedBatchOptions options) {
291 nativeUpdateBatchingOptions(requestId, options);
/frameworks/av/camera/
DIProCameraCallbacks.cpp70 void onResultReceived(int32_t requestId, camera_metadata* result) { in onResultReceived() argument
74 data.writeInt32(requestId); in onResultReceived()
110 int32_t requestId = data.readInt32(); in onTransact() local
113 onResultReceived(requestId, result); in onTransact()
DProCamera.cpp93 void ProCamera::onResultReceived(int32_t requestId, camera_metadata* result) { in onResultReceived() argument
94 ALOGV("%s: requestId = %d, result = %p", __FUNCTION__, requestId, result); in onResultReceived()
115 listener->onResultReceived(requestId, result); in onResultReceived()
162 status_t ProCamera::cancelRequest(int requestId) in cancelRequest() argument
167 return c->cancelRequest(requestId); in cancelRequest()
DIProCameraUser.cpp122 virtual status_t cancelRequest(int requestId) in cancelRequest() argument
126 data.writeInt32(requestId); in cancelRequest()
254 int requestId = data.readInt32(); in onTransact() local
255 reply->writeInt32(cancelRequest(requestId)); in onTransact()
/frameworks/base/core/java/android/hardware/camera2/
DICameraDeviceCallbacks.aidl30 oneway void onCaptureStarted(int requestId, long timestamp); in onCaptureStarted() argument
31 oneway void onResultReceived(int requestId, in CameraMetadataNative result); in onResultReceived() argument
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h85 virtual status_t waitUntilRequestReceived(int32_t requestId, nsecs_t timeout);
342 status_t waitUntilRequestProcessed(int32_t requestId, nsecs_t timeout);
441 int requestId; member
465 requestId(0), in InFlightRequest()
473 requestId(id), in InFlightRequest()
486 status_t registerInFlight(int32_t frameNumber, int32_t requestId,
494 bool processPartial3AQuirk(int32_t frameNumber, int32_t requestId,
DCamera3Device.cpp523 status_t Camera3Device::waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) { in waitUntilRequestReceived() argument
527 return mRequestThread->waitUntilRequestProcessed(requestId, timeout); in waitUntilRequestReceived()
1392 int32_t requestId, int32_t numBuffers) { in registerInFlight() argument
1397 res = mInFlightMap.add(frameNumber, InFlightRequest(requestId, numBuffers)); in registerInFlight()
1409 int32_t frameNumber, int32_t requestId, in processPartial3AQuirk() argument
1459 __FUNCTION__, mId, frameNumber, requestId, in processPartial3AQuirk()
1485 &requestId, frameNumber)) { in processPartial3AQuirk()
1625 request.requestId, in processCaptureResult()
1820 int32_t requestId = -1; in notify() local
1830 requestId = r.requestId; in notify()
[all …]
/frameworks/av/include/camera/camera2/
DICameraDeviceCallbacks.h54 virtual void onCaptureStarted(int32_t requestId,
58 virtual void onResultReceived(int32_t requestId,
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp164 int32_t requestId = entry.data.i32[0]; in processListeners() local
172 if (requestId >= item->minId && in processListeners()
173 requestId < item->maxId && in processListeners()
189 (*item)->onFrameAvailable(requestId, frame); in processListeners()
DCameraDeviceBase.h76 virtual status_t waitUntilRequestReceived(int32_t requestId,
149 virtual void notifyShutter(int requestId,
DCamera2ClientBase.cpp234 void Camera2ClientBase<TClientBase>::notifyShutter(int requestId, in notifyShutter() argument
236 (void)requestId; in notifyShutter()
240 __FUNCTION__, requestId, timestamp); in notifyShutter()
/frameworks/av/services/camera/libcameraservice/api_pro/
DProCamera2Client.h49 virtual status_t cancelRequest(int requestId);
100 virtual void onFrameAvailable(int32_t requestId,
DProCamera2Client.cpp219 status_t ProCamera2Client::cancelRequest(int requestId) { in cancelRequest() argument
220 (void)requestId; in cancelRequest()
377 void ProCamera2Client::onFrameAvailable(int32_t requestId, in onFrameAvailable() argument
389 mRemoteCallback->onResultReceived(requestId, meta); in onFrameAvailable()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.h57 virtual void onFrameAvailable(int32_t requestId, const CameraMetadata &frame);
71 status_t pushToReprocess(int32_t requestId);
DZslProcessor3.h54 virtual void onFrameAvailable(int32_t requestId, const CameraMetadata &frame);
66 virtual status_t pushToReprocess(int32_t requestId);
DZslProcessorInterface.h47 virtual status_t pushToReprocess(int32_t requestId) = 0;
/frameworks/av/include/camera/
DProCamera.h156 status_t cancelRequest(int requestId);
255 virtual void onResultReceived(int32_t requestId,

12