/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
Utils.java | 28 import android.os.Looper; 115 if (Looper.myLooper() == Looper.getMainLooper()) {
|
/packages/services/Car/car-lib/src/android/car/hardware/radio/ |
CarRadioManager.java | 26 import android.os.Looper; 61 EventCallbackHandler(CarRadioManager mgr, Looper looper) { 62 super(looper); 115 public CarRadioManager(IBinder service, Looper looper) throws CarNotConnectedException { 117 mHandler = new EventCallbackHandler(this, looper);
|
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
AudioPolicyTest.java | 29 import android.os.Looper; 48 mHandler = new Handler(Looper.getMainLooper()); 68 .setLooper(Looper.getMainLooper())
|
/frameworks/base/core/java/com/android/internal/os/ |
HandlerCaller.java | 21 import android.os.Looper; 25 final Looper mMainLooper; 31 MyHandler(Looper looper, boolean async) { 32 super(looper, null, async); 45 public HandlerCaller(Context context, Looper looper, Callback callback, 47 mMainLooper = looper != null ? looper : context.getMainLooper(); 60 if (Looper.myLooper() == mMainLooper) [all...] |
/frameworks/base/libs/hwui/renderthread/ |
RenderThread.cpp | 163 mLooper = new Looper(false); 180 Looper::EVENT_INPUT, RenderThread::displayEventReceiverCallback, this); 197 if (events & (Looper::EVENT_ERROR | Looper::EVENT_HANGUP)) { 203 if (!(events & Looper::EVENT_INPUT)) { 281 LOG_ALWAYS_FATAL_IF(result == Looper::POLL_ERROR, 282 "RenderThread Looper POLL_ERROR!");
|
/cts/suite/audio_quality/lib/include/audio/ |
RemoteAudio.h | 23 #include <utils/Looper.h> 105 android::sp<android::Looper> mLooper;
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerSpoofDetectionTest.java | 27 import android.os.Looper; 90 getLauncherApps().registerCallback(c, new Handler(Looper.getMainLooper()));
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFiller.java | 5 import android.os.Looper; 24 private final Handler handler = new Handler(Looper.getMainLooper());
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
DecodeHandler.java | 28 import android.os.Looper; 57 Looper.myLooper().quit();
|
/frameworks/base/core/java/android/app/trust/ |
TrustManager.java | 23 import android.os.Looper; 169 private final Handler mHandler = new Handler(Looper.getMainLooper()) {
|
/frameworks/base/core/java/android/permissionpresenterservice/ |
RuntimePermissionPresenterService.java | 30 import android.os.Looper; 107 public MyHandler(Looper looper) { 108 super(looper, null, false);
|
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionSessionService.java | 25 import android.os.Looper; 72 mHandlerCaller = new HandlerCaller(this, Looper.myLooper(),
|
/frameworks/base/core/java/android/view/ |
InputQueue.java | 21 import android.os.Looper; 51 mPtr = nativeInit(new WeakReference<InputQueue>(this), Looper.myQueue());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
IdleHandlerTest.java | 20 import android.os.Looper; 43 Looper.myQueue().addIdleHandler(new IdleHandler() {
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
FusedLocationProvider.java | 35 import android.os.Looper; 66 mEngine = new FusionEngine(context, Looper.myLooper());
|
/frameworks/base/telecomm/java/android/telecom/ |
CallScreeningService.java | 24 import android.os.Looper; 58 private final Handler mHandler = new Handler(Looper.getMainLooper()) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
HalWifiScannerImpl.java | 22 import android.os.Looper; 43 public HalWifiScannerImpl(Context context, WifiNative wifiNative, Looper looper, Clock clock) { 47 new SupplicantWifiScannerImpl(context, wifiNative, mChannelHelper, looper, clock);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsAddressResolver.java | 22 import android.os.Looper; 59 mHandler = new Handler(Looper.getMainLooper());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeferredHandler.java | 20 import android.os.Looper; 28 * Queue of things to run on a looper thread. Items posted with {@link #post} will not 36 private MessageQueue mMessageQueue = Looper.myQueue();
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamManager.java | 25 import android.os.Looper; 55 mCallback = new Handler(Looper.getMainLooper(), this);
|
/packages/apps/Settings/src/com/android/settings/ |
ColorModePreference.java | 23 import android.os.Looper; 48 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper()));
|
/packages/apps/TV/src/com/android/tv/menu/ |
ChannelsPosterPrefetcher.java | 21 import android.os.Looper; 126 super(Looper.getMainLooper(), ref);
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
SchedulerTest.java | 28 import android.os.Looper; 65 mScheduler = new Scheduler(Looper.myLooper(), mDvrManager, mSessionManager, mDataManager,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
ColorModePreference.java | 23 import android.os.Looper; 50 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper()));
|
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/ |
CarTest.java | 20 import android.os.Looper; 61 assertTrue(Looper.getMainLooper().isCurrentThread());
|