Home
last modified time | relevance | path

Searched refs:displayIds (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserVisibilityTestCase.java179 int[] displayIds = null; in getSecondaryDisplayIdForStartingVisibleBackgroundUser() local
182 displayIds = sContext.getSystemService(ActivityManager.class) in getSecondaryDisplayIdForStartingVisibleBackgroundUser()
186 + "AM:" + Arrays.toString(displayIds)); in getSecondaryDisplayIdForStartingVisibleBackgroundUser()
187 if (displayIds != null) { in getSecondaryDisplayIdForStartingVisibleBackgroundUser()
188 for (int displayId : displayIds) { in getSecondaryDisplayIdForStartingVisibleBackgroundUser()
/cts/common/device-side/bedstead/modules/multiuser/src/test/kotlin/com/android/bedstead/multiuser/
DUserReferenceTest.java837 int[] displayIds; in getDisplayIdForStartingVisibleBackgroundUser() local
840 displayIds = sContext.getSystemService(ActivityManager.class) in getDisplayIdForStartingVisibleBackgroundUser()
843 assertWithMessage("available displays").that(displayIds).isNotNull(); in getDisplayIdForStartingVisibleBackgroundUser()
844 assertWithMessage("# of available displays").that(displayIds.length).isAtLeast(1); in getDisplayIdForStartingVisibleBackgroundUser()
845 return displayIds[0]; in getDisplayIdForStartingVisibleBackgroundUser()