/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | AppIdPermissionPolicyPermissionDefinitionsTest.kt | 53 .that(getPermission(PERMISSION_NAME_0)?.packageName) in testAdoptPermissions_permissionsOfMissingSystemApp_getsAdopted() 67 .that(getPermission(PERMISSION_NAME_0)?.packageName) in testAdoptPermissions_permissionsOfExistingSystemApp_notAdopted() 81 .that(getPermission(PERMISSION_NAME_0)?.packageName) in testAdoptPermissions_permissionsOfNonSystemApp_notAdopted() 201 .that(getPermission(PERMISSION_NAME_0)?.name) in testPermissionDefinition_newPermission_getsDeclared() 214 .that(getPermission(PERMISSION_NAME_0)?.packageName) in testPermissionDefinition_systemAppTakingOverPermissionDefinition_getsTakenOver() 227 .that(getPermission(PERMISSION_NAME_0)?.packageName) in testPermissionDefinition_nonSystemAppTakingOverPermissionDefinition_remainsUnchanged() 240 .that(getPermission(PERMISSION_NAME_0)?.packageName) in testPermissionDefinition_takingOverPermissionDeclaredBySystemApp_remainsUnchanged() 387 .that(getPermission(PERMISSION_NAME_0)) in testPermissionDeclaration_permissionNoLongerDeclared_getsDefinitionRemoved() 403 .that(getPermission(PERMISSION_NAME_0)) in testPermissionDeclaration_permissionByDisabledSystemPackage_remainsUnchanged()
|
D | AppIdPermissionPolicyTest.kt | 131 .that(getPermission(PERMISSION_NAME_0)) in testOnPackageRemoved_packageIsRemoved_permissionDefinitionsAndStatesAreUpdated()
|
D | BasePermissionPolicyTest.kt | 324 protected fun getPermission( in <lambda>() method
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedService.java | 28 String getPermission(); in getPermission() method
|
D | ParsedActivity.java | 49 String getPermission(); in getPermission() method
|
D | ParsedServiceImpl.java | 131 public @Nullable String getPermission() { in getPermission() method in ParsedServiceImpl
|
D | ParsedProviderUtils.java | 105 provider.setReadPermission(pkg.getPermission()); in parseProvider() 115 provider.setWritePermission(pkg.getPermission()); in parseProvider()
|
D | ParsedServiceUtils.java | 92 service.setPermission(permission != null ? permission : pkg.getPermission()); in parseService()
|
D | ParsedActivityImpl.java | 485 public @Nullable String getPermission() { in getPermission() method in ParsedActivityImpl
|
D | ParsedActivityUtils.java | 366 activity.setPermission(permission != null ? permission : pkg.getPermission()); in parseActivityOrAlias()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 466 Permission bp = mRegistry.getPermission(perm.name); in PermissionManagerServiceImpl() 580 final Permission bp = mRegistry.getPermission(permName); in getPermissionInfo() 656 Permission bp = mRegistry.getPermission(info.name); in addPermission() 685 final Permission bp = mRegistry.getPermission(permName); in removePermission() 729 if (mRegistry.getPermission(permName) == null) { in getPermissionFlagsInternal() 851 final Permission bp = mRegistry.getPermission(permName); in updatePermissionFlagsInternal() 994 final Permission permission = mRegistry.getPermission(permissionName); in checkSinglePermissionInternalLocked() 1200 final Permission bp = mRegistry.getPermission(permName); in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission() 1380 final Permission permission = mRegistry.getPermission(permName); in grantRuntimePermissionInternal() 1398 final Permission bp = mRegistry.getPermission(permName); in grantRuntimePermissionInternal() [all …]
|
D | PermissionState.java | 52 public Permission getPermission() { in getPermission() method in PermissionState
|
D | PermissionRegistry.java | 62 public Permission getPermission(@NonNull String permissionName) { in getPermission() method in PermissionRegistry
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedServiceTest.kt | 32 ParsedService::getPermission,
|
D | ParsedActivityTest.kt | 35 ParsedActivity::getPermission, in <lambda>()
|
D | AndroidPackageTest.kt | 192 AndroidPackage::getPermission, in <lambda>()
|
/frameworks/base/services/core/xsd/schema/ |
D | current.txt | 7 …thod public java.util.List<com.android.server.pm.permission.configfile.Permission> getPermission();
|
/frameworks/base/core/java/android/permission/ |
D | AdminPermissionControlParams.java | 111 public @NonNull String getPermission() { in getPermission() method in AdminPermissionControlParams
|
/frameworks/base/core/xsd/schema/ |
D | current.txt | 139 …ic java.util.List<com.android.xml.permission.configfile.OemPermissions.Permission> getPermission(); 195 …ava.util.List<com.android.xml.permission.configfile.PrivappPermissions.Permission> getPermission();
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 979 String getPermission(); in getPermission() method
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 358 ai.permission = a.getPermission(); in generateActivityInfo() 403 si.permission = s.getPermission(); in generateServiceInfo()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/ |
D | ParsingPackage.java | 458 String getPermission(); in getPermission() method
|
/frameworks/base/services/core/java/com/android/server/pm/resolution/ |
D | ComponentResolverBase.java | 417 final String permission = service.getPermission(); in dumpServicePermissions()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 567 ai.permission = a.getPermission(); in generateActivityInfo() 653 si.permission = s.getPermission(); in generateServiceInfo()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 260 assertSame(deserialized.getPermission(), in test_stringInterning() 261 deserialized2.getPermission()); in test_stringInterning()
|