Searched refs:oldPermission (Results 1 – 2 of 2) sorted by relevance
740 int oldPermission = in migratePhonebookPermissionChoice() local742 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()744 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()764 int oldPermission = in migrateMessagePermissionChoice() local766 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()768 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
6237 final int oldPermission = getNetworkPermission(nai.networkCapabilities); in updateNetworkPermissions() local6239 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateNetworkPermissions()