Home
last modified time | relevance | path

Searched refs:getHandler (Results 1 – 25 of 255) sorted by relevance

1234567891011

/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java1186 record.getHandler().post(new Runnable() { in setState()
1207 record.getHandler().post(new Runnable() { in setDisconnected()
1226 record.getHandler().post(new Runnable() { in setRingbackRequested()
1244 record.getHandler().post(new Runnable() { in setConnectionCapabilities()
1261 record.getHandler().post(new Runnable() { in setConnectionProperties()
1284 record.getHandler().post(new Runnable() { in setDestroyed()
1304 record.getHandler().post(new Runnable() { in setPostDialWait()
1320 record.getHandler().post(new Runnable() { in onPostDialChar()
1337 record.getHandler().post(new Runnable() { in setVideoState()
1354 record.getHandler().post(new Runnable() { in setVideoProvider()
[all …]
DRemoteConference.java170 record.getHandler().post(new Runnable() { in setDestroyed()
195 record.getHandler().post(new Runnable() { in setState()
213 record.getHandler().post(new Runnable() { in addConnection()
231 record.getHandler().post(new Runnable() { in removeConnection()
248 record.getHandler().post(new Runnable() { in setConnectionCapabilities()
266 record.getHandler().post(new Runnable() { in setConnectionProperties()
284 record.getHandler().post(new Runnable() { in setConferenceableConnections()
302 record.getHandler().post(new Runnable() { in setDisconnected()
341 record.getHandler().post(new Runnable() { in notifyExtrasChanged()
DCall.java2461 record.getHandler().post(() -> callback.onRttRequest(call, requestId)); in internalOnRttUpgradeRequest()
2470 record.getHandler().post(() -> callback.onRttInitiationFailure(call, reason)); in internalOnRttInitiationFailure()
2479 record.getHandler().post(() -> callback.onHandoverFailed(call, error)); in internalOnHandoverFailed()
2488 record.getHandler().post(() -> callback.onHandoverComplete(call)); in internalOnHandoverComplete()
2496 record.getHandler().post(new Runnable() { in fireStateChanged()
2509 record.getHandler().post(new Runnable() { in fireParentChanged()
2522 record.getHandler().post(new Runnable() { in fireChildrenChanged()
2535 record.getHandler().post(new Runnable() { in fireDetailsChanged()
2548 record.getHandler().post(new Runnable() { in fireCannedTextResponsesLoaded()
2561 record.getHandler().post(new Runnable() { in fireVideoCallChanged()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java232 Message msg = getHandler().obtainMessage(CAMERA_ERROR, in onDeviceError()
235 getHandler().sendMessage(msg); in onDeviceError()
240 Message msg = getHandler().obtainMessage(CAMERA_IDLE); in onDeviceIdle()
241 getHandler().sendMessage(msg); in onDeviceIdle()
246 Message msg = getHandler().obtainMessage(CAPTURE_STARTED, in onCaptureStarted()
250 getHandler().sendMessage(msg); in onCaptureStarted()
258 Message msg = getHandler().obtainMessage(RESULT_RECEIVED, in onResultReceived()
260 getHandler().sendMessage(msg); in onResultReceived()
265 Message msg = getHandler().obtainMessage(PREPARED, in onPrepared()
267 getHandler().sendMessage(msg); in onPrepared()
[all …]
DGLThreadManager.java173 Handler handler = mGLHandlerThread.getHandler(); in quit()
190 Handler handler = mGLHandlerThread.getHandler(); in queueNewFrame()
214 Handler handler = mGLHandlerThread.getHandler(); in setConfigurationAndWait()
248 mGLHandlerThread.getHandler().sendEmptyMessage(MSG_DROP_FRAMES); in ignoreNewFrames()
262 mGLHandlerThread.getHandler().sendEmptyMessage(MSG_ALLOW_FRAMES); in allowNewFrames()
DRequestHandlerThread.java57 public Handler getHandler() { in getHandler() method in RequestHandlerThread
64 return getHandler(); in waitAndGetHandler()
/frameworks/base/core/java/android/os/
DRegistrant.java76 Handler h = getHandler(); in internalNotifyRegistrant()
97 Handler h = getHandler(); in messageForRegistrant()
115 getHandler() in getHandler() method in Registrant
/frameworks/base/core/java/android/app/
DQueuedWork.java102 private static Handler getHandler() { in getHandler() method in QueuedWork
158 Handler handler = getHandler(); in waitToFinish()
222 Handler handler = getHandler(); in queue()
259 getHandler().removeMessages(QueuedWorkHandler.MSG_RUN); in processPendingWork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractUptimePreferenceController.java59 getHandler().sendEmptyMessage(EVENT_UPDATE_STATS); in onStart()
64 getHandler().removeMessages(EVENT_UPDATE_STATS); in onStop()
84 private Handler getHandler() { in getHandler() method in AbstractUptimePreferenceController
DAbstractConnectivityPreferenceController.java46 getHandler().sendEmptyMessage(EVENT_UPDATE_CONNECTIVITY);
83 private Handler getHandler() { in getHandler() method in AbstractConnectivityPreferenceController
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java342 if (mGsmSmsRegistrant != null && mGsmSmsRegistrant.getHandler() == h) { in unSetOnNewGsmSms()
355 if (mCdmaSmsRegistrant != null && mCdmaSmsRegistrant.getHandler() == h) { in unSetOnNewCdmaSms()
368 if (mGsmBroadcastSmsRegistrant != null && mGsmBroadcastSmsRegistrant.getHandler() == h) { in unSetOnNewGsmBroadcastSms()
381 if (mSmsOnSimRegistrant != null && mSmsOnSimRegistrant.getHandler() == h) { in unSetOnSmsOnSim()
394 if (mSmsStatusRegistrant != null && mSmsStatusRegistrant.getHandler() == h) { in unSetOnSmsStatus()
407 if (mSignalStrengthRegistrant != null && mSignalStrengthRegistrant.getHandler() == h) { in unSetOnSignalStrengthUpdate()
420 if (mNITZTimeRegistrant != null && mNITZTimeRegistrant.getHandler() == h) { in unSetOnNITZTime()
433 if (mUSSDRegistrant != null && mUSSDRegistrant.getHandler() == h) { in unSetOnUSSD()
446 if (mSsnRegistrant != null && mSsnRegistrant.getHandler() == h) { in unSetOnSuppServiceNotification()
459 if (mCatSessionEndRegistrant != null && mCatSessionEndRegistrant.getHandler() == h) { in unSetOnCatSessionEnd()
[all …]
DNetworkTypeController.java174 mPhone.registerForRadioOffOrNotAvailable(getHandler(), in registerForAllEvents()
176 mPhone.registerForPreferredNetworkTypeChanged(getHandler(), in registerForAllEvents()
179 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, getHandler(), in registerForAllEvents()
182 .registerForPhysicalLinkStateChanged(getHandler(), in registerForAllEvents()
184 mPhone.getServiceStateTracker().registerForNrStateChanged(getHandler(), in registerForAllEvents()
186 mPhone.getServiceStateTracker().registerForNrFrequencyChanged(getHandler(), in registerForAllEvents()
188 mPhone.getDeviceStateMonitor().registerForPhysicalChannelConfigNotifChanged(getHandler(), in registerForAllEvents()
196 mPhone.unregisterForRadioOffOrNotAvailable(getHandler()); in unRegisterForAllEvents()
197 mPhone.unregisterForPreferredNetworkTypeChanged(getHandler()); in unRegisterForAllEvents()
199 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, getHandler()); in unRegisterForAllEvents()
[all …]
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java159 Watchdog.getInstance().addThread(getHandler(), HANDLER_THREAD_TIMEOUT_DURATION_MILLIS); in RollbackManagerServiceImpl()
186 getHandler().post(() -> { in RollbackManagerServiceImpl()
205 }, enableRollbackFilter, null, getHandler()); in RollbackManagerServiceImpl()
226 }, enableRollbackTimedOutFilter, null, getHandler()); in RollbackManagerServiceImpl()
240 }, userAddedIntentFilter, null, getHandler()); in RollbackManagerServiceImpl()
253 .registerSessionCallback(new SessionCallback(), getHandler()); in registerUserCallbacks()
272 }, filter, null, getHandler()); in registerUserCallbacks()
315 getHandler().post(() -> in commitRollback()
341 null /* broadcastPermission */, getHandler()); in registerTimeChangeReceiver()
437 getHandler().post(() -> { in commitRollbackInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java126 DumpUtils.dumpAsync(getHandler(), mDisplayController, ipw, "", 200); in dumpLocked()
136 getHandler().post(new Runnable() { in registerLocked()
140 getContext(), getHandler(), mWifiDisplayListener); in registerLocked()
153 getHandler().post(new Runnable() { in requestStartScanLocked()
168 getHandler().post(new Runnable() { in requestStopScanLocked()
183 getHandler().post(new Runnable() { in requestConnectLocked()
198 getHandler().post(new Runnable() { in requestPauseLocked()
213 getHandler().post(new Runnable() { in requestResumeLocked()
228 getHandler().post(new Runnable() { in requestDisconnectLocked()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java84 FgThread.getHandler().postDelayed(() -> { in close()
142 FgThread.getHandler().removeCallbacksAndMessages(IDMAP_TOKEN); in connect()
170 FgThread.getHandler().postAtFrontOfQueue(bindIdmap); in connect()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java120 mOsuNetworkConnection.init(mProvisioningStateMachine.getHandler()); in init()
122 mProvisioningStateMachine.getHandler().post(() -> { in init()
156 mProvisioningStateMachine.getHandler().post(() -> { in startSubscriptionProvisioning()
208 public Handler getHandler() { in getHandler() method in PasspointProvisioner.ProvisioningStateMachine
324 mProvisioningStateMachine.getHandler().post(() -> initSoapExchange()); in handleServerConnectionStatus()
764 mProvisioningStateMachine.getHandler().post(() -> handleRedirectResponse()); in launchOsuWebView()
1116 mProvisioningStateMachine.getHandler().post(() -> in onServerConnectionStatus()
1131 mProvisioningStateMachine.getHandler().post(() -> { in onServerValidationStatus()
1135 mProvisioningStateMachine.getHandler().post(() -> { in onServerValidationStatus()
1153 mProvisioningStateMachine.getHandler().post(() -> in onReceivedSoapMessage()
[all …]
/frameworks/base/core/java/android/widget/
DTextClock.java195 getHandler().postAtTime(mTicker, next);
519 if (hadSeconds) getHandler().removeCallbacks(mTicker); in chooseFormat()
564 getHandler().removeCallbacks(mTicker); in onVisibilityAggregated()
604 filter, null, getHandler()); in registerReceiver()
610 mFormatChangeObserver = new FormatChangeObserver(getHandler()); in registerObserver()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java303 mMonitorChecker = new HandlerChecker(FgThread.getHandler(), in Watchdog()
311 mHandlerCheckers.add(new HandlerChecker(UiThread.getHandler(), in Watchdog()
314 mHandlerCheckers.add(new HandlerChecker(IoThread.getHandler(), in Watchdog()
317 mHandlerCheckers.add(new HandlerChecker(DisplayThread.getHandler(), in Watchdog()
320 mHandlerCheckers.add(new HandlerChecker(AnimationThread.getHandler(), in Watchdog()
323 mHandlerCheckers.add(new HandlerChecker(SurfaceAnimationThread.getHandler(), in Watchdog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java143 ? new DcTesterDeactivateAll(mPhone, DcController.this, getHandler()) in DcController()
210 mPhone.mCi.registerForRilConnected(getHandler(), in enter()
214 mDataServiceManager.registerForDataCallListChanged(getHandler(), in enter()
222 mPhone.mCi.unregisterForRilConnected(getHandler()); in exit()
224 mDataServiceManager.unregisterForDataCallListChanged(getHandler()); in exit()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java85 SurfaceAnimationThread.getHandler().runWithScissors(() -> mChoreographer = getSfInstance(), in SurfaceAnimationRunner()
152 SurfaceAnimationThread.getHandler().post(() -> { in onAnimationCancelled()
211 AnimationThread.getHandler().post(a.mFinishCallback); in startAnimationLocked()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsSystemUser.java84 ForegroundThread.getHandler().post(() -> { in updateRecentsVisibility()
91 ForegroundThread.getHandler().post(() -> { in startScreenPinning()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java146 when(mSwipeHelper.getHandler()).thenReturn(mHandler); in testOnDownUpdate_ExpandableNotificationRow()
162 when(mSwipeHelper.getHandler()).thenReturn(mHandler); in testOnDownUpdate_notExpandableNotificationRow()
179 when(mSwipeHelper.getHandler()).thenReturn(mHandler); in testOnMoveUpdate_menuRow()
190 when(mSwipeHelper.getHandler()).thenReturn(mHandler); in testOnMoveUpdate_noMenuRow()
338 doReturn(mHandler).when(mSwipeHelper).getHandler(); in onMenuShown_noAntiFalsing()
356 doReturn(mHandler).when(mSwipeHelper).getHandler(); in onMenuShown_antiFalsing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java56 getHandler().post(() -> mDateFormat = null);
58 getHandler().post(() -> updateClock());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java97 protected Handler getHandler() { return mHandler; } in getHandler() method in NotificationSwipeHelper
124 getHandler().removeCallbacks(getFalsingCheck()); in onDownUpdate()
151 getHandler().removeCallbacks(getFalsingCheck()); in onMoveUpdate()
383 Handler handler = getHandler(); in onMenuShown()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java84 getHandler().sendMessage(mHandler.obtainMessage(MSG_REGISTER, requestInfo)); in register()
94 getHandler().sendMessage(mHandler.obtainMessage(MSG_UNREGISTER, callingUid, 0 /* ignore */, in unregister()
109 getHandler().sendMessage(mHandler.obtainMessage(MSG_UPDATE_STATS, statsContext)); in updateStats()
112 private Handler getHandler() { in getHandler() method in NetworkStatsObservers

1234567891011