HomeSort by relevance Sort by last modified time
    Searched defs:handlerThread (Results 1 - 25 of 25) sorted by null

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
HandlerThreadTest.java 13 import android.os.HandlerThread;
19 private HandlerThread handlerThread;
24 if ( handlerThread != null ) {
25 handlerThread.quit();
26 handlerThread.join();
32 handlerThread = new HandlerThread("test");
33 handlerThread.start();
34 assertNotNull(handlerThread.getLooper())
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
FacadeService.java 5 import android.os.HandlerThread;
49 HandlerThread handlerThread = new HandlerThread("MessageHandlerThread");
50 handlerThread.start();
51 Messenger aMessenger = new Messenger(new MessageHandler(handlerThread,
MessageHandler.java 6 import android.os.HandlerThread;
41 public MessageHandler(HandlerThread handlerThread,
43 super(handlerThread.getLooper());
  /development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/gps/
GpsLocationTest.java 23 import android.os.HandlerThread;
59 HandlerThread handlerThread = new HandlerThread("testLocationUpdates");
60 handlerThread.start();
62 handlerThread.getLooper());
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogicHandler.java 20 import android.os.HandlerThread;
71 final HandlerThread handlerThread = new HandlerThread(
73 handlerThread.start();
74 mNonUIThreadHandler = new Handler(handlerThread.getLooper(), this);
  /cts/tests/tests/provider/src/android/provider/cts/
SettingsTest.java 32 import android.os.HandlerThread;
276 HandlerThread handlerThread = new HandlerThread("MyThread");
277 handlerThread.start();
282 false, new ContentObserver(new Handler(handlerThread.getLooper())) {
310 handlerThread.quit();
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneSwitcherTest.java 29 import android.os.HandlerThread;
64 HandlerThread handlerThread;
71 if(handlerThread != null) {
72 handlerThread.quit();
73 handlerThread = null;
89 final HandlerThread handlerThread = new HandlerThread("TestHandler");
90 handlerThread.start()
    [all...]
SubscriptionMonitorTest.java 28 import android.os.HandlerThread;
60 HandlerThread handlerThread;
67 if(handlerThread != null) {
68 handlerThread.quit();
69 handlerThread = null;
85 final HandlerThread handlerThread = new HandlerThread("TestHandler");
86 handlerThread.start()
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
TelephonyNetworkFactoryTest.java 33 import android.os.HandlerThread;
68 final HandlerThread handlerThread;
75 handlerThread = new HandlerThread("TelephonyNetworkFactoryTest");
76 handlerThread.start();
77 looper = handlerThread.getLooper();
107 handlerThread.quit();
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetServiceImpl.java 28 import android.os.HandlerThread;
86 HandlerThread handlerThread = new HandlerThread("EthernetServiceThread");
87 handlerThread.start();
88 mHandler = new Handler(handlerThread.getLooper());
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java 29 import android.os.HandlerThread;
101 final HandlerThread handlerThread = new HandlerThread("Observer");
108 handlerThread.start();
110 new CalllogContentObserver(new Handler(handlerThread.getLooper()),
125 handlerThread.quit();
153 final HandlerThread handlerThread = new HandlerThread("Observer")
    [all...]
  /cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
SimpleAppWidgetHostService.java 28 import android.os.HandlerThread;
143 HandlerThread handlerThread = new HandlerThread("Widget test callback handler");
144 handlerThread.start();
145 mMessenger = new Messenger(new CheckHandler(handlerThread.getLooper()));
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorTest.java 42 import android.os.HandlerThread;
352 HandlerThread handlerThread = new HandlerThread("sensorThread");
353 handlerThread.start();
354 Handler handler = new Handler(handlerThread.getLooper());
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
StorageMeasurement.java 31 import android.os.HandlerThread;
159 final HandlerThread handlerThread = new HandlerThread("MemoryMeasurement");
160 handlerThread.start();
163 mMeasurementHandler = new MeasurementHandler(handlerThread.getLooper());
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsObservers.java 34 import android.os.HandlerThread;
131 HandlerThread handlerThread = new HandlerThread(TAG);
132 handlerThread.start();
133 return handlerThread.getLooper();
NetworkStatsService.java 96 import android.os.HandlerThread;
278 HandlerThread handlerThread = new HandlerThread(TAG);
280 handlerThread.start();
281 Handler handler = new Handler(handlerThread.getLooper(), callback);
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
SapServerTest.java 15 import android.os.HandlerThread;
299 private HandlerThread handlerThread = null;
342 handlerThread = new HandlerThread("SapTestTimeoutHandler",
344 handlerThread.start();
345 Looper testLooper = handlerThread.getLooper();
  /cts/tests/tests/location2/src/android/location2/cts/
LocationManagerTest.java 31 import android.os.HandlerThread;
173 HandlerThread handlerThread = new HandlerThread("testLocationUpdates for "
175 handlerThread.start();
178 providerName, 0, 0, listener, handlerThread.getLooper());
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
TunerRecordingSessionWorker.java 29 import android.os.HandlerThread;
112 HandlerThread handlerThread = new HandlerThread(TAG);
113 handlerThread.start();
114 mHandler = new Handler(handlerThread.getLooper(), this);
TunerSessionWorker.java 32 import android.os.HandlerThread;
198 // HandlerThread should be set up before it is registered as a listener in the all other
200 HandlerThread handlerThread = new HandlerThread(TAG);
201 handlerThread.start();
202 mHandler = new Handler(handlerThread.getLooper(), this);
    [all...]
  /frameworks/base/cmds/pm/src/com/android/commands/pm/
Pm.java 54 import android.os.HandlerThread;
292 final HandlerThread handlerThread = new HandlerThread("results");
293 handlerThread.start();
297 args, new ResultReceiver(new Handler(handlerThread.getLooper())));
302 handlerThread.quitSafely();
    [all...]
  /cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java 32 import android.os.HandlerThread;
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 38 import android.os.HandlerThread;
444 HandlerThread handlerThread = new HandlerThread("testLocationUpdates");
445 handlerThread.start();
447 handlerThread.getLooper());
545 HandlerThread handlerThread = new HandlerThread("testLocationUpdates4");
546 handlerThread.start()
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
ConnectivityServiceTest.java 59 import android.os.HandlerThread;
155 * A subclass of HandlerThread that allows callers to wait for it to become idle. waitForIdle
158 private class IdleableHandlerThread extends HandlerThread {
188 fail("HandlerThread " + getName() +
629 protected HandlerThread createHandlerThread() {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
ComposeActivity.java 48 import android.os.HandlerThread;
285 HandlerThread handlerThread = new HandlerThread("Send Message Task Thread");
286 handlerThread.start();
287 SEND_SAVE_TASK_HANDLER = new Handler(handlerThread.getLooper());
    [all...]

Completed in 1504 milliseconds