/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 23 import android.os.Handler; 148 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() 149 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged() 151 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() 153 void unregisterForVoiceRadioTechChanged(Handler h); in unregisterForVoiceRadioTechChanged() 155 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() 156 void unregisterForImsNetworkStateChanged(Handler h); in unregisterForImsNetworkStateChanged() 165 void registerForOn(Handler h, int what, Object obj); in registerForOn() 167 void unregisterForOn(Handler h); in unregisterForOn() 176 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() [all …]
|
D | BaseCommands.java | 23 import android.os.Handler; 181 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() 189 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() 195 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() 199 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() 204 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() 214 public void unregisterForOn(Handler h) { in unregisterForOn() 222 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() 233 public void unregisterForAvailable(Handler h) { in unregisterForAvailable() 240 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() [all …]
|
D | CallManager.java | 22 import android.os.Handler; 1170 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() 1179 public void unregisterForDisconnect(Handler h){ in unregisterForDisconnect() 1193 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() 1202 public void unregisterForPreciseCallStateChanged(Handler h){ in unregisterForPreciseCallStateChanged() 1210 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() 1217 public void unregisterForUnknownConnection(Handler h){ in unregisterForUnknownConnection() 1235 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() 1245 public void unregisterForNewRingingConnection(Handler h){ in unregisterForNewRingingConnection() 1257 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() [all …]
|
D | Phone.java | 30 import android.os.Handler; 119 public abstract class Phone extends Handler implements PhoneInternalInterface { 775 public void registerForSilentRedial(Handler h, int what, Object obj) { in registerForSilentRedial() 778 public void unregisterForSilentRedial(Handler h) { in unregisterForSilentRedial() 781 public void registerForVolteSilentRedial(Handler h, int what, Object obj) { in registerForVolteSilentRedial() 784 public void unregisterForVolteSilentRedial(Handler h) { in unregisterForVolteSilentRedial() 870 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() 881 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged() 899 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() 907 public void unregisterForHandoverStateChanged(Handler h) { in unregisterForHandoverStateChanged() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 22 import android.os.Handler; 64 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() 69 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() 74 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() 79 public void unregisterForVoiceRadioTechChanged(Handler h) { in unregisterForVoiceRadioTechChanged() 84 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() 89 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() 94 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() 99 public void unregisterForOn(Handler h) { in unregisterForOn() 104 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 32 import android.os.Handler; 53 Handler h = new Handler(); in testMessageExecuted() 63 Handler h = new Handler(); in testMessageCallback() 83 Handler h = new Handler(); in testProcessNumberOfMessages() 96 Handler h = new Handler(); in testProcessAllMessages() 107 Handler h = new Handler(); in test3Chain() 119 Handler h = new Handler(); in testProcessAllMessages_2Messages() 142 new Handler(Looper.getMainLooper()).post(r); in testMainLooper() 172 new Handler(Looper.getMainLooper()).post(r); in testCorrectLooperExecution()
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | MockWifiP2pMonitor.java | 22 import android.os.Handler; 37 private final Map<String, SparseArray<Handler>> mHandlerMap = new HashMap<>(); 44 public void registerHandler(String iface, int what, Handler handler) { in registerHandler() 45 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 66 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 72 for (Map.Entry<String, SparseArray<Handler>> entry : mHandlerMap.entrySet()) { in sendMessage() 82 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() 83 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
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/non-updatable-api/ |
D | system-lint-baseline.txt | 88 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): 90 …dOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean): 92 …ntsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean, String[… 94 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): 96 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): 98 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): 100 …String[], android.accounts.AccountManagerCallback<android.accounts.Account[]>, android.os.Handler): 102 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): 104 …s.Bundle, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): 106 …, String, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): [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/os/ |
D | Handler.java | 66 public class Handler { class 74 private static Handler MAIN_THREAD_HANDLER = null; 128 public Handler() { in Handler() method in Handler 152 public Handler(@Nullable Callback callback) { in Handler() method in Handler 161 public Handler(@NonNull Looper looper) { in Handler() method in Handler 172 public Handler(@NonNull Looper looper, @Nullable Callback callback) { in Handler() method in Handler 193 public Handler(boolean async) { in Handler() method in Handler 214 public Handler(@Nullable Callback callback, boolean async) { in Handler() method in Handler 216 final Class<? extends Handler> klass = getClass(); in Handler() 255 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async) { in Handler() method in Handler [all …]
|
D | Broadcaster.java | 36 public void request(int senderWhat, Handler target, int targetWhat) in request() 43 r.targets = new Handler[1]; in request() 66 reg.targets = new Handler[1]; in request() 81 Handler[] oldTargets = r.targets; in request() 89 r.targets = new Handler[n+1]; in request() 104 public void cancelRequest(int senderWhat, Handler target, int targetWhat) in cancelRequest() 122 Handler[] targets = r.targets; in cancelRequest() 127 r.targets = new Handler[oldLen-1]; in cancelRequest() 194 Handler[] targets = r.targets; in broadcast() 198 Handler target = targets[i]; in broadcast() [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/packages/SystemUI/src/com/android/systemui/ |
D | DependencyProvider.java | 29 import android.os.Handler; 72 public Handler provideHandler() { in provideHandler() 75 return new Handler(thread.getLooper()); in provideHandler() 91 public Handler provideBgHandler(@Named(BG_LOOPER_NAME) Looper bgLooper) { in provideBgHandler() 92 return new Handler(bgLooper); in provideBgHandler() 98 public Handler provideMainHandler() { in provideMainHandler() 99 return new Handler(Looper.getMainLooper()); in provideMainHandler() 112 @Named(BG_HANDLER_NAME) Handler bgHandler) { in provideLocalBluetoothController() 168 @Named(BG_HANDLER_NAME) Handler bgHandler) { in provideNightDisplayListener() 181 @Named(MAIN_HANDLER_NAME) Handler mainHandler) { in provideNavigationBarController() [all …]
|
/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/tests/coretests/src/android/os/ |
D | BroadcasterTest.java | 35 Handler h; in test1() 66 Handler mHandlers[]; 71 mHandlers = new Handler[N]; in go() 131 Handler h1; in test4() 132 Handler h2; in test4() 166 Handler h1; in test5() 167 Handler h2; in test5() 201 Handler h1; in test6() 202 Handler h2; in test6()
|
/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/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/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 20 import android.os.Handler; 46 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { in SoundTriggerModule() 154 private final Handler mHandler; 157 Handler handler) { in NativeEventHandlerDelegate() 169 mHandler = new Handler(looper) { in NativeEventHandlerDelegate() 205 Handler handler() { in handler() 221 Handler handler = delegate.handler(); in postEventFromNative()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 56 private final Map<String, Handler> mHandlerMap; 60 private final android.os.Handler mReceiverHandler; 64 interface Handler { interface in BluetoothEventManager 79 android.os.Handler handler, @Nullable UserHandle userHandle) { in BluetoothEventManager() 166 void addProfileHandler(String action, Handler handler) { in addProfileHandler() 236 void addHandler(String action, Handler handler) { in addHandler() 248 Handler handler = mHandlerMap.get(action); in onReceive() 255 private class AdapterStateChangedHandler implements Handler { 270 private class ScanningStateChangedHandler implements Handler { 285 private class DeviceFoundHandler implements Handler { [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/lowpan/java/android/net/lowpan/ |
D | LowpanCommissioningSession.java | 23 import android.os.Handler; 42 private Handler mHandler; 120 mHandler = new Handler(mLooper); in LowpanCommissioningSession() 122 mHandler = new Handler(); in LowpanCommissioningSession() 182 public synchronized void setCallback(@Nullable Callback cb, @Nullable Handler handler) { in setCallback() 197 mHandler = new Handler(mLooper); in setCallback() 199 mHandler = new Handler(); in setCallback()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMonitor.java | 23 import android.os.Handler; 121 private final Map<String, SparseArray<Set<Handler>>> mHandlerMap = new HashMap<>(); 122 public synchronized void registerHandler(String iface, int what, Handler handler) { in registerHandler() 123 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 128 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler() 142 public synchronized void deregisterHandler(String iface, int what, Handler handler) { in deregisterHandler() 143 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in deregisterHandler() 147 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in deregisterHandler() 241 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 244 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(message.what); in sendMessage() [all …]
|