/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/media/src/android/media/cts/ |
D | AudioFocusTest.java | 140 final HandlerThread handlerThread = new HandlerThread(TAG); in testNullListenerHandlerNpe() local 141 handlerThread.start(); in testNullListenerHandlerNpe() 142 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 253 final HandlerThread handlerThread = new HandlerThread(TAG); in testAudioFocusRequestMediaGainLossWithPlayer() local 254 handlerThread.start(); in testAudioFocusRequestMediaGainLossWithPlayer() 255 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusRequestMediaGainLossWithPlayer() 302 handlerThread.quitSafely(); in testAudioFocusRequestMediaGainLossWithPlayer() 380 final HandlerThread handlerThread = new HandlerThread(TAG); in doTwoFocusOwnerOnePlayerFocusLoss() local 381 handlerThread.start(); in doTwoFocusOwnerOnePlayerFocusLoss() 382 final Handler handler = new Handler(handlerThread.getLooper()); in doTwoFocusOwnerOnePlayerFocusLoss() [all …]
|
D | Utils.java | 155 final HandlerThread handlerThread = new HandlerThread(TAG); in assertMediaPlaybackStarted() local 156 handlerThread.start(); in assertMediaPlaybackStarted() 163 final Handler handler = new Handler(handlerThread.getLooper()); in assertMediaPlaybackStarted() 182 handlerThread.quitSafely(); in assertMediaPlaybackStarted()
|
D | AudioPlaybackConfigurationTest.java | 199 HandlerThread handlerThread = new HandlerThread(TAG); in doTestCallbackMediaPlayer() local 200 handlerThread.start(); in doTestCallbackMediaPlayer() 201 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 270 final HandlerThread handlerThread = new HandlerThread(TAG); in testCallbackMediaPlayerRelease() local 271 handlerThread.start(); in testCallbackMediaPlayerRelease() 272 final Handler h = new Handler(handlerThread.getLooper()); in testCallbackMediaPlayerRelease() 388 final HandlerThread handlerThread = new HandlerThread(TAG); in testGetAudioDeviceInfoMediaPlayerStart() 389 handlerThread.start(); in testGetAudioDeviceInfoMediaPlayerStart() 390 final Handler h = new Handler(handlerThread.getLooper()); in testGetAudioDeviceInfoMediaPlayerStart()
|
D | AudioRecordingConfigurationTest.java | 164 HandlerThread handlerThread = new HandlerThread(TAG); in doCallbackTest() local 165 handlerThread.start(); in doCallbackTest() 166 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 | MediaControllerTest.java | 477 HandlerThread handlerThread = new HandlerThread("Test thread"); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() local 478 handlerThread.start(); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 481 mController.registerCallback(callback, new Handler(handlerThread.getLooper())); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 486 assertNotEquals(handlerThread.getLooper(), currentHandlerInController.getLooper()); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 488 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()
|
D | MediaPlayerDrmTestBase.java | 659 final HandlerThread handlerThread = new HandlerThread("ModDrmHandlerThread"); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() local 660 handlerThread.start(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() 661 Handler handler = new Handler(handlerThread.getLooper()); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() 749 handlerThread.quit(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
|
D | HeifWriterTest.java | 136 HandlerThread handlerThread = new HandlerThread( in setUp() local 138 handlerThread.start(); in setUp() 139 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/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 | 111 val handlerThread = HandlerThread("Receive broadcast from overlay activity") in testIncompleteMotion() constant 112 handlerThread.start() in testIncompleteMotion() 113 val looper: Looper = handlerThread.looper in testIncompleteMotion() 123 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/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/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 273 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in processUserData() local 274 handlerThread.start(); in processUserData() 294 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData() 322 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in getUserDataVersion() local 323 handlerThread.start(); in getUserDataVersion() 337 }, new Handler(handlerThread.getLooper()), noResponse, null, null); in getUserDataVersion()
|
/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 | 169 final HandlerThread handlerThread = new HandlerThread(TAG); in clickAndWaitForSettingChange() local 170 handlerThread.start(); in clickAndWaitForSettingChange() 172 new Handler(handlerThread.getLooper())) { in clickAndWaitForSettingChange() 186 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/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/translation/src/android/translation/cts/ |
D | CtsTranslationService.java | 74 final HandlerThread handlerThread = new HandlerThread("CtsTranslationServiceWorker"); in CtsTranslationService() local 75 handlerThread.start(); in CtsTranslationService() 76 mHandler = Handler.createAsync(handlerThread.getLooper()); in CtsTranslationService()
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
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/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/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()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 435 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in testCameraState() local 436 handlerThread.start(); in testCameraState() 437 Looper looper = handlerThread.getLooper(); in testCameraState() 1063 HandlerThread handlerThread = new HandlerThread("br_handler_thread"); in registerReceiver() local 1064 handlerThread.start(); in registerReceiver() 1065 Looper looper = handlerThread.getLooper(); in registerReceiver()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 481 HandlerThread handlerThread = new HandlerThread("sensorThread"); in testBatchAndFlushWithHandler() local 482 handlerThread.start(); in testBatchAndFlushWithHandler() 483 Handler handler = new Handler(handlerThread.getLooper()); in testBatchAndFlushWithHandler()
|