| /cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/ |
| D | CtsLocationAccessService.java | 104 HandlerThread handlerThread = new HandlerThread("Telephony location CTS"); in listenForCellInfo() local 105 handlerThread.start(); in listenForCellInfo() 106 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo() 122 handlerThread.quit(); in listenForCellInfo() 128 HandlerThread handlerThread = new HandlerThread("Telephony location CTS"); in listenForCellLocation() local 129 handlerThread.start(); in listenForCellLocation() 130 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation() 146 handlerThread.quit(); in listenForCellLocation() 152 HandlerThread handlerThread = new HandlerThread("Telephony location CTS"); in listenForServiceState() local 153 handlerThread.start(); in listenForServiceState() [all …]
|
| /cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/ |
| D | Utils.java | 47 final HandlerThread handlerThread = new HandlerThread(TAG); in assertMediaPlaybackStarted() local 48 handlerThread.start(); in assertMediaPlaybackStarted() 54 final Handler handler = new Handler(handlerThread.getLooper()); in assertMediaPlaybackStarted() 72 handlerThread.quitSafely(); in assertMediaPlaybackStarted()
|
| /cts/tests/tests/media/audio/src/android/media/audio/cts/ |
| D | AudioFocusTest.java | 142 final HandlerThread handlerThread = new HandlerThread(TAG); in testNullListenerHandlerNpe() local 143 handlerThread.start(); in testNullListenerHandlerNpe() 144 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 247 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusDelayedByCall() local 248 handlerThread.start(); in testAudioFocusDelayedByCall() 249 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusDelayedByCall() 300 handlerThread.quitSafely(); in testAudioFocusDelayedByCall() 323 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusTransientDelayedByCall() local 324 handlerThread.start(); in testAudioFocusTransientDelayedByCall() 325 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusTransientDelayedByCall() [all …]
|
| D | AudioPlaybackConfigurationTest.java | 193 HandlerThread handlerThread = new HandlerThread(TAG); in doTestCallbackMediaPlayer() local 194 handlerThread.start(); in doTestCallbackMediaPlayer() 195 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 262 final HandlerThread handlerThread = new HandlerThread(TAG); in testCallbackMediaPlayerRelease() local 263 handlerThread.start(); in testCallbackMediaPlayerRelease() 264 final Handler h = new Handler(handlerThread.getLooper()); in testCallbackMediaPlayerRelease() 377 final HandlerThread handlerThread = new HandlerThread(TAG); in testGetAudioDeviceInfoMediaPlayerStart() 378 handlerThread.start(); in testGetAudioDeviceInfoMediaPlayerStart() 379 final Handler h = new Handler(handlerThread.getLooper()); in testGetAudioDeviceInfoMediaPlayerStart()
|
| D | AudioRecordingConfigurationTest.java | 165 HandlerThread handlerThread = new HandlerThread(TAG); in doCallbackTest() local 166 handlerThread.start(); in doCallbackTest() 167 h = new Handler(handlerThread.getLooper()); in doCallbackTest()
|
| /cts/tests/tests/webkit/src/android/webkit/cts/ |
| D | TestProcessService.java | 35 HandlerThread handlerThread = new HandlerThread("TestThread"); in TestProcessService() local 36 handlerThread.start(); in TestProcessService() 37 mHandler = new Handler(handlerThread.getLooper()); in TestProcessService()
|
| /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/input/src/android/input/cts/ |
| D | IncompleteMotionTest.kt | 115 val handlerThread = HandlerThread("Receive broadcast from overlay activity") in testIncompleteMotion() constant 116 handlerThread.start() in testIncompleteMotion() 117 val looper: Looper = handlerThread.looper in testIncompleteMotion() 127 handlerThread.quit() in testIncompleteMotion()
|
| /cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/ |
| D | Utils.kt | 71 val handlerThread = HandlerThread("CameraThread") in openCam() constant 72 handlerThread.start() in openCam() 73 val handler = Handler(handlerThread.looper) in openCam() 142 return Cam(cameraDevice.join(), handlerThread) in openCam()
|
| /cts/libs/install/src/com/android/cts/install/lib/ |
| D | InstallUtils.java | 226 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in processUserData() local 227 handlerThread.start(); in processUserData() 247 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData() 275 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in getUserDataVersion() local 276 handlerThread.start(); in getUserDataVersion() 290 }, new Handler(handlerThread.getLooper()), noResponse, null, null); in getUserDataVersion()
|
| /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/tests/tests/media/common/src/android/media/cts/ |
| 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()
|
| /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/tests/location/location_fine/src/android/location/cts/fine/ |
| D | ScanningSettingsTest.java | 174 final HandlerThread handlerThread = new HandlerThread(TAG); in clickAndWaitForSettingChange() local 175 handlerThread.start(); in clickAndWaitForSettingChange() 177 new Handler(handlerThread.getLooper())) { in clickAndWaitForSettingChange() 191 handlerThread.quit(); in clickAndWaitForSettingChange()
|
| /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/multidevices/wifi_aware/snippet/ |
| D | WifiAwareSnippet.java | 52 private final HandlerThread handlerThread; field in WifiAwareSnippet 64 handlerThread = new HandlerThread("Snippet-Aware"); in WifiAwareSnippet() 65 handlerThread.start(); in WifiAwareSnippet() 66 handler = new Handler(handlerThread.getLooper()); in WifiAwareSnippet()
|
| /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/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/ |
| D | MockA11yImeSession.java | 197 final HandlerThread handlerThread = new HandlerThread("EventReceiver"); in create() local 198 handlerThread.start(); in create() 201 new Handler(handlerThread.getLooper()), Context.RECEIVER_EXPORTED); in create() 241 handlerThread.quitSafely(); in create()
|
| /cts/tests/translation/src/android/translation/cts/ |
| D | CtsTranslationService.java | 76 final HandlerThread handlerThread = new HandlerThread("CtsTranslationServiceWorker"); in CtsTranslationService() local 77 handlerThread.start(); in CtsTranslationService() 78 mHandler = Handler.createAsync(handlerThread.getLooper()); in CtsTranslationService()
|
| /cts/tests/tests/provider/src/android/provider/cts/settings/ |
| D | SettingsTest.java | 313 HandlerThread handlerThread = new HandlerThread("MyThread"); in testUriChangesUpdatingFromDifferentProcesses() local 314 handlerThread.start(); in testUriChangesUpdatingFromDifferentProcesses() 319 false, new ContentObserver(new Handler(handlerThread.getLooper())) { in testUriChangesUpdatingFromDifferentProcesses() 347 handlerThread.quit(); in testUriChangesUpdatingFromDifferentProcesses()
|
| /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
| D | BatteryStatsBgVsFgActions.java | 306 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in registerReceiver() local 307 handlerThread.start(); in registerReceiver() 308 Looper looper = handlerThread.getLooper(); in registerReceiver()
|
| /cts/tests/tests/media/misc/src/android/media/misc/cts/ |
| D | MediaSession2ServiceTest.java | 78 HandlerThread handlerThread = new HandlerThread("MediaSession2ServiceTest"); in setUpThread() local 79 handlerThread.start(); in setUpThread() 80 sHandlerExecutor = new HandlerExecutor(handlerThread.getLooper()); in setUpThread()
|
| D | MediaControllerTest.java | 478 HandlerThread handlerThread = new HandlerThread("Test thread"); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() local 479 handlerThread.start(); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 482 mController.registerCallback(callback, new Handler(handlerThread.getLooper())); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 487 assertNotEquals(handlerThread.getLooper(), currentHandlerInController.getLooper()); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 489 handlerThread.quitSafely(); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect()
|
| 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()
|
| /cts/tests/app/src/android/app/cts/ |
| D | WallpaperManagerTest.java | 86 final HandlerThread handlerThread = new HandlerThread("TestCallbacks"); in setUp() local 87 handlerThread.start(); in setUp() 88 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|