Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java481 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/
DIUiModeManager.aidl111 boolean requestProjection(in IBinder binder, int projectionType, String callingPackage); in requestProjection() method
DUiModeManager.java745 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/
DUiModeManagerService.java909 public boolean requestProjection(IBinder binder,
/frameworks/base/core/api/
Dtest-current.txt376 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
Dsystem-current.txt848 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
/frameworks/base/services/
Dart-profile3378 PLcom/android/server/UiModeManagerService$12;->requestProjection(Landroid/os/IBinder;ILjava/lang/St…