Searched refs:requestProjection (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 968 assertThrows(SecurityException.class, () -> mService.requestProjection(mBinder, in requestProjection_failsForBogusPackageName() 978 assertThrows(SecurityException.class, () -> mService.requestProjection(mBinder, in requestProjection_failsIfNameNotFound() 989 () -> mService.requestProjection(mBinder, PROJECTION_TYPE_NONE, PACKAGE_NAME)); in requestProjection_failsIfNoProjectionTypes() 1005 () -> mService.requestProjection(mBinder, multipleProjectionTypes, PACKAGE_NAME)); in requestProjection_failsIfMultipleProjectionTypes() 1017 assertThrows(SecurityException.class, () -> mService.requestProjection(mBinder, in requestProjection_enforcesToggleAutomotiveProjectionPermission() 1026 mService.requestProjection(mBinder, PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in requestProjection_automotive_failsIfAlreadySetByOtherPackage() 1032 assertFalse(mService.requestProjection(mBinder, PROJECTION_TYPE_AUTOMOTIVE, otherPackage)); in requestProjection_automotive_failsIfAlreadySetByOtherPackage() 1043 assertFalse(mService.requestProjection(mBinder, PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_failsIfCannotLinkToDeath() 1048 public void requestProjection() throws Exception { in requestProjection() method in UiModeManagerServiceTest 1054 assertTrue(mService.requestProjection(mBinder, projectionType, PACKAGE_NAME)); in requestProjection() [all …]
|
/frameworks/base/core/java/android/app/ |
D | IUiModeManager.aidl | 186 boolean requestProjection(in IBinder binder, int projectionType, String callingPackage); in requestProjection() method
|
D | UiModeManager.java | 1157 public boolean requestProjection(@ProjectionType int projectionType) { in requestProjection() method in UiModeManager 1160 return sGlobals.mService.requestProjection(new Binder(), projectionType, in requestProjection()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 1113 public boolean requestProjection(IBinder binder, in requestProjection() method in UiModeManagerService.Stub
|
/frameworks/base/core/api/ |
D | module-lib-lint-baseline.txt | 552 RequiresPermission: android.app.UiModeManager#requestProjection(int): 553 …Method 'requestProjection' documentation mentions permissions already declared by @RequiresPermiss…
|
D | test-lint-baseline.txt | 612 RequiresPermission: android.app.UiModeManager#requestProjection(int): 613 …Method 'requestProjection' documentation mentions permissions already declared by @RequiresPermiss…
|
D | system-lint-baseline.txt | 642 RequiresPermission: android.app.UiModeManager#requestProjection(int): 643 …Method 'requestProjection' documentation mentions permissions already declared by @RequiresPermiss…
|
D | test-current.txt | 514 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
|
D | system-current.txt | 1186 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
|