Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java757 int oldPermission = in migratePhonebookPermissionChoice() local
759 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()
761 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()
781 int oldPermission = in migrateMessagePermissionChoice() local
783 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()
785 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5811 final int oldPermission = getNetworkPermission(nai.networkCapabilities); in updateCapabilities() local
5813 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateCapabilities()