/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraCaptureSessionImpl.java | 179 public int captureSingleRequest(CaptureRequest request, Executor executor, in captureSingleRequest() argument 181 if (executor == null) { in captureSingleRequest() 191 executor = CameraDeviceImpl.checkExecutor(executor, callback); in captureSingleRequest() 195 " executor " + executor); in captureSingleRequest() 199 createCaptureCallbackProxyWithExecutor(executor, callback), mDeviceExecutor)); in captureSingleRequest() 236 public int captureBurstRequests(List<CaptureRequest> requests, Executor executor, in captureBurstRequests() argument 238 if (executor == null) { in captureBurstRequests() 248 executor = CameraDeviceImpl.checkExecutor(executor, callback); in captureBurstRequests() 253 ", callback " + callback + " executor " + executor); in captureBurstRequests() 257 createCaptureCallbackProxyWithExecutor(executor, callback), mDeviceExecutor)); in captureBurstRequests() [all …]
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccCardManager.java | 162 public void requestAllProfiles(String cardId, @CallbackExecutor Executor executor, in requestAllProfiles() argument 171 executor.execute(() -> callback.onComplete(resultCode, profiles)); in requestAllProfiles() 191 public void requestProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in requestProfile() argument 200 executor.execute(() -> callback.onComplete(resultCode, profile)); in requestProfile() 222 @CallbackExecutor Executor executor, ResultCallback<Void> callback) { in disableProfile() argument 230 executor.execute(() -> callback.onComplete(resultCode, null)); in disableProfile() 253 @CallbackExecutor Executor executor, ResultCallback<EuiccProfileInfo> callback) { in switchToProfile() argument 261 executor.execute(() -> callback.onComplete(resultCode, profile)); in switchToProfile() 283 @CallbackExecutor Executor executor, ResultCallback<Void> callback) { in setNickname() argument 291 executor.execute(() -> callback.onComplete(resultCode, null)); in setNickname() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 157 public void registerAvailabilityCallback(@NonNull @CallbackExecutor Executor executor, in registerAvailabilityCallback() argument 159 if (executor == null) { in registerAvailabilityCallback() 162 CameraManagerGlobal.get().registerAvailabilityCallback(callback, executor); in registerAvailabilityCallback() 217 public void registerTorchCallback(@NonNull @CallbackExecutor Executor executor, in registerTorchCallback() argument 219 if (executor == null) { in registerTorchCallback() 222 CameraManagerGlobal.get().registerTorchCallback(callback, executor); in registerTorchCallback() 361 CameraDevice.StateCallback callback, Executor executor, final int uid) in openCameraDeviceUserAsync() argument 374 executor, in openCameraDeviceUserAsync() 550 @NonNull @CallbackExecutor Executor executor, in openCamera() argument 553 if (executor == null) { in openCamera() [all …]
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | BiometricPrompt.java | 117 Executor executor; field in BiometricPrompt.ButtonInfo 120 executor = ex; in ButtonInfo() 192 @NonNull @CallbackExecutor Executor executor, in setPositiveButton() argument 197 if (executor == null) { in setPositiveButton() 204 mPositiveButtonInfo = new ButtonInfo(executor, listener); in setPositiveButton() 220 @NonNull @CallbackExecutor Executor executor, in setNegativeButton() argument 225 if (executor == null) { in setNegativeButton() 232 mNegativeButtonInfo = new ButtonInfo(executor, listener); in setNegativeButton() 367 mPositiveButtonInfo.executor.execute(() -> { 371 mNegativeButtonInfo.executor.execute(() -> { [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor_test.cpp | 27 XmlActionExecutor executor; in TEST() local 28 XmlNodeAction& manifest_action = executor["manifest"]; in TEST() 47 ASSERT_TRUE(executor.Execute(XmlActionExecutorPolicy::kNone, &diag, doc.get())); in TEST() 56 XmlActionExecutor executor; in TEST() local 57 executor["manifest"]["application"]; in TEST() 63 ASSERT_FALSE(executor.Execute(XmlActionExecutorPolicy::kWhitelist, &diag, doc.get())); in TEST() 66 ASSERT_FALSE(executor.Execute(XmlActionExecutorPolicy::kWhitelist, &diag, doc.get())); in TEST()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsRcsManager.java | 123 private void setExecutor(Executor executor) { in setExecutor() argument 124 mExecutor = executor; in setExecutor() 148 private void setExecutor(Executor executor) { in setExecutor() argument 149 mBinder.setExecutor(executor); in setExecutor() 180 @NonNull @CallbackExecutor Executor executor, in registerImsRegistrationCallback() 186 if (executor == null) { in registerImsRegistrationCallback() 197 c.setExecutor(executor); in registerImsRegistrationCallback() 234 public void getRegistrationState(@NonNull @CallbackExecutor Executor executor, in getRegistrationState() argument 239 if (executor == null) { in getRegistrationState() 253 executor.execute(() -> stateCallback.accept(result)); in getRegistrationState() [all …]
|
D | ImsMmTelManager.java | 185 private void setExecutor(Executor executor) { in setExecutor() argument 186 mExecutor = executor; in setExecutor() 211 public final void setExecutor(Executor executor) { in setExecutor() argument 212 mBinder.setExecutor(executor); in setExecutor() 285 public void registerImsRegistrationCallback(@NonNull @CallbackExecutor Executor executor, in registerImsRegistrationCallback() argument 290 if (executor == null) { in registerImsRegistrationCallback() 293 c.setExecutor(executor); in registerImsRegistrationCallback() 329 public void registerImsRegistrationCallback(@NonNull @CallbackExecutor Executor executor, in registerImsRegistrationCallback() argument 334 if (executor == null) { in registerImsRegistrationCallback() 337 c.setExecutor(executor); in registerImsRegistrationCallback() [all …]
|
D | RcsUceAdapter.java | 217 private void setExecutor(Executor executor) { in setExecutor() argument 218 mExecutor = executor; in setExecutor() 229 private void setExecutor(Executor executor) { in setExecutor() argument 230 mBinder.setExecutor(executor); in setExecutor() 302 public void requestCapabilities(@NonNull @CallbackExecutor Executor executor, in requestCapabilities() argument 308 if (executor == null) { in requestCapabilities() 327 executor.execute(() -> in requestCapabilities() 337 executor.execute(() -> c.onError(errorCode)); in requestCapabilities() 404 public void registerPublishStateCallback(@NonNull @CallbackExecutor Executor executor, in registerPublishStateCallback() argument 409 if (executor == null) { in registerPublishStateCallback() [all …]
|
D | RegistrationManager.java | 166 private void setExecutor(Executor executor) { in setExecutor() argument 167 mExecutor = executor; in setExecutor() 236 public void setExecutor(Executor executor) { in setExecutor() argument 237 mBinder.setExecutor(executor); in setExecutor() 262 void registerImsRegistrationCallback(@NonNull @CallbackExecutor Executor executor, in registerImsRegistrationCallback() argument 290 void getRegistrationState(@NonNull @CallbackExecutor Executor executor, in getRegistrationState() argument 304 @NonNull @CallbackExecutor Executor executor, in getRegistrationTransportType()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AppWidgetHostViewTest.java | 86 RunnableList executor = new RunnableList(); in asyncInflation() local 87 mHostView.setExecutor(executor); in asyncInflation() 93 assertEquals(1, executor.size()); in asyncInflation() 96 executor.get(0).run(); in asyncInflation() 103 RunnableList executor = new RunnableList(); in asyncInflation_cancelled() local 104 mHostView.setExecutor(executor); in asyncInflation_cancelled() 111 assertEquals(2, executor.size()); in asyncInflation_cancelled() 113 assertTrue(((Future) executor.get(0)).isCancelled()); in asyncInflation_cancelled() 116 executor.get(0).run(); in asyncInflation_cancelled() 117 executor.get(1).run(); in asyncInflation_cancelled()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyScanManager.java | 102 NetworkScanRequest request, Executor executor, NetworkScanCallback callback) { in NetworkScanInfo() argument 104 mExecutor = executor; in NetworkScanInfo() 157 Executor executor = nsi.mExecutor; in TelephonyScanManager() 162 if (executor == null) { in TelephonyScanManager() 177 executor.execute(() -> { in TelephonyScanManager() 188 executor.execute(() -> { in TelephonyScanManager() 201 executor.execute(() -> { in TelephonyScanManager() 245 NetworkScanRequest request, Executor executor, NetworkScanCallback callback, in requestNetworkScan() argument 266 saveScanInfo(scanId, request, executor, callback); in requestNetworkScan() 279 int id, NetworkScanRequest request, Executor executor, NetworkScanCallback callback) { in saveScanInfo() argument [all …]
|
D | MbmsGroupCallSession.java | 90 private MbmsGroupCallSession(Context context, Executor executor, int subscriptionId, in MbmsGroupCallSession() argument 94 mInternalCallback = new InternalGroupCallSessionCallback(callback, executor); in MbmsGroupCallSession() 119 int subscriptionId, @NonNull Executor executor, in create() argument 124 MbmsGroupCallSession session = new MbmsGroupCallSession(context, executor, in create() 130 executor.execute(new Runnable() { in create() 146 @NonNull Executor executor, @NonNull MbmsGroupCallSessionCallback callback) { in create() argument 147 return create(context, SubscriptionManager.getDefaultSubscriptionId(), executor, callback); in create() 207 @NonNull List<Integer> frequencyList, @NonNull Executor executor, in startGroupCall() argument 215 callback, executor); in startGroupCall()
|
D | MbmsStreamingSession.java | 92 private MbmsStreamingSession(Context context, Executor executor, int subscriptionId, in MbmsStreamingSession() argument 96 mInternalCallback = new InternalStreamingSessionCallback(callback, executor); in MbmsStreamingSession() 124 @NonNull Executor executor, int subscriptionId, in create() argument 129 MbmsStreamingSession session = new MbmsStreamingSession(context, executor, in create() 135 executor.execute(new Runnable() { in create() 151 @NonNull Executor executor, @NonNull MbmsStreamingSessionCallback callback) { in create() argument 152 return create(context, executor, SubscriptionManager.getDefaultSubscriptionId(), callback); in create() 250 @NonNull Executor executor, StreamingServiceCallback callback) { in startStreaming() argument 257 callback, executor); in startStreaming()
|
/frameworks/base/core/java/android/app/role/ |
D | RoleManager.java | 320 @CallbackExecutor @NonNull Executor executor, @NonNull Consumer<Boolean> callback) { in addRoleHolderAsUser() argument 324 Preconditions.checkNotNull(executor, "executor cannot be null"); in addRoleHolderAsUser() 328 createRemoteCallback(executor, callback)); in addRoleHolderAsUser() 359 @CallbackExecutor @NonNull Executor executor, @NonNull Consumer<Boolean> callback) { in removeRoleHolderAsUser() argument 363 Preconditions.checkNotNull(executor, "executor cannot be null"); in removeRoleHolderAsUser() 367 createRemoteCallback(executor, callback)); in removeRoleHolderAsUser() 396 @NonNull UserHandle user, @CallbackExecutor @NonNull Executor executor, in clearRoleHoldersAsUser() argument 400 Preconditions.checkNotNull(executor, "executor cannot be null"); in clearRoleHoldersAsUser() 404 createRemoteCallback(executor, callback)); in clearRoleHoldersAsUser() 411 private static RemoteCallback createRemoteCallback(@NonNull Executor executor, in createRemoteCallback() argument [all …]
|
/frameworks/base/core/java/android/net/ |
D | DnsResolver.java | 188 @NonNull @CallbackExecutor Executor executor, in rawQuery() argument 200 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in rawQuery() 205 registerFDListener(executor, queryfd, callback, cancellationSignal, lock); in rawQuery() 229 @NonNull @CallbackExecutor Executor executor, in rawQuery() argument 241 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in rawQuery() 245 registerFDListener(executor, queryfd, callback, cancellationSignal, lock); in rawQuery() 337 @NonNull @CallbackExecutor Executor executor, in query() argument 348 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in query() 357 executor.execute(() -> callback.onError( in query() 372 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in query() [all …]
|
D | NetworkRecommendationProvider.java | 61 public NetworkRecommendationProvider(Context context, Executor executor) { in NetworkRecommendationProvider() argument 63 Preconditions.checkNotNull(executor); in NetworkRecommendationProvider() 64 mService = new ServiceWrapper(context, executor); in NetworkRecommendationProvider() 92 ServiceWrapper(Context context, Executor executor) { in ServiceWrapper() argument 94 mExecutor = executor; in ServiceWrapper()
|
D | SocketKeepalive.java | 176 @NonNull Executor executor, @NonNull Callback callback) { in SocketKeepalive() argument 180 mExecutor = executor; in SocketKeepalive() 194 executor.execute(() -> { in SocketKeepalive() 203 executor.execute(() -> { in SocketKeepalive() 212 executor.execute(() -> { in SocketKeepalive()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | WifiRttManager.java | 114 @NonNull @CallbackExecutor Executor executor, @NonNull RangingResultCallback callback) { in startRanging() argument 115 startRanging(null, request, executor, callback); in startRanging() 134 @NonNull @CallbackExecutor Executor executor, @NonNull RangingResultCallback callback) { in startRanging() argument 137 + ", callback=" + callback + ", executor=" + executor); in startRanging() 140 if (executor == null) { in startRanging() 154 executor.execute(() -> callback.onRangingFailure(status)); in startRanging() 161 executor.execute(() -> callback.onRangingResults(results)); in startRanging()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerManager.java | 260 boolean doDryRun, @Reason int reason, @NonNull @CallbackExecutor Executor executor, in revokeRuntimePermissions() argument 263 checkNotNull(executor); in revokeRuntimePermissions() 279 request, doDryRun, reason, mContext.getPackageName(), executor, callback)); in revokeRuntimePermissions() 300 @PermissionGrantState int grantState, @NonNull @CallbackExecutor Executor executor, in setRuntimePermissionGrantStateByDeviceAdmin() argument 308 checkNotNull(executor); in setRuntimePermissionGrantStateByDeviceAdmin() 312 mRemoteService, callerPackageName, packageName, permission, grantState, executor, in setRuntimePermissionGrantStateByDeviceAdmin() 327 @NonNull @CallbackExecutor Executor executor, in getRuntimePermissionBackup() argument 330 checkNotNull(executor); in getRuntimePermissionBackup() 334 user, executor, callback)); in getRuntimePermissionBackup() 368 @NonNull @CallbackExecutor Executor executor, in restoreDelayedRuntimePermissionBackup() argument [all …]
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | WithOverlayTest.java | 36 Executor executor = (cmd) -> new Thread(cmd).start(); in enableOverlay() local 37 LocalOverlayManager.setEnabledAndWait(executor, APP_OVERLAY_ONE_PKG, true); in enableOverlay() 38 LocalOverlayManager.setEnabledAndWait(executor, APP_OVERLAY_TWO_PKG, false); in enableOverlay() 39 LocalOverlayManager.setEnabledAndWait(executor, FRAMEWORK_OVERLAY_PKG, true); in enableOverlay()
|
D | WithoutOverlayTest.java | 36 Executor executor = (cmd) -> new Thread(cmd).start(); in disableOverlays() local 37 LocalOverlayManager.setEnabledAndWait(executor, APP_OVERLAY_ONE_PKG, false); in disableOverlays() 38 LocalOverlayManager.setEnabledAndWait(executor, APP_OVERLAY_TWO_PKG, false); in disableOverlays() 39 LocalOverlayManager.setEnabledAndWait(executor, FRAMEWORK_OVERLAY_PKG, false); in disableOverlays()
|
D | WithMultipleOverlaysTest.java | 36 Executor executor = (cmd) -> new Thread(cmd).start(); in enableOverlay() local 37 LocalOverlayManager.setEnabledAndWait(executor, APP_OVERLAY_ONE_PKG, true); in enableOverlay() 38 LocalOverlayManager.setEnabledAndWait(executor, APP_OVERLAY_TWO_PKG, true); in enableOverlay() 39 LocalOverlayManager.setEnabledAndWait(executor, FRAMEWORK_OVERLAY_PKG, true); in enableOverlay()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TaskSingleDrainer.java | 47 public TaskSingleDrainer(Executor executor, DrainListener listener) { in TaskSingleDrainer() argument 48 mTaskDrainer = new TaskDrainer<>(executor, listener); in TaskSingleDrainer() 59 public TaskSingleDrainer(Executor executor, DrainListener listener, String name) { in TaskSingleDrainer() argument 60 mTaskDrainer = new TaskDrainer<>(executor, listener, name); in TaskSingleDrainer()
|
D | TaskDrainer.java | 81 public TaskDrainer(Executor executor, DrainListener listener) { in TaskDrainer() argument 82 mExecutor = checkNotNull(executor, "executor must not be null"); in TaskDrainer() 95 public TaskDrainer(Executor executor, DrainListener listener, String name) { in TaskDrainer() argument 96 mExecutor = checkNotNull(executor, "executor must not be null"); in TaskDrainer()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 339 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 343 return copy(in, out, signal, executor, listener); in copy() 371 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 376 signal, executor, listener); in copy() 381 return copyInternalUserspace(in, out, signal, executor, listener); in copy() 409 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 411 return copy(in, out, Long.MAX_VALUE, signal, executor, listener); in copy() 428 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 435 return copyInternalSendfile(in, out, count, signal, executor, listener); in copy() 437 return copyInternalSplice(in, out, count, signal, executor, listener); in copy() [all …]
|