Home
last modified time | relevance | path

Searched defs:permissionName (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/TV/common/src/com/android/tv/common/feature/
DPermissionFeature.java28 private final String permissionName; field in PermissionFeature
30 private PermissionFeature(String permissionName) { in PermissionFeature()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DSignaturePermissionAllowlistConfigTest.kt45 packageInfo.requestedPermissions?.forEach { permissionName -> in <lambda>() method
82 val permissionName = line.substring("Permission: ".length) in <lambda>() constant
99 packageInfo.requestedPermissions?.forEachIndexed { index, permissionName -> in <lambda>() method
139 for (permissionName in permissionNames) { in <lambda>() method
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DDataPermissionEnforcer.java73 String permissionName = in enforceRecordIdsReadPermissions() local
221 String permissionName = in enforceRecordIdWritePermissionInternal() local
231 String permissionName, in enforceRecordPermission()
249 String permissionName, AttributionSource attributionSource) { in isPermissionGranted()
DMedicalDataPermissionEnforcer.java100 String permissionName, AttributionSource attributionSource, boolean isReadPermission) { in enforceMedicalResourcePermission()
109 String permissionName, AttributionSource attributionSource) { in isPermissionGranted()
DHealthConnectPermissionHelper.java98 @NonNull String packageName, @NonNull String permissionName, @NonNull UserHandle user) { in grantHealthPermission()
125 @NonNull String permissionName, in revokeHealthPermission()
290 private void addToPriorityListIfRequired(String packageName, String permissionName) { in addToPriorityListIfRequired()
302 private void removeFromPriorityListIfRequired(String packageName, String permissionName) { in removeFromPriorityListIfRequired()
389 private void enforceValidHealthPermission(String permissionName) { in enforceValidHealthPermission()
/packages/modules/Permission/tests/cts/permission/AppThatRequestDevicePermissions/src/android/permission/cts/appthatrequestpermission/
DRevokeSelfPermissionReceiver.kt27 val permissionName = intent.getStringExtra("permissionName")!! in onReceive() constant
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DRevokeSelfPermissionTest.java323 private void assertGrantedState(String s, String permissionName, int permissionGranted, in assertGrantedState()
330 private void assertGranted(long timeoutMillis, String permissionName) { in assertGranted()
335 private void assertDenied(long timeoutMillis, String permissionName) { in assertDenied()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DAppPicker.java52 final String permissionName = getIntent().getStringExtra(EXTRA_REQUESTIING_PERMISSION); in onCreate() local
66 public static AppPickerFragment newInstance(String permissionName, boolean debuggableOnly) { in newInstance()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DSoftRestrictedPermissionPolicy.java72 public static boolean shouldShow(@NonNull LightPackageInfo pkg, @NonNull String permissionName, in shouldShow()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DRuntimePermissionsUpgradeControllerTest.kt184 val permissionName = it.arguments[0] as String in <lambda>() constant
225 val permissionName = it.arguments[0] as String in <lambda>() constant
274 for (permissionName in permissionNames) { in <lambda>() method
285 for (permissionName in permissionNames) { in <lambda>() method
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionsPresenceTest.java226 private void assertHealthPermissionIsDefined(String permissionName) throws Exception { in assertHealthPermissionIsDefined()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DManagePermissionsActivity.java206 String permissionName; in onCreate() local
545 private String getGroupFromPermission(String permissionName) { in getGroupFromPermission()
DAutoGrantPermissionsNotifier.java220 public void onPermissionAutoGranted(@NonNull String permissionName) { in onPermissionAutoGranted()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowPermissionControllerManager.java46 protected void revokeRuntimePermission(String packageName, String permissionName) { in revokeRuntimePermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DAppPermissionActivity.java98 String permissionName = getIntent().getStringExtra(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DCustomizedSdkContextTest.java100 final String permissionName = sdkSandboxPackage.requestedPermissions[i]; in testSdkPermissions() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DLightPermInfoLiveData.kt35 private constructor(private val app: Application, private val permissionName: String) : constant in com.android.permissioncontroller.permission.data.LightPermInfoLiveData
DPermGroupsPackagesLiveData.kt98 for (permissionName in packageInfo.requestedPermissions) { in <lambda>() constant
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DICtsSdkProviderApi.aidl25 boolean isPermissionGranted (String permissionName, boolean useApplicationContext); in isPermissionGranted()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java850 public static boolean isWritePermission(@NonNull String permissionName) { in isWritePermission()
862 public static int getHealthDataCategoryForWritePermission(@Nullable String permissionName) { in getHealthDataCategoryForWritePermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java463 @NonNull String permissionName, @NonNull Runnable callback) { in onRevokeRuntimePermission()
471 @NonNull String permissionName) { in onRevokeRuntimePermission()
787 public void onGetGroupOfPlatformPermission(@NonNull String permissionName, in onGetGroupOfPlatformPermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v35/
DPackagePermissionsExternalDeviceLiveData.kt78 return permissionState.mapNotNull { (permissionName, permissionState) -> in <lambda>() method
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DIHealthConnectService.aidl51 void grantHealthPermission(String packageName, String permissionName, in UserHandle user); in grantHealthPermission()
52 …void revokeHealthPermission(String packageName, String permissionName, String reason, in UserHandl… in revokeHealthPermission()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/permissions/
DHealthConnectWithManagePermissionsTest.java676 private void grantHealthPermission(String packageName, String permissionName) { in grantHealthPermission()
691 private void revokeHealthPermission(String packageName, String permissionName, String reason) { in revokeHealthPermission()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DPermissionUtils.java150 String permissionName, UserHandle userHandle) { in getPermissionState()

12