Searched refs:oldPermission (Results 1 – 2 of 2) sorted by relevance
812 int oldPermission = in migratePhonebookPermissionChoice() local814 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()816 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()836 int oldPermission = in migrateMessagePermissionChoice() local838 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()840 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
6252 final int oldPermission = getNetworkPermission(nai.networkCapabilities); in updateNetworkPermissions() local6254 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateNetworkPermissions()