/frameworks/base/core/tests/coretests/src/android/os/ |
D | IdleHandlerTest.java | 28 Handler mHandler; field in IdleHandlerTest.BaseTestHandler 34 mHandler = new Handler() { in go() 65 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testOneShotFirst() 71 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotFirst() 99 mHandler.sendMessage(mHandler.obtainMessage(0)); in testOneShotLater() 105 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotLater() 107 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testOneShotLater() 136 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testRepeatedFirst() 142 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedFirst() 170 mHandler.sendMessage(mHandler.obtainMessage(0)); in testRepeatedLater() [all …]
|
D | MessageQueueTest.java | 28 Handler mHandler; field in MessageQueueTest.BaseTestHandler 36 mHandler = new Handler() { in go() 72 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); in testMessageOrder() 73 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); in testMessageOrder() 74 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); in testMessageOrder() 75 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); in testMessageOrder() 76 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); in testMessageOrder() 91 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); in testAtFrontOfQueue() 92 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(2)); in testAtFrontOfQueue() 93 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(0)); in testAtFrontOfQueue() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImplProxy.java | 51 mHandler.sendEmptyMessage(MSG_PRELOAD_RECENTS); in preloadRecents() 56 mHandler.sendEmptyMessage(MSG_CANCEL_PRELOADING_RECENTS); in cancelPreloadingRecents() 67 mHandler.sendMessage(mHandler.obtainMessage(MSG_SHOW_RECENTS, args)); in showRecents() 73 mHandler.sendMessage(mHandler.obtainMessage(MSG_HIDE_RECENTS, triggeredFromAltTab ? 1 :0, in hideRecents() 81 mHandler.sendMessage(mHandler.obtainMessage(MSG_TOGGLE_RECENTS, args)); in toggleRecents() 86 mHandler.sendEmptyMessage(MSG_ON_CONFIGURATION_CHANGED); in onConfigurationChanged() 96 mHandler.sendMessage(mHandler.obtainMessage(MSG_DOCK_TOP_TASK, args)); in splitPrimaryTask() 101 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_DRAGGING_IN_RECENTS, distanceFromTop)); in onDraggingInRecents() 106 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_DRAGGING_IN_RECENTS_ENDED, velocity)); in onDraggingInRecentsEnded() 111 mHandler.sendMessage(mHandler.obtainMessage(MSG_SHOW_USER_TOAST, msgResId, msgLength)); in showCurrentUserToast() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPRequestManagerTest.java | 89 @Mock PasspointEventHandler mHandler; field in ANQPRequestManagerTest 99 mManager = new ANQPRequestManager(mHandler, mClock); in setUp() 111 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC)).thenReturn(true); in requestR1ANQPElementsWithoutRC() 124 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITH_RC)).thenReturn(true); in requestR1ANQPElementsWithRC() 137 when(mHandler.requestANQP(TEST_BSSID, R1R2_ANQP_WITHOUT_RC)).thenReturn(true); in requestR1R2ANQPElementsWithoutRC() 150 when(mHandler.requestANQP(TEST_BSSID, R1R2_ANQP_WITH_RC)).thenReturn(true); in requestR1R2ANQPElementsWithRC() 164 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC)).thenReturn(true); in requestANQPElementsWithPendingRequest() 167 reset(mHandler); in requestANQPElementsWithPendingRequest() 173 verify(mHandler, never()).requestANQP(anyLong(), anyObject()); in requestANQPElementsWithPendingRequest() 174 reset(mHandler); in requestANQPElementsWithPendingRequest() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 131 private Handler mHandler = new H(Looper.getMainLooper()); field in CommandQueue 299 context.getSystemService(DisplayManager.class).registerDisplayListener(this, mHandler); in CommandQueue() 349 mHandler.obtainMessage(MSG_ICON, OP_SET_ICON, 0, in setIcon() 357 mHandler.obtainMessage(MSG_ICON, OP_REMOVE_ICON, 0, slot).sendToTarget(); in removeIcon() 369 mHandler.removeMessages(MSG_DISABLE); in disable() 375 Message msg = mHandler.obtainMessage(MSG_DISABLE, args); in disable() 376 if (Looper.myLooper() == mHandler.getLooper()) { in disable() 378 mHandler.handleMessage(msg); in disable() 426 mHandler.removeMessages(MSG_EXPAND_NOTIFICATIONS); in animateExpandNotificationsPanel() 427 mHandler.sendEmptyMessage(MSG_EXPAND_NOTIFICATIONS); in animateExpandNotificationsPanel() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMulticastLockManagerTest.java | 43 @Mock WifiMulticastLockManager.FilterController mHandler; field in WifiMulticastLockManagerTest 53 mManager = new WifiMulticastLockManager(mHandler, mBatteryStats); in setUp() 63 verify(mHandler, times(1)).startFilteringMulticastPackets(); in noLocks() 74 verify(mHandler).stopFilteringMulticastPackets(); in oneLock() 76 verify(mHandler, times(0)).startFilteringMulticastPackets(); in oneLock() 93 verify(mHandler).stopFilteringMulticastPackets(); in oneLock_wrongName() 95 verify(mHandler, never()).startFilteringMulticastPackets(); in oneLock_wrongName() 111 InOrder inOrderHandler = inOrder(mHandler); in multipleLocksInOrder() 115 inOrderHandler.verify(mHandler).stopFilteringMulticastPackets(); in multipleLocksInOrder() 120 inOrderHandler.verify(mHandler).stopFilteringMulticastPackets(); in multipleLocksInOrder() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskChangeNotificationController.java | 67 private final Handler mHandler; field in TaskChangeNotificationController 268 mHandler = new MainHandler(handler.getLooper()); in TaskChangeNotificationController() 325 mHandler.sendEmptyMessage(LOG_STACK_STATE_MSG); in notifyTaskStackChanged() 326 mHandler.removeMessages(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged() 327 final Message msg = mHandler.obtainMessage(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged() 330 mHandler.sendMessageDelayed(msg, NOTIFY_TASK_STACK_CHANGE_LISTENERS_DELAY); in notifyTaskStackChanged() 335 mHandler.removeMessages(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG); in notifyActivityPinned() 336 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG, in notifyActivityPinned() 345 mHandler.removeMessages(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned() 346 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned() [all …]
|
D | LaunchObserverRegistryImpl.java | 54 private final Handler mHandler; field in LaunchObserverRegistryImpl 57 mHandler = new Handler(looper); in LaunchObserverRegistryImpl() 62 mHandler.sendMessage(PooledLambda.obtainMessage( in registerLaunchObserver() 68 mHandler.sendMessage(PooledLambda.obtainMessage( in unregisterLaunchObserver() 74 mHandler.sendMessage(PooledLambda.obtainMessage( in onIntentStarted() 80 mHandler.sendMessage(PooledLambda.obtainMessage( in onIntentFailed() 88 mHandler.sendMessage(PooledLambda.obtainMessage( in onActivityLaunched() 96 mHandler.sendMessage(PooledLambda.obtainMessage( in onActivityLaunchCancelled() 103 mHandler.sendMessage(PooledLambda.obtainMessage( in onActivityLaunchFinished()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncService.java | 50 Handler mHandler; field in AsyncService 54 public Handler mHandler; field in AsyncService.AsyncServiceInfo 76 return mHandler; in getHandler() 86 mHandler = mAsyncServiceInfo.mHandler; in onCreate() 87 mMessenger = new Messenger(mHandler); in onCreate() 97 Message msg = mHandler.obtainMessage(); in onStartCommand() 102 mHandler.sendMessage(msg); in onStartCommand() 116 Message msg = mHandler.obtainMessage(); in onDestroy() 118 mHandler.sendMessage(msg); in onDestroy()
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooperTest.java | 52 private Handler mHandler; field in TestLooperTest 64 mHandler = new Handler(mTestLooper.getLooper()); in setUp() 65 mHandlerSpy = spy(mHandler); in setUp() 82 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testNoTimeMovement() 83 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testNoTimeMovement() 84 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageB)); in testNoTimeMovement() 85 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageC)); in testNoTimeMovement() 140 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testDelayedDispatchNoTimeMove() 141 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageB)); in testDelayedDispatchNoTimeMove() 142 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchNoTimeMove() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TaskStackChangeListeners.java | 51 private final Handler mHandler; field in TaskStackChangeListeners 55 mHandler = new H(looper); in TaskStackChangeListeners() 95 mHandler.removeMessages(H.ON_TASK_STACK_CHANGED); in onTaskStackChanged() 96 mHandler.sendEmptyMessage(H.ON_TASK_STACK_CHANGED); in onTaskStackChanged() 102 mHandler.removeMessages(H.ON_ACTIVITY_PINNED); in onActivityPinned() 103 mHandler.obtainMessage(H.ON_ACTIVITY_PINNED, in onActivityPinned() 109 mHandler.removeMessages(H.ON_ACTIVITY_UNPINNED); in onActivityUnpinned() 110 mHandler.sendEmptyMessage(H.ON_ACTIVITY_UNPINNED); in onActivityUnpinned() 116 mHandler.removeMessages(H.ON_PINNED_ACTIVITY_RESTART_ATTEMPT); in onPinnedActivityRestartAttempt() 117 mHandler.obtainMessage(H.ON_PINNED_ACTIVITY_RESTART_ATTEMPT, clearedTask ? 1 : 0, 0) in onPinnedActivityRestartAttempt() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerCallbackAdapter.java | 37 @NonNull private final Handler mHandler; field in TunerCallbackAdapter 50 mHandler = new Handler(Looper.getMainLooper()); in TunerCallbackAdapter() 52 mHandler = handler; in TunerCallbackAdapter() 117 mHandler.post(() -> mCallback.onError(status)); in onError() 122 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); in onTuneFailed() 141 mHandler.post(() -> mCallback.onError(errorCode)); in onTuneFailed() 146 mHandler.post(() -> mCallback.onConfigurationChanged(config)); in onConfigurationChanged() 160 mHandler.post(() -> { in onCurrentProgramInfoChanged() 170 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 175 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | MultiClientInputMethodClientCallbackAdaptor.java | 78 Handler mHandler; field in MultiClientInputMethodClientCallbackAdaptor 88 mSessionLock, mCallbackImpl, mHandler, mFinished); in createIInputMethodSession() 95 mSessionLock, mCallbackImpl, mHandler, mFinished); in createIMultiClientInputMethodSession() 105 mHandler = new Handler(looper, null, true); in MultiClientInputMethodClientCallbackAdaptor() 107 mInputEventReceiver = new ImeInputEventReceiver(mReadChannel, mHandler.getLooper(), in MultiClientInputMethodClientCallbackAdaptor() 189 private Handler mHandler; field in MultiClientInputMethodClientCallbackAdaptor.InputMethodSessionImpl 196 mHandler = handler; in InputMethodSessionImpl() 210 if (mCallbackImpl == null || mHandler == null) { in updateSelection() 220 mHandler.sendMessage(PooledLambda.obtainMessage( in updateSelection() 238 if (mCallbackImpl == null || mHandler == null) { in displayCompletions() [all …]
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 249 private final Handler mHandler; field in GestureDetector 403 mHandler = new GestureHandler(handler); in GestureDetector() 405 mHandler = new GestureHandler(); in GestureDetector() 586 boolean hadTapMessage = mHandler.hasMessages(TAP); in onTouchEvent() 587 if (hadTapMessage) mHandler.removeMessages(TAP); in onTouchEvent() 601 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT); in onTouchEvent() 619 mHandler.removeMessages(LONG_PRESS); in onTouchEvent() 620 mHandler.sendMessageAtTime( in onTouchEvent() 621 mHandler.obtainMessage( in onTouchEvent() 628 mHandler.sendEmptyMessageAtTime(SHOW_PRESS, in onTouchEvent() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | VideoCallImpl.java | 72 if (mHandler == null) { in receiveSessionModifyRequest() 75 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_REQUEST, in receiveSessionModifyRequest() 83 if (mHandler == null) { in receiveSessionModifyResponse() 90 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args) in receiveSessionModifyResponse() 96 if (mHandler == null) { in handleCallSessionEvent() 99 mHandler.obtainMessage(MessageHandler.MSG_HANDLE_CALL_SESSION_EVENT, event) in handleCallSessionEvent() 105 if (mHandler == null) { in changePeerDimensions() 111 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget(); in changePeerDimensions() 116 if (mHandler == null) { in changeVideoQuality() 119 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_VIDEO_QUALITY, videoQuality, 0) in changeVideoQuality() [all …]
|
D | ConnectionServiceAdapterServant.java | 83 private final Handler mHandler = new Handler() { field in ConnectionServiceAdapterServant 391 mHandler.obtainMessage(MSG_HANDLE_CREATE_CONNECTION_COMPLETE, args).sendToTarget(); 404 mHandler.obtainMessage(MSG_HANDLE_CREATE_CONFERENCE_COMPLETE, args).sendToTarget(); 410 mHandler.obtainMessage(MSG_SET_ACTIVE, connectionId).sendToTarget(); 415 mHandler.obtainMessage(MSG_SET_RINGING, connectionId).sendToTarget(); 420 mHandler.obtainMessage(MSG_SET_DIALING, connectionId).sendToTarget(); 425 mHandler.obtainMessage(MSG_SET_PULLING, connectionId).sendToTarget(); 434 mHandler.obtainMessage(MSG_SET_DISCONNECTED, args).sendToTarget(); 439 mHandler.obtainMessage(MSG_SET_ON_HOLD, connectionId).sendToTarget(); 445 mHandler.obtainMessage(MSG_SET_RINGBACK_REQUESTED, ringback ? 1 : 0, 0, connectionId) [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | WakeupMessageTest.java | 54 @Spy MessageCapturingHandler mHandler = new MessageCapturingHandler(); field in WakeupMessageTest 95 mMessage = new WakeupMessage(mContext, mHandler, TEST_CMD_NAME, TEST_CMD, TEST_ARG1, in setUp() 110 eq(TEST_CMD_NAME), any(AlarmManager.OnAlarmListener.class), eq(mHandler)); in scheduleAndVerifyAlarm() 114 verify(mHandler, times(1)).handleMessage(any(Message.class)); in verifyMessageDispatchedOnce() 115 assertEquals("what", TEST_CMD, mHandler.getLastMessage().what); in verifyMessageDispatchedOnce() 116 assertEquals("arg1", TEST_ARG1, mHandler.getLastMessage().arg1); in verifyMessageDispatchedOnce() 117 assertEquals("arg2", TEST_ARG2, mHandler.getLastMessage().arg2); in verifyMessageDispatchedOnce() 118 assertEquals("obj", TEST_OBJ, mHandler.getLastMessage().obj); in verifyMessageDispatchedOnce() 128 verify(mHandler, never()).handleMessage(any(Message.class)); in scheduleAndDeliverMessage() 146 verify(mHandler, never()).handleMessage(any(Message.class)); in scheduleAndCancelMessage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeScrimController.java | 38 private final Handler mHandler = new Handler(); field in DozeScrimController 73 mHandler.postDelayed(mPulseOut, mDozeParameters.getPulseVisibleDuration()); 74 mHandler.postDelayed(mPulseOutExtended, 149 mHandler.removeCallbacks(mPulseOut); in extendPulse() 156 mHandler.removeCallbacks(mPulseOut); in cancelPendingPulseTimeout() 157 mHandler.removeCallbacks(mPulseOutExtended); in cancelPendingPulseTimeout() 164 mHandler.removeCallbacks(mPulseOut); in cancelPulsing() 165 mHandler.removeCallbacks(mPulseOutExtended); in cancelPulsing() 188 mHandler.removeCallbacks(mPulseOut); 197 mHandler.removeCallbacks(mPulseOut); [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2CaptureCallbackForwarder.java | 33 private Handler mHandler; field in Camera2CaptureCallbackForwarder 37 mHandler = handler; in Camera2CaptureCallbackForwarder() 43 mHandler.post(new Runnable() { in onCaptureCompleted() 53 mHandler.post(new Runnable() { in onCaptureFailed() 64 mHandler.post(new Runnable() { in onCaptureProgressed() 73 mHandler.post(new Runnable() { in onCaptureSequenceAborted() 83 mHandler.post(new Runnable() { in onCaptureSequenceCompleted() 93 mHandler.post(new Runnable() { in onCaptureStarted()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CameraTestThread.java | 35 private Handler mHandler = null; field in CameraTestThread 42 if (mLooper != null || mHandler !=null) { in start() 44 return mHandler; in start() 55 mHandler = new Handler(); in start() 66 return mHandler; in start() 73 if (mLooper == null || mHandler == null) { in close() 82 mHandler = null; in close()
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Device.java | 40 private final DeviceHandler mHandler; field in Device 62 mHandler = new DeviceHandler(mThread.getLooper()); in Device() 75 mHandler.obtainMessage(MSG_OPEN_DEVICE, args).sendToTarget(); in Device() 80 Message msg = mHandler.obtainMessage(MSG_SEND_REPORT, report); in sendReport() 82 mHandler.sendMessageAtTime(msg, mTimeToSend); in sendReport() 90 Message msg = mHandler.obtainMessage(MSG_CLOSE_DEVICE); in close() 91 mHandler.sendMessageAtTime(msg, Math.max(SystemClock.uptimeMillis(), mTimeToSend) + 1); in close() 159 mHandler.resumeEvents(); in onDeviceOpen() 170 msg = mHandler.obtainMessage(MSG_SEND_GET_FEATURE_REPORT_REPLY, requestId, 0, report); in onDeviceGetReport() 176 mHandler.sendMessageAtTime(msg, mTimeToSend); in onDeviceGetReport() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricDialogImpl.java | 65 private Handler mHandler = new Handler(Looper.getMainLooper()) { field in BiometricDialogImpl 114 mHandler.obtainMessage(MSG_USER_CANCELED).sendToTarget(); in onUserCanceled() 119 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_HIDE_DIALOG, in onErrorShown() 125 mHandler.obtainMessage(MSG_BUTTON_NEGATIVE).sendToTarget(); in onNegativePressed() 130 mHandler.obtainMessage(MSG_BUTTON_POSITIVE).sendToTarget(); in onPositivePressed() 135 mHandler.obtainMessage(MSG_TRY_AGAIN_PRESSED).sendToTarget(); in onTryAgainPressed() 144 mHandler.obtainMessage(MSG_USER_CANCELED).sendToTarget(); 170 mHandler.removeMessages(MSG_BIOMETRIC_ERROR); in showBiometricDialog() 171 mHandler.removeMessages(MSG_BIOMETRIC_HELP); in showBiometricDialog() 172 mHandler.removeMessages(MSG_BIOMETRIC_AUTHENTICATED); in showBiometricDialog() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestHandlerThread.java | 38 private volatile Handler mHandler; field in RequestHandlerThread 47 mHandler = new Handler(getLooper(), mCallback); in onLooperPrepared() 58 return mHandler; in getHandler() 69 synchronized (mHandler.getLooper().getQueue()) { in hasAnyMessages() 71 if (mHandler.hasMessages(i)) { in hasAnyMessages() 81 synchronized (mHandler.getLooper().getQueue()) { in removeMessages() 83 mHandler.removeMessages(i); in removeMessages()
|
/frameworks/base/core/java/android/os/ |
D | ResultReceiver.java | 36 final Handler mHandler; field in ResultReceiver 56 if (mHandler != null) { in send() 57 mHandler.post(new MyRunnable(resultCode, resultData)); in send() 71 mHandler = handler; in ResultReceiver() 83 if (mHandler != null) { in send() 84 mHandler.post(new MyRunnable(resultCode, resultData)); in send() 124 mHandler = null; in ResultReceiver()
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 67 Handler mHandler; field in BackupRestoreConfirmation 149 mHandler = new ObserverHandler(getApplicationContext()); in onCreate() 152 mObserver = new FullObserver(mHandler); in onCreate() 155 mObserver.setHandler(mHandler); in onCreate() 342 private Handler mHandler; field in BackupRestoreConfirmation.FullObserver 345 mHandler = h; in FullObserver() 349 mHandler = h; in setHandler() 357 mHandler.sendEmptyMessage(MSG_START_BACKUP); in onStartBackup() 362 mHandler.sendMessage(mHandler.obtainMessage(MSG_BACKUP_PACKAGE, name)); in onBackupPackage() 367 mHandler.sendEmptyMessage(MSG_END_BACKUP); in onEndBackup() [all …]
|