Home
last modified time | relevance | path

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

123

/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.java443 public boolean onGenericFailure(int requestId) { in onGenericFailure() argument
444 if (requestId == mPendingRegisterRequestId) { in onGenericFailure()
448 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onGenericFailure()
450 mPendingCallbacks.remove(requestId); in onGenericFailure()
456 public boolean onGenericSuccess(int requestId) { in onGenericSuccess() argument
460 public boolean onRegistered(int requestId, int serviceVersion, in onRegistered() argument
463 && requestId == mPendingRegisterRequestId in onRegistered()
484 public boolean onControlRequestSucceeded(int requestId, Bundle data) { in onControlRequestSucceeded() argument
485 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onControlRequestSucceeded()
487 mPendingCallbacks.remove(requestId); in onControlRequestSucceeded()
[all …]
/frameworks/base/core/java/android/net/
DNetworkRequest.java40 public final int requestId; field in NetworkRequest
56 requestId = rId; in NetworkRequest()
66 requestId = that.requestId; in NetworkRequest()
221 dest.writeInt(requestId); in writeToParcel()
228 int requestId = in.readInt();
229 NetworkRequest result = new NetworkRequest(nc, legacyType, requestId);
238 return "NetworkRequest [ id=" + requestId + ", legacyType=" + legacyType + in toString()
246 that.requestId == this.requestId && in equals()
253 return requestId + (legacyType * 1013) + in hashCode()
DNetworkFactory.java174 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleAddRequest()
178 mNetworkRequests.put(n.request.requestId, n); in handleAddRequest()
190 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleRemoveRequest()
192 mNetworkRequests.remove(request.requestId); in handleRemoveRequest()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCaptureResultExtras.java25 private int requestId; field in CaptureResultExtras
49 public CaptureResultExtras(int requestId, int subsequenceId, int afTriggerId, in CaptureResultExtras() argument
52 this.requestId = requestId; in CaptureResultExtras()
67 dest.writeInt(requestId); in writeToParcel()
76 requestId = in.readInt(); in readFromParcel()
85 return requestId; in getRequestId()
DCameraDeviceImpl.java766 final int requestId, final long lastFrameNumber) { in checkEarlyTriggerSequenceComplete() argument
771 int index = mCaptureCallbackMap.indexOfKey(requestId); in checkEarlyTriggerSequenceComplete()
779 requestId, lastFrameNumber)); in checkEarlyTriggerSequenceComplete()
796 requestId)); in checkEarlyTriggerSequenceComplete()
800 requestId); in checkEarlyTriggerSequenceComplete()
808 requestId)); in checkEarlyTriggerSequenceComplete()
813 mRequestLastFrameNumbersList.add(new RequestLastFrameNumbersHolder(requestId, in checkEarlyTriggerSequenceComplete()
845 int requestId; in submitCaptureRequest() local
853 requestId = mRemoteDevice.submitRequestList(requestList, repeating, in submitCaptureRequest()
866 mCaptureCallbackMap.put(requestId, new CaptureCallbackHolder(callback, in submitCaptureRequest()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestQueue.java79 public synchronized long stopRepeating(int requestId) { in stopRepeating() argument
81 if (mRepeatingRequest != null && mRepeatingRequest.getRequestId() == requestId) { in stopRepeating()
88 Log.e(TAG, "cancel failed: no repeating request exists for request id: " + requestId); in stopRepeating()
122 int requestId = mCurrentRequestId++; in submit() local
123 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds); in submit()
138 return requestId; in submit()
141 private long calculateLastFrame(int requestId) { in calculateLastFrame() argument
145 if (b.getRequestId() == requestId) { in calculateLastFrame()
DBurstHolder.java41 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, in BurstHolder() argument
46 mRequestBuilders.add(new RequestHolder.Builder(requestId, /*subsequenceId*/i, in BurstHolder()
51 mRequestId = requestId; in BurstHolder()
DRequestHolder.java69 public Builder(int requestId, int subsequenceId, CaptureRequest request, in Builder() argument
72 mRequestId = requestId; in Builder()
157 private RequestHolder(int requestId, int subsequenceId, CaptureRequest request, in RequestHolder() argument
162 mRequestId = requestId; in RequestHolder()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServerCallback.java60 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest() argument
79 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() argument
96 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest() argument
115 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() argument
132 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite() argument
/frameworks/base/core/java/android/service/restrictions/
DRestrictionsReceiver.java65 String packageName, String requestType, String requestId, PersistableBundle request); in onRequestPermission() argument
79 String requestId = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_ID); in onReceive() local
82 onRequestPermission(context, packageName, requestType, requestId, request); in onReceive()
/frameworks/base/services/core/java/com/android/server/location/
DFlpHardwareProvider.java298 private native void nativeStartBatching(int requestId, FusedBatchOptions options); in nativeStartBatching() argument
299 private native void nativeUpdateBatchingOptions(int requestId, FusedBatchOptions optionsObject); in nativeUpdateBatchingOptions() argument
374 public void startBatching(int requestId, FusedBatchOptions options) {
375 nativeStartBatching(requestId, options);
379 public void stopBatching(int requestId) {
380 nativeStopBatching(requestId);
384 public void updateBatchingOptions(int requestId, FusedBatchOptions options) {
385 nativeUpdateBatchingOptions(requestId, options);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDctController.java319 if (mRequestInfos.containsKey(request.requestId)) { in requestNetwork()
320 logd("requestNetwork replacing " + mRequestInfos.get(request.requestId)); in requestNetwork()
325 mRequestInfos.put(request.requestId, requestInfo); in requestNetwork()
332 RequestInfo requestInfo = mRequestInfos.get(request.requestId); in releaseNetwork()
336 mRequestInfos.remove(request.requestId); in releaseNetwork()
422 mRequestInfos.containsKey(requestInfo.request.requestId)) { in onExecuteRequest()
684 public LocalLog requestLog(int requestId, String l) { in requestLog() argument
687 if (r.request.requestId == requestId) { in requestLog()
699 if (r.request.requestId == request.requestId) { in addLogger()
725 mPendingReq.put(networkRequest.requestId, networkRequest); in needNetworkFor()
[all …]
/frameworks/av/camera/
DCaptureResult.cpp26 return requestId >= 0; in isValid()
35 parcel->readInt32(&requestId); in readFromParcel()
51 parcel->writeInt32(requestId); in writeToParcel()
/frameworks/av/include/camera/
DCaptureResult.h33 int32_t requestId; member
64 : requestId(-1), in CaptureResultExtras()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp129 int32_t requestId = mRequestIdCounter; in submitRequestList() local
199 metadata.update(ANDROID_REQUEST_ID, &requestId, /*size*/1); in submitRequestList()
202 __FUNCTION__, mCameraId, requestId, loopCounter, requests.size()); in submitRequestList()
214 mStreamingRequestList.push_back(requestId); in submitRequestList()
222 ALOGV("%s: requestId = %d ", __FUNCTION__, requestId); in submitRequestList()
227 return requestId; in submitRequestList()
233 status_t CameraDeviceClient::cancelRequest(int requestId, int64_t* lastFrameNumber) { in cancelRequest() argument
235 ALOGV("%s, requestId = %d", __FUNCTION__, requestId); in cancelRequest()
248 if (*it == requestId) { in cancelRequest()
255 "requests", __FUNCTION__, mCameraId, requestId); in cancelRequest()
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp196 int32_t requestId = entry.data.i32[0]; in processListeners() local
205 if (requestId >= item->minId && requestId < item->maxId && in processListeners()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java187 if (networkRequests.get(networkRequest.requestId) == networkRequest) return false; in addRequest()
188 networkRequests.put(networkRequest.requestId, networkRequest); in addRequest()
/frameworks/base/core/java/android/content/
DIRestrictionsManager.aidl30 void requestPermission(in String packageName, in String requestType, in String requestId, in requestPermission() argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessorInterface.h52 virtual status_t pushToReprocess(int32_t requestId) = 0;
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java125 private void verifyDownload(long requestId, byte[] fileData) in verifyDownload() argument
128 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(requestId); in verifyDownload()
129 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId)); in verifyDownload()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java187 int requestId = mCameraUser.submitRequest(request, streaming, null); in submitCameraRequest() local
189 "Request IDs should be non-negative (expected: >= 0, actual: " + requestId + ")", in submitCameraRequest()
190 requestId >= 0); in submitCameraRequest()
191 return requestId; in submitCameraRequest()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp561 newRequest->mResultExtras.requestId = it->find(ANDROID_REQUEST_ID).data.i32[0]; in convertMetadataListToRequestListLocked()
569 ALOGV("%s: requestId = %" PRId32, __FUNCTION__, newRequest->mResultExtras.requestId); in convertMetadataListToRequestListLocked()
629 (*(requestList.begin()))->mResultExtras.requestId); in submitRequestsHelper()
715 status_t Camera3Device::waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) { in waitUntilRequestReceived() argument
719 return mRequestThread->waitUntilRequestProcessed(requestId, timeout); in waitUntilRequestReceived()
1985 __FUNCTION__, mId, frameNumber, resultExtras.requestId, in processPartial3AResult()
2014 int32_t requestId = resultExtras.requestId; in processPartial3AResult() local
2016 &requestId, frameNumber)) { in processPartial3AResult()
2243 queuedResult->mResultExtras.requestId, in sendCaptureResult()
2304 __FUNCTION__, request.resultExtras.requestId, in processCaptureResult()
[all …]
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java92 final String requestId, in requestPermission() argument
117 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_ID, requestId); in requestPermission()
/frameworks/base/core/java/android/hardware/camera2/
DICameraDeviceUser.aidl43 int cancelRequest(int requestId, out LongParcelable lastFrameNumber); in cancelRequest() argument

123