Home
last modified time | relevance | path

Searched refs:mHandler (Results 1 – 25 of 1034) sorted by relevance

12345678910>>...42

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DDeviceStateHandlerTest.java50 private DeviceStateHandler mHandler; field in DeviceStateHandlerTest
77 mHandler = new DeviceStateHandler(Runnable::run, mEventLogger); in setup()
78 mHandler.onPhoneCallStateChanged(false); in setup()
79 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_ENABLED); in setup()
80 mHandler.registerListener(mDeviceStateCallback); in setup()
111 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onPowerModeChangedCritical_receiveStateChange()
113 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_ENABLED); in onPowerModeChangedCritical_receiveStateChange()
119 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeChangedDisabled_receiveStateChange()
121 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_ENABLED); in onPowerModeChangedDisabled_receiveStateChange()
127 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeChangedMultiple_receiveStateChange()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsEnablementTrackerTest.java70 private Handler mHandler; field in ImsEnablementTrackerTest
99 waitForHandlerAction(mHandler, TEST_REQUEST_THROTTLE_TIME_MS); in tearDown()
111 mHandler = mTracker.getHandler(SLOT_1); in testEnableCommandInDefaultState()
113 waitForHandler(mHandler); in testEnableCommandInDefaultState()
116 waitForHandler(mHandler); in testEnableCommandInDefaultState()
128 mHandler = mTracker.getHandler(SLOT_1); in testDisableCommandInDefaultState()
130 waitForHandler(mHandler); in testDisableCommandInDefaultState()
133 waitForHandler(mHandler); in testDisableCommandInDefaultState()
144 mHandler = mTracker.getHandler(SLOT_1); in testResetCommandInDefaultState()
146 waitForHandler(mHandler); in testResetCommandInDefaultState()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java28 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 …]
DMessageQueueTest.java28 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DHandlerExecutor.java24 private final Handler mHandler; field in HandlerExecutor
27 mHandler = handler; in HandlerExecutor()
32 if (mHandler.getLooper().isCurrentThread()) { in execute()
36 if (!mHandler.post(command)) { in execute()
37 throw new RuntimeException(mHandler + " is probably exiting"); in execute()
43 if (!mHandler.postDelayed(r, delayMillis)) { in executeDelayed()
44 throw new RuntimeException(mHandler + " is probably exiting"); in executeDelayed()
50 mHandler.removeCallbacks(r); in removeCallbacks()
55 return mHandler.hasCallbacks(r); in hasCallback()
/frameworks/base/core/java/com/android/internal/util/
DAsyncService.java50 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallWaitingControllerTest.java71 private GetTestHandler mHandler; field in CallWaitingControllerTest
190 mHandler = new GetTestHandler(); in testGetCallWaitingSyncNone()
195 assertTrue(mCWC.getCallWaiting(mHandler.obtainMessage(GET_DONE))); in testGetCallWaitingSyncNone()
198 assertNotNull(mHandler.resp); in testGetCallWaitingSyncNone()
199 assertEquals(2, mHandler.resp.length); in testGetCallWaitingSyncNone()
200 assertEquals(TERMINAL_BASED_ACTIVATED, mHandler.resp[0]); in testGetCallWaitingSyncNone()
201 assertEquals(SERVICE_CLASS_VOICE, mHandler.resp[1]); in testGetCallWaitingSyncNone()
203 mHandler.reset(); in testGetCallWaitingSyncNone()
208 assertTrue(mCWC.getCallWaiting(mHandler.obtainMessage(GET_DONE))); in testGetCallWaitingSyncNone()
211 assertNotNull(mHandler.resp); in testGetCallWaitingSyncNone()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java53 private final Handler mHandler; field in SingleKeyGestureDetector
183 mHandler = new KeyHandler(); in SingleKeyGestureDetector()
219 mHandler.removeMessages(MSG_KEY_LONG_PRESS); in interceptKeyDown()
220 mHandler.removeMessages(MSG_KEY_VERY_LONG_PRESS); in interceptKeyDown()
221 final Message msg = mHandler.obtainMessage(MSG_KEY_LONG_PRESS, keyCode, 0, in interceptKeyDown()
224 mHandler.sendMessage(msg); in interceptKeyDown()
268 final Message msg = mHandler.obtainMessage(MSG_KEY_LONG_PRESS, keyCode, 0, in interceptKeyDown()
271 mHandler.sendMessageDelayed(msg, mActiveRule.getLongPressTimeoutMs()); in interceptKeyDown()
275 final Message msg = mHandler.obtainMessage(MSG_KEY_VERY_LONG_PRESS, keyCode, 0, in interceptKeyDown()
278 mHandler.sendMessageDelayed(msg, mActiveRule.getVeryLongPressTimeoutMs()); in interceptKeyDown()
[all …]
/frameworks/base/core/java/android/hardware/radio/
DTunerCallbackAdapter.java38 private final Handler mHandler; field in TunerCallbackAdapter
59 mHandler = new Handler(Looper.getMainLooper()); in TunerCallbackAdapter()
61 mHandler = handler; in TunerCallbackAdapter()
138 mHandler.post(() -> mCallback.onError(status)); in onError()
143 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); in onTuneFailed()
171 mHandler.post(() -> mCallback.onError(errorCode)); in onTuneFailed()
176 mHandler.post(() -> mCallback.onConfigurationChanged(config)); in onConfigurationChanged()
190 mHandler.post(() -> { in onCurrentProgramInfoChanged()
200 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement()
205 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskChangeNotificationController.java69 private final Handler mHandler; field in TaskChangeNotificationController
283 mHandler = new MainHandler(handler.getLooper()); in TaskChangeNotificationController()
344 mHandler.removeMessages(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged()
345 final Message msg = mHandler.obtainMessage(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged()
348 mHandler.sendMessageDelayed(msg, NOTIFY_TASK_STACK_CHANGE_LISTENERS_DELAY); in notifyTaskStackChanged()
353 mHandler.removeMessages(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG); in notifyActivityPinned()
354 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG, in notifyActivityPinned()
363 mHandler.removeMessages(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned()
364 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned()
375 mHandler.removeMessages(NOTIFY_ACTIVITY_RESTART_ATTEMPT_LISTENERS_MSG); in notifyActivityRestartAttempt()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java186 private Handler mHandler = new H(Looper.getMainLooper()); field in CommandQueue
542 }, new HandlerExecutor(mHandler)); in CommandQueue()
575 mHandler.obtainMessage(MSG_ICON, OP_SET_ICON, 0, in setIcon()
583 mHandler.obtainMessage(MSG_ICON, OP_REMOVE_ICON, 0, slot).sendToTarget(); in removeIcon()
595 mHandler.removeMessages(MSG_DISABLE); in disable()
601 Message msg = mHandler.obtainMessage(MSG_DISABLE, args); in disable()
602 if (Looper.myLooper() == mHandler.getLooper()) { in disable()
604 mHandler.handleMessage(msg); in disable()
656 mHandler.removeMessages(MSG_EXPAND_NOTIFICATIONS); in animateExpandNotificationsPanel()
657 mHandler.sendEmptyMessage(MSG_EXPAND_NOTIFICATIONS); in animateExpandNotificationsPanel()
[all …]
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java52 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/src/com/android/systemui/util/concurrency/
DExecutorImpl.java30 private final Handler mHandler; field in ExecutorImpl
33 mHandler = new Handler(looper, this::onHandleMessage); in ExecutorImpl()
38 if (!mHandler.post(command)) { in execute()
39 throw new RejectedExecutionException(mHandler + " is shutting down"); in execute()
46 Message m = mHandler.obtainMessage(MSG_EXECUTE_RUNNABLE, token); in executeDelayed()
47 mHandler.sendMessageDelayed(m, unit.toMillis(delay)); in executeDelayed()
55 Message m = mHandler.obtainMessage(MSG_EXECUTE_RUNNABLE, token); in executeAtTime()
56 mHandler.sendMessageAtTime(m, unit.toMillis(uptimeMillis)); in executeAtTime()
80 mHandler.removeCallbacksAndMessages(this); in run()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityInputMethodSessionWrapper.java32 private final Handler mHandler; field in AccessibilityInputMethodSessionWrapper
40 mHandler = Handler.createAsync(looper); in AccessibilityInputMethodSessionWrapper()
52 if (mHandler.getLooper().isCurrentThread()) { in updateSelection()
56 mHandler.post(() -> doUpdateSelection(oldSelStart, oldSelEnd, newSelStart, in updateSelection()
72 if (mHandler.getLooper().isCurrentThread()) { in finishInput()
75 mHandler.post(this::doFinishInput); in finishInput()
88 if (mHandler.getLooper().isCurrentThread()) { in finishSession()
91 mHandler.post(this::doFinishSession); in finishSession()
102 if (mHandler.getLooper().isCurrentThread()) { in invalidateInput()
105 mHandler.post(() -> doInvalidateInput(editorInfo, connection, sessionId)); in invalidateInput()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DUptimeTimer.java34 private final Handler mHandler; field in UptimeTimer
45 mHandler = new Handler(mHandlerThread.getLooper()); in UptimeTimer()
52 TaskImpl task = new TaskImpl(mHandler, token); in createTask()
53 mHandler.postDelayed(runnable, token, uptimeMs); in createTask()
62 private final Handler mHandler; field in UptimeTimer.TaskImpl
66 mHandler = handler; in TaskImpl()
72 mHandler.removeCallbacksAndMessages(mToken); in cancel()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java151 private final Handler mHandler; field in TaskStackChangeListeners.Impl
155 mHandler = new Handler(looper, this); in Impl()
159 mHandler = handler; in Impl()
208 mHandler.removeMessages(ON_TASK_STACK_CHANGED); in onTaskStackChanged()
209 mHandler.sendEmptyMessage(ON_TASK_STACK_CHANGED); in onTaskStackChanged()
214 mHandler.removeMessages(ON_ACTIVITY_PINNED); in onActivityPinned()
215 mHandler.obtainMessage(ON_ACTIVITY_PINNED, in onActivityPinned()
221 mHandler.removeMessages(ON_ACTIVITY_UNPINNED); in onActivityUnpinned()
222 mHandler.sendEmptyMessage(ON_ACTIVITY_UNPINNED); in onActivityUnpinned()
233 mHandler.removeMessages(ON_ACTIVITY_RESTART_ATTEMPT); in onActivityRestartAttempt()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java72 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java49 private final Handler mHandler; field in AutoHideController
69 mHandler = handler; in AutoHideController()
111 mHandler.postDelayed(checkBarModesRunnable, 500); // longer than home -> launcher in resumeSuspendedAutoHide()
117 mHandler.removeCallbacks(mAutoHide); in suspendAutoHide()
120 mHandler.removeCallbacks(checkBarModesRunnable); in suspendAutoHide()
147 mHandler.removeCallbacks(mAutoHide); in cancelAutoHide()
152 mHandler.postDelayed(mAutoHide, getAutoHideTimeout()); in scheduleAutoHide()
180 mHandler.postDelayed(mAutoHide, getUserAutoHideTimeout()); in userAutoHide()
204 pw.println("\thasPendingAutoHide=" + mHandler.hasCallbacks(mAutoHide)); in dump()
213 private final Handler mHandler; field in AutoHideController.Factory
[all …]
DDozeScrimController.java38 private final Handler mHandler = new Handler(); field in DozeScrimController
71 mHandler.postDelayed(mPulseOut, mDozeParameters.getPulseVisibleDuration());
72 mHandler.postDelayed(mPulseOutExtended,
144 mHandler.removeCallbacks(mPulseOut); in extendPulse()
151 mHandler.removeCallbacks(mPulseOut); in cancelPendingPulseTimeout()
152 mHandler.removeCallbacks(mPulseOutExtended); in cancelPendingPulseTimeout()
158 mHandler.removeCallbacks(mPulseOut); in cancelPulsing()
159 mHandler.removeCallbacks(mPulseOutExtended); in cancelPulsing()
175 mHandler.removeCallbacks(mPulseOut);
183 mHandler.removeCallbacks(mPulseOut);
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DWakeupMessageTest.java54 @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/opt/telephony/src/java/com/android/internal/telephony/emergency/
DRadioOnStateListener.java97 private final Handler mHandler = new Handler(Looper.getMainLooper()) { field in RadioOnStateListener
148 mHandler.obtainMessage(MSG_SATELLITE_ENABLED_CHANGED).sendToTarget();
194 mHandler.obtainMessage(MSG_START_SEQUENCE, args).sendToTarget(); in waitForRadioOn()
384 if (mHandler.hasMessages(MSG_TIMEOUT_ONTIMEOUT_CALLBACK)) { in onRetryTimeout()
400 mHandler.obtainMessage(MSG_SATELLITE_ENABLED_CHANGED) in onRetryTimeout()
449 mHandler.sendEmptyMessageDelayed(MSG_RETRY_TIMEOUT, TIME_BETWEEN_RETRIES_MILLIS); in startRetryTimer()
453 mHandler.removeMessages(MSG_RETRY_TIMEOUT); in cancelRetryTimer()
461 mPhone.registerForServiceStateChanged(mHandler, MSG_SERVICE_STATE_CHANGED, null); in registerForServiceStateChanged()
467 mPhone.unregisterForServiceStateChanged(mHandler); // Safe even if unnecessary in unregisterForServiceStateChanged()
469 mHandler.removeMessages(MSG_SERVICE_STATE_CHANGED); // Clean up any pending messages too in unregisterForServiceStateChanged()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DRemoteInlineSuggestionUi.java63 private final Handler mHandler; field in RemoteInlineSuggestionUi
93 mHandler = handler; in RemoteInlineSuggestionUi()
106 mHandler.post(() -> { in setInlineContentCallback()
116 mHandler.post(this::handleRequestSurfacePackage); in requestSurfacePackage()
124 mHandler.post(() -> handleUpdateRefCount(-1)); in surfacePackageReleased()
157 mHandler.post(() -> { in handleRequestSurfacePackage()
191 mHandler.postDelayed(mDelayedReleaseViewRunnable, RELEASE_REMOTE_VIEW_HOST_DELAY_MS); in handleUpdateRefCount()
197 mHandler.removeCallbacks(mDelayedReleaseViewRunnable); in cancelPendingReleaseViewRequest()
272 mHandler.post(RemoteInlineSuggestionUi.this::handleOnClick); in onClick()
277 mHandler.post(RemoteInlineSuggestionUi.this::handleOnLongClick); in onLongClick()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationConnectionImpl.java41 private final Handler mHandler; field in WindowMagnificationConnectionImpl
46 mHandler = mainHandler; in WindowMagnificationConnectionImpl()
53 mHandler.post( in enableWindowMagnification()
61 mHandler.post(() -> mWindowMagnification.setScale(displayId, scale)); in setScale()
67 mHandler.post(() -> mWindowMagnification.disableWindowMagnification(displayId, in disableWindowMagnification()
73 mHandler.post( in moveWindowMagnifier()
80 mHandler.post(() -> mWindowMagnification.moveWindowMagnifierToPositionInternal( in moveWindowMagnifierToPosition()
86 mHandler.post( in showMagnificationButton()
92 mHandler.post( in removeMagnificationButton()
98 mHandler.post(() -> mWindowMagnification.hideMagnificationSettingsPanel(display)); in removeMagnificationSettingsPanel()
[all …]
/frameworks/base/core/java/android/view/
DGestureDetector.java261 private final Handler mHandler; field in GestureDetector
423 mHandler = new GestureHandler(handler); in GestureDetector()
425 mHandler = new GestureHandler(); in GestureDetector()
610 boolean hadTapMessage = mHandler.hasMessages(TAP); in onTouchEvent()
611 if (hadTapMessage) mHandler.removeMessages(TAP); in onTouchEvent()
625 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT); in onTouchEvent()
643 mHandler.removeMessages(LONG_PRESS); in onTouchEvent()
644 mHandler.sendMessageAtTime( in onTouchEvent()
645 mHandler.obtainMessage( in onTouchEvent()
652 mHandler.sendEmptyMessageAtTime(SHOW_PRESS, in onTouchEvent()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCameraTestThread.java35 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()

12345678910>>...42