/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
D | BaseDataBinderTest.java | 51 return Looper.myLooper() == Looper.getMainLooper(); in isMainThread() 64 if (Looper.myLooper() == Looper.getMainLooper()) { in runTestOnUiThread() 76 if (Looper.myLooper() != Looper.getMainLooper()) { in initBinder()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 76 mHandler = new Handler(Looper.getMainLooper(), this); in TwilightService() 158 null /* default */, this, Looper.getMainLooper()); in startListening() 164 LocationManager.NETWORK_PROVIDER, this, Looper.getMainLooper()); in startListening() 167 LocationManager.GPS_PROVIDER, this, Looper.getMainLooper()); in startListening()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 130 SettingsState.MAX_BYTES_PER_APP_PACKAGE_UNLIMITED, Looper.getMainLooper()); in testReadWrite() 142 SettingsState.MAX_BYTES_PER_APP_PACKAGE_UNLIMITED, Looper.getMainLooper()); in testReadWrite() 169 SettingsState.MAX_BYTES_PER_APP_PACKAGE_UNLIMITED, Looper.getMainLooper()); in testUpgrade()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 74 mHandler = new Handler(Looper.getMainLooper()); in BluetoothLeScanner() 396 Handler handler = new Handler(Looper.getMainLooper()); in onScanResult() 408 Handler handler = new Handler(Looper.getMainLooper()); in onBatchScanResults() 429 Handler handler = new Handler(Looper.getMainLooper()); in onFoundOrLost()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/ |
D | InputMethodManager_Delegate.java | 43 new BridgeIInputMethodManager(), Looper.getMainLooper()); in getInstance()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | ThreadUtilTest.java | 166 assertThat(Looper.myLooper(), sameInstance(Looper.getMainLooper())); in assertMainThread() 170 assertThat(Looper.myLooper(), not(Looper.getMainLooper())); in assertBackgroundThread()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DejankUtils.java | 75 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | ClearCacheRequest.java | 51 Handler handler = new Handler(Looper.getMainLooper()); in isCanceled()
|
D | ImageLoader.java | 64 private final Handler mHandler = new Handler(Looper.getMainLooper()); 491 if (Looper.myLooper() != Looper.getMainLooper()) {
|
/frameworks/base/test-runner/src/android/test/ |
D | LoaderTestCase.java | 77 final Handler mainThreadHandler = new Handler(Looper.getMainLooper()) { in getLoaderResultSynchronously()
|
/frameworks/base/core/java/android/print/ |
D | PrinterDiscoverySession.java | 68 mHandler = new SessionHandler(context.getMainLooper()); in PrinterDiscoverySession() 262 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
|
D | PrintServiceRecommendationsLoader.java | 109 super(getContext().getMainLooper()); in MyHandler()
|
D | PrintServicesLoader.java | 114 super(getContext().getMainLooper()); in MyHandler()
|
/frameworks/volley/src/main/java/com/android/volley/ |
D | Request.java | 220 if (Looper.myLooper() != Looper.getMainLooper()) { in finish() 223 Handler mainThread = new Handler(Looper.getMainLooper()); in finish()
|
/frameworks/base/core/java/android/service/vr/ |
D | VrListenerService.java | 99 mHandler = new VrListenerHandler(Looper.getMainLooper()); in VrListenerService()
|
/frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/ |
D | LaunchActivity.java | 53 mHandler = new Handler(Looper.getMainLooper()); in onCreate()
|
D | MainActivity.java | 39 mHandler = new Handler(Looper.getMainLooper()); in onCreate()
|
/frameworks/base/core/java/android/printservice/recommendation/ |
D | RecommendationService.java | 107 super(Looper.getMainLooper());
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | CallbackFilter.java | 76 mUiThreadHandler = new Handler(Looper.getMainLooper()); in prepare()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | TestActivity.java | 46 mHandler = new Handler(Looper.getMainLooper()); in onCreate()
|
/frameworks/base/media/java/android/media/ |
D | MediaSync.java | 260 looper = Looper.getMainLooper(); in setCallback() 293 looper = Looper.getMainLooper(); in setOnErrorListener()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintService.java | 261 mHandler = new ServiceHandler(base.getMainLooper()); in attachBaseContext() 358 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 752 final Looper mainLooper = context.getMainLooper(); in SpecAnimationBridge() 833 super(context.getMainLooper()); in UpdateHandler() 918 super(context.getMainLooper()); in StateChangeHandler() 1024 super(context.getMainLooper()); in CallbackHandler()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLEnvironment.java | 82 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
|
/frameworks/base/core/java/android/app/ |
D | EphemeralResolverService.java | 59 mHandler = new ServiceHandler(base.getMainLooper()); in attachBaseContext()
|