Home
last modified time | relevance | path

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

123

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderService.java152 private boolean onRegisterClient(Messenger messenger, int requestId, int version) { in onRegisterClient() argument
162 if (requestId != 0) { in onRegisterClient()
165 requestId, SERVICE_VERSION_CURRENT, in onRegisterClient()
175 private boolean onUnregisterClient(Messenger messenger, int requestId) { in onUnregisterClient() argument
183 sendGenericSuccess(messenger, requestId); in onUnregisterClient()
200 private boolean onCreateRouteController(Messenger messenger, int requestId, in onCreateRouteController() argument
209 sendGenericSuccess(messenger, requestId); in onCreateRouteController()
216 private boolean onReleaseRouteController(Messenger messenger, int requestId, in onReleaseRouteController() argument
225 sendGenericSuccess(messenger, requestId); in onReleaseRouteController()
232 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/
DDataUsageRequest.java42 public final int requestId; field in DataUsageRequest
54 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) { in DataUsageRequest() argument
55 this.requestId = requestId; in DataUsageRequest()
67 dest.writeInt(requestId); in writeToParcel()
76 int requestId = in.readInt();
79 DataUsageRequest result = new DataUsageRequest(requestId, template,
92 return "DataUsageRequest [ requestId=" + requestId in toString()
101 return that.requestId == this.requestId in equals()
108 return Objects.hash(requestId, template, thresholdInBytes); in hashCode()
DNetworkRequest.java40 public final int requestId; field in NetworkRequest
56 requestId = rId; in NetworkRequest()
66 requestId = that.requestId; in NetworkRequest()
225 dest.writeInt(requestId); in writeToParcel()
232 int requestId = in.readInt();
233 NetworkRequest result = new NetworkRequest(nc, legacyType, requestId);
242 return "NetworkRequest [ id=" + requestId + ", legacyType=" + legacyType + in toString()
250 that.requestId == this.requestId && in equals()
257 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/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()
120 int requestId = mCurrentRequestId++; in submit() local
121 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds); in submit()
135 SubmitInfo info = new SubmitInfo(requestId, lastFrame); in submit()
139 private long calculateLastFrame(int requestId) { in calculateLastFrame() argument
143 if (b.getRequestId() == requestId) { in calculateLastFrame()
DBurstHolder.java41 public BurstHolder(int requestId, boolean repeating, CaptureRequest[] requests, in BurstHolder() argument
46 mRequestBuilders.add(new RequestHolder.Builder(requestId, /*subsequenceId*/i, in BurstHolder()
51 mRequestId = requestId; in BurstHolder()
DRequestHolder.java72 public Builder(int requestId, int subsequenceId, CaptureRequest request, in Builder() argument
75 mRequestId = requestId; in Builder()
160 private RequestHolder(int requestId, int subsequenceId, CaptureRequest request, in RequestHolder() argument
165 mRequestId = requestId; in RequestHolder()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCaptureResultExtras.java25 private int requestId; field in CaptureResultExtras
50 public CaptureResultExtras(int requestId, int subsequenceId, int afTriggerId, in CaptureResultExtras() argument
53 this.requestId = requestId; in CaptureResultExtras()
69 dest.writeInt(requestId); in writeToParcel()
79 requestId = in.readInt(); in readFromParcel()
89 return requestId; in getRequestId()
DCameraDeviceImpl.java779 final int requestId, final long lastFrameNumber) { in checkEarlyTriggerSequenceComplete() argument
784 int index = mCaptureCallbackMap.indexOfKey(requestId); in checkEarlyTriggerSequenceComplete()
792 requestId, lastFrameNumber)); in checkEarlyTriggerSequenceComplete()
809 requestId)); in checkEarlyTriggerSequenceComplete()
813 requestId); in checkEarlyTriggerSequenceComplete()
821 requestId)); in checkEarlyTriggerSequenceComplete()
826 mRequestLastFrameNumbersList.add(new RequestLastFrameNumbersHolder(requestId, in checkEarlyTriggerSequenceComplete()
921 int requestId = mRepeatingRequestId; in stopRepeating() local
926 lastFrameNumber = mRemoteDevice.cancelRequest(requestId); in stopRepeating()
929 … Log.v(TAG, "Repeating request was already stopped for request " + requestId); in stopRepeating()
[all …]
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java405 int requestId = 12; in doSuccessfulSingleScan() local
416 sendSingleScanRequest(controlChannel, requestId, requestSettings, workSource); in doSuccessfulSingleScan()
420 verifySuccessfulResponse(order, handler, requestId); in doSuccessfulSingleScan()
428 verifyScanResultsRecieved(order, handler, requestId, results.getScanData()); in doSuccessfulSingleScan()
429 verifySingleScanCompletedRecieved(order, handler, requestId); in doSuccessfulSingleScan()
432 assertDumpContainsRequestLog("addSingleScanRequest", requestId); in doSuccessfulSingleScan()
433 assertDumpContainsCallbackLog("singleScanResults", requestId, in doSuccessfulSingleScan()
494 int requestId = 33; in sendSingleScanRequestWhichFailsToStart() local
506 sendSingleScanRequest(controlChannel, requestId, requestSettings, null); in sendSingleScanRequestWhichFailsToStart()
512 assertSuccessfulResponse(requestId, messageCaptor.getAllValues().get(0)); in sendSingleScanRequestWhichFailsToStart()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsObserversTest.java141 assertTrue(request.requestId > 0); in testRegister_thresholdTooLow_setsDefaultThreshold()
153 assertTrue(request.requestId > 0); in testRegister_highThreshold_accepted()
164 assertTrue(request1.requestId > 0); in testRegister_twoRequests_twoIds()
170 assertTrue(request2.requestId > request1.requestId); in testRegister_twoRequests_twoIds()
188 assertTrue(request.requestId > 0); in testUnregister_knownRequest_releasesCaller()
205 assertTrue(request.requestId > 0); in testUnregister_knownRequest_invalidUid_doesNotUnregister()
222 assertTrue(request.requestId > 0); in testUpdateStats_initialSample_doesNotNotify()
252 assertTrue(request.requestId > 0); in testUpdateStats_belowThreshold_doesNotNotify()
289 assertTrue(request.requestId > 0); in testUpdateStats_deviceAccess_notifies()
326 assertTrue(request.requestId > 0); in testUpdateStats_defaultAccess_notifiesSameUid()
[all …]
/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.java297 private native void nativeStartBatching(int requestId, FusedBatchOptions options); in nativeStartBatching() argument
298 private native void nativeUpdateBatchingOptions(int requestId, FusedBatchOptions optionsObject); in nativeUpdateBatchingOptions() argument
377 public void startBatching(int requestId, FusedBatchOptions options) {
378 nativeStartBatching(requestId, options);
382 public void stopBatching(int requestId) {
383 nativeStopBatching(requestId);
387 public void updateBatchingOptions(int requestId, FusedBatchOptions options) {
388 nativeUpdateBatchingOptions(requestId, options);
/frameworks/av/camera/
DCaptureResult.cpp26 return requestId >= 0; in isValid()
35 parcel->readInt32(&requestId); in readFromParcel()
52 parcel->writeInt32(requestId); in writeToParcel()
/frameworks/av/include/camera/
DCaptureResult.h39 int32_t requestId; member
76 : requestId(-1), in CaptureResultExtras()
/frameworks/base/core/java/android/hardware/camera2/utils/
DSubmitInfo.java41 public SubmitInfo(int requestId, long lastFrameNumber) { in SubmitInfo() argument
42 mRequestId = requestId; in SubmitInfo()
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DPresSipResponse.java59 public void setRequestId(int requestId) { in setRequestId() argument
60 this.mRequestId = requestId; in setRequestId()
DPresCmdStatus.java92 public void setRequestId(int requestId) { in setRequestId() argument
93 this.mRequestId = requestId; in setRequestId()
DPresRlmiInfo.java127 public void setRequestId(int requestId) { in setRequestId() argument
128 this.mRequestId = requestId; in setRequestId()
/frameworks/base/telephony/java/com/android/ims/internal/uce/options/
DOptionsSipResponse.java60 public void setRequestId(int requestId) { in setRequestId() argument
61 this.mRequestId = requestId; in setRequestId()
/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.java198 if (networkRequests.get(networkRequest.requestId) == networkRequest) return false; in addRequest()
199 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

123