/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 22 import android.os.Handler; 69 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() 74 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() 79 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() 84 public void unregisterForVoiceRadioTechChanged(Handler h) { in unregisterForVoiceRadioTechChanged() 89 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() 94 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() 99 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() 104 public void unregisterForOn(Handler h) { in unregisterForOn() 109 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 25 import android.os.Handler; 172 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() 173 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged() 175 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() 177 void unregisterForVoiceRadioTechChanged(Handler h); in unregisterForVoiceRadioTechChanged() 179 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() 180 void unregisterForImsNetworkStateChanged(Handler h); in unregisterForImsNetworkStateChanged() 189 void registerForOn(Handler h, int what, Object obj); in registerForOn() 191 void unregisterForOn(Handler h); in unregisterForOn() 200 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() [all …]
|
D | BaseCommands.java | 25 import android.os.Handler; 197 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() 205 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() 211 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() 215 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() 220 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() 230 public void unregisterForOn(Handler h) { in unregisterForOn() 238 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() 249 public void unregisterForAvailable(Handler h) { in unregisterForAvailable() 256 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() [all …]
|
D | CallManager.java | 23 import android.os.Handler; 1162 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() 1171 public void unregisterForDisconnect(Handler h){ in unregisterForDisconnect() 1185 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() 1194 public void unregisterForPreciseCallStateChanged(Handler h){ in unregisterForPreciseCallStateChanged() 1202 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() 1209 public void unregisterForUnknownConnection(Handler h){ in unregisterForUnknownConnection() 1227 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() 1237 public void unregisterForNewRingingConnection(Handler h){ in unregisterForNewRingingConnection() 1249 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricHandlerProvider.java | 22 import android.os.Handler; 32 private Handler mBiometricsCallbackHandler; 33 private Handler mFingerprintHandler; 34 private Handler mFaceHandler; 49 public synchronized Handler getBiometricCallbackHandler() { in getBiometricCallbackHandler() 60 public synchronized Handler getFaceHandler() { in getFaceHandler() 70 public synchronized Handler getFingerprintHandler() { in getFingerprintHandler() 77 private Handler getNewHandler(String tag, int priority) { in getNewHandler() 80 return new Handler(handlerThread.getLooper()); in getNewHandler()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 30 import android.os.Handler; 57 Handler h = new Handler(); in testMessageExecuted() 67 Handler h = new Handler(); in testMessageCallback() 87 Handler h = new Handler(); in testProcessNumberOfMessages() 100 Handler h = new Handler(); in testProcessAllMessages() 111 Handler h = new Handler(); in test3Chain() 123 Handler h = new Handler(); in testProcessAllMessages_2Messages() 146 new Handler(Looper.getMainLooper()).post(r); in testMainLooper() 176 new Handler(Looper.getMainLooper()).post(r); in testCorrectLooperExecution() 187 Handler handler = spy(new Handler(mTestableLooper.getLooper())); in testDelayedDispatchNoTimeMove() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/util/ |
D | HandlerMessageQueueTest.java | 23 import android.os.Handler; 42 Handler h1 = new Handler(); in testSingleHandler_SingleRunnable() 59 Handler h1 = new Handler(); in testSingleHandler_MultipleRunnables() 78 Handler h1 = new Handler(); in testMultipleHandlers() 79 Handler h2 = new Handler(); in testMultipleHandlers() 104 Handler h1 = new Handler(); in testMultipleHandlers_Clear() 105 Handler h2 = new Handler(); in testMultipleHandlers_Clear()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/ |
D | WMShellConcurrencyModule.java | 25 import android.os.Handler; 74 public static Handler provideMainHandler() { in provideMainHandler() 75 return new Handler(Looper.getMainLooper()); in provideMainHandler() 85 @ExternalMainThread Handler sysuiMainHandler) { in provideSysUIMainExecutor() 110 public static Handler provideShellMainHandler(Context context, in provideShellMainHandler() 112 @ExternalMainThread Handler sysuiMainHandler) { in provideShellMainHandler() 124 return Handler.createAsync(mainThread.getLooper()); in provideShellMainHandler() 136 @ShellMainThread Handler mainHandler, in provideShellMainExecutor() 178 return new HandlerExecutor(Handler.createAsync(shellAnimationThread.getLooper())); in provideShellAnimationExecutor() 200 public static Handler provideSharedBackgroundHandler() { in provideSharedBackgroundHandler() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/ |
D | EmergencySmsDomainSelectionConnectionTest.java | 34 import android.os.Handler; 75 private Handler mHandler; 88 mHandler = new Handler(Looper.myLooper()); in setUp() 154 ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testOnWlanSelectedWithDifferentTransportType() 167 Handler handler = handlerCaptor.getValue(); in testOnWlanSelectedWithDifferentTransportType() 173 verify(mAnm).unregisterForQualifiedNetworksChanged(any(Handler.class)); in testOnWlanSelectedWithDifferentTransportType() 194 verify(mAnm, never()).registerForQualifiedNetworksChanged(any(Handler.class), anyInt()); in testOnWlanSelectedWithDifferentTransportTypeAndImsPdn() 221 ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testOnWlanSelectedWithDifferentTransportTypeWhilePreferredTransportChanged() 234 Handler handler = handlerCaptor.getValue(); in testOnWlanSelectedWithDifferentTransportTypeWhilePreferredTransportChanged() 240 verify(mAnm).unregisterForQualifiedNetworksChanged(any(Handler.class)); in testOnWlanSelectedWithDifferentTransportTypeWhilePreferredTransportChanged() [all …]
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 23 import android.os.Handler; 191 Handler handler = new Handler(); in FutureReleaseListener() 197 Handler handler = new Handler(); in onAnimationEnd() 365 Handler handler = new Handler(); in testPlayingCancel() 386 Handler handler = new Handler(); in testPlayingEnd() 408 Handler handler = new Handler(); in testPlayingDelayedCancel() 430 Handler handler = new Handler(); in testPlayingDelayedEnd() 455 Handler handler = new Handler(); in testPlayingDelayedCancelMidDelay() 479 Handler handler = new Handler(); in testPlayingDelayedEndMidDelay() 590 Handler handler = new Handler(); in testPauseResume() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityButtonController.java | 20 import android.os.Handler; 58 private ArrayMap<AccessibilityButtonCallback, Handler> mCallbacks; 97 registerAccessibilityButtonCallback(callback, new Handler(Looper.getMainLooper())); in registerAccessibilityButtonCallback() 110 @NonNull Handler handler) { in registerAccessibilityButtonCallback() 149 final ArrayMap<AccessibilityButtonCallback, Handler> entries; in dispatchAccessibilityButtonClicked() 163 final Handler handler = entries.valueAt(i); in dispatchAccessibilityButtonClicked() 173 final ArrayMap<AccessibilityButtonCallback, Handler> entries; in dispatchAccessibilityButtonAvailabilityChanged() 188 final Handler handler = entries.valueAt(i); in dispatchAccessibilityButtonAvailabilityChanged()
|
D | FingerprintGestureController.java | 21 import android.os.Handler; 70 private final ArrayMap<FingerprintGestureCallback, Handler> mCallbackHandlerMap = 106 @NonNull FingerprintGestureCallback callback, @Nullable Handler handler) { in registerFingerprintGestureCallback() 129 final ArrayMap<FingerprintGestureCallback, Handler> handlerMap; in onGestureDetectionActiveChanged() 136 Handler handler = handlerMap.valueAt(i); in onGestureDetectionActiveChanged() 150 final ArrayMap<FingerprintGestureCallback, Handler> handlerMap; in onGesture() 157 Handler handler = handlerMap.valueAt(i); in onGesture()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyStateController.java | 20 import android.os.Handler; 49 void setState(int toggleType, int userId, int sensor, boolean enabled, Handler callbackHandler, in setState() 57 void setState(int toggleType, int userId, int sensor, int state, Handler callbackHandler, in setState() 64 void setSensorPrivacyListener(Handler handler, in setSensorPrivacyListener() 84 void setAllSensorPrivacyListener(Handler handler, AllSensorPrivacyListener listener) { in setAllSensorPrivacyListener() 138 Handler callbackHandler, SetStateResultCallback callback); in setStateLocked() 143 Handler callbackHandler, SetStateResultCallback callback); in setStateLocked() 146 abstract void setSensorPrivacyListenerLocked(Handler handler, in setSensorPrivacyListenerLocked() 158 static void sendSetStateCallback(Handler callbackHandler, in sendSetStateCallback()
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 67 public class Handler { class 75 private static Handler MAIN_THREAD_HANDLER = null; 129 public Handler() { in Handler() method in Handler 153 public Handler(@Nullable Callback callback) { in Handler() method in Handler 162 public Handler(@NonNull Looper looper) { in Handler() method in Handler 173 public Handler(@NonNull Looper looper, @Nullable Callback callback) { in Handler() method in Handler 194 public Handler(boolean async) { in Handler() method in Handler 215 public Handler(@Nullable Callback callback, boolean async) { in Handler() method in Handler 217 final Class<? extends Handler> klass = getClass(); in Handler() 257 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async) { in Handler() method in Handler [all …]
|
D | Broadcaster.java | 37 public void request(int senderWhat, Handler target, int targetWhat) in request() 44 r.targets = new Handler[1]; in request() 67 reg.targets = new Handler[1]; in request() 82 Handler[] oldTargets = r.targets; in request() 90 r.targets = new Handler[n+1]; in request() 105 public void cancelRequest(int senderWhat, Handler target, int targetWhat) in cancelRequest() 123 Handler[] targets = r.targets; in cancelRequest() 128 r.targets = new Handler[oldLen-1]; in cancelRequest() 195 Handler[] targets = r.targets; in broadcast() 199 Handler target = targets[i]; in broadcast() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | NoBroadcastContextWrapper.java | 24 import android.os.Handler; 60 @Nullable String broadcastPermission, @Nullable Handler scheduler) { in registerReceiver() 66 @Nullable String broadcastPermission, @Nullable Handler scheduler, int flags) { in registerReceiver() 75 @Nullable Handler scheduler) { in registerReceiverForAllUsers() 83 @Nullable Handler scheduler, int flags) { in registerReceiverForAllUsers() 91 @Nullable Handler scheduler) { in registerReceiverAsUser() 99 @Nullable Handler scheduler, int flags) { in registerReceiverAsUser() 117 final Handler mHandler; 121 IntentFilter intentFilter, String broadcastPermission, Handler handler, int flags) { in BroadcastReceiverRegistration()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraAgent.java | 24 import android.os.Handler; 52 private final Handler mHandler; 56 Handler handler, CameraStartPreviewCallback cb) { in getNewInstance() 63 private CameraStartPreviewCallbackForward(Handler h, in CameraStartPreviewCallbackForward() 84 private final Handler mHandler; 96 Handler handler, CameraOpenCallback cb) { in getNewInstance() 103 private CameraOpenCallbackForward(Handler h, CameraOpenCallback cb) { in CameraOpenCallbackForward() 107 mHandler = new Handler(Looper.getMainLooper()); in CameraOpenCallbackForward() 286 public void openCamera(final Handler handler, final int cameraId, in openCamera() 355 protected abstract Handler getCameraHandler(); in getCameraHandler() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/ |
D | FakeThreadFactory.java | 19 import android.os.Handler; 29 private Handler mHandler; 36 public void setHandler(Handler handler) { in setHandler() 50 public Handler buildHandlerOnNewThread(String threadName) { in buildHandlerOnNewThread() 65 public DelayableExecutor buildDelayableExecutorOnHandler(Handler handler) { in buildDelayableExecutorOnHandler()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/ |
D | AsyncMessageInvocation.java | 20 import android.os.Handler; 36 public abstract class AsyncMessageInvocation<Request, Response> implements Handler.Callback { 45 Request request, AsyncResultCallback<Response> resultCallback, Handler handler) { in invoke() 46 Handler h = new Handler(handler.getLooper(), this); in invoke()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | UptimeTimer.java | 20 import android.os.Handler; 34 private final Handler mHandler; 45 mHandler = new Handler(mHandlerThread.getLooper()); in UptimeTimer() 62 private final Handler mHandler; 65 public TaskImpl(Handler handler, Object token) { in TaskImpl()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallbackRecord.java | 19 import android.os.Handler; 30 private final Handler mHandler; 32 public CallbackRecord(T callback, Handler handler) { in CallbackRecord() 41 public Handler getHandler() { in getHandler()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | WakeupMessage.java | 21 import android.os.Handler; 43 protected final Handler mHandler; 53 public WakeupMessage(Context context, Handler handler, in WakeupMessage() 65 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1) { in WakeupMessage() 69 public WakeupMessage(Context context, Handler handler, in WakeupMessage() 74 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd) { in WakeupMessage() 78 public WakeupMessage(Context context, Handler handler, String cmdName, Runnable runnable) { in WakeupMessage()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BroadcasterTest.java | 45 Handler h; in test1() 76 Handler mHandlers[]; 81 mHandlers = new Handler[N]; in go() 144 Handler h1; in test4() 145 Handler h2; in test4() 180 Handler h1; in test5() 181 Handler h2; in test5() 216 Handler h1; in test6() 217 Handler h2; in test6()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/ |
D | SystemUnfoldSharedModule.kt | 17 import android.os.Handler 66 abstract fun mainHandler(@Main handler: Handler): Handler in activityTypeProvider() 76 fun unfoldBgProgressHandler(@UnfoldBg looper: Looper): Handler { in activityTypeProvider() 77 return Handler(looper) in activityTypeProvider() 83 fun unfoldBgDispatcher(@UnfoldBg handler: Handler): CoroutineDispatcher { in activityTypeProvider()
|
/frameworks/base/test-mock/api/ |
D | system-lint-baseline.txt | 2 …Users(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler): 6 …Users(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler): 8 ….content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #0: 10 ….content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #1: 12 ….content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #2: 14 ….content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #3:
|