Searched refs:displays (Results 1 – 7 of 7) sorted by relevance
88 Set<Integer> displays = device.listDisplayIdsForStartingVisibleBackgroundUsers(); in startUserVisibleOnBackground() local89 CLog.d("Displays: %s", displays); in startUserVisibleOnBackground()90 if (displays.isEmpty()) { in startUserVisibleOnBackground()95 Iterator<Integer> iterator = displays.iterator(); in startUserVisibleOnBackground()
94 public void mockListDisplayIdsForStartingVisibleBackgroundUsers(Set<Integer> displays) in mockListDisplayIdsForStartingVisibleBackgroundUsers() argument96 when(mMockDevice.listDisplayIdsForStartingVisibleBackgroundUsers()).thenReturn(displays); in mockListDisplayIdsForStartingVisibleBackgroundUsers()
407 private void mockListDisplayIdsForStartingVisibleBackgroundUsers(Set<Integer> displays) in mockListDisplayIdsForStartingVisibleBackgroundUsers() argument409 mTestDeviceMockHelper.mockListDisplayIdsForStartingVisibleBackgroundUsers(displays); in mockListDisplayIdsForStartingVisibleBackgroundUsers()
955 Set<Long> displays = mTestDevice.listDisplayIds(); in testScreenshot_withDisplay() local956 assertThat(displays).isNotEmpty(); in testScreenshot_withDisplay()957 InputStreamSource screenshot = mTestDevice.getScreenshot(displays.iterator().next()); in testScreenshot_withDisplay()
5877 Set<Long> displays = mTestDevice.listDisplayIds(); in testListDisplayId() local5878 assertEquals(2, displays.size()); in testListDisplayId()5879 assertTrue(displays.contains(0L)); in testListDisplayId()5880 assertTrue(displays.contains(5L)); in testListDisplayId()
2561 Set<Long> displays = new HashSet<>(); in listDisplayIds() local2565 return displays; in listDisplayIds()2572 displays.add(Long.parseLong(m.group("id"))); in listDisplayIds()2579 if (displays.isEmpty()) { in listDisplayIds()2581 displays.add(0L); in listDisplayIds()2584 return displays; in listDisplayIds()
97 …e. You must supply a copy of this License. If the work during execution displays copyright notices…