/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/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | CtsMainVoiceInteractionService.java | 41 HandlerThread handlerThread = new HandlerThread("CtsMainVoiceInteractionService"); in CtsMainVoiceInteractionService() local 42 handlerThread.start(); in CtsMainVoiceInteractionService() 43 mHandler = Handler.createAsync(handlerThread.getLooper()); in CtsMainVoiceInteractionService()
|
/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/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/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioFocusTest.java | 152 final HandlerThread handlerThread = new HandlerThread(TAG); in testNullListenerHandlerNpe() local 153 handlerThread.start(); in testNullListenerHandlerNpe() 154 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 315 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusDelayedByCall() local 316 handlerThread.start(); in testAudioFocusDelayedByCall() 317 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusDelayedByCall() 371 handlerThread.quitSafely(); in testAudioFocusDelayedByCall() 399 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusTransientDelayedByCall() local 400 handlerThread.start(); in testAudioFocusTransientDelayedByCall() 401 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusTransientDelayedByCall() [all …]
|
D | AudioPlaybackConfigurationTest.java | 253 HandlerThread handlerThread = new HandlerThread(TAG); in doTestCallbackMediaPlayer() local 254 handlerThread.start(); in doTestCallbackMediaPlayer() 255 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 322 final HandlerThread handlerThread = new HandlerThread(TAG); in testCallbackMediaPlayerRelease() local 323 handlerThread.start(); in testCallbackMediaPlayerRelease() 324 final Handler h = new Handler(handlerThread.getLooper()); in testCallbackMediaPlayerRelease() 451 final HandlerThread handlerThread = new HandlerThread(TAG); in testGetAudioDeviceInfoMediaPlayerStart() 452 handlerThread.start(); in testGetAudioDeviceInfoMediaPlayerStart() 453 final Handler h = new Handler(handlerThread.getLooper()); in testGetAudioDeviceInfoMediaPlayerStart()
|
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()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 229 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in processUserData() local 230 handlerThread.start(); in processUserData() 250 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData() 277 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in getUserDataVersion() local 278 handlerThread.start(); in getUserDataVersion() 292 }, new Handler(handlerThread.getLooper()), noResponse, null, null); in getUserDataVersion() 309 var handlerThread = new HandlerThread("TestHandlerThread"); in sendBroadcastAndWait() local 310 handlerThread.start(); in sendBroadcastAndWait() 319 }, 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/input/src/android/input/cts/ |
D | IncompleteMotionTest.kt | 116 val handlerThread = HandlerThread("Receive broadcast from overlay activity") in testIncompleteMotion() constant 117 handlerThread.start() in testIncompleteMotion() 118 val looper: Looper = handlerThread.looper in testIncompleteMotion() 129 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/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/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/tests/tests/media/common/src/android/media/cts/ |
D | Utils.java | 155 final HandlerThread handlerThread = new HandlerThread(TAG); in assertMediaPlaybackStarted() local 156 handlerThread.start(); in assertMediaPlaybackStarted() 162 final Handler handler = new Handler(handlerThread.getLooper()); in assertMediaPlaybackStarted() 180 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 | 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() 241 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()
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | SettingsTest.java | 320 HandlerThread handlerThread = new HandlerThread("MyThread"); in testUriChangesUpdatingFromDifferentProcesses() local 321 handlerThread.start(); in testUriChangesUpdatingFromDifferentProcesses() 326 false, new ContentObserver(new Handler(handlerThread.getLooper())) { in testUriChangesUpdatingFromDifferentProcesses() 354 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()
|