/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 69 private ArrayMap<String, PermissionData> mPermissions; field in PermissionsState 105 if (mPermissions != null) { in copyFrom() 106 if (other.mPermissions == null) { in copyFrom() 107 mPermissions = null; in copyFrom() 109 mPermissions.clear(); in copyFrom() 112 if (other.mPermissions != null) { in copyFrom() 113 if (mPermissions == null) { in copyFrom() 114 mPermissions = new ArrayMap<>(); in copyFrom() 116 final int permissionCount = other.mPermissions.size(); in copyFrom() 118 String name = other.mPermissions.keyAt(i); in copyFrom() [all …]
|
D | PermissionSettings.java | 55 final ArrayMap<String, BasePermission> mPermissions = field in PermissionSettings 109 i == 0 ? mPermissionTrees : mPermissions; in transferPermissions() 119 final BasePermission bp = mPermissions.get(permName); in canPropagatePermissionToInstantApp() 126 readPermissions(mPermissions, parser); in readPermissions() 139 for (BasePermission bp : mPermissions.values()) { in writePermissions() 177 for (BasePermission bp : mPermissions.values()) { in dumpPermissions() 202 return mPermissions.get(permName); in getPermissionLocked() 212 mPermissions.put(permName, permission); in putPermissionLocked() 222 mPermissions.remove(permName); in removePermissionLocked() 232 return mPermissions.values(); in getAllPermissionsLocked() [all …]
|
D | PermissionManagerService.java | 547 for (BasePermission bp : mSettings.mPermissions.values()) { in getPermissionInfoByGroup() 755 BasePermission bp = (BasePermission) mSettings.mPermissions.get(p.info.name); in removeAllPermissions() 2645 final Iterator<BasePermission> it = mSettings.mPermissions.values().iterator(); in updatePermissions() 2700 needsUpdate = new ArraySet<>(mSettings.mPermissions.size()); in updatePermissions() 2935 for (BasePermission perm : mSettings.mPermissions.values()) { in calculateCurrentPermissionFootprintLocked() 3199 int numTotalPermissions = mSettings.mPermissions.size(); in getAllPermissionWithProtectionLevel() 3202 BasePermission bp = mSettings.mPermissions.valueAt(i); in getAllPermissionWithProtectionLevel()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestablePermissions.java | 30 private final ArrayMap<String, Integer> mPermissions = new ArrayMap<>(); field in TestablePermissions 39 mPermissions.put(permission, value); in setPermission() 53 return mPermissions.containsKey(permission); in wantsCall() 61 return mPermissions.get(permission); in check()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattDescriptor.java | 112 protected int mPermissions; field in BluetoothGattDescriptor 165 mPermissions = permissions; in initDescriptor() 177 out.writeInt(mPermissions); in writeToParcel() 194 mPermissions = in.readInt(); in BluetoothGattDescriptor() 255 return mPermissions; in getPermissions()
|
D | BluetoothGattCharacteristic.java | 201 protected int mPermissions; field in BluetoothGattCharacteristic 277 mPermissions = permissions; in initCharacteristic() 299 out.writeInt(mPermissions); in writeToParcel() 320 mPermissions = in.readInt(); in BluetoothGattCharacteristic() 440 return mPermissions; in getPermissions()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 99 private final SlicePermissionManager mPermissions; field in SliceManagerService 117 mPermissions = new SlicePermissionManager(mContext, looper); in SliceManagerService() 207 mPermissions.grantSliceAccess(toPkg, user, pkg, user, uri); in grantSlicePermission() 215 mPermissions.revokeSliceAccess(toPkg, user, pkg, user, uri); in revokeSlicePermission() 234 if (mPermissions.hasPermission(pkg, userId, uri)) { in checkSlicePermission() 244 mPermissions.grantSliceAccess(pkg, userId, providerPkg, providerUser, uri); in checkSlicePermission() 264 mPermissions.grantFullAccess(pkg, userId); in grantPermissionFromUser() 272 mPermissions.grantSliceAccess(pkg, userId, providerPkg, providerUser, grantUri); in grantPermissionFromUser() 298 mPermissions.writeBackup(out); in getBackupPayload() 326 mPermissions.readRestore(parser); in applyRestore() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 96 private final String[] mPermissions; field in RecipientEntry 130 mPermissions = permissions; in RecipientEntry() 310 return mPermissions; in getPermissions()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 566 private final HashMap<Integer, Integer> mPermissions = new HashMap<>(); field in PermissionMonitorTest.NetdServiceMonitor 574 mPermissions.put(uid, permission); in NetdServiceMonitor() 582 if (!mPermissions.containsKey(app)) { in expectPermission() 585 if (mPermissions.get(app) != permission) { in expectPermission() 586 fail("uid " + app + " has wrong permission: " + mPermissions.get(app)); in expectPermission()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 124 final ArrayMap<String, PermissionEntry> mPermissions = new ArrayMap<>(); field in SystemConfig 241 return mPermissions; in getPermissions() 1001 if (mPermissions.containsKey(name)) { in readPermission() 1007 mPermissions.put(name, perm); in readPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 383 final PermissionSettings mPermissions; field in Settings 388 mPermissions = permission; in Settings() 423 return mPermissions.canPropagatePermissionToInstantApp(permName); in canPropagatePermissionToInstantApp() 543 mPermissions.addAppOpPackage(permName, packageName); in addAppOpPackage() 951 BasePermission bp = mPermissions.getPermission(eachPerm); in updateSharedUserPermsLPw() 2151 BasePermission bp = mPermissions.getPermission(name); in readInstallPermissionsLPr() 2442 mPermissions.writePermissionTrees(serializer); in writeLPr() 2446 mPermissions.writePermissions(serializer); in writeLPr() 2978 mPermissions.readPermissions(parser); in readLPw() 2980 mPermissions.readPermissionTrees(parser); in readLPw() [all …]
|
D | PackageManagerService.java | 11086 mSettings.mPermissions.transferPermissions(origName, pkg.packageName);
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 18903 private @Nullable String[] mPermissions; field in ActivityManagerService.ShellDelegate 18908 mPermissions = permissions; in ShellDelegate() 18916 mPermissions = permissions; in setPermissions() 18994 if (mPermissions == null) { in isTargetOp() 19007 return (mPermissions == null || ArrayUtils.contains(mPermissions, permission)); in isTargetPermission()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 10878 Landroid/bluetooth/BluetoothGattCharacteristic;->mPermissions:I 10893 Landroid/bluetooth/BluetoothGattDescriptor;->mPermissions:I
|