/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivity.java | 40 protected String[] getPermissions() { in getPermissions() method in RequestPermissionsActivity 41 return getPermissions(getPackageManager()); in getPermissions() 48 return hasPermissions(context, getPermissions(context.getPackageManager())); in hasRequiredPermissions() 53 getPermissions(activity.getPackageManager()), in startPermissionActivityIfNeeded() 57 private static String[] getPermissions(PackageManager packageManager) { in getPermissions() method in RequestPermissionsActivity
|
D | RequestPermissionsActivityBase.java | 56 protected abstract String[] getPermissions(); in getPermissions() method in RequestPermissionsActivityBase 121 return Arrays.asList(getPermissions()).contains(p); in isPermissionRequired() 129 for (String permission : getPermissions()) { in requestPermissions()
|
D | RequestImportVCardPermissionsActivity.java | 35 protected String[] getPermissions() { in getPermissions() method in RequestImportVCardPermissionsActivity
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarBugreportManagerTest.java | 85 getPermissions(); // For cancelBugreport() in tearDown() 114 getPermissions(); in test_requestBugreport_works() 137 getPermissions(); in test_requestBugreport_cannotRunMultipleBugreports() 156 getPermissions(); in test_cancelBugreport_works() 176 private static void getPermissions() { in getPermissions() method in CarBugreportManagerTest
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | PermissionMigrationPayloadTest.java | 50 mExpect.that(payload.getPermissions()).isEmpty(); in createdWithoutSetters_validData() 64 mExpect.that(payload.getPermissions()).containsExactly(DEFAULT_PERMISSION); in createdWithSetters_validData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/legacy/ |
D | LegacySafetyNetLogger.java | 99 int permissionCount = group.getPermissions().size(); in buildChangedPermissionForGroup() 101 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForGroup()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | SplitPermissionTest.java | 28 import static android.permission.cts.PermissionUtils.getPermissions; 111 assertThat(getPermissions(APP_PKG)).contains(permName); in assertRequestsPermission() 120 assertThat(getPermissions(APP_PKG)).doesNotContain(permName); in assertNotRequestsPermission()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | AllAppPermissionsFragment.java | 295 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference() 297 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference() 311 } else if (appPermissionGroup.getPermissions().size() == grantedCount) { in MyMultiTargetSwitchPreference()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 259 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups() 699 List<String> oneTimeGrantedPermissions = group.getPermissions().stream() in onOneTimePermissionSessionTimeout() 702 if (group.getPermissions().size() == oneTimeGrantedPermissions.size()) { in onOneTimePermissionSessionTimeout() 724 if (group.getPermissions().size() == oneTimeGrantedPermissions.size()) { in onOneTimePermissionSessionTimeout() 728 bgGroup.getPermissions().stream() in onOneTimePermissionSessionTimeout() 752 for (Permission permission : group.getPermissions()) { in logOneTimeSessionRevoke()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 335 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference() 337 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference() 351 } else if (appPermissionGroup.getPermissions().size() == grantedCount) { in MyMultiTargetSwitchPreference()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | PermissionSet.java | 52 public List<Permission> getPermissions() { in getPermissions() method in PermissionSet
|
D | RoleParser.java | 787 List<Permission> permissionsInSet = permissionSet.getPermissions(); in parsePermissions() 1098 List<Permission> permissions = permissionSet.getPermissions(); in validateResult() 1128 List<Permission> permissions = role.getPermissions(); in validateResult()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | DataMigrationManager.java | 165 final List<String> permissions = payload.getPermissions(); in migratePermissions() 190 + String.join(", ", payload.getPermissions())); in migratePermissions()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | SafetyNetLogger.java | 87 for (LightPermission permission: group.getPermissions().values()) { in buildChangedPermissionForGroup()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothGattDescriptor.java | 223 public int getPermissions() { in getPermissions() method in BluetoothGattDescriptor
|
D | BluetoothGattCharacteristic.java | 392 public int getPermissions() { in getPermissions() method in BluetoothGattCharacteristic
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 433 if (group.getPermissions().isEmpty()) { in create() 1314 public ArrayList<Permission> getPermissions() { 1480 return mBackgroundPermissions.getPermissions().equals( 1481 other.getBackgroundPermissions().getPermissions()); 1490 backgroundPermissions = mBackgroundPermissions.getPermissions();
|
D | AppPermissions.java | 131 ArrayList<Permission> perms = group.getPermissions(); in addAllPermissions()
|
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 321 public static @NonNull List<String> getPermissions(@NonNull String packageName) in getPermissions() method in PermissionUtils 340 for (String perm : getPermissions(packageName)) { in getRuntimePermissions()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/migration/ |
D | PermissionMigrationPayload.java | 100 public List<String> getPermissions() { in getPermissions() method in PermissionMigrationPayload
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioTmapGattServerTest.java | 91 assertThat(characteristic.getPermissions()).isEqualTo(PERMISSION_READ); in testStartStopService()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Gatt.kt | 418 .setPermissions(characteristic.getPermissions()) in generateCharacteristicsList() 436 .setPermissions(descriptor.getPermissions()) in generateDescriptorsList()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/ |
D | PermissionUsages.java | 307 final List<Permission> permissions = appPermGroup.getPermissions(); in loadInBackground()
|
D | AppPermissionUsage.java | 264 List<Permission> permissions = appPermissionGroup.getPermissions(); in getAllOps()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | TbsGatt.java | 1621 if ((descriptor.getPermissions() 1671 if ((descriptor.getPermissions()
|