Home
last modified time | relevance | path

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

12345678910>>...19

/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/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/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java365 mHandler.obtainMessage(MSG_HANDLE_CREATE_CONNECTION_COMPLETE, args).sendToTarget();
370 mHandler.obtainMessage(MSG_SET_ACTIVE, connectionId).sendToTarget();
375 mHandler.obtainMessage(MSG_SET_RINGING, connectionId).sendToTarget();
380 mHandler.obtainMessage(MSG_SET_DIALING, connectionId).sendToTarget();
385 mHandler.obtainMessage(MSG_SET_PULLING, connectionId).sendToTarget();
394 mHandler.obtainMessage(MSG_SET_DISCONNECTED, args).sendToTarget();
399 mHandler.obtainMessage(MSG_SET_ON_HOLD, connectionId).sendToTarget();
405 mHandler.obtainMessage(MSG_SET_RINGBACK_REQUESTED, ringback ? 1 : 0, 0, connectionId)
412 mHandler.obtainMessage(
420 mHandler.obtainMessage(
[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();
DInCallService.java295 mHandler.obtainMessage(MSG_SET_IN_CALL_ADAPTER, inCallAdapter).sendToTarget(); in setInCallAdapter()
300 mHandler.obtainMessage(MSG_ADD_CALL, call).sendToTarget(); in addCall()
305 mHandler.obtainMessage(MSG_UPDATE_CALL, call).sendToTarget(); in updateCall()
318 mHandler.obtainMessage(MSG_SET_POST_DIAL_WAIT, args).sendToTarget(); in setPostDialWait()
323 mHandler.obtainMessage(MSG_ON_CALL_AUDIO_STATE_CHANGED, callAudioState).sendToTarget(); in onCallAudioStateChanged()
328 mHandler.obtainMessage(MSG_BRING_TO_FOREGROUND, showDialpad ? 1 : 0, 0).sendToTarget(); in bringToForeground()
333 mHandler.obtainMessage(MSG_ON_CAN_ADD_CALL_CHANGED, canAddCall ? 1 : 0, 0) in onCanAddCallChanged()
339 mHandler.obtainMessage(MSG_SILENCE_RINGER).sendToTarget(); in silenceRinger()
348 mHandler.obtainMessage(MSG_ON_CONNECTION_EVENT, args).sendToTarget(); in onConnectionEvent()
353 mHandler.obtainMessage(MSG_ON_RTT_UPGRADE_REQUEST, id, 0, callId).sendToTarget(); in onRttUpgradeRequest()
[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.java311 final Message msg = mHandler.obtainMessage(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged()
320 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG, in notifyActivityPinned()
330 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned()
343 mHandler.obtainMessage(NOTIFY_PINNED_ACTIVITY_RESTART_ATTEMPT_LISTENERS_MSG, in notifyPinnedActivityRestartAttempt()
353 mHandler.obtainMessage(NOTIFY_PINNED_STACK_ANIMATION_STARTED_LISTENERS_MSG); in notifyPinnedStackAnimationStarted()
362 mHandler.obtainMessage(NOTIFY_PINNED_STACK_ANIMATION_ENDED_LISTENERS_MSG); in notifyPinnedStackAnimationEnded()
369 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_DISMISSING_DOCKED_STACK_MSG); in notifyActivityDismissingDockedStack()
376 final Message msg = mHandler.obtainMessage(NOTIFY_FORCED_RESIZABLE_MSG, taskId, reason, in notifyActivityForcedResizable()
384 final Message msg = mHandler.obtainMessage( in notifyActivityLaunchOnSecondaryDisplayFailed()
393 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.java124 mProviderHandler.obtainMessage(MSG_SET_CALLBACK, callback).sendToTarget(); in setCallback()
131 mProviderHandler.obtainMessage(MSG_SET_CAMERA, args).sendToTarget(); in setCamera()
135 mProviderHandler.obtainMessage(MSG_SET_PREVIEW_SURFACE, surface).sendToTarget(); in setPreviewSurface()
139 mProviderHandler.obtainMessage(MSG_SET_DISPLAY_SURFACE, surface).sendToTarget(); in setDisplaySurface()
143 mProviderHandler.obtainMessage(MSG_SET_DEVICE_ORIENTATION, rotation, 0).sendToTarget(); in setDeviceOrientation()
147 mProviderHandler.obtainMessage(MSG_SET_ZOOM, value).sendToTarget(); in setZoom()
154 mProviderHandler.obtainMessage(MSG_SEND_SESSION_MODIFY_REQUEST, args).sendToTarget(); in sendSessionModifyRequest()
158 mProviderHandler.obtainMessage( in sendSessionModifyResponse()
163 mProviderHandler.obtainMessage(MSG_REQUEST_CAMERA_CAPABILITIES).sendToTarget(); in requestCameraCapabilities()
167 mProviderHandler.obtainMessage(MSG_REQUEST_CALL_DATA_USAGE).sendToTarget(); in requestCallDataUsage()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java624 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testDataSetup()
628 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testDataSetup()
657 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_ENABLED_CHANGED, ar)); in testDataRetry()
672 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testDataRetry()
676 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testDataRetry()
738 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testUserDisableData()
742 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testUserDisableData()
757 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_ENABLED_CHANGED, ar)); in testUserDisableData()
779 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testTrySetupDataMmsAllowedDataDisabled()
783 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testTrySetupDataMmsAllowedDataDisabled()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java319 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete)); in setMsisdnNumber()
376 obtainMessage(EVENT_SET_MBDN_DONE, onComplete)); in setVoiceMailNumber()
382 obtainMessage(EVENT_SET_CPHS_MAILBOX_DONE, onComplete)); in setVoiceMailNumber()
431 obtainMessage (EVENT_UPDATE_DONE, EF_MWIS, 0)); in setVoiceMessageWaiting()
440 obtainMessage (EVENT_UPDATE_DONE, EF_VOICE_MAIL_INDICATOR_CPHS)); in setVoiceMessageWaiting()
546 obtainMessage (EVENT_UPDATE_DONE, EF_CFIS)); in setVoiceCallForwardingFlag()
563 obtainMessage (EVENT_UPDATE_DONE, EF_CFF_CPHS)); in setVoiceCallForwardingFlag()
680 mMailboxIndex, obtainMessage(EVENT_GET_MBDN_DONE)); in handleMessage()
686 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
719 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java144 obtainMessage(MSG_SUBS_CHANGED, subs).sendToTarget(); in setSubs()
149 obtainMessage(MSG_NO_SIM_VISIBLE_CHANGED, show ? 1 : 0, simDetected ? 1 : 0).sendToTarget(); in setNoSims()
154 obtainMessage(MSG_MOBILE_DATA_ENABLED_CHANGED, enabled ? 1 : 0, 0).sendToTarget(); in setMobileDataEnabled()
159 obtainMessage(MSG_EMERGENCE_CHANGED, emergencyOnly ? 1 : 0, 0).sendToTarget(); in setEmergencyCallsOnly()
164 obtainMessage(MSG_ETHERNET_CHANGED, icon).sendToTarget();; in setEthernetIndicators()
169 obtainMessage(MSG_AIRPLANE_MODE_CHANGED, icon).sendToTarget();; in setIsAirplaneMode()
173 obtainMessage(MSG_ADD_REMOVE_EMERGENCY, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
177 obtainMessage(MSG_ADD_REMOVE_SIGNAL, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardApplicationTest.java124 Message mCardAppUpdate = mHandler.obtainMessage(UICCCARDAPP_UPDATE_EVENT); in testGetSetAppType()
138 Message mCardAppUpdate = mHandler.obtainMessage(UICCCARDAPP_UPDATE_EVENT); in testGetSetAppState()
152 Message mFDNenabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_FDN_EVENT); in testGetSetIccFdnEnabled()
160 mFDNenabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_FDN_EVENT); in testGetSetIccFdnEnabled()
171 Message mLockEnabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_LOCK_EVENT); in testGetSetIccLockedEnabled()
177 mLockEnabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_LOCK_EVENT); in testGetSetIccLockedEnabled()
188 Message mChangePsw = mHandler.obtainMessage(UICCCARDAPP_CHANGE_PSW_EVENT); in testChangeIccLockPassword()
202 Message mSupplyPin = mHandler.obtainMessage(UICCCARDAPP_SUPPLY_PIN_EVENT); in testSupplyPin()
211 mSupplyPin = mHandler.obtainMessage(UICCCARDAPP_SUPPLY_PIN_EVENT); in testSupplyPin()
221 mSupplyPin = mHandler.obtainMessage(UICCCARDAPP_SUPPLY_PIN_EVENT); in testSupplyPin()
DUiccProfileTest.java221 Message mProfileUpdate = mHandler.obtainMessage(UICCPROFILE_UPDATE_APPLICATION_EVENT); in testUpdateUiccProfileApplication()
242 Message mCardUpdate = mHandler.obtainMessage(UICCPROFILE_UPDATE_PROFILE_EVENT); in testUpdateUiccProfile()
306 Message mProfileUpdate = mHandler.obtainMessage(UICCPROFILE_UPDATE_APPLICATION_EVENT); in testUpdateUiccProfileApplicationNotReady()
317 mUiccProfile.mHandler.obtainMessage(UiccProfile.EVENT_APP_READY)); in testUpdateUiccProfileApplicationNotReady()
339 Message mProfileUpdate = mHandler.obtainMessage(UICCPROFILE_UPDATE_APPLICATION_EVENT); in testUpdateUiccProfileApplicationAllReady()
350 mUiccProfile.mHandler.obtainMessage(UiccProfile.EVENT_APP_READY)); in testUpdateUiccProfileApplicationAllReady()
374 Message mProfileUpdate = mHandler.obtainMessage(UICCPROFILE_UPDATE_APPLICATION_EVENT); in testUpdateUiccProfileApplicationAllSupportedAppsReady()
385 mUiccProfile.mHandler.obtainMessage(UiccProfile.EVENT_APP_READY)); in testUpdateUiccProfileApplicationAllSupportedAppsReady()
413 Message mProfileUpdate = mHandler.obtainMessage(UICCPROFILE_UPDATE_APPLICATION_EVENT); in testUpdateUiccProfileApplicationWithDuplicateApps()
424 mUiccProfile.mHandler.obtainMessage(UiccProfile.EVENT_APP_READY)); in testUpdateUiccProfileApplicationWithDuplicateApps()
[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/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java320 new Object[]{RIL_REQUEST_GET_SIM_STATUS, obtainMessage(), new WorkSource()}); in testRadioErrorWithWakelockTimeout()
333 mRILUnderTest.getIccCardStatus(obtainMessage()); in testRadioErrorWithContinuousSystemErr()
346 mRILUnderTest.getIccCardStatus(obtainMessage()); in testGetIccCardStatus()
357 mRILUnderTest.supplyIccPinForApp(pin, aid, obtainMessage()); in testSupplyIccPinForApp()
368 mRILUnderTest.supplyIccPukForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPukForApp()
379 mRILUnderTest.supplyIccPin2ForApp(pin, aid, obtainMessage()); in testSupplyIccPin2ForApp()
392 mRILUnderTest.supplyIccPuk2ForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPuk2ForApp()
405 mRILUnderTest.changeIccPinForApp(oldPin, newPin, aid, obtainMessage()); in testChangeIccPinForApp()
418 mRILUnderTest.changeIccPin2ForApp(oldPin2, newPin2, aid, obtainMessage()); in testChangeIccPin2ForApp()
429 mRILUnderTest.supplyNetworkDepersonalization(netpin, obtainMessage()); in testSupplyNetworkDepersonalization()
[all …]

12345678910>>...19