Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java578 assertThrows(SecurityException.class, () -> mService.releaseProjection( in releaseProjection_failsForBogusPackageName()
591 assertThrows(SecurityException.class, () -> mService.releaseProjection( in releaseProjection_failsIfNameNotFound()
606 mService.releaseProjection(nonAutomotiveProjectionType, PACKAGE_NAME); in releaseProjection_enforcesToggleAutomotiveProjectionPermission()
615 public void releaseProjection() throws Exception { in releaseProjection() method in UiModeManagerServiceTest
620 assertTrue(mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in releaseProjection()
627 (boolean) mService.releaseProjection(projectionType, PACKAGE_NAME)); in releaseProjection()
653 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in getActiveProjectionTypes()
667 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in getProjectingPackages()
737 mService.releaseProjection(unsetProjectionType, PACKAGE_NAME); in projectionStateChangedListener_calledWhenStateChanges()
741 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in projectionStateChangedListener_calledWhenStateChanges()
[all …]
/frameworks/base/core/java/android/app/
DIUiModeManager.aidl116 boolean releaseProjection(int projectionType, String callingPackage); in releaseProjection() method
DUiModeManager.java774 public boolean releaseProjection(@ProjectionType int projectionType) { in releaseProjection() method in UiModeManager
777 return mService.releaseProjection(projectionType, mContext.getOpPackageName()); in releaseProjection()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java954 public boolean releaseProjection(@UiModeManager.ProjectionType int projectionType,
/frameworks/base/core/api/
Dtest-current.txt375 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
Dsystem-current.txt846 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
/frameworks/base/services/
Dart-profile3377 PLcom/android/server/UiModeManagerService$12;->releaseProjection(ILjava/lang/String;)Z