Home
last modified time | relevance | path

Searched refs:oldPermission (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt330 oldPermission -> in <lambda>() method
331 if (oldPermission.packageName != originalPackageName) { in <lambda>()
337 name = oldPermission.permissionInfo.name in <lambda>()
339 protectionLevel = oldPermission.permissionInfo.protectionLevel in <lambda>()
345 oldPermission.copy( in <lambda>()
464 val oldPermission = in <lambda>() constant
486 if (oldPermission != null) { in <lambda>()
487 if (newPackageName != oldPermission.packageName) { in <lambda>()
488 val oldPackageName = oldPermission.packageName in <lambda>()
520 } else if (oldPermission.isReconciled) { in <lambda>()
[all …]
DPermissionService.kt379 val oldPermission: Permission? in <lambda>() constant
385 oldPermission = with(policy) { getPermissions()[permissionName] } in <lambda>()
386 if (oldPermission != null && !oldPermission.isDynamic) { in <lambda>()
403 return oldPermission == null in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionDefinitionsTest.kt320 val oldPermission = mockParsedPermission( in testPermissionChanged() constant
328 mockAndroidPackage(PACKAGE_NAME_0, permissions = listOf(oldPermission)) in testPermissionChanged()
331 addPermission(oldPermission) in testPermissionChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java1152 int oldPermission = in migratePhonebookPermissionChoice() local
1154 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()
1156 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()
1176 int oldPermission = in migrateMessagePermissionChoice() local
1178 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()
1180 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java2310 final Permission oldPermission;
2329 oldPermission = p.isTree() ? mRegistry.getPermissionTree(p.getName())
2335 oldPermission, permissionInfo, mPackageManagerInt);
2337 final Permission permission = Permission.createOrUpdate(oldPermission,