Home
last modified time | relevance | path

Searched refs:obtainMessage (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java82 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()
143 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchNoTimeMove()
168 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testDelayedDispatchAdvanceTimeOnce()
169 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageB)); in testDelayedDispatchAdvanceTimeOnce()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java118 public Message obtainMessage(int what) { in obtainMessage() method in HandlerCaller
119 return mH.obtainMessage(what); in obtainMessage()
123 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); in obtainMessageBO()
130 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args); in obtainMessageBOO()
135 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
139 return mH.obtainMessage(what, arg1, 0); in obtainMessageI()
143 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
148 return mH.obtainMessage(what, arg1, 0, arg2); in obtainMessageIO()
152 return mH.obtainMessage(what, arg1, arg2, arg3); in obtainMessageIIO()
160 return mH.obtainMessage(what, arg1, arg2, args); in obtainMessageIIOO()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java65 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()
176 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedLater()
178 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testRepeatedLater()
DMessageQueueTest.java72 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()
99 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(1)); in testAtFrontOfQueue()
154 mHandler.sendMessage(mHandler.obtainMessage(0)); in testFieldIntegrity()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java391 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)
452 mHandler.obtainMessage(
[all …]
DInCallService.java322 mHandler.obtainMessage(MSG_SET_IN_CALL_ADAPTER, inCallAdapter).sendToTarget(); in setInCallAdapter()
327 mHandler.obtainMessage(MSG_ADD_CALL, call).sendToTarget(); in addCall()
332 mHandler.obtainMessage(MSG_UPDATE_CALL, call).sendToTarget(); in updateCall()
345 mHandler.obtainMessage(MSG_SET_POST_DIAL_WAIT, args).sendToTarget(); in setPostDialWait()
350 mHandler.obtainMessage(MSG_ON_CALL_AUDIO_STATE_CHANGED, callAudioState).sendToTarget(); in onCallAudioStateChanged()
355 mHandler.obtainMessage(MSG_BRING_TO_FOREGROUND, showDialpad ? 1 : 0, 0).sendToTarget(); in bringToForeground()
360 mHandler.obtainMessage(MSG_ON_CAN_ADD_CALL_CHANGED, canAddCall ? 1 : 0, 0) in onCanAddCallChanged()
366 mHandler.obtainMessage(MSG_SILENCE_RINGER).sendToTarget(); in silenceRinger()
375 mHandler.obtainMessage(MSG_ON_CONNECTION_EVENT, args).sendToTarget(); in onConnectionEvent()
380 mHandler.obtainMessage(MSG_ON_RTT_UPGRADE_REQUEST, id, 0, callId).sendToTarget(); in onRttUpgradeRequest()
[all …]
DVideoCallbackServant.java115 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_REQUEST, videoProfile).sendToTarget();
125 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args).sendToTarget();
132 mHandler.obtainMessage(MSG_HANDLE_CALL_SESSION_EVENT, args).sendToTarget();
140 mHandler.obtainMessage(MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget();
147 mHandler.obtainMessage(MSG_CHANGE_CALL_DATA_USAGE, args).sendToTarget();
154 mHandler.obtainMessage(MSG_CHANGE_CAMERA_CAPABILITIES, cameraCapabilities)
160 mHandler.obtainMessage(MSG_CHANGE_VIDEO_QUALITY, videoQuality, 0).sendToTarget();
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java79 Message message = mHandlerFirst.obtainMessage(1000); in testSingleMessageDispatched()
115 Message message = mHandlerFirst.obtainMessage(7); in testThrewException()
147 looperStats.messageDispatched(token, mHandlerFirst.obtainMessage(0)); in testThrewException_notSampled()
155 token2, mHandlerSecond.obtainMessage(7), new ArithmeticException()); in testThrewException_notSampled()
168 looperStats.messageDispatched(token1, mHandlerFirst.obtainMessage(1000)); in testMultipleMessagesDispatched()
174 looperStats.messageDispatched(token2, mHandlerFirst.obtainMessage(1000)); in testMultipleMessagesDispatched()
180 looperStats.messageDispatched(token3, mHandlerSecond.obtainMessage().setCallback(() -> { in testMultipleMessagesDispatched()
187 looperStats.messageDispatched(token4, mHandlerSecond.obtainMessage(0)); in testMultipleMessagesDispatched()
193 looperStats.messageDispatched(token5, mHandlerAnonymous.obtainMessage(1)); in testMultipleMessagesDispatched()
250 Message message1 = mHandlerFirst.obtainMessage(1000); in testDispatchDelayIsRecorded()
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java151 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsMtp()
159 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsPtp()
167 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsMidi()
175 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsRndis()
184 Message msg = mUsbHandler.obtainMessage(MSG_ENABLE_ADB); in enableAdb()
192 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_UPDATE_STATE, 1, 1)); in enableAdb()
211 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_ENABLE_ADB, 0)); in disableAdb()
242 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in userSwitchedDisablesMtp()
246 Message msg = mUsbHandler.obtainMessage(MSG_USER_SWITCHED); in userSwitchedDisablesMtp()
255 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in changedRestrictionsDisablesMtp()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java349 mHandler.obtainMessage(MSG_ICON, OP_SET_ICON, 0, in setIcon()
357 mHandler.obtainMessage(MSG_ICON, OP_REMOVE_ICON, 0, slot).sendToTarget(); in removeIcon()
375 Message msg = mHandler.obtainMessage(MSG_DISABLE, args); in disable()
434 mHandler.obtainMessage(MSG_COLLAPSE_PANELS, 0, 0).sendToTarget(); in animateCollapsePanels()
441 mHandler.obtainMessage(MSG_COLLAPSE_PANELS, flags, force ? 1 : 0).sendToTarget(); in animateCollapsePanels()
448 mHandler.obtainMessage(MSG_TOGGLE_PANEL, 0, 0).sendToTarget(); in togglePanel()
455 mHandler.obtainMessage(MSG_EXPAND_SETTINGS, subPanel).sendToTarget(); in animateExpandSettingsPanel()
475 mHandler.obtainMessage(MSG_SET_SYSTEMUI_VISIBILITY, args).sendToTarget(); in setSystemUiVisibility()
493 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, args); in setImeWindowStatus()
501 mHandler.obtainMessage(MSG_SHOW_RECENT_APPS, triggeredFromAltTab ? 1 : 0, 0, in showRecentApps()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskChangeNotificationController.java327 final Message msg = mHandler.obtainMessage(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged()
336 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG, in notifyActivityPinned()
346 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned()
359 mHandler.obtainMessage(NOTIFY_PINNED_ACTIVITY_RESTART_ATTEMPT_LISTENERS_MSG, in notifyPinnedActivityRestartAttempt()
369 mHandler.obtainMessage(NOTIFY_PINNED_STACK_ANIMATION_STARTED_LISTENERS_MSG); in notifyPinnedStackAnimationStarted()
378 mHandler.obtainMessage(NOTIFY_PINNED_STACK_ANIMATION_ENDED_LISTENERS_MSG); in notifyPinnedStackAnimationEnded()
385 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_DISMISSING_DOCKED_STACK_MSG); in notifyActivityDismissingDockedStack()
392 final Message msg = mHandler.obtainMessage(NOTIFY_FORCED_RESIZABLE_MSG, taskId, reason, in notifyActivityForcedResizable()
400 final Message msg = mHandler.obtainMessage( in notifyActivityLaunchOnSecondaryDisplayFailed()
409 final Message msg = mHandler.obtainMessage( in notifyActivityLaunchOnSecondaryDisplayRerouted()
[all …]
DLaunchObserverRegistryImpl.java62 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/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsRttTextHandler.java89 obtainMessage(TEARDOWN).sendToTarget(); in run()
95 obtainMessage(TEARDOWN).sendToTarget(); in run()
101 obtainMessage(APPEND_TO_NETWORK_BUFFER, charsReceived) in run()
136 obtainMessage(TEARDOWN).sendToTarget(); in handleMessage()
148 sendMessage(obtainMessage(ATTEMPT_SEND_TO_NETWORK)); in handleMessage()
172 obtainMessage(EXPIRE_SENT_CODEPOINT_COUNT, numCodePointsSent, 0), in handleMessage()
178 sendMessage(obtainMessage(ATTEMPT_SEND_TO_NETWORK)); in handleMessage()
202 obtainMessage(SEND_TO_INCALL, msg).sendToTarget(); in sendToInCall()
207 obtainMessage(INITIALIZE, rttTextStream).sendToTarget(); in initialize()
211 obtainMessage(TEARDOWN).sendToTarget(); in tearDown()
/frameworks/base/telephony/java/android/telephony/ims/
DImsVideoCallProvider.java126 mProviderHandler.obtainMessage(MSG_SET_CALLBACK, callback).sendToTarget(); in setCallback()
133 mProviderHandler.obtainMessage(MSG_SET_CAMERA, args).sendToTarget(); in setCamera()
137 mProviderHandler.obtainMessage(MSG_SET_PREVIEW_SURFACE, surface).sendToTarget(); in setPreviewSurface()
141 mProviderHandler.obtainMessage(MSG_SET_DISPLAY_SURFACE, surface).sendToTarget(); in setDisplaySurface()
145 mProviderHandler.obtainMessage(MSG_SET_DEVICE_ORIENTATION, rotation, 0).sendToTarget(); in setDeviceOrientation()
149 mProviderHandler.obtainMessage(MSG_SET_ZOOM, value).sendToTarget(); in setZoom()
156 mProviderHandler.obtainMessage(MSG_SEND_SESSION_MODIFY_REQUEST, args).sendToTarget(); in sendSessionModifyRequest()
160 mProviderHandler.obtainMessage( in sendSessionModifyResponse()
165 mProviderHandler.obtainMessage(MSG_REQUEST_CAMERA_CAPABILITIES).sendToTarget(); in requestCameraCapabilities()
169 mProviderHandler.obtainMessage(MSG_REQUEST_CALL_DATA_USAGE).sendToTarget(); in requestCallDataUsage()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java103 mHandler.obtainMessage(H.ON_ACTIVITY_PINNED, in onActivityPinned()
117 mHandler.obtainMessage(H.ON_PINNED_ACTIVITY_RESTART_ATTEMPT, clearedTask ? 1 : 0, 0) in onPinnedActivityRestartAttempt()
136 mHandler.obtainMessage(H.ON_ACTIVITY_FORCED_RESIZABLE, taskId, reason, packageName) in onActivityForcedResizable()
148 mHandler.obtainMessage(H.ON_ACTIVITY_LAUNCH_ON_SECONDARY_DISPLAY_FAILED, requestedDisplayId, in onActivityLaunchOnSecondaryDisplayFailed()
156 mHandler.obtainMessage(H.ON_ACTIVITY_LAUNCH_ON_SECONDARY_DISPLAY_REROUTED, in onActivityLaunchOnSecondaryDisplayRerouted()
162 mHandler.obtainMessage(H.ON_TASK_PROFILE_LOCKED, taskId, userId).sendToTarget(); in onTaskProfileLocked()
167 mHandler.obtainMessage(H.ON_TASK_SNAPSHOT_CHANGED, taskId, 0, snapshot).sendToTarget(); in onTaskSnapshotChanged()
172 mHandler.obtainMessage(H.ON_TASK_CREATED, taskId, 0, componentName).sendToTarget(); in onTaskCreated()
177 mHandler.obtainMessage(H.ON_TASK_REMOVED, taskId, 0).sendToTarget(); in onTaskRemoved()
183 mHandler.obtainMessage(H.ON_TASK_MOVED_TO_FRONT, taskInfo).sendToTarget(); in onTaskMovedToFront()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java322 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete)); in setMsisdnNumber()
379 obtainMessage(EVENT_SET_MBDN_DONE, onComplete)); in setVoiceMailNumber()
385 obtainMessage(EVENT_SET_CPHS_MAILBOX_DONE, onComplete)); in setVoiceMailNumber()
434 obtainMessage (EVENT_UPDATE_DONE, EF_MWIS, 0)); in setVoiceMessageWaiting()
443 obtainMessage (EVENT_UPDATE_DONE, EF_VOICE_MAIL_INDICATOR_CPHS)); in setVoiceMessageWaiting()
549 obtainMessage (EVENT_UPDATE_DONE, EF_CFIS)); in setVoiceCallForwardingFlag()
566 obtainMessage (EVENT_UPDATE_DONE, EF_CFF_CPHS)); in setVoiceCallForwardingFlag()
674 mMailboxIndex, obtainMessage(EVENT_GET_MBDN_DONE)); in handleMessage()
680 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
713 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
[all …]
DIsimUiccRecords.java128 mFh.loadEFTransparent(EF_IMPI, obtainMessage( in fetchIsimRecords()
132 mFh.loadEFLinearFixedAll(EF_IMPU, obtainMessage( in fetchIsimRecords()
136 mFh.loadEFTransparent(EF_DOMAIN, obtainMessage( in fetchIsimRecords()
139 mFh.loadEFTransparent(EF_IST, obtainMessage( in fetchIsimRecords()
142 mFh.loadEFLinearFixedAll(EF_PCSCF, obtainMessage( in fetchIsimRecords()
293 mFh.loadEFTransparent(EF_IMPI, obtainMessage( in handleFileUpdate()
299 mFh.loadEFLinearFixedAll(EF_IMPU, obtainMessage( in handleFileUpdate()
305 mFh.loadEFTransparent(EF_DOMAIN, obtainMessage( in handleFileUpdate()
311 mFh.loadEFTransparent(EF_IST, obtainMessage( in handleFileUpdate()
317 mFh.loadEFLinearFixedAll(EF_PCSCF, obtainMessage( in handleFileUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java139 obtainMessage(MSG_SUBS_CHANGED, subs).sendToTarget(); in setSubs()
144 obtainMessage(MSG_NO_SIM_VISIBLE_CHANGED, show ? 1 : 0, simDetected ? 1 : 0).sendToTarget(); in setNoSims()
149 obtainMessage(MSG_MOBILE_DATA_ENABLED_CHANGED, enabled ? 1 : 0, 0).sendToTarget(); in setMobileDataEnabled()
154 obtainMessage(MSG_EMERGENCE_CHANGED, emergencyOnly ? 1 : 0, 0).sendToTarget(); in setEmergencyCallsOnly()
159 obtainMessage(MSG_ETHERNET_CHANGED, icon).sendToTarget();; in setEthernetIndicators()
164 obtainMessage(MSG_AIRPLANE_MODE_CHANGED, icon).sendToTarget();; in setIsAirplaneMode()
168 obtainMessage(MSG_ADD_REMOVE_EMERGENCY, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
172 obtainMessage(MSG_ADD_REMOVE_SIGNAL, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java292 getCameraHandler().obtainMessage(CameraActions.OPEN_CAMERA, cameraId, 0, in openCamera()
319 getCameraHandler().obtainMessage(CameraActions.RELEASE).sendToTarget(); in closeCamera()
327 getCameraHandler().obtainMessage(CameraActions.RELEASE).sendToTarget(); in closeCamera()
425 getCameraHandler().obtainMessage(CameraActions.RECONNECT, getCameraId(), 0, in reconnect()
500 … .obtainMessage(CameraActions.SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture) in setPreviewTexture()
533 … .obtainMessage(CameraActions.SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture) in setPreviewTextureSync()
553 … .obtainMessage(CameraActions.SET_PREVIEW_DISPLAY_ASYNC, surfaceHolder) in setPreviewDisplay()
570 .obtainMessage(CameraActions.START_PREVIEW_ASYNC, null).sendToTarget(); in startPreview()
586 getCameraHandler().obtainMessage(CameraActions.START_PREVIEW_ASYNC, in startPreviewWithCallback()
610 getCameraHandler().obtainMessage(CameraActions.STOP_PREVIEW, bundle) in stopPreview()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java81 mVisualizerTestHandler.sendMessage(mVisualizerTestHandler.obtainMessage( in startStopCapture()
113 sendMessageDelayed(obtainMessage(MSG_NEW_CAPTURE), CAPTURE_PERIOD_MS); in handleMessage()
129 mUiHandler.obtainMessage( in handleMessage()
136 mUiHandler.obtainMessage(VisualizerTest.MSG_DISPLAY_FFT_VAL, in handleMessage()
140 sendMessageDelayed(obtainMessage(MSG_NEW_CAPTURE), CAPTURE_PERIOD_MS); in handleMessage()
155 mUiHandler.obtainMessage(VisualizerTest.MSG_DISPLAY_WAVEFORM_VAL,
165 mUiHandler.obtainMessage(VisualizerTest.MSG_DISPLAY_FFT_VAL,
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImplProxy.java67 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()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogImpl.java114 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();
180 mHandler.obtainMessage(MSG_SHOW_DIALOG, args).sendToTarget(); in showBiometricDialog()
191 mHandler.obtainMessage(MSG_BIOMETRIC_AUTHENTICATED, args).sendToTarget(); in onBiometricAuthenticated()
199 mHandler.obtainMessage(MSG_BIOMETRIC_HELP, args).sendToTarget(); in onBiometricHelp()
205 mHandler.obtainMessage(MSG_BIOMETRIC_ERROR, error).sendToTarget(); in onBiometricError()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java972 sendMessageAtFrontOfQueue(obtainMessage(SM_INIT_CMD, mSmHandlerObj)); in completeConstruction()
1249 Message newMsg = obtainMessage(); in deferMessage()
1258 sendMessage(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quit()
1264 sendMessageAtFrontOfQueue(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quitNow()
1615 public final Message obtainMessage() { in obtainMessage() method in StateMachine
1630 public final Message obtainMessage(int what) { in obtainMessage() method in StateMachine
1647 public final Message obtainMessage(int what, Object obj) { in obtainMessage() method in StateMachine
1664 public final Message obtainMessage(int what, int arg1) { in obtainMessage() method in StateMachine
1684 public final Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() method in StateMachine
1704 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage() method in StateMachine
[all …]
/frameworks/base/telephony/java/android/telephony/
DNetworkService.java125 mHandler.obtainMessage(NETWORK_SERVICE_INDICATION_NETWORK_INFO_CHANGED, in notifyNetworkRegistrationInfoChanged()
259 mHandler.obtainMessage(NETWORK_SERVICE_REMOVE_ALL_NETWORK_SERVICE_PROVIDERS, 0, in onUnbind()
280 mHandler.obtainMessage(NETWORK_SERVICE_CREATE_NETWORK_SERVICE_PROVIDER, slotIndex, in createNetworkServiceProvider()
286 mHandler.obtainMessage(NETWORK_SERVICE_REMOVE_NETWORK_SERVICE_PROVIDER, slotIndex, in removeNetworkServiceProvider()
293 mHandler.obtainMessage(NETWORK_SERVICE_GET_REGISTRATION_INFO, slotIndex, in requestNetworkRegistrationInfo()
300 mHandler.obtainMessage(NETWORK_SERVICE_REGISTER_FOR_INFO_CHANGE, slotIndex, in registerForNetworkRegistrationInfoChanged()
307 mHandler.obtainMessage(NETWORK_SERVICE_UNREGISTER_FOR_INFO_CHANGE, slotIndex, in unregisterForNetworkRegistrationInfoChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java329 new Object[]{RIL_REQUEST_GET_SIM_STATUS, obtainMessage(), new WorkSource()}); in testRadioErrorWithWakelockTimeout()
342 mRILUnderTest.getIccCardStatus(obtainMessage()); in testRadioErrorWithContinuousSystemErr()
355 mRILUnderTest.getIccCardStatus(obtainMessage()); in testGetIccCardStatus()
366 mRILUnderTest.supplyIccPinForApp(pin, aid, obtainMessage()); in testSupplyIccPinForApp()
377 mRILUnderTest.supplyIccPukForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPukForApp()
388 mRILUnderTest.supplyIccPin2ForApp(pin, aid, obtainMessage()); in testSupplyIccPin2ForApp()
401 mRILUnderTest.supplyIccPuk2ForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPuk2ForApp()
414 mRILUnderTest.changeIccPinForApp(oldPin, newPin, aid, obtainMessage()); in testChangeIccPinForApp()
427 mRILUnderTest.changeIccPin2ForApp(oldPin2, newPin2, aid, obtainMessage()); in testChangeIccPin2ForApp()
438 mRILUnderTest.supplyNetworkDepersonalization(netpin, obtainMessage()); in testSupplyNetworkDepersonalization()
[all …]

12345678910>>...20