Searched refs:handlerThread (Results 1 – 8 of 8) sorted by relevance
| /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
| D | PhoneAccountTest.java | 101 final HandlerThread handlerThread = new HandlerThread("Observer"); in internalTestOutgoingCall() local 108 handlerThread.start(); in internalTestOutgoingCall() 110 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in internalTestOutgoingCall() 125 handlerThread.quit(); in internalTestOutgoingCall() 153 final HandlerThread handlerThread = new HandlerThread("Observer"); in testIncomingCall() local 160 handlerThread.start(); in testIncomingCall() 162 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in testIncomingCall() 176 handlerThread.quit(); in testIncomingCall()
|
| /cts/tests/tests/location/src/android/location/cts/ |
| D | LocationManagerTest.java | 444 HandlerThread handlerThread = new HandlerThread("testLocationUpdates"); in testLocationUpdatesWithLocationListenerAndLooper() local 445 handlerThread.start(); in testLocationUpdatesWithLocationListenerAndLooper() 447 handlerThread.getLooper()); in testLocationUpdatesWithLocationListenerAndLooper() 545 HandlerThread handlerThread = new HandlerThread("testLocationUpdates4"); in testSingleUpdateWithLocationListenerAndLooper() local 546 handlerThread.start(); in testSingleUpdateWithLocationListenerAndLooper() 547 mManager.requestSingleUpdate(TEST_MOCK_PROVIDER_NAME, listener, handlerThread.getLooper()); in testSingleUpdateWithLocationListenerAndLooper() 727 HandlerThread handlerThread = new HandlerThread("testLocationUpdates1"); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() local 728 handlerThread.start(); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 730 mManager.requestLocationUpdates(0, 0, criteria, listener, handlerThread.getLooper()); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 785 HandlerThread handlerThread = new HandlerThread("testLocationUpdates2"); in testSingleUpdateWithCriteriaAndLocationListenerAndLooper() local [all …]
|
| /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/tests/provider/src/android/provider/cts/ |
| D | SettingsTest.java | 276 HandlerThread handlerThread = new HandlerThread("MyThread"); in testUriChangesUpdatingFromDifferentProcesses() local 277 handlerThread.start(); in testUriChangesUpdatingFromDifferentProcesses() 282 false, new ContentObserver(new Handler(handlerThread.getLooper())) { in testUriChangesUpdatingFromDifferentProcesses() 310 handlerThread.quit(); in testUriChangesUpdatingFromDifferentProcesses()
|
| /cts/tests/tests/location2/src/android/location2/cts/ |
| D | LocationManagerTest.java | 173 HandlerThread handlerThread = new HandlerThread("testLocationUpdates for " in doTestGetLocationUpdates_withListener() local 175 handlerThread.start(); in doTestGetLocationUpdates_withListener() 178 providerName, 0, 0, listener, handlerThread.getLooper()); in doTestGetLocationUpdates_withListener()
|
| /cts/tests/tests/hardware/src/android/hardware/cts/ |
| D | SensorTest.java | 352 HandlerThread handlerThread = new HandlerThread("sensorThread"); in testBatchAndFlushWithHandler() local 353 handlerThread.start(); in testBatchAndFlushWithHandler() 354 Handler handler = new Handler(handlerThread.getLooper()); in testBatchAndFlushWithHandler()
|
| /cts/tests/tests/accounts/src/android/accounts/cts/ |
| D | AccountManagerTest.java | 1137 final HandlerThread handlerThread = new HandlerThread("accounts.test"); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() local 1138 handlerThread.start(); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1170 new Handler(handlerThread.getLooper())); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1197 final HandlerThread handlerThread = new HandlerThread("accounts.test"); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() local 1198 handlerThread.start(); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1230 new Handler(handlerThread.getLooper())); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success()
|
| /cts/tools/dex-tools/dex/ |
| D | classes.out.dex | 131427 com.android.internal.os.HandlerThread handlerThread 131654 com.android.internal.os.HandlerThread handlerThread
|