Home
last modified time | relevance | path

Searched refs:getThreadHandler (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java262 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in setUp()
267 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in setUp()
359 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPower()
369 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerOnForEmergencyCall()
374 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerOnForEmergencyCall()
382 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerOnForEmergencyCall()
389 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerOnForEmergencyCall()
399 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerFromCarrier()
407 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerFromCarrier()
415 waitForLastHandlerAction(mSSTTestHandler.getThreadHandler()); in testSetRadioPowerFromCarrier()
[all …]
DSimulatedCommands.java2386 return mHandlerThread.getThreadHandler(); in getHandler()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java629 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in sendInitializationEvents()
634 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in sendInitializationEvents()
638 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in sendInitializationEvents()
656 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testTrySetupDataUnmeteredDefaultNotSelected()
679 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testDataSetup()
705 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testDataRetry()
721 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testDataRetry()
745 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testDataRetry()
788 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testUserDisableData()
840 waitForLastHandlerAction(mDcTrackerTestHandler.getThreadHandler()); in testTrySetupDataMmsAllowedDataDisabled()
[all …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java138 mHandlerThread.getThreadHandler().post(() -> mReceiver.stop()); in tearDown()
167 final Handler h = mHandlerThread.getThreadHandler(); in testBasicWorking()
213 final Handler h = mHandlerThread.getThreadHandler(); in testMinimalRecvBufSize()
223 final Handler h = mHandlerThread.getThreadHandler(); in testStartingFromWrongThread()
230 final Handler h = mHandlerThread.getThreadHandler(); in testStoppingFromWrongThread()
237 final Handler h = mHandlerThread.getThreadHandler(); in testSuccessToCreateSocket()
244 final Handler h = mHandlerThread.getThreadHandler(); in testFailToCreateSocket()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java154 mWorker.getThreadHandler().post(() -> mRenderer.updateOffsets(xOffset, yOffset)); in onOffsetsChanged()
166 mWorker.getThreadHandler().post( in onAmbientModeChanged()
198 mWorker.getThreadHandler().post(() -> {
210 mWorker.getThreadHandler().post(() -> { in onSurfaceCreated()
219 mWorker.getThreadHandler().post(() -> { in onSurfaceChanged()
232 mWorker.getThreadHandler().post(() -> { in onSurfaceRedrawNeeded()
261 mWorker.getThreadHandler().post(this::scheduleFinishRendering); in onStatePostChange()
366 mWorker.getThreadHandler().removeCallbacks(mFinishRenderingTask); in cancelFinishRenderingTask()
372 mWorker.getThreadHandler().postDelayed(mFinishRenderingTask, DELAY_FINISH_RENDERING); in scheduleFinishRendering()
DScreenDecorations.java344 return thread.getThreadHandler(); in startHandlerThread()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBatteryServiceTest.java102 if (!mWrapper.getHandlerThread().getThreadHandler().hasMessagesOrCallbacks()) {
107 assertFalse(mWrapper.getHandlerThread().getThreadHandler().hasMessagesOrCallbacks());
/frameworks/base/core/java/android/os/
DHandlerThread.java111 public Handler getThreadHandler() { in getThreadHandler() method in HandlerThread
/frameworks/base/apct-tests/perftests/core/src/android/os/
DLooperStatsPerfTest.java59 mMessages[i] = mThread.getThreadHandler().obtainMessage(i); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistModule.java53 return backgroundHandlerThread.getThreadHandler(); in provideBackgroundHandler()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootSurfaceCallbackTest.java64 thread.getThreadHandler().runWithScissors(() -> { in testCallingTidOfSurfaceCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeUiTest.java80 mHandler = mHandlerThread.getThreadHandler(); in setUp()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java97 mHandler = handlerThread.getThreadHandler(); in RollbackPackageHealthObserver()
DRollbackManagerServiceImpl.java773 return mHandlerThread.getThreadHandler(); in getHandler()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java605 return mHandlerThread.getThreadHandler(); in getUiHandler()
622 mHandlerThread.getThreadHandler().runWithScissors(mHandlerThread::quit, in tearDown()
/frameworks/base/core/java/android/widget/
DMagnifier.java286 sPixelCopyHandlerThread.getThreadHandler().post(() -> { in show()
701 sPixelCopyHandlerThread.getThreadHandler()); in performPixelCopy()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportClientTest.java130 mWorkerHandler = workerThread.getThreadHandler(); in setUp()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1262 mHealthServiceWrapper.getHandlerThread().getThreadHandler().post(() -> { in scheduleUpdate()
1484 mHandlerThread.getThreadHandler().post(new Runnable() { in onRegistration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java3140 mHandlerSpyForCmiRunWithScissors = spy(handlerThread.getThreadHandler()); in setupClientModeImplHandlerForRunWithScissors()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1227 initAlarmManager(mAlarmManager, mAlarmManagerThread.getThreadHandler()); in setUp()
/frameworks/base/config/
Dboot-image-profile.txt11539 HSPLandroid/os/HandlerThread;->getThreadHandler()Landroid/os/Handler;
Dhiddenapi-greylist-max-o.txt49926 Landroid/os/HandlerThread;->getThreadHandler()Landroid/os/Handler;