/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/ |
D | CtsLocationAccessService.java | 88 HandlerThread handlerThread = new HandlerThread("Telephony location CTS"); in listenForCellInfo() local 89 handlerThread.start(); in listenForCellInfo() 90 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo() 106 handlerThread.quit(); in listenForCellInfo() 112 HandlerThread handlerThread = new HandlerThread("Telephony location CTS"); in listenForCellLocation() local 113 handlerThread.start(); in listenForCellLocation() 114 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation() 130 handlerThread.quit(); in listenForCellLocation() 136 HandlerThread handlerThread = new HandlerThread("Telephony location CTS"); in listenForServiceState() local 137 handlerThread.start(); in listenForServiceState() [all …]
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 382 HandlerThread handlerThread = new HandlerThread("testLocationUpdates"); in testLocationUpdatesWithLocationListenerAndLooper() local 383 handlerThread.start(); in testLocationUpdatesWithLocationListenerAndLooper() 385 handlerThread.getLooper()); in testLocationUpdatesWithLocationListenerAndLooper() 483 HandlerThread handlerThread = new HandlerThread("testLocationUpdates4"); in testSingleUpdateWithLocationListenerAndLooper() local 484 handlerThread.start(); in testSingleUpdateWithLocationListenerAndLooper() 485 mManager.requestSingleUpdate(TEST_MOCK_PROVIDER_NAME, listener, handlerThread.getLooper()); in testSingleUpdateWithLocationListenerAndLooper() 665 HandlerThread handlerThread = new HandlerThread("testLocationUpdates1"); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() local 666 handlerThread.start(); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 668 mManager.requestLocationUpdates(0, 0, criteria, listener, handlerThread.getLooper()); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 723 HandlerThread handlerThread = new HandlerThread("testLocationUpdates2"); in testSingleUpdateWithCriteriaAndLocationListenerAndLooper() local [all …]
|
D | ScanningSettingsTest.java | 119 final HandlerThread handlerThread = new HandlerThread(TAG); in clickAndWaitForSettingChange() local 120 handlerThread.start(); in clickAndWaitForSettingChange() 122 new Handler(handlerThread.getLooper())) { in clickAndWaitForSettingChange() 136 handlerThread.quit(); in clickAndWaitForSettingChange()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 106 final HandlerThread handlerThread = new HandlerThread("Observer"); in internalTestOutgoingCall() local 113 handlerThread.start(); in internalTestOutgoingCall() 115 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in internalTestOutgoingCall() 130 handlerThread.quit(); in internalTestOutgoingCall() 187 final HandlerThread handlerThread = new HandlerThread("Observer"); in internalTestIncomingCall() local 194 handlerThread.start(); in internalTestIncomingCall() 196 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in internalTestIncomingCall() 212 handlerThread.quit(); in internalTestIncomingCall()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | CaptivePortalApiTest.kt | 92 private val handlerThread = HandlerThread(CaptivePortalApiTest::class.java.simpleName) constant 125 handlerThread.start() in setUp() 127 handlerThread.threadHandler, in setUp() 130 handlerThread.threadHandler.post { reader.start() } in setUp() 147 handlerThread.threadHandler.post { reader.stop() } in tearDown() 148 handlerThread.quitSafely() in tearDown()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFocusTest.java | 131 final HandlerThread handlerThread = new HandlerThread(TAG); in testNullListenerHandlerNpe() local 132 handlerThread.start(); in testNullListenerHandlerNpe() 133 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 271 HandlerThread handlerThread = new HandlerThread(TAG); in doTestTwoPlayersGainLoss() local 272 handlerThread.start(); in doTestTwoPlayersGainLoss() 273 h = new Handler(handlerThread.getLooper()); in doTestTwoPlayersGainLoss()
|
D | Utils.java | 153 final HandlerThread handlerThread = new HandlerThread(TAG); in assertMediaPlaybackStarted() local 154 handlerThread.start(); in assertMediaPlaybackStarted() 160 final Handler handler = new Handler(handlerThread.getLooper()); in assertMediaPlaybackStarted() 178 handlerThread.quitSafely(); in assertMediaPlaybackStarted()
|
D | AudioPlaybackConfigurationTest.java | 180 HandlerThread handlerThread = new HandlerThread(TAG); in doTestCallbackMediaPlayer() local 181 handlerThread.start(); in doTestCallbackMediaPlayer() 182 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 247 final HandlerThread handlerThread = new HandlerThread(TAG); in testCallbackMediaPlayerRelease() local 248 handlerThread.start(); in testCallbackMediaPlayerRelease() 249 final Handler h = new Handler(handlerThread.getLooper()); in testCallbackMediaPlayerRelease()
|
D | AudioRecordingConfigurationTest.java | 163 HandlerThread handlerThread = new HandlerThread(TAG); in doCallbackTest() local 164 handlerThread.start(); in doCallbackTest() 165 h = new Handler(handlerThread.getLooper()); in doCallbackTest()
|
D | MediaSession2ServiceTest.java | 77 HandlerThread handlerThread = new HandlerThread("MediaSession2ServiceTest"); in setUpThread() local 78 handlerThread.start(); in setUpThread() 79 sHandlerExecutor = new HandlerExecutor(handlerThread.getLooper()); in setUpThread()
|
D | MediaController2Test.java | 97 HandlerThread handlerThread = new HandlerThread("MediaSessionTestBase"); in setUpThread() local 98 handlerThread.start(); in setUpThread() 99 sHandler = new Handler(handlerThread.getLooper()); in setUpThread()
|
D | MediaSessionManagerTest.java | 409 HandlerThread handlerThread = new HandlerThread("MediaSessionManagerTest"); in createHandler() local 410 handlerThread.start(); in createHandler() 411 return new Handler(handlerThread.getLooper()); in createHandler()
|
D | MediaPlayerDrmTestBase.java | 650 final HandlerThread handlerThread = new HandlerThread("ModDrmHandlerThread"); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() local 651 handlerThread.start(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() 652 Handler handler = new Handler(handlerThread.getLooper()); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() 740 handlerThread.quit(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
|
D | HeifWriterTest.java | 119 HandlerThread handlerThread = new HandlerThread( in setUp() local 121 handlerThread.start(); in setUp() 122 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 129 HandlerThread handlerThread = new HandlerThread("observer"); in onCreate() local 130 handlerThread.start(); in onCreate() 131 UriObserver uriObserver = new UriObserver(new Handler(handlerThread.getLooper())); in onCreate() 138 handlerThread.quit(); in onCreate()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsBgVsFgActions.java | 247 HandlerThread handlerThread = new HandlerThread("doGpsUpdate_bg"); in doGpsUpdate() local 248 handlerThread.start(); in doGpsUpdate() 250 Handler handler = new Handler(handlerThread.getLooper()); in doGpsUpdate() 260 handlerThread.quitSafely(); in doGpsUpdate() 355 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in registerReceiver() local 356 handlerThread.start(); in registerReceiver() 357 Looper looper = handlerThread.getLooper(); in registerReceiver()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | DirectShellCommand.java | 105 final HandlerThread handlerThread = new HandlerThread("ShellCommandResultReceiver"); in createBackgroundLooper() local 106 handlerThread.start(); in createBackgroundLooper() 107 return handlerThread.getLooper(); in createBackgroundLooper()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | ContentTest.java | 192 HandlerThread handlerThread = new HandlerThread("observer"); in testCanNotifyAcrossProfiles() local 193 handlerThread.start(); in testCanNotifyAcrossProfiles() 194 UriObserver uriObserver = new UriObserver(new Handler(handlerThread.getLooper())); in testCanNotifyAcrossProfiles() 202 handlerThread.quit(); in testCanNotifyAcrossProfiles()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 191 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in testCameraState() local 192 handlerThread.start(); in testCameraState() 193 Looper looper = handlerThread.getLooper(); in testCameraState() 501 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in registerReceiver() local 502 handlerThread.start(); in registerReceiver() 503 Looper looper = handlerThread.getLooper(); in registerReceiver()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 220 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in processUserData() local 221 handlerThread.start(); in processUserData() 241 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData()
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 143 HandlerThread handlerThread = new HandlerThread("Widget test callback handler"); in setup() local 144 handlerThread.start(); in setup() 145 mMessenger = new Messenger(new CheckHandler(handlerThread.getLooper())); in setup()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SettingsTest.java | 310 HandlerThread handlerThread = new HandlerThread("MyThread"); in testUriChangesUpdatingFromDifferentProcesses() local 311 handlerThread.start(); in testUriChangesUpdatingFromDifferentProcesses() 316 false, new ContentObserver(new Handler(handlerThread.getLooper())) { in testUriChangesUpdatingFromDifferentProcesses() 344 handlerThread.quit(); in testUriChangesUpdatingFromDifferentProcesses()
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 197 HandlerThread handlerThread = new HandlerThread("testLocationUpdates for " 199 handlerThread.start(); 202 providerName, 0, 0, listener, handlerThread.getLooper());
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 77 final HandlerThread handlerThread = new HandlerThread("TestCallbacks"); in setUp() local 78 handlerThread.start(); in setUp() 79 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 666 HandlerThread handlerThread = new HandlerThread( in testStagedApkSessionCallbacks() local 668 handlerThread.start(); in testStagedApkSessionCallbacks() 669 Handler handler = new Handler(handlerThread.getLooper()); in testStagedApkSessionCallbacks() 704 handlerThread.quitSafely(); in testStagedApkSessionCallbacks() 705 handlerThread.join(); in testStagedApkSessionCallbacks()
|