Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java69 mHandler = new Handler(Looper.getMainLooper()); in BluetoothLeScanner()
326 Handler handler = new Handler(Looper.getMainLooper()); in onScanResult()
338 Handler handler = new Handler(Looper.getMainLooper()); in onBatchScanResults()
359 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/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
DUiControllerImplIntegrationTest.java77 Looper.getMainLooper()).getAsyncTaskThreadPool()), in setUp()
79 new IdlingResourceRegistry(Looper.getMainLooper()), in setUp()
80 Looper.getMainLooper()); in setUp()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
DAppNotIdleException.java51 checkState(Looper.myLooper() == Looper.getMainLooper()); in create()
/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/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/
DAppNotIdleExceptionTest.java55 final Handler handler = new Handler(Looper.getMainLooper()); in testAppIdleException()
/frameworks/base/core/java/android/printservice/
DPrintService.java246 mHandler = new ServiceHandler(base.getMainLooper()); in attachBaseContext()
341 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
/frameworks/volley/src/com/android/volley/
DRequest.java221 if (Looper.myLooper() != Looper.getMainLooper()) { in finish()
224 Handler mainThread = new Handler(Looper.getMainLooper()); in finish()
/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.java46 register(context, Looper.getMainLooper(), 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.java141 private final Handler mHandler = new Handler(Looper.getMainLooper()) {
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
DLooperIdlingResource.java47 checkState(Looper.getMainLooper() != monitoredLooper, "Not for use with main looper."); in LooperIdlingResource()
DThreadPoolExecutorExtractor.java86 if (Looper.myLooper() != Looper.getMainLooper()) { in runOnMainThread()
DBaseLayerModule.java67 return Looper.getMainLooper(); in provideMainLooper()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java165 Looper looper = !onMainThread ? Looper.myLooper() : Looper.getMainLooper(); in ensureChromiumStartedLocked()
167 (Looper.getMainLooper().equals(looper) ? "main":"background") + in ensureChromiumStartedLocked()
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java50 Looper looper = Looper.getMainLooper(); in AudioPortEventHandler()
/frameworks/base/core/java/android/app/job/
DJobService.java105 mHandler = new JobHandler(getMainLooper()); in ensureHandler()
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java196 mHandler = new Handler(context.getMainLooper()) { in RestoreObserverWrapper()

123456