Home
last modified time | relevance | path

Searched refs:getPermission (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionDefinitionsTest.kt53 .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()
DAppIdPermissionPolicyTest.kt131 .that(getPermission(PERMISSION_NAME_0)) in testOnPackageRemoved_packageIsRemoved_permissionDefinitionsAndStatesAreUpdated()
DBasePermissionPolicyTest.kt324 protected fun getPermission( in <lambda>() method
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedService.java28 String getPermission(); in getPermission() method
DParsedActivity.java49 String getPermission(); in getPermission() method
DParsedServiceImpl.java131 public @Nullable String getPermission() { in getPermission() method in ParsedServiceImpl
DParsedProviderUtils.java105 provider.setReadPermission(pkg.getPermission()); in parseProvider()
115 provider.setWritePermission(pkg.getPermission()); in parseProvider()
DParsedServiceUtils.java92 service.setPermission(permission != null ? permission : pkg.getPermission()); in parseService()
DParsedActivityImpl.java485 public @Nullable String getPermission() { in getPermission() method in ParsedActivityImpl
DParsedActivityUtils.java366 activity.setPermission(permission != null ? permission : pkg.getPermission()); in parseActivityOrAlias()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java466 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 …]
DPermissionState.java52 public Permission getPermission() { in getPermission() method in PermissionState
DPermissionRegistry.java62 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/
DParsedServiceTest.kt32 ParsedService::getPermission,
DParsedActivityTest.kt35 ParsedActivity::getPermission, in <lambda>()
DAndroidPackageTest.kt192 AndroidPackage::getPermission, in <lambda>()
/frameworks/base/services/core/xsd/schema/
Dcurrent.txt7 …thod public java.util.List<com.android.server.pm.permission.configfile.Permission> getPermission();
/frameworks/base/core/java/android/permission/
DAdminPermissionControlParams.java111 public @NonNull String getPermission() { in getPermission() method in AdminPermissionControlParams
/frameworks/base/core/xsd/schema/
Dcurrent.txt139 …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/
DAndroidPackage.java979 String getPermission(); in getPermission() method
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java358 ai.permission = a.getPermission(); in generateActivityInfo()
403 si.permission = s.getPermission(); in generateServiceInfo()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java458 String getPermission(); in getPermission() method
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverBase.java417 final String permission = service.getPermission(); in dumpServicePermissions()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java567 ai.permission = a.getPermission(); in generateActivityInfo()
653 si.permission = s.getPermission(); in generateServiceInfo()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java260 assertSame(deserialized.getPermission(), in test_stringInterning()
261 deserialized2.getPermission()); in test_stringInterning()

12