Home
last modified time | relevance | path

Searched refs:backgroundPermission (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedPermissionImpl.java48 private String backgroundPermission; field in ParsedPermissionImpl
106 dest.writeString(this.backgroundPermission); in writeToParcel()
117 this.backgroundPermission = in.readString(); in ParsedPermissionImpl()
158 @Nullable String backgroundPermission, in ParsedPermissionImpl()
165 this.backgroundPermission = backgroundPermission; in ParsedPermissionImpl()
178 return backgroundPermission; in getBackgroundPermission()
203 backgroundPermission = value; in setBackgroundPermission()
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java486 public final @Nullable String backgroundPermission; field in PermissionInfo
655 public PermissionInfo(@Nullable String backgroundPermission) { in PermissionInfo() argument
656 this.backgroundPermission = backgroundPermission; in PermissionInfo()
676 backgroundPermission = orig.backgroundPermission; in PermissionInfo()
742 dest.writeString8(backgroundPermission); in writeToParcel()
803 backgroundPermission = source.readString8(); in PermissionInfo()
DPackageParser.java3185 String backgroundPermission = null; in parsePermission() local
3189 backgroundPermission = sa.getNonResourceString( in parsePermission()
3198 Permission perm = new Permission(owner, backgroundPermission); in parsePermission()
7805 public Permission(Package owner, @Nullable String backgroundPermission) { in Permission() argument
7807 info = new PermissionInfo(backgroundPermission); in Permission()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DBasePermissionPolicyTest.kt100 PermissionInfo(parsedPermission.backgroundPermission).apply { in <lambda>()
234 backgroundPermission: String? = null, in <lambda>()
244 whenever(this.backgroundPermission).thenReturn(backgroundPermission) in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt130 permission.permissionInfo.backgroundPermission?.let { in <lambda>()
518 ?: foregroundToBackgroundPermissionName[permissionName]?.let { backgroundPermission in <lambda>() method
522 getPermissionFlags(appId, userId, backgroundPermission) in <lambda>()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java836 if (permissionInfo.backgroundPermission != null) { in PermissionToOpSynchroniser()
837 String backgroundNonRuntimePermission = permissionInfo.backgroundPermission; in PermissionToOpSynchroniser()
840 if (permissionInfo.backgroundPermission.equals( in PermissionToOpSynchroniser()
956 if (permissionInfo.backgroundPermission != null) { in addPermissionAppOp()
958 permissionInfo.backgroundPermission); in addPermissionAppOp()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermission.java532 return mPermissionInfo.backgroundPermission; in getBackgroundPermission()
DDefaultPermissionGrantPolicy.java1715 return pi.backgroundPermission; in getBackgroundPermission()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2270 if (permissionInfo.backgroundPermission != null) { in updatePermissionRevokedCompat()
2271 if (packageManager.checkPermission(permissionInfo.backgroundPermission, packageName) in updatePermissionRevokedCompat()
2280 + permissionInfo.backgroundPermission); in updatePermissionRevokedCompat()
2285 packageManager.updatePermissionFlags(permissionInfo.backgroundPermission, in updatePermissionRevokedCompat()
/frameworks/base/core/api/
Dsystem-current.txt4423 field @Nullable public final String backgroundPermission;