/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/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/location/src/android/location/cts/ |
D | LocationManagerTest.java | 379 HandlerThread handlerThread = new HandlerThread("testLocationUpdates"); in testLocationUpdatesWithLocationListenerAndLooper() local 380 handlerThread.start(); in testLocationUpdatesWithLocationListenerAndLooper() 382 handlerThread.getLooper()); in testLocationUpdatesWithLocationListenerAndLooper() 480 HandlerThread handlerThread = new HandlerThread("testLocationUpdates4"); in testSingleUpdateWithLocationListenerAndLooper() local 481 handlerThread.start(); in testSingleUpdateWithLocationListenerAndLooper() 482 mManager.requestSingleUpdate(TEST_MOCK_PROVIDER_NAME, listener, handlerThread.getLooper()); in testSingleUpdateWithLocationListenerAndLooper() 662 HandlerThread handlerThread = new HandlerThread("testLocationUpdates1"); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() local 663 handlerThread.start(); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 665 mManager.requestLocationUpdates(0, 0, criteria, listener, handlerThread.getLooper()); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 720 HandlerThread handlerThread = new HandlerThread("testLocationUpdates2"); in testSingleUpdateWithCriteriaAndLocationListenerAndLooper() local [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFocusTest.java | 130 final HandlerThread handlerThread = new HandlerThread(TAG); in testNullListenerHandlerNpe() local 131 handlerThread.start(); in testNullListenerHandlerNpe() 132 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 270 HandlerThread handlerThread = new HandlerThread(TAG); in doTestTwoPlayersGainLoss() local 271 handlerThread.start(); in doTestTwoPlayersGainLoss() 272 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 | 162 HandlerThread handlerThread = new HandlerThread(TAG); in doCallbackTest() local 163 handlerThread.start(); in doCallbackTest() 164 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 | 394 HandlerThread handlerThread = new HandlerThread("MediaSessionManagerTest"); in createHandler() local 395 handlerThread.start(); in createHandler() 396 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()
|
D | MediaSession2Test.java | 85 HandlerThread handlerThread = new HandlerThread("MediaSessionTestBase"); in setUpThread() local 86 handlerThread.start(); in setUpThread() 87 sHandler = new Handler(handlerThread.getLooper()); in setUpThread()
|
/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 | 234 HandlerThread handlerThread = new HandlerThread("doGpsUpdate_bg"); in doGpsUpdate() local 235 handlerThread.start(); in doGpsUpdate() 237 Handler handler = new Handler(handlerThread.getLooper()); in doGpsUpdate() 247 handlerThread.quitSafely(); in doGpsUpdate() 342 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in registerReceiver() local 343 handlerThread.start(); in registerReceiver() 344 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/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/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/tests/tests/provider/src/android/provider/cts/ |
D | SettingsTest.java | 309 HandlerThread handlerThread = new HandlerThread("MyThread"); in testUriChangesUpdatingFromDifferentProcesses() local 310 handlerThread.start(); in testUriChangesUpdatingFromDifferentProcesses() 315 false, new ContentObserver(new Handler(handlerThread.getLooper())) { in testUriChangesUpdatingFromDifferentProcesses() 343 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 | 75 final HandlerThread handlerThread = new HandlerThread("TestCallbacks"); in setUp() local 76 handlerThread.start(); in setUp() 77 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 579 HandlerThread handlerThread = new HandlerThread( in testStagedApkSessionCallbacks() local 581 handlerThread.start(); in testStagedApkSessionCallbacks() 582 Handler handler = new Handler(handlerThread.getLooper()); in testStagedApkSessionCallbacks() 618 handlerThread.quitSafely(); in testStagedApkSessionCallbacks() 619 handlerThread.join(); in testStagedApkSessionCallbacks()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 164 HandlerThread handlerThread = new HandlerThread("AssistTestCallbackReceivingThread"); in registerForAsyncReceivingCallback() local 165 handlerThread.start(); in registerForAsyncReceivingCallback() 166 Handler handler = new Handler(handlerThread.getLooper()); in registerForAsyncReceivingCallback()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 451 HandlerThread handlerThread = new HandlerThread("sensorThread"); in testBatchAndFlushWithHandler() local 452 handlerThread.start(); in testBatchAndFlushWithHandler() 453 Handler handler = new Handler(handlerThread.getLooper()); in testBatchAndFlushWithHandler()
|