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

1 2

  /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 21 import android.os.HandlerThread;
65 HandlerThread handlerThread = new HandlerThread("MessageHandlerThread");
66 handlerThread.start();
67 Messenger aMessenger = new Messenger(new MessageHandler(handlerThread,
MessageHandler.java 22 import android.os.HandlerThread;
57 public MessageHandler(HandlerThread handlerThread,
59 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/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
IntentReceiverActivity.java 26 import android.os.HandlerThread;
123 HandlerThread handlerThread = new HandlerThread("observer");
124 handlerThread.start();
125 UriObserver uriObserver = new UriObserver(new Handler(handlerThread.getLooper()));
132 handlerThread.quit();
  /cts/tests/tests/media/src/android/media/cts/
Utils.java 27 import android.os.HandlerThread;
170 final HandlerThread handlerThread = new HandlerThread(TAG);
171 handlerThread.start();
177 final Handler handler = new Handler(handlerThread.getLooper());
195 handlerThread.quitSafely();
AudioFocusTest.java 24 import android.os.HandlerThread;
123 final HandlerThread handlerThread = new HandlerThread(TAG);
124 handlerThread.start();
125 final Handler h = new Handler(handlerThread.getLooper());
209 HandlerThread handlerThread = new HandlerThread(TAG);
210 handlerThread.start()
    [all...]
AudioRecordingConfigurationTest.java 27 import android.os.HandlerThread;
155 HandlerThread handlerThread = new HandlerThread(TAG);
156 handlerThread.start();
157 h = new Handler(handlerThread.getLooper());
MediaSessionManagerTest.java 29 import android.os.HandlerThread;
113 HandlerThread handlerThread = new HandlerThread(TAG);
114 handlerThread.start();
115 Handler handler = new Handler(handlerThread.getLooper());
145 HandlerThread handlerThread = new HandlerThread(TAG);
146 handlerThread.start()
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
ContentTest.java 26 import android.os.HandlerThread;
191 HandlerThread handlerThread = new HandlerThread("observer");
192 handlerThread.start();
193 UriObserver uriObserver = new UriObserver(new Handler(handlerThread.getLooper()));
201 handlerThread.quit();
  /cts/tests/tests/provider/src/android/provider/cts/
SettingsTest.java 33 import android.os.HandlerThread;
277 HandlerThread handlerThread = new HandlerThread("MyThread");
278 handlerThread.start();
283 false, new ContentObserver(new Handler(handlerThread.getLooper())) {
311 handlerThread.quit();
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
TelephonyNetworkFactoryTest.java 26 import android.os.HandlerThread;
63 final HandlerThread handlerThread;
70 handlerThread = new HandlerThread("TelephonyNetworkFactoryTest");
71 handlerThread.start();
72 looper = handlerThread.getLooper();
103 handlerThread.quit();
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DrawActivity.java 25 import android.os.HandlerThread;
61 HandlerThread handlerThread = new HandlerThread("FrameMetrics");
62 handlerThread.start();
73 }, new Handler(handlerThread.getLooper()));
  /developers/build/prebuilts/gradle/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
MainActivity.java 22 import android.os.HandlerThread;
237 HandlerThread handlerThread = new HandlerThread("fonts");
238 handlerThread.start();
239 mHandler = new Handler(handlerThread.getLooper());
  /developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
MainActivity.java 22 import android.os.HandlerThread;
237 HandlerThread handlerThread = new HandlerThread("fonts");
238 handlerThread.start();
239 mHandler = new Handler(handlerThread.getLooper());
  /frameworks/base/core/java/android/app/
QueuedWork.java 20 import android.os.HandlerThread;
102 HandlerThread handlerThread = new HandlerThread("queued-work-looper",
104 handlerThread.start();
106 sHandler = new QueuedWorkHandler(handlerThread.getLooper());
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
StatusBarTest.java 43 import android.os.HandlerThread;
113 HandlerThread handlerThread = new HandlerThread("TestThread");
114 handlerThread.start();
116 new Handler(handlerThread.getLooper()));
  /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...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
UserControllerTest.java 28 import android.os.HandlerThread;
110 mInjector.handlerThread.quit();
322 HandlerThread handlerThread;
333 handlerThread = new HandlerThread(TAG);
334 handlerThread.start();
335 handler = new TestHandler(handlerThread.getLooper());
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneSwitcherTest.java 27 import android.os.HandlerThread;
61 HandlerThread handlerThread;
68 if(handlerThread != null) {
69 handlerThread.quit();
70 handlerThread = null;
86 final HandlerThread handlerThread = new HandlerThread("TestHandler");
87 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...]
  /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/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsBgVsFgActions.java 42 import android.os.HandlerThread;
328 HandlerThread handlerThread = new HandlerThread("br_handler_thread");
329 handlerThread.start();
330 Looper looper = handlerThread.getLooper();

Completed in 2710 milliseconds

1 2