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.java812 int oldPermission = in migratePhonebookPermissionChoice() local
814 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()
816 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()
836 int oldPermission = in migrateMessagePermissionChoice() local
838 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()
840 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6252 final int oldPermission = getNetworkPermission(nai.networkCapabilities); in updateNetworkPermissions() local
6254 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateNetworkPermissions()