/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
Looper_Accessor.java | 24 // clean up the looper 25 Looper.sThreadLocal.remove();
|
HandlerThread_Delegate.java | 70 Looper.prepare(); 72 theThread.mLooper = Looper.myLooper(); 77 Looper.loop();
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentQueryMapTest.java | 24 import android.os.Looper; 34 /** Helper class to run test code in a new thread with a Looper. */ 43 Looper.prepare(); 45 Looper.loop(); 84 Looper.myLooper().quit();
|
/frameworks/base/core/java/android/os/ |
HandlerThread.java | 20 * Handy class for starting a new thread that has a looper. The looper can then be 26 Looper mLooper; 46 * setup before Looper loops. 53 Looper.prepare(); 55 mLooper = Looper.myLooper(); 60 Looper.loop(); 65 * This method returns the Looper associated with this thread. If this thread not been started 67 * has been started, this method will block until the looper has been initialized. 68 * @return The looper 94 Looper looper = getLooper(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
HandlerTester.java | 20 import android.os.Looper; 61 Looper.prepare(); 62 mLooper = Looper.myLooper(); 64 Looper.loop(); 87 private Looper mLooper;
|
TestHandlerThread.java | 20 import android.os.Looper; 28 private Looper mLooper; 61 public Looper getLooper() { 82 Looper.prepare(); 83 mLooper = Looper.myLooper(); 85 Looper.loop();
|
/frameworks/base/core/java/android/webkit/ |
WebSyncManager.java | 21 import android.os.Looper; 80 // prepare Looper for sync handler 81 Looper.prepare(); 90 Looper.loop();
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
PackageIconLoaderTest.java | 25 import android.os.Looper; 72 Looper.prepare(); 77 Looper.loop(); 93 Looper.myLooper().quit();
|
/cts/tests/src/android/app/cts/ |
TestedActivity.java | 21 import android.os.Looper; 38 Looper.myLooper(); 39 Looper.myQueue().addIdleHandler(new Idler());
|
TestedScreen.java | 23 import android.os.Looper; 65 Looper.myLooper(); 66 Looper.myQueue().addIdleHandler(new Idler()); 69 Looper.myLooper(); 70 Looper.myQueue().addIdleHandler(new Idler());
|
/cts/tests/tests/os/src/android/os/cts/ |
LooperTest.java | 20 import android.os.Looper; 32 @TestTargetClass(Looper.class) 39 private Looper mLooper = null; 51 Looper.myLooper().dump(printer, prefix); 60 Looper looper = Looper.getMainLooper(); local 61 assertNotNull(looper); 76 Looper.loop(); 89 assertNull(Looper.myLooper()) [all...] |
TokenWatcherTest.java | 25 import android.os.Looper; 52 private Looper mLooper; 58 Looper.prepare(); 59 mLooper = Looper.myLooper(); 61 Looper.loop();
|
/cts/tests/tests/media/src/android/media/cts/ |
PresetReverbTest.java | 23 import android.os.Looper; 44 private Looper mLooper = null; 243 Log.e(TAG, "Looper creation: wait was interrupted."); 275 Log.e(TAG, "Looper creation: wait was interrupted."); 310 Log.e(TAG, "Looper creation: wait was interrupted."); 360 // Initializes the reverb listener looper 379 // Set up a looper 380 Looper.prepare(); 382 // Save the looper so that we can terminate this thread 384 mLooper = Looper.myLooper() [all...] |
VisualizerTest.java | 23 import android.os.Looper; 42 private Looper mLooper = null; 250 Log.e(TAG, "Looper creation: wait was interrupted."); 356 // Set up a looper to be used by mEffect. 357 Looper.prepare(); 359 // Save the looper so that we can terminate this thread 361 mLooper = Looper.myLooper(); 398 Looper.loop(); // Blocks forever until Looper.quit() is called. 403 * Terminates the listener looper thread [all...] |
BassBoostTest.java | 23 import android.os.Looper; 46 private Looper mLooper = null; 297 Log.e(TAG, "Looper creation: wait was interrupted."); 329 Log.e(TAG, "Looper creation: wait was interrupted."); 364 Log.e(TAG, "Looper creation: wait was interrupted."); 414 // Initializes the bassboot listener looper 433 // Set up a looper 434 Looper.prepare(); 436 // Save the looper so that we can terminate this thread 438 mLooper = Looper.myLooper() [all...] |
EnvReverbTest.java | 23 import android.os.Looper; 46 private Looper mLooper = null; 489 Log.e(TAG, "Looper creation: wait was interrupted."); 521 Log.e(TAG, "Looper creation: wait was interrupted."); 556 Log.e(TAG, "Looper creation: wait was interrupted."); 606 // Initializes the reverb listener looper 625 // Set up a looper 626 Looper.prepare(); 628 // Save the looper so that we can terminate this thread 630 mLooper = Looper.myLooper() [all...] |
EqualizerTest.java | 23 import android.os.Looper; 49 private Looper mLooper = null; 391 Log.e(TAG, "Looper creation: wait was interrupted."); 423 Log.e(TAG, "Looper creation: wait was interrupted."); 458 Log.e(TAG, "Looper creation: wait was interrupted."); 508 // Initializes the equalizer listener looper 527 // Set up a looper 528 Looper.prepare(); 530 // Save the looper so that we can terminate this thread 532 mLooper = Looper.myLooper() [all...] |
VirtualizerTest.java | 23 import android.os.Looper; 46 private Looper mLooper = null; 291 Log.e(TAG, "Looper creation: wait was interrupted."); 323 Log.e(TAG, "Looper creation: wait was interrupted."); 358 Log.e(TAG, "Looper creation: wait was interrupted."); 408 // Initializes the virtualizer listener looper 427 // Set up a looper 428 Looper.prepare(); 430 // Save the looper so that we can terminate this thread 432 mLooper = Looper.myLooper() [all...] |
/frameworks/base/services/java/com/android/server/ |
CountryDetectorService.java | 30 import android.os.Looper; 184 Looper.prepare(); 188 Looper.loop();
|
NotificationPlayer.java | 25 import android.os.Looper; 64 private Looper mLooper; 70 * be created with a looper running so its event handler is not null. 80 Looper.prepare(); 81 mLooper = Looper.myLooper(); 114 Looper.loop(); 213 // if there are no more sounds to play, end the Looper to listen for media completion
|
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
Gservices.java | 24 import android.os.Looper; 69 Looper.prepare(); 71 new ContentObserver(new Handler(Looper.myLooper())) { 78 Looper.loop();
|
/cts/tests/tests/app/src/android/app/cts/ |
PendingIntentTest.java | 25 import android.os.Looper; 46 private Looper mLooper; 66 Looper.prepare(); 67 mLooper = Looper.myLooper(); 69 Looper.loop();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 29 import android.os.Looper; 57 private Looper mLooper = null; 73 * Initializes the message looper so that the Camera object can 78 Log.v(TAG, "start looper"); 82 // Set up a looper to be used by camera. 83 Looper.prepare(); 85 // Save the looper so that we can terminate this thread 87 mLooper = Looper.myLooper(); 90 Looper.loop(); // Blocks forever until Looper.quit() is called [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerStateUnitTestTemplate.java | 20 import android.os.Looper; 51 private Looper mLooper = null; 92 terminateMessageLooper(); // Release message looper thread. 100 * Initializes the message looper so that the MediaPlayer object can 107 // Set up a looper to be used by mMediaPlayer. 108 Looper.prepare(); 110 // Save the looper so that we can terminate this thread 112 mLooper = Looper.myLooper(); 144 Looper.loop(); // Blocks forever until Looper.quit() is called [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
JNIBindingsTestApp.java | 22 import android.os.Looper; 84 Looper.prepare(); 91 Looper.myLooper().quit(); 98 Looper.loop();
|