Home
last modified time | relevance | path

Searched refs:requestProjection (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java968 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/
DIUiModeManager.aidl186 boolean requestProjection(in IBinder binder, int projectionType, String callingPackage); in requestProjection() method
DUiModeManager.java1157 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/
DUiModeManagerService.java1113 public boolean requestProjection(IBinder binder, in requestProjection() method in UiModeManagerService.Stub
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt552 RequiresPermission: android.app.UiModeManager#requestProjection(int):
553 …Method 'requestProjection' documentation mentions permissions already declared by @RequiresPermiss…
Dtest-lint-baseline.txt612 RequiresPermission: android.app.UiModeManager#requestProjection(int):
613 …Method 'requestProjection' documentation mentions permissions already declared by @RequiresPermiss…
Dsystem-lint-baseline.txt642 RequiresPermission: android.app.UiModeManager#requestProjection(int):
643 …Method 'requestProjection' documentation mentions permissions already declared by @RequiresPermiss…
Dtest-current.txt514 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
Dsystem-current.txt1186 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);