/frameworks/base/media/java/android/media/ |
D | MediaRoute2ProviderService.java | 184 public abstract void onSetRouteVolume(long requestId, @NonNull String routeId, int volume); in onSetRouteVolume() argument 195 public abstract void onSetSessionVolume(long requestId, @NonNull String sessionId, int volume); in onSetSessionVolume() argument 238 public final void notifySessionCreated(long requestId, in notifySessionCreated() argument 243 Log.d(TAG, "notifySessionCreated: Creating a session. requestId=" + requestId in notifySessionCreated() 247 if (requestId != REQUEST_ID_NONE && !removeRequestId(requestId)) { in notifySessionCreated() 248 Log.w(TAG, "notifySessionCreated: The requestId doesn't exist. requestId=" + requestId); in notifySessionCreated() 264 mRemoteCallback.notifySessionCreated(requestId, sessionInfo); in notifySessionCreated() 348 public final void notifyRequestFailed(long requestId, @Reason int reason) { in notifyRequestFailed() argument 353 if (!removeRequestId(requestId)) { in notifyRequestFailed() 355 + requestId); in notifyRequestFailed() [all …]
|
D | IMediaRoute2ProviderService.aidl | 32 void setRouteVolume(long requestId, String routeId, int volume); in setRouteVolume() argument 34 void requestCreateSession(long requestId, String packageName, String routeId, in requestCreateSession() argument 36 void selectRoute(long requestId, String sessionId, String routeId); in selectRoute() argument 37 void deselectRoute(long requestId, String sessionId, String routeId); in deselectRoute() argument 38 void transferToRoute(long requestId, String sessionId, String routeId); in transferToRoute() argument 39 void setSessionVolume(long requestId, String sessionId, int volume); in setSessionVolume() argument 40 void releaseSession(long requestId, String sessionId); in releaseSession() argument
|
D | IMediaRouterService.aidl | 60 void requestCreateSessionWithRouter2(IMediaRouter2 router, int requestId, long managerRequestId, in requestCreateSessionWithRouter2() argument 74 void setRouteVolumeWithManager(IMediaRouter2Manager manager, int requestId, in setRouteVolumeWithManager() argument 77 void requestCreateSessionWithManager(IMediaRouter2Manager manager, int requestId, in requestCreateSessionWithManager() argument 79 void selectRouteWithManager(IMediaRouter2Manager manager, int requestId, in selectRouteWithManager() argument 81 void deselectRouteWithManager(IMediaRouter2Manager manager, int requestId, in deselectRouteWithManager() argument 83 void transferToRouteWithManager(IMediaRouter2Manager manager, int requestId, in transferToRouteWithManager() argument 85 void setSessionVolumeWithManager(IMediaRouter2Manager manager, int requestId, in setSessionVolumeWithManager() argument 87 void releaseSessionWithManager(IMediaRouter2Manager manager, int requestId, String sessionId); in releaseSessionWithManager() argument
|
D | MediaRouter2Manager.java | 382 int requestId = mNextRequestId.getAndIncrement(); in setRouteVolume() local 383 mMediaRouterService.setRouteVolumeWithManager(client, requestId, route, volume); in setRouteVolume() 411 int requestId = mNextRequestId.getAndIncrement(); in setSessionVolume() local 413 client, requestId, sessionInfo.getId(), volume); in setSessionVolume() 453 void createSessionOnHandler(int requestId, RoutingSessionInfo sessionInfo) { in createSessionOnHandler() argument 456 if (request.mRequestId == requestId) { in createSessionOnHandler() 492 void handleFailureOnHandler(int requestId, int reason) { in handleFailureOnHandler() argument 495 if (request.mRequestId == requestId) { in handleFailureOnHandler() 676 int requestId = mNextRequestId.getAndIncrement(); in selectRoute() local 678 client, requestId, sessionInfo.getId(), route); in selectRoute() [all …]
|
/frameworks/base/startop/iorap/tests/src/com/google/android/startop/iorap/ |
D | IIorapIntegrationTest.kt | 50 override fun onProgress(requestId: RequestId?, result: TaskResult?) { in <lambda>() 53 override fun onComplete(requestId: RequestId?, result: TaskResult?) { in <lambda>() 69 val requestId = RequestId.nextValueForSequence()!! in <lambda>() constant 72 func(requestId) in <lambda>() 80 .onProgress(eq(requestId), argThat { it!!.state == TaskResult.STATE_BEGAN }) in <lambda>() 82 .onProgress(eq(requestId), argThat { it!!.state == TaskResult.STATE_ONGOING }) in <lambda>() 84 .onComplete(eq(requestId), argThat { it!!.state == TaskResult.STATE_COMPLETED }) in <lambda>() 108 testAnyMethod { requestId: RequestId -> in <lambda>() method 109 iorapService.onAppIntentEvent(requestId, AppIntentEvent.createDefaultIntentChanged( in <lambda>() 117 testAnyMethod { requestId : RequestId -> in <lambda>() method [all …]
|
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/ |
D | RequestId.java | 39 public final long requestId; field in RequestId 60 private RequestId(long requestId) { in RequestId() argument 61 this.requestId = requestId; in RequestId() 67 if (requestId < 0) { in checkConstructorArguments() 74 return String.format("{requestId: %d}", requestId); in toString() 79 return Long.hashCode(requestId); in hashCode() 93 return requestId == other.requestId; in equals() 100 out.writeLong(requestId); in writeToParcel() 104 requestId = in.readLong(); in RequestId()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRoute2ProviderServiceProxy.java | 90 public void requestCreateSession(long requestId, String packageName, String routeId, in requestCreateSession() argument 93 mActiveConnection.requestCreateSession(requestId, packageName, routeId, sessionHints); in requestCreateSession() 99 public void releaseSession(long requestId, String sessionId) { in releaseSession() argument 101 mActiveConnection.releaseSession(requestId, sessionId); in releaseSession() 116 public void selectRoute(long requestId, String sessionId, String routeId) { in selectRoute() argument 118 mActiveConnection.selectRoute(requestId, sessionId, routeId); in selectRoute() 123 public void deselectRoute(long requestId, String sessionId, String routeId) { in deselectRoute() argument 125 mActiveConnection.deselectRoute(requestId, sessionId, routeId); in deselectRoute() 130 public void transferToRoute(long requestId, String sessionId, String routeId) { in transferToRoute() argument 132 mActiveConnection.transferToRoute(requestId, sessionId, routeId); in transferToRoute() [all …]
|
D | MediaRoute2Provider.java | 54 public abstract void requestCreateSession(long requestId, String packageName, String routeId, in requestCreateSession() argument 56 public abstract void releaseSession(long requestId, String sessionId); in releaseSession() argument 59 public abstract void selectRoute(long requestId, String sessionId, String routeId); in selectRoute() argument 60 public abstract void deselectRoute(long requestId, String sessionId, String routeId); in deselectRoute() argument 61 public abstract void transferToRoute(long requestId, String sessionId, String routeId); in transferToRoute() argument 63 public abstract void setRouteVolume(long requestId, String routeId, int volume); in setRouteVolume() argument 64 public abstract void setSessionVolume(long requestId, String sessionId, int volume); in setSessionVolume() argument 114 long requestId, @Nullable RoutingSessionInfo sessionInfo); in onSessionCreated() argument 119 void onRequestFailed(@NonNull MediaRoute2Provider provider, long requestId, int reason); in onRequestFailed() argument
|
D | SystemMediaRoute2Provider.java | 152 public void requestCreateSession(long requestId, String packageName, String routeId, in requestCreateSession() argument 157 mCallback.onSessionCreated(this, requestId, mDefaultSessionInfo); in requestCreateSession() 161 mCallback.onSessionCreated(this, requestId, mSessionInfos.get(0)); in requestCreateSession() 171 mPendingSessionCreationRequest = new SessionCreationRequest(requestId, routeId); in requestCreateSession() 174 transferToRoute(requestId, SYSTEM_SESSION_ID, routeId); in requestCreateSession() 178 public void releaseSession(long requestId, String sessionId) { in releaseSession() argument 188 public void selectRoute(long requestId, String sessionId, String routeId) { in selectRoute() argument 193 public void deselectRoute(long requestId, String sessionId, String routeId) { in deselectRoute() argument 198 public void transferToRoute(long requestId, String sessionId, String routeId) { in transferToRoute() argument 213 public void setRouteVolume(long requestId, String routeId, int volume) { in setRouteVolume() argument [all …]
|
D | MediaRouter2ServiceImpl.java | 237 public void requestCreateSessionWithRouter2(IMediaRouter2 router, int requestId, in requestCreateSessionWithRouter2() argument 247 requestCreateSessionWithRouter2Locked(requestId, managerRequestId, in requestCreateSessionWithRouter2() 391 public void setRouteVolumeWithManager(IMediaRouter2Manager manager, int requestId, in setRouteVolumeWithManager() argument 399 setRouteVolumeWithManagerLocked(requestId, manager, route, volume); in setRouteVolumeWithManager() 406 public void requestCreateSessionWithManager(IMediaRouter2Manager manager, int requestId, in requestCreateSessionWithManager() argument 414 requestCreateSessionWithManagerLocked(requestId, manager, oldSession, route); in requestCreateSessionWithManager() 421 public void selectRouteWithManager(IMediaRouter2Manager manager, int requestId, in selectRouteWithManager() argument 432 selectRouteWithManagerLocked(requestId, manager, uniqueSessionId, route); in selectRouteWithManager() 439 public void deselectRouteWithManager(IMediaRouter2Manager manager, int requestId, in deselectRouteWithManager() argument 450 deselectRouteWithManagerLocked(requestId, manager, uniqueSessionId, route); in deselectRouteWithManager() [all …]
|
/frameworks/base/core/java/android/net/ |
D | DataUsageRequest.java | 42 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()
|
D | NetworkRequest.java | 56 public final int requestId; field in NetworkRequest 126 requestId = rId; in NetworkRequest() 137 requestId = that.requestId; in NetworkRequest() 380 dest.writeInt(requestId); in writeToParcel() 389 int requestId = in.readInt(); 391 NetworkRequest result = new NetworkRequest(nc, legacyType, requestId, type); 522 return "NetworkRequest [ " + type + " id=" + requestId + in toString() 549 proto.write(NetworkRequestProto.REQUEST_ID, requestId); in dumpDebug() 560 that.requestId == this.requestId && in equals() 566 return Objects.hash(requestId, legacyType, networkCapabilities, type); in hashCode()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestQueue.java | 102 public synchronized long stopRepeating(int requestId) { in stopRepeating() argument 104 if (mRepeatingRequest != null && mRepeatingRequest.getRequestId() == requestId) { in stopRepeating() 111 Log.e(TAG, "cancel failed: no repeating request exists for request id: " + requestId); in stopRepeating() 143 int requestId = mCurrentRequestId++; in submit() local 144 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds); in submit() 158 SubmitInfo info = new SubmitInfo(requestId, lastFrame); in submit() 162 private long calculateLastFrame(int requestId) { in calculateLastFrame() argument 166 if (b.getRequestId() == requestId) { in calculateLastFrame()
|
D | BurstHolder.java | 41 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()
|
D | RequestHolder.java | 72 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/bluetooth/ |
D | BluetoothGattServerCallback.java | 57 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest() argument 75 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() argument 92 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest() argument 110 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() argument 126 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite() argument
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CaptureResultExtras.java | 25 private int requestId; field in CaptureResultExtras 54 public CaptureResultExtras(int requestId, int subsequenceId, int afTriggerId, in CaptureResultExtras() argument 60 this.requestId = requestId; in CaptureResultExtras() 80 dest.writeInt(requestId); in writeToParcel() 99 requestId = in.readInt(); in readFromParcel() 120 return requestId; in getRequestId()
|
D | CameraOfflineSessionImpl.java | 211 int requestId = resultExtras.getRequestId(); in onCaptureStarted() local 230 holder = CameraOfflineSessionImpl.this.mCaptureCallbackMap.get(requestId); in onCaptureStarted() 289 int requestId = resultExtras.getRequestId(); in onResultReceived() local 298 CameraOfflineSessionImpl.this.mCaptureCallbackMap.get(requestId); in onResultReceived() 448 final int requestId = resultExtras.getRequestId(); in onCaptureErrorLocked() local 453 CameraOfflineSessionImpl.this.mCaptureCallbackMap.get(requestId); in onCaptureErrorLocked() 457 requestId)); in onCaptureErrorLocked() 513 requestId, in onCaptureErrorLocked() 559 final int requestId = requestLastFrameNumbers.getRequestId(); in checkAndFireSequenceComplete() local 564 int index = mCaptureCallbackMap.indexOfKey(requestId); in checkAndFireSequenceComplete() [all …]
|
D | CameraDeviceImpl.java | 1076 final int requestId, final long lastFrameNumber, in checkEarlyTriggerSequenceCompleteLocked() argument 1082 int index = mCaptureCallbackMap.indexOfKey(requestId); in checkEarlyTriggerSequenceCompleteLocked() 1090 requestId, lastFrameNumber)); in checkEarlyTriggerSequenceCompleteLocked() 1107 requestId)); in checkEarlyTriggerSequenceCompleteLocked() 1111 requestId); in checkEarlyTriggerSequenceCompleteLocked() 1124 requestId)); in checkEarlyTriggerSequenceCompleteLocked() 1129 mRequestLastFrameNumbersList.add(new RequestLastFrameNumbersHolder(requestId, in checkEarlyTriggerSequenceCompleteLocked() 1244 int requestId = mRepeatingRequestId; in stopRepeating() local 1251 lastFrameNumber = mRemoteDevice.cancelRequest(requestId); in stopRepeating() 1254 … Log.v(TAG, "Repeating request was already stopped for request " + requestId); in stopRepeating() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 643 int requestId = 12; in doSuccessfulSingleScanOnImpls() local 659 sendSingleScanRequest(controlChannel, requestId, requestSettings, workSource); in doSuccessfulSingleScanOnImpls() 668 verifySuccessfulResponse(order, handler, requestId); in doSuccessfulSingleScanOnImpls() 687 verifyScanResultsReceived(order, handler, requestId, expectedResults.getScanData()); in doSuccessfulSingleScanOnImpls() 688 verifySingleScanCompletedReceived(order, handler, requestId); in doSuccessfulSingleScanOnImpls() 691 assertDumpContainsRequestLog("addSingleScanRequest", requestId); in doSuccessfulSingleScanOnImpls() 692 assertDumpContainsCallbackLog("singleScanResults", requestId, in doSuccessfulSingleScanOnImpls() 766 int requestId = 33; in sendSingleScanRequestWithPrivilegedTypeParamsSetFromNonPrivilegedApp() local 785 sendSingleScanRequest(controlChannel, requestId, requestSettings, null); in sendSingleScanRequestWithPrivilegedTypeParamsSetFromNonPrivilegedApp() 791 verifyFailedResponse(order, handler, requestId, in sendSingleScanRequestWithPrivilegedTypeParamsSetFromNonPrivilegedApp() [all …]
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | StubMediaRoute2ProviderService.java | 191 public void onSetRouteVolume(long requestId, String routeId, int volume) { in onSetRouteVolume() argument 194 proxy.onSetRouteVolume(routeId, volume, requestId); in onSetRouteVolume() 210 public void onSetSessionVolume(long requestId, String sessionId, int volume) { in onSetSessionVolume() argument 223 public void onCreateSession(long requestId, String packageName, String routeId, in onCreateSession() argument 227 notifyRequestFailed(requestId, REASON_UNKNOWN_ERROR); in onCreateSession() 254 notifySessionCreated(requestId, sessionInfo); in onCreateSession() 259 public void onReleaseSession(long requestId, String sessionId) { in onReleaseSession() argument 262 spy.onReleaseSession(requestId, sessionId); in onReleaseSession() 284 public void onSelectRoute(long requestId, String sessionId, String routeId) { in onSelectRoute() argument 306 public void onDeselectRoute(long requestId, String sessionId, String routeId) { in onDeselectRoute() argument [all …]
|
/frameworks/base/core/java/android/service/restrictions/ |
D | RestrictionsReceiver.java | 64 String packageName, String requestType, String requestId, PersistableBundle request); in onRequestPermission() argument 78 String requestId = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_ID); in onReceive() local 81 onRequestPermission(context, packageName, requestType, requestId, request); in onReceive()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 138 assertTrue(request.requestId > 0); in testRegister_thresholdTooLow_setsDefaultThreshold() 151 assertTrue(request.requestId > 0); in testRegister_highThreshold_accepted() 163 assertTrue(request1.requestId > 0); in testRegister_twoRequests_twoIds() 169 assertTrue(request2.requestId > request1.requestId); in testRegister_twoRequests_twoIds() 189 assertTrue(request.requestId > 0); in testUnregister_knownRequest_releasesCaller() 207 assertTrue(request.requestId > 0); in testUnregister_knownRequest_invalidUid_doesNotUnregister() 234 assertTrue(request.requestId > 0); in testUpdateStats_initialSample_doesNotNotify() 258 assertTrue(request.requestId > 0); in testUpdateStats_belowThreshold_doesNotNotify() 288 assertTrue(request.requestId > 0); in testUpdateStats_deviceAccess_notifies() 319 assertTrue(request.requestId > 0); in testUpdateStats_defaultAccess_notifiesSameUid() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ClientWakelockTracker.java | 38 public void startTracking(String clientId, int requestId, int token, int numRequestsInQueue) { in startTracking() argument 41 client.startAttributingWakelock(requestId, token, numRequestsInQueue, uptime); in startTracking() 51 public void stopTracking(String clientId, int requestId, int token, int numRequestsInQueue) { in stopTracking() argument 54 client.stopAttributingWakelock(requestId, token, uptime); in stopTracking()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ClientRequestStats.java | 125 public void updateRequestHistograms(int requestId, int time) { in updateRequestHistograms() argument 127 TelephonyHistogram entry = mRequestHistograms.get(requestId); in updateRequestHistograms() 130 requestId, REQUEST_HISTOGRAM_BUCKET_COUNT); in updateRequestHistograms() 131 mRequestHistograms.put(requestId, entry); in updateRequestHistograms()
|