/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/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcUtils.java | 56 HandlerThread handlerThread = new HandlerThread("nfc_cts_listener"); in enableNfc() local 57 handlerThread.start(); in enableNfc() 58 Handler handler = new Handler(handlerThread.getLooper()); in enableNfc() 99 HandlerThread handlerThread = new HandlerThread("nfc_cts_listener"); in disableNfc() local 100 handlerThread.start(); in disableNfc() 101 Handler handler = new Handler(handlerThread.getLooper()); in disableNfc()
|
/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/hostsidetests/securitybulletin/test-apps/CVE-2023-21145/src/android/security/cts/CVE_2023_21145/ |
D | PipActivity.java | 38 HandlerThread handlerThread = new HandlerThread(getPackageName()); in onResume() local 39 handlerThread.start(); in onResume() 40 Handler handler = new Handler(handlerThread.getLooper()); in onResume()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | CtsMainVoiceInteractionService.java | 44 HandlerThread handlerThread = new HandlerThread("CtsMainVoiceInteractionService"); in CtsMainVoiceInteractionService() local 45 handlerThread.start(); in CtsMainVoiceInteractionService() 46 mHandler = Handler.createAsync(handlerThread.getLooper()); in CtsMainVoiceInteractionService()
|
/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/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 230 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in processUserData() local 231 handlerThread.start(); in processUserData() 251 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData() 278 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in getUserDataVersion() local 279 handlerThread.start(); in getUserDataVersion() 293 }, new Handler(handlerThread.getLooper()), noResponse, null, null); in getUserDataVersion() 310 var handlerThread = new HandlerThread("TestHandlerThread"); in sendBroadcastAndWait() local 311 handlerThread.start(); in sendBroadcastAndWait() 320 }, new Handler(handlerThread.getLooper()), 0, null, null); in sendBroadcastAndWait()
|
/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/media/audio/src/android/media/audio/cts/ |
D | AudioFocusTest.java | 280 final HandlerThread handlerThread = new HandlerThread(TAG); in testNullListenerHandlerNpe() local 281 handlerThread.start(); in testNullListenerHandlerNpe() 282 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 422 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusDelayedByCall() local 423 handlerThread.start(); in testAudioFocusDelayedByCall() 424 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusDelayedByCall() 475 handlerThread.quitSafely(); in testAudioFocusDelayedByCall() 494 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusTransientDelayedByCall() local 495 handlerThread.start(); in testAudioFocusTransientDelayedByCall() 496 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusTransientDelayedByCall() [all …]
|
D | AudioPlaybackConfigurationTest.java | 262 HandlerThread handlerThread = new HandlerThread(TAG); in doTestCallbackMediaPlayer() local 263 handlerThread.start(); in doTestCallbackMediaPlayer() 264 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 334 final HandlerThread handlerThread = new HandlerThread(TAG); in testCallbackMediaPlayerRelease() local 335 handlerThread.start(); in testCallbackMediaPlayerRelease() 336 final Handler h = new Handler(handlerThread.getLooper()); in testCallbackMediaPlayerRelease() 459 final HandlerThread handlerThread = new HandlerThread(TAG); in testGetAudioDeviceInfoMediaPlayerStart() 460 handlerThread.start(); in testGetAudioDeviceInfoMediaPlayerStart() 461 final Handler h = new Handler(handlerThread.getLooper()); in testGetAudioDeviceInfoMediaPlayerStart()
|
D | AudioRecordingConfigurationTest.java | 161 HandlerThread handlerThread = new HandlerThread(TAG); in doCallbackTest() local 162 handlerThread.start(); in doCallbackTest() 163 h = new Handler(handlerThread.getLooper()); in doCallbackTest()
|
/cts/tests/input/src/android/input/cts/ |
D | IncompleteMotionTest.kt | 118 val handlerThread = HandlerThread("Receive broadcast from overlay activity") in testIncompleteMotion() constant 119 handlerThread.start() in testIncompleteMotion() 120 val looper: Looper = handlerThread.looper in testIncompleteMotion() 136 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/hostsidetests/securitybulletin/test-apps/CVE-2023-21285/src/android/security/cts/CVE_2023_21285/ |
D | DeviceTest.java | 110 final HandlerThread handlerThread = new HandlerThread("cve_2023_21285_handlerThread"); in testPocCVE_2023_21285() local 111 handlerThread.start(); in testPocCVE_2023_21285() 125 new Handler(handlerThread.getLooper())); in testPocCVE_2023_21285()
|
/cts/tests/sensor/src/android/hardware/cts/accessories/ |
D | HidCommand.kt | 30 private lateinit var handlerThread: HandlerThread variable in android.hardware.cts.accessories.HidCommand 63 handlerThread = HandlerThread("HidCommandThread") in registerDevice() 64 handlerThread.start() in registerDevice() 65 handler = Handler(handlerThread.getLooper()) in registerDevice()
|
/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/tests/companion/multidevice/client/src/android/companion/cts/multidevice/ |
D | CompanionDeviceManagerSnippet.kt | 54 private val handlerThread = HandlerThread("Snippet-Aware") constant in android.companion.cts.multidevice.CompanionDeviceManagerSnippet 59 handlerThread.start() 60 handler = Handler(handlerThread.looper)
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | ScanningSettingsTest.java | 199 final HandlerThread handlerThread = new HandlerThread(TAG); in clickAndWaitForSettingChange() local 200 handlerThread.start(); in clickAndWaitForSettingChange() 202 new ContentObserver(new Handler(handlerThread.getLooper())) { in clickAndWaitForSettingChange() 216 handlerThread.quit(); in clickAndWaitForSettingChange()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | ContentTest.java | 196 HandlerThread handlerThread = new HandlerThread("observer"); in testCanNotifyAcrossProfiles() local 197 handlerThread.start(); in testCanNotifyAcrossProfiles() 198 UriObserver uriObserver = new UriObserver(new Handler(handlerThread.getLooper())); in testCanNotifyAcrossProfiles() 206 handlerThread.quit(); in testCanNotifyAcrossProfiles()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21144/src/android/security/cts/CVE_2023_21144/ |
D | DeviceTest.java | 148 final HandlerThread handlerThread = new HandlerThread(context.getPackageName()); in withTemporaryImage() local 149 handlerThread.start(); in withTemporaryImage() 150 new Handler(handlerThread.getLooper()) in withTemporaryImage()
|
/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() 243 handlerThread.quitSafely(); in create()
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTranslationService.java | 79 final HandlerThread handlerThread = new HandlerThread("CtsTranslationServiceWorker"); in CtsTranslationService() local 80 handlerThread.start(); in CtsTranslationService() 81 mHandler = Handler.createAsync(handlerThread.getLooper()); in CtsTranslationService()
|