Home
last modified time | relevance | path

Searched refs:HandlerExecutor (Results 1 – 25 of 59) sorted by relevance

123

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt200 private class HandlerExecutor(private val handler: Handler) : Executor { in <lambda>() class
241 HandlerExecutor(mHandlerThread.threadHandler), offerCallback1) in <lambda>()
243 HandlerExecutor(mHandlerThread.threadHandler), offerCallback2) in <lambda>()
245 HandlerExecutor(mHandlerThread.threadHandler), offerCallback3) in <lambda>()
247 HandlerExecutor(mHandlerThread.threadHandler), offerCallback4) in <lambda>()
295 HandlerExecutor(mHandlerThread.threadHandler), offerCallback3) in <lambda>()
298 HandlerExecutor(mHandlerThread.threadHandler), offerCallback4) in <lambda>()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DTaskViewManager.java36 import com.android.wm.shell.common.HandlerExecutor;
49 private final HandlerExecutor mExecutor;
52 public TaskViewManager(@UiContext Context context, HandlerExecutor handlerExecutor) { in TaskViewManager()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputService.java25 import android.os.HandlerExecutor;
188 FILTER_BUFFER_SIZE, new HandlerExecutor(mHandler), in audioFilter()
220 FILTER_BUFFER_SIZE, new HandlerExecutor(mHandler), in videoFilter()
261 DvrPlayback dvr = mTuner.openDvrPlayback(DVR_BUFFER_SIZE, new HandlerExecutor(mHandler), in dvrPlayback()
305 mTuner.setOnTuneEventListener(new HandlerExecutor(mHandler), new OnTuneEventListener() { in tune()
/packages/modules/Scheduling/apex/
Djarjar-rules.txt1 rule android.os.HandlerExecutor* com.android.scheduling.HandlerExecutor@1
/packages/apps/Camera2/src/com/android/camera/async/
DHandlerExecutor.java29 public class HandlerExecutor implements Executor { class
32 public HandlerExecutor(Handler handler) { in HandlerExecutor() method in HandlerExecutor
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DHandlerExecutor.java33 public class HandlerExecutor implements Executor { class
36 public HandlerExecutor(@NonNull Handler handler) { in HandlerExecutor() method in HandlerExecutor
DBackgroundThread.java40 private static HandlerExecutor sHandlerExecutor;
51 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
DForegroundThread.java40 private static HandlerExecutor sHandlerExecutor;
51 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
/packages/modules/Connectivity/framework/src/android/net/util/
DMultinetworkPolicyTracker.java81 private static class HandlerExecutor implements Executor { class in MultinetworkPolicyTracker
85 HandlerExecutor(@NonNull Handler handler) { in HandlerExecutor() method in MultinetworkPolicyTracker.HandlerExecutor
128 new HandlerExecutor(handler), new ActiveDataSubscriptionIdListener()); in MultinetworkPolicyTracker()
/packages/modules/CellBroadcastService/
Dcellbroadcast-jarjar-rules.txt1 rule android.os.HandlerExecutor* com.android.cellbroadcastservice.HandlerExecutor@1
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java109 import android.os.HandlerExecutor;
1098 new HandlerExecutor(mHandler), null); in testAddWifiVerboseLoggingStatusChangedListenerIllegalArguments()
1130 mWifiManager.addWifiVerboseLoggingStatusChangedListener(new HandlerExecutor(mHandler), in testWifiVerboseLoggingStatusChangedListenerGoesToWifiServiceImpl()
1158 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), null); in registerSoftApCallbackThrowsIllegalArgumentExceptionOnNullArgumentForCallback()
1193 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in registerSoftApCallbackCallGoesToWifiServiceImpl()
1204 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
1218 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnStateChanged()
1234 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnRegistrationAndApStartedWithClientsConnected()
1261 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnConnectedClientsChangedEvenIfNoInfoChanged()
1331 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnConnectedClientsChanged()
[all …]
/packages/modules/Permission/service/java/com/android/permission/util/
DForegroundThread.java21 import android.os.HandlerExecutor;
51 sExecutor = new HandlerExecutor(sHandler); in ensureInstanceLocked()
DBackgroundThread.java21 import android.os.HandlerExecutor;
51 sExecutor = new HandlerExecutor(sHandler); in ensureInstanceLocked()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSoftApManager.java6 import android.os.HandlerExecutor;
39 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in registerSoftApCallback()
/packages/modules/Scheduling/tests/src/com/android/cts/scheduling/
DRebootReadinessManagerTest.java28 import android.os.HandlerExecutor;
90 private static HandlerExecutor sHandlerExecutor;
95 sHandlerExecutor = new HandlerExecutor(sThread.getThreadHandler()); in setupClass()
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DEnvironmentImpl.java143 @NonNull private final HandlerExecutor mExecutor;
160 mExecutor = new HandlerExecutor(mHandler); in EnvironmentImpl()
483 private static class HandlerExecutor implements Executor {
486 public HandlerExecutor(@NonNull Handler handler) {
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DAllowedNetworkTypesListenerTest.java27 import android.os.HandlerExecutor;
98 verify(mTelephonyManager, times(1)).registerTelephonyCallback(any(HandlerExecutor.class), in register_shouldRegisterContentObserver()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherPreferenceController.java23 import android.os.HandlerExecutor;
80 new HandlerExecutor(mHandler), mTetheringCallback); in onStartInternal()
/packages/apps/Settings/src/com/android/settings/panel/
DInternetConnectivityPanel.java31 import android.os.HandlerExecutor;
179 new HandlerExecutor(new Handler(Looper.getMainLooper())), mTelephonyCallback); in onResume()
292 new HandlerExecutor(new Handler(Looper.getMainLooper())), mTelephonyCallback); in onSubscriptionsChanged()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java30 import android.os.HandlerExecutor;
111 clientManager.registerVmsClientCallback(new HandlerExecutor(mHandler), mClientCallback, in onCarLifecycleChanged()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsController.java25 import android.os.HandlerExecutor;
157 TetheringManager.TETHERING_USB, new HandlerExecutor(mHandler), in onRadioButtonClicked()
DUsbDefaultFragment.java28 import android.os.HandlerExecutor;
185 mTetheringManager.startTethering(TETHERING_USB, new HandlerExecutor(mHandler), in startTethering()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestDialogActivity.java29 import android.os.HandlerExecutor;
123 wifiManager.registerNetworkRequestMatchCallback(new HandlerExecutor(mHandler), this); in onResume()
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSimStateTracker.java24 import android.os.HandlerExecutor;
92 new HandlerExecutor(new Handler(Looper.getMainLooper())), this); in listen()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceController.java27 import android.os.HandlerExecutor;
83 new HandlerExecutor(mUiHandler)); in AutoSelectPreferenceController()

123