Home
last modified time | relevance | path

Searched refs:Executor (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java55 import java.util.concurrent.Executor;
165 public void requestAllProfiles(String cardId, @CallbackExecutor Executor executor, in requestAllProfiles()
194 public void requestProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in requestProfile()
225 @CallbackExecutor Executor executor, ResultCallback<Void> callback) { in disableProfile()
256 @CallbackExecutor Executor executor, ResultCallback<EuiccProfileInfo> callback) { in switchToProfile()
286 @CallbackExecutor Executor executor, ResultCallback<Void> callback) { in setNickname()
314 public void deleteProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in deleteProfile()
345 @CallbackExecutor Executor executor, ResultCallback<Void> callback) { in resetMemory()
372 public void requestDefaultSmdpAddress(String cardId, @CallbackExecutor Executor executor, in requestDefaultSmdpAddress()
400 public void requestSmdsAddress(String cardId, @CallbackExecutor Executor executor, in requestSmdsAddress()
[all …]
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingServiceWrapper.java37 import java.util.concurrent.Executor;
63 private Executor mServiceReadyCallbackExecutor;
80 @NonNull @CallbackExecutor Executor executor, in bindToCarrierMessagingService()
145 int destPort, int subId, @NonNull @CallbackExecutor final Executor executor, in receiveSms()
174 @NonNull @CallbackExecutor final Executor executor, in sendTextSms()
203 @NonNull @CallbackExecutor final Executor executor, in sendDataSms()
233 @NonNull @CallbackExecutor final Executor executor, in sendMultipartTextSms()
259 @NonNull @CallbackExecutor final Executor executor, in sendMms()
284 @NonNull @CallbackExecutor final Executor executor, in downloadMms()
392 final Executor mExecutor;
[all …]
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md9 In SystemUI, we are encouraging the use of Java's [Executor][Executor] over
12 Executor available, as well as our own sub-interface,
16 [Executor]: https://developer.android.com/reference/java/util/concurrent/Executor.html
31 internal behaviors), an Executor implementation can be made to be directly
38 At present, there are two interfaces of Executor avaiable, each implemented, and
41 ### Executor subsection
43 The simplest Executor available implements the interface directly, making
44 available one method: `Executor.execute()`. You can access an implementation of
45 this Executor through Dependency Injection:
50 public Foobar(@Background Executor bgExecutor) {
[all …]
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DInitializerImpl.java21 import java.util.concurrent.Executor;
46 private static Executor sExecutor = Executors.newSingleThreadExecutor();
61 OnExtensionsInitializedCallback callback, Executor executor) { in init()
81 Executor executor) { in deinit()
/frameworks/base/core/java/android/hardware/camera2/params/
DExtensionSessionConfiguration.java24 import java.util.concurrent.Executor;
35 private Executor mExecutor = null;
48 @NonNull List<OutputConfiguration> outputs, @NonNull Executor executor, in ExtensionSessionConfiguration()
94 Executor getExecutor() { in getExecutor()
/frameworks/base/core/java/android/view/
DScrollCaptureConnection.java37 import java.util.concurrent.Executor;
54 private final Executor mUiThread;
76 @NonNull Executor uiThread, in ScrollCaptureConnection()
235 private final Executor mExecutor;
238 protected SafeCallback(CancellationSignal signal, Executor executor, T target) { in SafeCallback()
261 static Runnable create(CancellationSignal signal, Executor executor, Runnable target) { in create()
265 static <T> Consumer<T> create(CancellationSignal signal, Executor executor, in create()
272 RunnableCallback(CancellationSignal signal, Executor executor, Runnable target) { in RunnableCallback()
284 ConsumerCallback(CancellationSignal signal, Executor executor, Consumer<T> target) { in ConsumerCallback()
DTunnelModeEnabledListener.java21 import java.util.concurrent.Executor;
30 private final Executor mExecutor;
32 public TunnelModeEnabledListener(Executor executor) { in TunnelModeEnabledListener()
/frameworks/base/core/java/android/permission/
DLegacyPermissionManager.java33 import java.util.concurrent.Executor;
133 @NonNull @CallbackExecutor Executor executor, @NonNull Consumer<Boolean> callback) { in grantDefaultPermissionsToLuiApp()
154 @NonNull @CallbackExecutor Executor executor, @NonNull Consumer<Boolean> callback) { in revokeDefaultPermissionsFromLuiApps()
175 @NonNull @CallbackExecutor Executor executor, @NonNull Consumer<Boolean> callback) { in grantDefaultPermissionsToEnabledImsServices()
196 @NonNull @CallbackExecutor Executor executor, @NonNull Consumer<Boolean> callback) { in grantDefaultPermissionsToEnabledTelephonyDataServices()
217 @NonNull @CallbackExecutor Executor executor, @NonNull Consumer<Boolean> callback) { in revokeDefaultPermissionsFromDisabledTelephonyDataServices()
237 @NonNull UserHandle user, @NonNull @CallbackExecutor Executor executor, in grantDefaultPermissionsToEnabledCarrierApps()
/frameworks/base/services/core/java/com/android/server/location/listeners/
DListenerRegistration.java24 import java.util.concurrent.Executor;
34 private final Executor mExecutor;
40 protected ListenerRegistration(Executor executor, TListener listener) { in ListenerRegistration()
46 protected final Executor getExecutor() { in getExecutor()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DHandlerRunnable.java20 import java.util.concurrent.Executor;
32 private final Executor mCallbackExecutor;
39 public HandlerRunnable(Handler workerHandler, Supplier<T> task, Executor callbackExecutor, in HandlerRunnable()
44 public HandlerRunnable(Handler workerHandler, Supplier<T> task, Executor callbackExecutor, in HandlerRunnable()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCaptureCallback.java27 import java.util.concurrent.Executor;
35 private Executor mExecutor;
38 public CaptureCallback(Executor executor, CameraCaptureSession.CaptureCallback callback) { in CaptureCallback()
47 public Executor getExecutor() { in getExecutor()
DCaptureCallbackHolder.java26 import java.util.concurrent.Executor;
33 private final Executor mExecutor;
45 Executor executor, boolean repeating, int sessionId) { in CaptureCallbackHolder()
104 public Executor getExecutor() { in getExecutor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DSysUIConcurrencyModule.java30 import java.util.concurrent.Executor;
79 public static Executor provideExecutor(@Background Looper looper) { in provideExecutor()
89 public static Executor provideLongRunningExecutor(@LongRunning Looper looper) { in provideLongRunningExecutor()
99 public static Executor provideBackgroundExecutor(@Background Looper looper) { in provideBackgroundExecutor()
170 public static Executor provideUiBackgroundExecutor() { in provideUiBackgroundExecutor()
/frameworks/base/core/java/android/net/
DNetworkRecommendationProvider.java30 import java.util.concurrent.Executor;
61 public NetworkRecommendationProvider(Context context, Executor executor) { in NetworkRecommendationProvider()
89 private final Executor mExecutor;
92 ServiceWrapper(Context context, Executor executor) { in ServiceWrapper()
/frameworks/base/core/java/android/app/contentsuggestions/
DContentSuggestionsManager.java35 import java.util.concurrent.Executor;
139 @NonNull @CallbackExecutor Executor callbackExecutor, in suggestContentSelections()
166 @NonNull @CallbackExecutor Executor callbackExecutor, in classifyContentSelections()
325 private final Executor mExecutor;
328 @NonNull SelectionsCallback callback, @NonNull Executor executor) { in SelectionsCallbackWrapper()
349 private final Executor mExecutor;
352 @NonNull Executor executor) { in ClassificationsCallbackWrapper()
/frameworks/base/telephony/java/android/telephony/ims/
DRegistrationManager.java39 import java.util.concurrent.Executor;
137 private Executor mExecutor;
204 private void setExecutor(Executor executor) { in setExecutor()
289 public void setExecutor(Executor executor) { in setExecutor()
315 void registerImsRegistrationCallback(@NonNull @CallbackExecutor Executor executor, in registerImsRegistrationCallback()
343 void getRegistrationState(@NonNull @CallbackExecutor Executor executor, in getRegistrationState()
357 @NonNull @CallbackExecutor Executor executor, in getRegistrationTransportType()
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/
DInitializerImpl.java24 import java.util.concurrent.Executor;
56 @NonNull OnExtensionsInitializedCallback callback, @Nullable Executor executor) { in init()
70 @Nullable Executor executor) { in deinit()
/frameworks/base/core/java/android/hardware/camera2/utils/
DTaskSingleDrainer.java20 import java.util.concurrent.Executor;
47 public TaskSingleDrainer(Executor executor, DrainListener listener) { in TaskSingleDrainer()
59 public TaskSingleDrainer(Executor executor, DrainListener listener, String name) { in TaskSingleDrainer()
DTaskDrainer.java22 import java.util.concurrent.Executor;
58 private final Executor mExecutor;
81 public TaskDrainer(Executor executor, DrainListener listener) { in TaskDrainer()
95 public TaskDrainer(Executor executor, DrainListener listener, String name) { in TaskDrainer()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java30 import java.util.concurrent.Executor;
401 @NonNull @CallbackExecutor Executor executor, @NonNull CaptureCallback listener) in captureSingleRequest()
510 @NonNull @CallbackExecutor Executor executor, @NonNull CaptureCallback listener) in captureBurstRequests()
616 @NonNull @CallbackExecutor Executor executor, @NonNull CaptureCallback listener) in setSingleRepeatingRequest()
729 @NonNull @CallbackExecutor Executor executor, @NonNull CaptureCallback listener) in setRepeatingBurstRequests()
930 @NonNull @CallbackExecutor Executor executor, in switchToOffline()
/frameworks/base/core/java/android/nfc/
DNfcControllerAlwaysOnListener.java27 import java.util.concurrent.Executor;
37 private final Map<ControllerAlwaysOnListener, Executor> mListenerMap = new HashMap<>();
53 public void register(@NonNull Executor executor, in register()
114 Executor executor = mListenerMap.get(listener); in sendCurrentState()
/frameworks/base/telephony/java/android/telephony/mbms/
DInternalDownloadProgressListener.java22 import java.util.concurrent.Executor;
28 private final Executor mExecutor;
33 Executor executor) { in InternalDownloadProgressListener()
DInternalDownloadStatusListener.java23 import java.util.concurrent.Executor;
29 private final Executor mExecutor;
33 public InternalDownloadStatusListener(DownloadStatusListener appCallback, Executor executor) { in InternalDownloadStatusListener()
/frameworks/base/telephony/java/android/telephony/
DTelephonyScanManager.java39 import java.util.concurrent.Executor;
97 private final Executor mExecutor;
101 NetworkScanRequest request, Executor executor, NetworkScanCallback callback) { in NetworkScanInfo()
131 Executor e = nsi.mExecutor; in TelephonyScanManager()
156 Executor executor = nsi.mExecutor; in TelephonyScanManager()
246 NetworkScanRequest request, Executor executor, NetworkScanCallback callback, in requestNetworkScan()
280 int id, NetworkScanRequest request, Executor executor, NetworkScanCallback callback) { in saveScanInfo()
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java56 import java.util.concurrent.Executor;
104 private final Map<OnMediaKeyEventDispatchedListener, Executor>
107 private final Map<OnMediaKeyEventSessionChangedListener, Executor>
114 private final Map<RemoteSessionCallback, Executor>
356 @NonNull UserHandle userHandle, @NonNull Executor executor, in addOnActiveSessionsChangedListener()
367 @Nullable Executor executor) { in addOnActiveSessionsChangedListener()
464 @NonNull OnSession2TokensChangedListener listener, @NonNull Executor executor) { in addOnSession2TokensChangedListener()
471 OnSession2TokensChangedListener listener, Executor executor) { in addOnSession2TokensChangedListener()
528 @NonNull @CallbackExecutor Executor executor, in registerRemoteSessionCallback()
855 @NonNull @CallbackExecutor Executor executor, in addOnMediaKeyEventDispatchedListener()
[all …]

12345678910>>...20