Searched refs:oldPermission (Results 1 – 5 of 5) sorted by relevance
330 oldPermission -> in <lambda>() method331 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>() constant486 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 …]
379 val oldPermission: Permission? in <lambda>() constant385 oldPermission = with(policy) { getPermissions()[permissionName] } in <lambda>()386 if (oldPermission != null && !oldPermission.isDynamic) { in <lambda>()403 return oldPermission == null in <lambda>()
320 val oldPermission = mockParsedPermission( in testPermissionChanged() constant328 mockAndroidPackage(PACKAGE_NAME_0, permissions = listOf(oldPermission)) in testPermissionChanged()331 addPermission(oldPermission) in testPermissionChanged()
1152 int oldPermission = in migratePhonebookPermissionChoice() local1154 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()1156 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()1176 int oldPermission = in migrateMessagePermissionChoice() local1178 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()1180 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
2310 final Permission oldPermission;2329 oldPermission = p.isTree() ? mRegistry.getPermissionTree(p.getName())2335 oldPermission, permissionInfo, mPackageManagerInt);2337 final Permission permission = Permission.createOrUpdate(oldPermission,