Searched refs:requestProjection (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 481 assertThrows(SecurityException.class, () -> mService.requestProjection(mBinder, in requestProjection_failsForBogusPackageName() 491 assertThrows(SecurityException.class, () -> mService.requestProjection(mBinder, in requestProjection_failsIfNameNotFound() 501 () -> mService.requestProjection(mBinder, PROJECTION_TYPE_NONE, PACKAGE_NAME)); in requestProjection_failsIfNoProjectionTypes() 516 () -> mService.requestProjection(mBinder, multipleProjectionTypes, PACKAGE_NAME)); in requestProjection_failsIfMultipleProjectionTypes() 527 assertThrows(SecurityException.class, () -> mService.requestProjection(mBinder, in requestProjection_enforcesToggleAutomotiveProjectionPermission() 535 mService.requestProjection(mBinder, PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in requestProjection_automotive_failsIfAlreadySetByOtherPackage() 540 assertFalse(mService.requestProjection(mBinder, PROJECTION_TYPE_AUTOMOTIVE, otherPackage)); in requestProjection_automotive_failsIfAlreadySetByOtherPackage() 550 assertFalse(mService.requestProjection(mBinder, PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_failsIfCannotLinkToDeath() 555 public void requestProjection() throws Exception { in requestProjection() method in UiModeManagerServiceTest 560 assertTrue(mService.requestProjection(mBinder, projectionType, PACKAGE_NAME)); in requestProjection() [all …]
|
/frameworks/base/core/java/android/app/ |
D | IUiModeManager.aidl | 111 boolean requestProjection(in IBinder binder, int projectionType, String callingPackage); in requestProjection() method
|
D | UiModeManager.java | 745 public boolean requestProjection(@ProjectionType int projectionType) { in requestProjection() method in UiModeManager 748 return mService.requestProjection(new Binder(), projectionType, in requestProjection()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 909 public boolean requestProjection(IBinder binder,
|
/frameworks/base/core/api/ |
D | test-current.txt | 376 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
|
D | system-current.txt | 848 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
|
/frameworks/base/services/ |
D | art-profile | 3378 PLcom/android/server/UiModeManagerService$12;->requestProjection(Landroid/os/IBinder;ILjava/lang/St…
|