Home
last modified time | relevance | path

Searched refs:Permission (Results 1 – 25 of 60) sorted by relevance

123

/packages/services/Car/car-lib/api/
Dbaseline.txt3Permission Car.PERMISSION_CAR_DYNAMICS_STATE required by field VehiclePropertyIds.ABS_ACTIVE is hi…
5Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_BOOTUP_REASON is…
7Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REPORT is …
9Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REQ is hid…
11Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.DISPLAY_BRIGHTNESS is hid…
13Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_LOCK is hidd…
15Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_MOVE is hidd…
17Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_POS is hidde…
19Permission Car.PERMISSION_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_COOLANT_…
21Permission Car.PERMISSION_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_OIL_LEVE…
[all …]
Dtest-baseline.txt3Permission Car.PERMISSION_CAR_DYNAMICS_STATE required by field VehiclePropertyIds.ABS_ACTIVE is hi…
5Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_BOOTUP_REASON is…
7Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REPORT is …
9Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REQ is hid…
11Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.DISPLAY_BRIGHTNESS is hid…
13Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_LOCK is hidd…
15Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_MOVE is hidd…
17Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_POS is hidde…
19Permission Car.PERMISSION_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_COOLANT_…
21Permission Car.PERMISSION_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_OIL_LEVE…
[all …]
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DRuntimePermissionsUpgradeControllerTest.kt305 setPackages(PreinstalledPackage(TEST_PKG_NAME, Permission(SEND_SMS))) in <lambda>()
316 setPackages(PreinstalledPackage(TEST_PKG_NAME, Permission(ACCESS_FINE_LOCATION))) in <lambda>()
326 setPackages(Package(TEST_PKG_NAME, Permission(SEND_SMS))) in <lambda>()
336 setPackages(Package(TEST_PKG_NAME, Permission(SEND_SMS), Permission(READ_CALL_LOG))) in <lambda>()
347 setPackages(Package(TEST_PKG_NAME, Permission(SEND_SMS), Permission(READ_CALL_LOG))) in <lambda>()
358 setPackages(Package(TEST_PKG_NAME, Permission(ACCESS_BACKGROUND_LOCATION))) in <lambda>()
368 setPackages(Package(TEST_PKG_NAME, Permission(ACCESS_BACKGROUND_LOCATION))) in <lambda>()
378 setPackages(Package(TEST_PKG_NAME, Permission(READ_EXTERNAL_STORAGE))) in <lambda>()
388 setPackages(Package(TEST_PKG_NAME, Permission(READ_EXTERNAL_STORAGE))) in <lambda>()
401 Permission(ACCESS_FINE_LOCATION, isGranted = true), in <lambda>()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java29 private static final Permission VENDOR_PERMISION =
30 Permission.of(Car.PERMISSION_VENDOR_EXTENSION);
32 private final SparseArray<Permission> mPermissions = new SparseArray<>();
170 final Permission p = getPermission(propId); in getReadPermission()
179 final Permission p = getPermission(propId); in getWritePermission()
184 private Permission getPermission(int propId) { in getPermission()
194 map(Permission.of(readPermission, writePermission), propIds); in map()
198 map(Permission.of(readPermission), propIds); in map()
201 private void map(Permission p, Integer[] propIds) { in map()
207 private static class Permission { class in PropertyPermissionMapping
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DPermission.java32 public final class Permission { class
43 private Permission mBackgroundPermission;
44 private ArrayList<Permission> mForegroundPermissions;
47 public Permission(String name, @NonNull PermissionInfo permissionInfo, boolean granted, in Permission() method in Permission
67 public void addForegroundPermissions(Permission foregroundPermission) { in addForegroundPermissions()
79 public void setBackgroundPermission(Permission backgroundPermission) { in setBackgroundPermission()
257 public Permission getBackgroundPermission() { in getBackgroundPermission()
265 public ArrayList<Permission> getForegroundPermissions() { in getForegroundPermissions()
339 if (!(o instanceof Permission)) { in equals()
343 Permission other = (Permission) o; in equals()
[all …]
DAppPermissionGroup.java122 private final ArrayMap<String, Permission> mPermissions = new ArrayMap<>();
308 ArrayMap<String, Permission> allPermissions = new ArrayMap<>(); in create()
366 Permission permission = new Permission(requestedPermission, requestedPermissionInfo, in create()
383 Permission permission = allPermissions.valueAt(i); in create()
386 Permission backgroundPermission = allPermissions.get( in create()
408 Permission permission = allPermissions.valueAt(i); in create()
520 Permission permission = mPermissions.valueAt(i);
536 Permission permission = mPermissions.valueAt(i);
547 Permission permission = mPermissions.valueAt(i);
561 Permission permission = mPermissions.valueAt(i);
[all …]
/packages/modules/Permission/SafetyCenter/
DTEST_MAPPING4 "path": "packages/modules/Permission/tests/cts/safetycenter/"
7 "path": "packages/modules/Permission/tests/functional/safetycenter/multiusers/"
10 "path": "packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/"
13 "path": "packages/modules/Permission/tests/functional/safetycenter/subpages/"
16 "path": "packages/modules/Permission/tests/functional/safetycenter/singleuser/"
19 "path": "packages/modules/Permission/tests/hostside/safetycenter/"
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DPermission.java35 public class Permission { class
53 public Permission(@NonNull String name, int minSdkVersion, int optionalMinSdkVersion) { in Permission() method in Permission
113 public Permission withSdkVersions(int minSdkVersion, int optionalMinSdkVersion) { in withSdkVersions()
117 return new Permission(mName, minSdkVersion, optionalMinSdkVersion); in withSdkVersions()
137 Permission that = (Permission) object; in equals()
DRoleParser.java281 List<Permission> permissions = new ArrayList<>(); in parsePermissionSet()
294 Permission permission = parsePermission(parser, TAG_PERMISSION); in parsePermissionSet()
315 private Permission parsePermission(@NonNull XmlResourceParser parser, in parsePermission()
326 return new Permission(name, minSdkVersion, optionalMinSdkVersion); in parsePermission()
460 List<Permission> permissions = null; in parseRole()
461 List<Permission> appOpPermissions = null; in parseRole()
756 private List<Permission> parsePermissions(@NonNull XmlResourceParser parser, in parsePermissions()
759 List<Permission> permissions = new ArrayList<>(); in parsePermissions()
787 List<Permission> permissionsInSet = permissionSet.getPermissions(); in parsePermissions()
791 Permission permission = permissionsInSet.get(permissionsInSetIndex); in parsePermissions()
[all …]
DPermissionSet.java39 private final List<Permission> mPermissions;
41 public PermissionSet(@NonNull String name, @NonNull List<Permission> permissions) { in PermissionSet()
52 public List<Permission> getPermissions() { in getPermissions()
DRole.java211 private final List<Permission> mPermissions;
217 private final List<Permission> mAppOpPermissions;
243 @NonNull List<Permission> permissions, @NonNull List<Permission> appOpPermissions, in Role()
354 public List<Permission> getPermissions() { in getPermissions()
359 public List<Permission> getAppOpPermissions() { in getAppOpPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java63 import com.android.permissioncontroller.permission.model.Permission;
259 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups()
267 Permission perm = perms.get(permNum); in revokePermissionGroups()
573 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin()
700 .filter(Permission::isOneTime).filter(Permission::isGranted) in onOneTimePermissionSessionTimeout()
701 .map(Permission::getName).collect(Collectors.toList()); in onOneTimePermissionSessionTimeout()
711 Permission permission = group.getPermission(permissionName); in onOneTimePermissionSessionTimeout()
729 .filter(Permission::isOneTime).filter(Permission::isGranted) in onOneTimePermissionSessionTimeout()
730 .map(Permission::getName).toArray(String[]::new)); in onOneTimePermissionSessionTimeout()
752 for (Permission permission : group.getPermissions()) { in logOneTimeSessionRevoke()
[all …]
/packages/modules/Permission/framework-s/api/
Dmodule-lib-lint-baseline.txt9Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
11Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
13Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
15Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
Dsystem-lint-baseline.txt9Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
11Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
13Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
15Permission PERMISSION_MANAGE_ROLES_FROM_CONTROLLER required by method android.app.role.RoleManager…
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/
DEnhancedConfirmationStatsLogUtils.kt62 Permission(
72 settingIdentifier.startsWith("android.permission.") -> Permission in fromIdentifier()
73 settingIdentifier.startsWith("android.permission-group.") -> Permission in fromIdentifier()
/packages/modules/Permission/framework-s/
DAndroid.bp34 visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
41 visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
94 "//packages/modules/Permission:__subpackages__",
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DSoftRestrictedPermissionPolicy.java27 import com.android.permissioncontroller.permission.model.Permission;
46 public static boolean shouldShow(@NonNull PackageInfo pkg, @NonNull Permission permission) { in shouldShow()
/packages/modules/HealthFitness/flags/
Dflags.aconfig32 description: "Permission to enable reading health data in the background."
39 description: "Permission to enable reading past health data."
/packages/modules/Permission/SafetyCenter/Annotations/
DAndroid.bp27 visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
46 "//packages/modules/Permission:__subpackages__",
/packages/modules/Permission/SafetyCenter/Config/
DAndroid.bp25 visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
51 "//packages/modules/Permission:__subpackages__",
/packages/modules/Bluetooth/framework/tests/util/
DAndroid.bp43 "//packages/modules/Permission/tests/cts/permission",
44 "//packages/modules/Permission/tests/cts/permissionui",
/packages/modules/Permission/flags/
DAndroid.bp38 "//packages/modules/Permission:__subpackages__",
54 "//packages/modules/Permission:__subpackages__",
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/legacy/
DLegacySafetyNetLogger.java24 import com.android.permissioncontroller.permission.model.Permission;
101 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForGroup()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DTEST_MAPPING4 "path": "packages/modules/Permission/SafetyCenter"
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v33/
DTEST_MAPPING4 "path": "packages/modules/Permission/SafetyCenter"

123