Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DIUiModeManager.aidl191 boolean releaseProjection(int projectionType, String callingPackage); in releaseProjection() method
DUiModeManager.java1186 public boolean releaseProjection(@ProjectionType int projectionType) { in releaseProjection() method in UiModeManager
1189 return sGlobals.mService.releaseProjection( in releaseProjection()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java1073 assertThrows(SecurityException.class, () -> mService.releaseProjection( in releaseProjection_failsForBogusPackageName()
1087 assertThrows(SecurityException.class, () -> mService.releaseProjection( in releaseProjection_failsIfNameNotFound()
1103 mService.releaseProjection(nonAutomotiveProjectionType, PACKAGE_NAME); in releaseProjection_enforcesToggleAutomotiveProjectionPermission()
1112 public void releaseProjection() throws Exception { in releaseProjection() method in UiModeManagerServiceTest
1118 assertTrue(mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in releaseProjection()
1125 (boolean) mService.releaseProjection(projectionType, PACKAGE_NAME)); in releaseProjection()
1153 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in getActiveProjectionTypes()
1168 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in getProjectingPackages()
1239 mService.releaseProjection(unsetProjectionType, PACKAGE_NAME); in projectionStateChangedListener_calledWhenStateChanges()
1243 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in projectionStateChangedListener_calledWhenStateChanges()
[all …]
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java1160 public boolean releaseProjection(@UiModeManager.ProjectionType int projectionType, in releaseProjection() method in UiModeManagerService.Stub
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt550 RequiresPermission: android.app.UiModeManager#releaseProjection(int):
551 …Method 'releaseProjection' documentation mentions permissions already declared by @RequiresPermiss…
Dtest-lint-baseline.txt610 RequiresPermission: android.app.UiModeManager#releaseProjection(int):
611 …Method 'releaseProjection' documentation mentions permissions already declared by @RequiresPermiss…
Dsystem-lint-baseline.txt640 RequiresPermission: android.app.UiModeManager#releaseProjection(int):
641 …Method 'releaseProjection' documentation mentions permissions already declared by @RequiresPermiss…
Dtest-current.txt513 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
Dsystem-current.txt1184 …t.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);