Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAssert.java29 public static Looper sMainLooper = Looper.getMainLooper(); field in Assert
32 if (!sMainLooper.isCurrentThread()) { in isMainThread()
38 if (sMainLooper.isCurrentThread()) { in isNotMainThread()
/frameworks/layoutlib/bridge/src/android/os/
DLooper_Accessor.java29 Field sMainLooper = Looper.class.getDeclaredField("sMainLooper"); in cleanupThread() local
30 sMainLooper.setAccessible(true); in cleanupThread()
31 sMainLooper.set(null, null); in cleanupThread()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DKeepAwakeAnimationListenerTest.java48 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setup()
66 Assert.sMainLooper = Looper.getMainLooper(); in initThrows_onNonMainThread()
/frameworks/base/core/java/android/os/
DLooper.java74 private static Looper sMainLooper; // guarded by Looper.class field in Looper
124 if (sMainLooper != null) { in prepareMainLooper()
127 sMainLooper = myLooper(); in prepareMainLooper()
136 return sMainLooper; in getMainLooper()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardPresentationTest.java39 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in testInflation_doesntCrash()
DKeyguardStatusViewTest.java53 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DKeyguardSliceViewTest.java54 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DExpandHelperTest.java51 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DSysuiTestCase.java84 Assert.sMainLooper = Looper.getMainLooper(); in SysuiTeardown()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapperTest.java51 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setup()
DNotificationCustomViewWrapperTest.java46 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DNotificationMediaTemplateViewWrapperTest.java67 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAboveShelfObserverTest.java49 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DNotificationFilterTest.java80 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainerTest.java47 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DNotificationRoundnessManagerTest.java68 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DNotificationStackScrollLayoutTest.java133 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java67 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DKeyguardBouncerTest.java96 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java77 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.java74 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DExpandableNotificationRowTest.java83 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
DNotificationGutsManagerTest.java114 Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java96 Assert.sMainLooper = mTestableLooper.getLooper(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java114 com.android.systemui.util.Assert.sMainLooper = TestableLooper.get(this).getLooper(); in setUp()