/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | RadioOnStateListenerTest.java | 76 mListener.getHandler().removeCallbacksAndMessages(null); in tearDown() 78 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS /* ms timeout */); in tearDown() 90 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testRegisterForCallback() 111 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testRegisterForSatelliteCallback() 131 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() 133 mListener.getHandler().obtainMessage(RadioOnStateListener.MSG_SERVICE_STATE_CHANGED, in testPhoneChangeState_OkToCallTrue() 136 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() 154 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testSatelliteChangeState_OkToCallTrue() 156 mListener.getHandler().obtainMessage(RadioOnStateListener.MSG_SATELLITE_ENABLED_CHANGED) in testSatelliteChangeState_OkToCallTrue() 159 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testSatelliteChangeState_OkToCallTrue() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | HandlerThreadingDomain.java | 50 Handler getHandler() { in getHandler() method in HandlerThreadingDomain 56 return getHandler().getLooper().getThread(); in getThread() 61 getHandler().post(r); in post() 98 getHandler().postDelayed(r, delayMillis); in postDelayed() 103 getHandler().postDelayed(r, token, delayMillis); in postDelayed() 108 getHandler().removeCallbacksAndMessages(token); in removeQueuedRunnables()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsEnablementTrackerTest.java | 111 mHandler = mTracker.getHandler(SLOT_1); in testEnableCommandInDefaultState() 128 mHandler = mTracker.getHandler(SLOT_1); in testDisableCommandInDefaultState() 144 mHandler = mTracker.getHandler(SLOT_1); in testResetCommandInDefaultState() 164 mHandler = mTracker.getHandler(SLOT_1); in testEnableCommandInEnabledState() 181 mHandler = mTracker.getHandler(SLOT_1); in testDisableCommandInEnabledState() 198 mHandler = mTracker.getHandler(SLOT_1); in testResetCommandInEnabledState() 220 mHandler = mTracker.getHandler(SLOT_1); in testDisableCommandInDisabledState() 237 mHandler = mTracker.getHandler(SLOT_1); in testEnableCommandInDisabledState() 255 mHandler = mTracker.getHandler(SLOT_1); in testEnableCommandWithoutTimeoutInDisableState() 272 mHandler = mTracker.getHandler(SLOT_1); in testResetCommandInDisabledState() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | RemoteConnection.java | 1307 record.getHandler().post(new Runnable() { in setState() 1328 record.getHandler().post(new Runnable() { in setDisconnected() 1347 record.getHandler().post(new Runnable() { in setRingbackRequested() 1365 record.getHandler().post(new Runnable() { in setConnectionCapabilities() 1382 record.getHandler().post(new Runnable() { in setConnectionProperties() 1405 record.getHandler().post(new Runnable() { in setDestroyed() 1425 record.getHandler().post(new Runnable() { in setPostDialWait() 1441 record.getHandler().post(new Runnable() { in onPostDialChar() 1458 record.getHandler().post(new Runnable() { in setVideoState() 1475 record.getHandler().post(new Runnable() { in setVideoProvider() [all …]
|
D | RemoteConference.java | 178 record.getHandler().post(new Runnable() { in setDestroyed() 203 record.getHandler().post(new Runnable() { in setState() 221 record.getHandler().post(new Runnable() { in addConnection() 239 record.getHandler().post(new Runnable() { in removeConnection() 256 record.getHandler().post(new Runnable() { in setConnectionCapabilities() 274 record.getHandler().post(new Runnable() { in setConnectionProperties() 292 record.getHandler().post(new Runnable() { in setConferenceableConnections() 310 record.getHandler().post(new Runnable() { in setDisconnected() 349 record.getHandler().post(new Runnable() { in notifyExtrasChanged()
|
D | Call.java | 2651 record.getHandler().post(() -> callback.onRttRequest(call, requestId)); in internalOnRttUpgradeRequest() 2660 record.getHandler().post(() -> callback.onRttInitiationFailure(call, reason)); in internalOnRttInitiationFailure() 2669 record.getHandler().post(() -> callback.onHandoverFailed(call, error)); in internalOnHandoverFailed() 2678 record.getHandler().post(() -> callback.onHandoverComplete(call)); in internalOnHandoverComplete() 2686 record.getHandler().post(new Runnable() { in fireStateChanged() 2699 record.getHandler().post(new Runnable() { in fireParentChanged() 2712 record.getHandler().post(new Runnable() { in fireChildrenChanged() 2725 record.getHandler().post(new Runnable() { in fireDetailsChanged() 2738 record.getHandler().post(new Runnable() { in fireCannedTextResponsesLoaded() 2751 record.getHandler().post(new Runnable() { in fireVideoCallChanged() [all …]
|
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | InkView.java | 135 if (getHandler() != null) { in cancelTimer() 136 getHandler().removeCallbacks(mFinishRunnable); in cancelTimer() 140 if (getHandler() != null) { in cancelTimer() 141 getHandler().removeCallbacksAndMessages(null); in cancelTimer() 147 if (getHandler() != null) { in scheduleTimer()
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | QuotaTracker.java | 166 mInQuotaAlarmQueue = new InQuotaAlarmQueue(mContext, FgThread.getHandler().getLooper()); in QuotaTracker() 172 BackgroundThread.getHandler()); in QuotaTracker() 175 BackgroundThread.getHandler()); in QuotaTracker() 310 abstract Handler getHandler(); in getHandler() method in QuotaTracker 318 FgThread.getHandler().post(() -> { in scheduleAlarm() 320 mAlarmManager.set(type, triggerAtMillis, tag, listener, getHandler()); in scheduleAlarm() 332 FgThread.getHandler().post(() -> { in cancelAlarm() 352 BackgroundThread.getHandler().post(() -> { in scheduleQuotaCheck() 395 BackgroundThread.getHandler().post(() -> { in postQuotaStatusChanged() 472 getHandler().post( in processExpiredAlarms()
|
/frameworks/base/core/java/android/os/ |
D | Registrant.java | 76 Handler h = getHandler(); in internalNotifyRegistrant() 97 Handler h = getHandler(); in messageForRegistrant() 115 getHandler() in getHandler() method in Registrant
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 198 Watchdog.getInstance().addThread(getHandler(), HANDLER_THREAD_TIMEOUT_DURATION_MILLIS); in RollbackManagerServiceImpl() 199 mExecutor = new HandlerExecutor(getHandler()); in RollbackManagerServiceImpl() 202 getHandler().post(() -> { in RollbackManagerServiceImpl() 245 getHandler().post(() -> { in RollbackManagerServiceImpl() 259 }, enableRollbackFilter, null, getHandler()); in RollbackManagerServiceImpl() 282 }, enableRollbackTimedOutFilter, null, getHandler()); in RollbackManagerServiceImpl() 306 }, userIntentFilter, null, getHandler()); in RollbackManagerServiceImpl() 330 Preconditions.checkState(getHandler().getLooper().isCurrentThread()); in assertInWorkerThread() 334 Preconditions.checkState(!getHandler().getLooper().isCurrentThread()); in assertNotInWorkerThread() 346 .registerSessionCallback(new SessionCallback(), getHandler()); in registerUserCallbacks() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | StationaryThrottlingLocationProvider.java | 127 FgThread.getHandler().removeCallbacks(mDeliverLastLocationCallback); in onStop() 226 FgThread.getHandler().removeCallbacks(mDeliverLastLocationCallback); in onThrottlingChangedLocked() 233 FgThread.getHandler().post(mDeliverLastLocationCallback); in onThrottlingChangedLocked() 236 FgThread.getHandler().postDelayed(mDeliverLastLocationCallback, delayMs); in onThrottlingChangedLocked() 246 FgThread.getHandler().removeCallbacks(mDeliverLastLocationCallback); in onThrottlingChangedLocked() 301 FgThread.getHandler().postDelayed(this, mThrottlingIntervalMs); in run()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractUptimePreferenceController.java | 59 getHandler().sendEmptyMessage(EVENT_UPDATE_STATS); in onStart() 64 getHandler().removeMessages(EVENT_UPDATE_STATS); in onStop() 84 private Handler getHandler() { in getHandler() method in AbstractUptimePreferenceController
|
D | AbstractConnectivityPreferenceController.java | 46 getHandler().sendEmptyMessage(EVENT_UPDATE_CONNECTIVITY); 84 private Handler getHandler() { in getHandler() method in AbstractConnectivityPreferenceController
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 104 private static Handler getHandler() { in getHandler() method in QueuedWork 143 getHandler().removeMessages(what); in handlerRemoveMessages() 192 hadMessages = getHandler().hasMessages(QueuedWorkHandler.MSG_RUN); in waitToFinish() 250 Handler handler = getHandler(); in queue()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnimationThread.java | 54 public static Handler getHandler() { in getHandler() method in AnimationThread 72 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
|
D | DisplayThread.java | 57 public static Handler getHandler() { in getHandler() method in DisplayThread 75 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
|
D | UiThread.java | 67 public static Handler getHandler() { in getHandler() method in UiThread 85 getHandler().runWithScissors(sInstance::quit, 0 /* timeout */); in dispose()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimationThread.java | 54 public static Handler getHandler() { in getHandler() method in SurfaceAnimationThread 72 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/ |
D | DeviceCapabilityListenerTest.java | 136 Handler handler = deviceCapListener.getHandler(); in testTtyPreferredModeChange() 153 Handler handler = deviceCapListener.getHandler(); in testMmtelRegistration() 184 Handler handler = deviceCapListener.getHandler(); in testRcsRegistration() 203 Handler handler = deviceCapListener.getHandler(); in testMmtelCapabilityChange() 225 Handler handler = deviceCapListener.getHandler(); in testImsUnregistration() 259 Handler handler = deviceCapListener.getHandler(); in testRcsAndMmtelUnregistration() 288 Handler handler = deviceCapListener.getHandler(); in testUnregisterRcsOnlyFromImsRegistration()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayAdapter.java | 139 DumpUtils.dumpAsync(getHandler(), mDisplayController, ipw, "", 200); in dumpLocked() 149 getHandler().post(new Runnable() { in registerLocked() 153 getContext(), getHandler(), mWifiDisplayListener); in registerLocked() 167 getHandler().post(new Runnable() { in requestStartScanLocked() 182 getHandler().post(new Runnable() { in requestStopScanLocked() 197 getHandler().post(new Runnable() { in requestConnectLocked() 212 getHandler().post(new Runnable() { in requestPauseLocked() 227 getHandler().post(new Runnable() { in requestResumeLocked() 242 getHandler().post(new Runnable() { in requestDisconnectLocked()
|
D | ExternalDisplayStatsService.java | 158 mInjector.getHandler().removeCallbacks(mLogStateAfterAudioSinkEnabled); 159 mInjector.getHandler().removeCallbacks(mLogStateAfterAudioSinkDisabled); 163 mInjector.getHandler().postDelayed(callback, /*delayMillis=*/ 10000L); 165 mInjector.getHandler().post(callback); 303 mInjector.getHandler().post(() -> { in scheduleInit() 320 mInjector.getHandler().post(() -> { in scheduleDeinit() 652 Handler getHandler() { in getHandler() method in ExternalDisplayStatsService.Injector
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssManagerService.java | 369 FgThread.getHandler().post(() -> getGeofenceHardware().reportGeofenceTransition( in onReportGeofenceTransition() 377 FgThread.getHandler().post(() -> { in onReportGeofenceStatus() 392 FgThread.getHandler().post(() -> getGeofenceHardware().reportGeofenceAddStatus( in onReportGeofenceAddStatus() 398 FgThread.getHandler().post(() -> getGeofenceHardware().reportGeofenceRemoveStatus( in onReportGeofenceRemoveStatus() 404 FgThread.getHandler().post(() -> getGeofenceHardware().reportGeofencePauseStatus( in onReportGeofencePauseStatus() 410 FgThread.getHandler().post(() -> getGeofenceHardware().reportGeofenceResumeStatus( in onReportGeofenceResumeStatus()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BaseCommands.java | 378 if (mGsmSmsRegistrant != null && mGsmSmsRegistrant.getHandler() == h) { in unSetOnNewGsmSms() 391 if (mCdmaSmsRegistrant != null && mCdmaSmsRegistrant.getHandler() == h) { in unSetOnNewCdmaSms() 404 if (mGsmBroadcastSmsRegistrant != null && mGsmBroadcastSmsRegistrant.getHandler() == h) { in unSetOnNewGsmBroadcastSms() 417 if (mSmsOnSimRegistrant != null && mSmsOnSimRegistrant.getHandler() == h) { in unSetOnSmsOnSim() 430 if (mSmsStatusRegistrant != null && mSmsStatusRegistrant.getHandler() == h) { in unSetOnSmsStatus() 443 if (mSignalStrengthRegistrant != null && mSignalStrengthRegistrant.getHandler() == h) { in unSetOnSignalStrengthUpdate() 456 if (mNITZTimeRegistrant != null && mNITZTimeRegistrant.getHandler() == h) { in unSetOnNITZTime() 469 if (mUSSDRegistrant != null && mUSSDRegistrant.getHandler() == h) { in unSetOnUSSD() 482 if (mSsnRegistrant != null && mSsnRegistrant.getHandler() == h) { in unSetOnSuppServiceNotification() 495 if (mCatSessionEndRegistrant != null && mCatSessionEndRegistrant.getHandler() == h) { in unSetOnCatSessionEnd() [all …]
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | PositionListenerActivity.java | 142 getHandler().postAtFrontOfQueue(() -> { in positionChanged() 154 getHandler().postAtFrontOfQueue(() -> { in applyStretch() 169 getHandler().postAtFrontOfQueue(() -> { in positionLost()
|
/frameworks/base/core/java/android/view/ |
D | InsetsAnimationThreadControlRunner.java | 123 InsetsAnimationThread.getHandler().post(() -> { in InsetsAnimationThreadControlRunner() 176 InsetsAnimationThread.getHandler().post(mControl::cancel); in cancel() 193 InsetsAnimationThread.getHandler().post( in updateLayoutInsetsDuringAnimation()
|