Home
last modified time | relevance | path

Searched refs:getProjectingPackages (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/
DIUiModeManager.aidl131 List<String> getProjectingPackages(int projectionType); in getProjectingPackages() method
DUiModeManager.java797 public Set<String> getProjectingPackages(@ProjectionType int projectionType) { in getProjectingPackages() method in UiModeManager
800 return new ArraySet<>(mService.getProjectingPackages(projectionType)); in getProjectingPackages()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java541 assertThat(mService.getProjectingPackages(PROJECTION_TYPE_AUTOMOTIVE), in requestProjection_automotive_failsIfAlreadySetByOtherPackage()
562 assertThat(mService.getProjectingPackages(projectionType), contains(PACKAGE_NAME)); in requestProjection()
658 public void getProjectingPackages() throws Exception { in getProjectingPackages() method in UiModeManagerServiceTest
659 assertTrue(mService.getProjectingPackages(PROJECTION_TYPE_ALL).isEmpty()); in getProjectingPackages()
662 assertEquals(1, mService.getProjectingPackages(PROJECTION_TYPE_AUTOMOTIVE).size()); in getProjectingPackages()
663 assertEquals(1, mService.getProjectingPackages(PROJECTION_TYPE_ALL).size()); in getProjectingPackages()
664 assertThat(mService.getProjectingPackages(PROJECTION_TYPE_AUTOMOTIVE), in getProjectingPackages()
666 assertThat(mService.getProjectingPackages(PROJECTION_TYPE_ALL), contains(PACKAGE_NAME)); in getProjectingPackages()
668 assertThat(mService.getProjectingPackages(PROJECTION_TYPE_ALL), empty()); in getProjectingPackages()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java980 public List<String> getProjectingPackages(
/frameworks/base/core/api/
Dsystem-current.txt845 …ermission.READ_PROJECTION_STATE) public java.util.Set<java.lang.String> getProjectingPackages(int);