Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageInstallerSessionTest.kt23 import android.content.pm.PackageInstaller.SessionParams.PERMISSION_STATE_GRANTED in <lambda>()
111 it.setPermissionState("grantPermission", PERMISSION_STATE_GRANTED) in <lambda>()
113 .setPermissionState("grantToDefaultPermission", PERMISSION_STATE_GRANTED) in <lambda>()
117 .setPermissionState("grantToDenyPermission", PERMISSION_STATE_GRANTED) in <lambda>()
120 .setPermissionState("denyToGrantPermission", PERMISSION_STATE_GRANTED) in <lambda>()
128 "grantPermission" to PERMISSION_STATE_GRANTED, in <lambda>()
129 "denyToGrantPermission" to PERMISSION_STATE_GRANTED, in <lambda>()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java2696 PERMISSION_STATE_GRANTED,
2715 public static final int PERMISSION_STATE_GRANTED = 1; field in PackageInstaller.SessionParams
3019 setPermissionState(permission, PERMISSION_STATE_GRANTED); in setGrantedRuntimePermissions()
3065 case PERMISSION_STATE_GRANTED: in setPermissionState()
3080 mPermissionStates.put(grantPermission, PERMISSION_STATE_GRANTED); in setPermissionStates()
3592 if (state == PERMISSION_STATE_GRANTED) { in getLegacyGrantedRuntimePermissions()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt831 PackageInstaller.SessionParams.PERMISSION_STATE_GRANTED, in <lambda>()
851 PackageInstaller.SessionParams.PERMISSION_STATE_GRANTED in <lambda>()
888 PackageInstaller.SessionParams.PERMISSION_STATE_GRANTED in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java26 import static android.content.pm.PackageInstaller.SessionParams.PERMISSION_STATE_GRANTED;
3629 && permissionState == PERMISSION_STATE_GRANTED;
3657 permissionState == PERMISSION_STATE_GRANTED ? MODE_ALLOWED : MODE_ERRORED;
/frameworks/base/services/core/java/com/android/server/pm/
DInstallPackageHelper.java2468 PackageInstaller.SessionParams.PERMISSION_STATE_GRANTED); in updateSettingsInternalLI()
DPackageInstallerSession.java5548 String tag = state == SessionParams.PERMISSION_STATE_GRANTED ? TAG_GRANT_PERMISSION
/frameworks/base/core/api/
Dcurrent.txt12876 field public static final int PERMISSION_STATE_GRANTED = 1; // 0x1