Searched refs:SystemServicesTestRule (Results 1 – 8 of 8) sorted by relevance
68 private static void applyRule(Predicate<SystemServicesTestRule> action) throws Throwable { in applyRule()69 final SystemServicesTestRule wmsRule = new SystemServicesTestRule(); in applyRule()
34 public final SystemServicesTestRule mSystemServicesTestRule = new SystemServicesTestRule();
42 private final SystemServicesTestRule mSystemServicesTestRule;45 WindowManagerGlobalLockRule(SystemServicesTestRule systemServiceTestRule) { in WindowManagerGlobalLockRule()
193 SystemServicesTestRule.checkHoldsLock(mService.mGlobalLock); in build()200 final int displayId = SystemServicesTestRule.sNextDisplayId++; in build()
217 SystemServicesTestRule.checkHoldsLock(mWm.mGlobalLock); in setUpBase()596 SystemServicesTestRule.checkHoldsLock(service.mGlobalLock); in createWindow()890 SystemServicesTestRule.checkHoldsLock(mWm.mGlobalLock); in createWindowState()1258 SystemServicesTestRule.checkHoldsLock(mService.mGlobalLock); in build()1353 wpc = p != null ? p : SystemServicesTestRule.addProcess( in buildInner()1409 SystemServicesTestRule.checkHoldsLock(mAtm.mGlobalLock); in build()1558 SystemServicesTestRule.checkHoldsLock(mSupervisor.mService.mGlobalLock); in build()1758 SystemServicesTestRule.checkHoldsLock(dc.mWmService.mGlobalLock); in createTestWindowToken()
109 public class SystemServicesTestRule implements TestRule { class111 private static final String TAG = SystemServicesTestRule.class.getSimpleName();149 runWithDexmakerShareClassLoader(SystemServicesTestRule.this::setUp); in apply()
199 organizer, SystemServicesTestRule.sNextDisplayId + 1, FEATURE_ROOT, in testCreateTaskDisplayArea_invalidDisplayAndRoot()
90 public final SystemServicesTestRule mSystemServices = new SystemServicesTestRule();