Home
last modified time | relevance | path

Searched refs:getMainLooper (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java70 mHandler = new Handler(Looper.getMainLooper()); in BluetoothLeScanner()
327 Handler handler = new Handler(Looper.getMainLooper()); in onScanResult()
339 Handler handler = new Handler(Looper.getMainLooper()); in onBatchScanResults()
360 Handler handler = new Handler(Looper.getMainLooper()); in onFoundOrLost()
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java43 new BridgeIInputMethodManager(), Looper.getMainLooper()); in getInstance()
/frameworks/volley/src/com/android/volley/toolbox/
DClearCacheRequest.java51 Handler handler = new Handler(Looper.getMainLooper()); in isCanceled()
DImageLoader.java65 private final Handler mHandler = new Handler(Looper.getMainLooper());
466 if (Looper.myLooper() != Looper.getMainLooper()) {
/frameworks/base/test-runner/src/android/test/
DLoaderTestCase.java77 final Handler mainThreadHandler = new Handler(Looper.getMainLooper()) { in getLoaderResultSynchronously()
/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java66 mHandler = new SessionHandler(context.getMainLooper()); in PrinterDiscoverySession()
260 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java76 mUiThreadHandler = new Handler(Looper.getMainLooper()); in prepare()
/frameworks/volley/src/com/android/volley/
DRequest.java221 if (Looper.myLooper() != Looper.getMainLooper()) { in finish()
224 Handler mainThread = new Handler(Looper.getMainLooper()); in finish()
DRequestQueue.java114 new ExecutorDelivery(new Handler(Looper.getMainLooper()))); in RequestQueue()
/frameworks/base/core/java/android/printservice/
DPrintService.java246 mHandler = new ServiceHandler(base.getMainLooper()); in attachBaseContext()
341 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java82 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsPackageMonitor.java49 register(context, Looper.getMainLooper(), UserHandle.ALL, true); in register()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java139 looper = Looper.getMainLooper(); in NativeEventHandlerDelegate()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java199 mCreatorLooper != null ? mCreatorLooper : Looper.getMainLooper(); in setOnFrameAvailableListener()
/frameworks/base/core/java/android/os/
DLooper.java99 public static Looper getMainLooper() { in getMainLooper() method in Looper
/frameworks/base/core/java/android/app/trust/
DTrustManager.java154 private final Handler mHandler = new Handler(Looper.getMainLooper()) {
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java51 Looper looper = Looper.getMainLooper(); in init()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java189 Looper looper = !onMainThread ? Looper.myLooper() : Looper.getMainLooper(); in ensureChromiumStartedLocked()
191 (Looper.getMainLooper().equals(looper) ? "main":"background") + in ensureChromiumStartedLocked()
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java196 mHandler = new Handler(context.getMainLooper()) { in RestoreObserverWrapper()
/frameworks/base/core/java/android/app/job/
DJobService.java105 mHandler = new JobHandler(getMainLooper()); in ensureHandler()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java677 if (Looper.myLooper() == Looper.getMainLooper()) { in runOnMainThread()
716 return Looper.myLooper() == Looper.getMainLooper(); in isMainThread()
721 if (Looper.myLooper() == Looper.getMainLooper()) { in runTestOnUiThread()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGLToolbox.java189 if (Looper.getMainLooper().getThread() == Thread.currentThread()) { in assertNonUiThread()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrinterRegistry.java57 mHandler = new MyHandler(activity.getMainLooper()); in PrinterRegistry()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsVideoCallProviderWrapper.java106 private final Handler mHandler = new Handler(Looper.getMainLooper()) {
DImsVideoCallProvider.java48 private final Handler mProviderHandler = new Handler(Looper.getMainLooper()) {

12345