Home
last modified time | relevance | path

Searched refs:newPermission (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt344 val newPermission = in <lambda>() constant
353 .putAt(permissionIndex, newPermission) in <lambda>()
572 val newPermission = in <lambda>() constant
583 newState.mutateSystemState().mutatePermissionTrees()[permissionName] = newPermission in <lambda>()
585 newState.mutateSystemState().mutatePermissions()[permissionName] = newPermission in <lambda>()
589 newPermission.protectionLevel != oldPermission.protectionLevel || in <lambda>()
591 ((newPermission.isSignature && isPackageSigningChanged) || in <lambda>()
592 (newPermission.isKnownSigner && in <lambda>()
593 newPermission.knownCerts != oldPermission.knownCerts) || in <lambda>()
594 (newPermission.isRuntime && in <lambda>()
[all …]
DPermissionService.kt397 val newPermission = in <lambda>() constant
400 with(policy) { addPermission(newPermission, !async) } in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionDefinitionsTest.kt335 val newPermission = mockParsedPermission( in testPermissionChanged() constant
343 mockAndroidPackage(PACKAGE_NAME_0, permissions = listOf(newPermission)) in testPermissionChanged()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java2190 final ParsedPermission newPermission =
2192 final int newProtection = ParsedPermissionUtils.getProtection(newPermission);
2195 final String permissionName = newPermission.getName();
2197 newPermission.getParsedPermissionGroup() == null
2198 ? null : newPermission.getParsedPermissionGroup().getName();