/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 19 import android.os.Handler; 141 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() 142 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged() 144 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() 145 void unregisterForVoiceRadioTechChanged(Handler h); in unregisterForVoiceRadioTechChanged() 146 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() 147 void unregisterForImsNetworkStateChanged(Handler h); in unregisterForImsNetworkStateChanged() 155 void registerForOn(Handler h, int what, Object obj); in registerForOn() 156 void unregisterForOn(Handler h); in unregisterForOn() 164 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() [all …]
|
D | BaseCommands.java | 22 import android.os.Handler; 120 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() 130 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() 136 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() 141 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() 146 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() 158 public void unregisterForOn(Handler h) { in unregisterForOn() 166 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() 179 public void unregisterForAvailable(Handler h) { in unregisterForAvailable() 186 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() [all …]
|
D | IccCard.java | 19 import android.os.Handler; 60 public void registerForAbsent(Handler h, int what, Object obj); in registerForAbsent() 61 public void unregisterForAbsent(Handler h); in unregisterForAbsent() 66 public void registerForNetworkLocked(Handler h, int what, Object obj); in registerForNetworkLocked() 67 public void unregisterForNetworkLocked(Handler h); in unregisterForNetworkLocked() 72 public void registerForLocked(Handler h, int what, Object obj); in registerForLocked() 73 public void unregisterForLocked(Handler h); in unregisterForLocked()
|
D | Phone.java | 31 import android.os.Handler; 94 public abstract class Phone extends Handler implements PhoneInternalInterface { 679 public void registerForSilentRedial(Handler h, int what, Object obj) { in registerForSilentRedial() 682 public void unregisterForSilentRedial(Handler h) { in unregisterForSilentRedial() 767 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() 777 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged() 795 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() 803 public void unregisterForHandoverStateChanged(Handler h) { in unregisterForHandoverStateChanged() 861 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() 870 public void unregisterForUnknownConnection(Handler h) { in unregisterForUnknownConnection() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommandsVerifier.java | 19 import android.os.Handler; 57 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() 62 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() 67 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() 72 public void unregisterForVoiceRadioTechChanged(Handler h) { in unregisterForVoiceRadioTechChanged() 77 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() 82 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() 87 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() 92 public void unregisterForOn(Handler h) { in unregisterForOn() 97 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 22 import android.os.Handler; 176 public void registerForSilentRedial(Handler h, int what, Object obj) { in registerForSilentRedial() 180 public void unregisterForSilentRedial(Handler h) { in unregisterForSilentRedial() 200 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() 204 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged() 215 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() 219 public void unregisterForHandoverStateChanged(Handler h) { in unregisterForHandoverStateChanged() 236 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() 240 public void unregisterForUnknownConnection(Handler h) { in unregisterForUnknownConnection() 245 Handler h, int what, Object obj) { in registerForNewRingingConnection() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | RttServiceTest.java | 38 import android.os.Handler; 101 private BidirectionalAsyncChannel connectChannel(Handler handler) { in connectChannel() 110 private void sendRangingRequestFailed(BidirectionalAsyncChannel channel, Handler handler, in sendRangingRequestFailed() 119 private Message sendRangingRequest(BidirectionalAsyncChannel channel, Handler handler, in sendRangingRequest() 134 Handler handler, int clientKey) { in sendEnableResponderSucceed() 146 Handler handler, int clientKey, int reason) { in sendEnableResponderFailed() 154 private Message sendEnableResponder(BidirectionalAsyncChannel channel, Handler handler, in sendEnableResponder() 186 Handler handler = mock(Handler.class); in testEnableResponderSuccess() 195 Handler handler = mock(Handler.class); in testEnableResponderSecondTime() 205 Handler handler = mock(Handler.class); in testEnableResponderMultiClient() [all …]
|
D | MockWifiMonitor.java | 22 import android.os.Handler; 35 private final Map<String, SparseArray<Handler>> mHandlerMap = new HashMap<>(); 42 public void registerHandler(String iface, int what, Handler handler) { in registerHandler() 43 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 64 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 70 for (Map.Entry<String, SparseArray<Handler>> entry : mHandlerMap.entrySet()) { in sendMessage() 80 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() 81 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 31 import android.os.Handler; 50 Handler h = new Handler(); in testMessageExecuted() 60 Handler h = new Handler(); in testMessageCallback() 80 Handler h = new Handler(); in testProcessNumberOfMessages() 93 Handler h = new Handler(); in testProcessAllMessages() 104 Handler h = new Handler(); in test3Chain() 116 Handler h = new Handler(); in testProcessAllMessages_2Messages() 139 new Handler(Looper.getMainLooper()).post(r); in testMainLooper()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestHandlerThread.java | 20 import android.os.Handler; 37 private Handler.Callback mCallback; 38 private volatile Handler mHandler; 40 public RequestHandlerThread(String name, Handler.Callback callback) { in RequestHandlerThread() 47 mHandler = new Handler(getLooper(), mCallback); in onLooperPrepared() 57 public Handler getHandler() { in getHandler() 62 public Handler waitAndGetHandler() { in waitAndGetHandler() 98 Handler handler = waitAndGetHandler(); in waitUntilIdle()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 18 import android.os.Handler; 171 Handler handler = new Handler(); in FutureReleaseListener() 182 Handler handler = new Handler(); in onAnimationEnd() 368 Handler handler = new Handler(); in testPlayingCancel() 391 Handler handler = new Handler(); in testPlayingEnd() 415 Handler handler = new Handler(); in testPlayingDelayedCancel() 439 Handler handler = new Handler(); in testPlayingDelayedEnd() 467 Handler handler = new Handler(); in testPlayingDelayedCancelMidDelay() 494 Handler handler = new Handler(); in testPlayingDelayedEndMidDelay() 615 Handler handler = new Handler(); in testPauseResume() [all …]
|
D | ViewPropertyAnimatorTest.java | 18 import android.os.Handler; 107 Handler handler = new Handler(); in FutureReleaseListener() 118 Handler handler = new Handler(); in onAnimationEnd() 255 Handler handler = new Handler(); in testPlayingCancel() 279 Handler handler = new Handler(); in testPlayingDelayedCancel() 307 Handler handler = new Handler(); in testPlayingDelayedCancelMidDelay()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 48 private final Map<String, Handler> mHandlerMap; 54 private android.os.Handler mReceiverHandler; 56 interface Handler { interface in BluetoothEventManager 60 private void addHandler(String action, Handler handler) { in addHandler() 65 void addProfileHandler(String action, Handler handler) { in addProfileHandler() 81 mHandlerMap = new HashMap<String, Handler>(); in BluetoothEventManager() 116 public void setReceiverHandler(android.os.Handler handler) { in setReceiverHandler() 144 Handler handler = mHandlerMap.get(action); 151 private class AdapterStateChangedHandler implements Handler { 169 private class ScanningStateChangedHandler implements Handler { [all …]
|
/frameworks/base/core/java/android/os/ |
D | Broadcaster.java | 32 public void request(int senderWhat, Handler target, int targetWhat) in request() 39 r.targets = new Handler[1]; in request() 62 reg.targets = new Handler[1]; in request() 77 Handler[] oldTargets = r.targets; in request() 85 r.targets = new Handler[n+1]; in request() 99 public void cancelRequest(int senderWhat, Handler target, int targetWhat) in cancelRequest() 117 Handler[] targets = r.targets; in cancelRequest() 122 r.targets = new Handler[oldLen-1]; in cancelRequest() 188 Handler[] targets = r.targets; in broadcast() 192 Handler target = targets[i]; in broadcast() [all …]
|
D | Registrant.java | 19 import android.os.Handler; 28 Registrant(Handler h, int what, Object obj) in Registrant() 72 Handler h = getHandler(); in internalNotifyRegistrant() 94 Handler h = getHandler(); in messageForRegistrant() 110 public Handler 116 return (Handler) refH.get(); in getHandler()
|
D | Handler.java | 66 public class Handler { class 74 private static Handler MAIN_THREAD_HANDLER = null; 116 public Handler() { in Handler() method in Handler 130 public Handler(Callback callback) { in Handler() method in Handler 139 public Handler(Looper looper) { in Handler() method in Handler 150 public Handler(Looper looper, Callback callback) { in Handler() method in Handler 170 public Handler(boolean async) { in Handler() method in Handler 191 public Handler(Callback callback, boolean async) { in Handler() method in Handler 193 final Class<? extends Handler> klass = getClass(); in Handler() 230 public Handler(Looper looper, Callback callback, boolean async) { in Handler() method in Handler [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityButtonController.java | 21 import android.os.Handler; 59 private ArrayMap<AccessibilityButtonCallback, Handler> mCallbacks; 95 registerAccessibilityButtonCallback(callback, new Handler(Looper.getMainLooper())); in registerAccessibilityButtonCallback() 108 @NonNull Handler handler) { in registerAccessibilityButtonCallback() 147 final ArrayMap<AccessibilityButtonCallback, Handler> entries; in dispatchAccessibilityButtonClicked() 161 final Handler handler = entries.valueAt(i); in dispatchAccessibilityButtonClicked() 171 final ArrayMap<AccessibilityButtonCallback, Handler> entries; in dispatchAccessibilityButtonAvailabilityChanged() 186 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/core/tests/coretests/src/android/os/ |
D | BroadcasterTest.java | 20 import android.os.Handler; 38 Handler h; in test1() 69 Handler mHandlers[]; 74 mHandlers = new Handler[N]; in go() 134 Handler h1; in test4() 135 Handler h2; in test4() 169 Handler h1; in test5() 170 Handler h2; in test5() 204 Handler h1; in test6() 205 Handler h2; in test6()
|
/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/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 19 import android.os.Handler; 42 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { in SoundTriggerModule() 127 private final Handler mHandler; 130 Handler handler) { in NativeEventHandlerDelegate() 142 mHandler = new Handler(looper) { in NativeEventHandlerDelegate() 178 Handler handler() { in handler() 193 Handler handler = delegate.handler(); in postEventFromNative()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 29 import android.os.Handler; 188 @Nullable ComponentName notificationListener, @Nullable Handler handler) { in addOnActiveSessionsChangedListener() 211 @Nullable ComponentName notificationListener, int userId, @Nullable Handler handler) { in addOnActiveSessionsChangedListener() 216 handler = new Handler(); in addOnActiveSessionsChangedListener() 362 OnVolumeKeyLongPressListener listener, @Nullable Handler handler) { in setOnVolumeKeyLongPressListener() 370 handler = new Handler(); in setOnVolumeKeyLongPressListener() 397 public void setOnMediaKeyListener(OnMediaKeyListener listener, @Nullable Handler handler) { in setOnMediaKeyListener() 405 handler = new Handler(); in setOnMediaKeyListener() 427 public void setCallback(@Nullable Callback callback, @Nullable Handler handler) { in setCallback() 435 handler = new Handler(); in setCallback() [all …]
|
/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; 52 public WakeupMessage(Context context, Handler handler, in WakeupMessage() 63 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1) { in WakeupMessage() 67 public WakeupMessage(Context context, Handler handler, in WakeupMessage() 72 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd) { in WakeupMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | ForegroundThread.java | 19 import android.os.Handler; 28 private static Handler sHandler; 38 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked() 49 public static Handler getHandler() { in getHandler()
|