Searched refs:oldPermission (Results 1 – 2 of 2) sorted by relevance
757 int oldPermission = in migratePhonebookPermissionChoice() local759 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()761 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()781 int oldPermission = in migrateMessagePermissionChoice() local783 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()785 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
5811 final int oldPermission = getNetworkPermission(nai.networkCapabilities); in updateCapabilities() local5813 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateCapabilities()