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.java740 int oldPermission = in migratePhonebookPermissionChoice() local
742 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migratePhonebookPermissionChoice()
744 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migratePhonebookPermissionChoice()
764 int oldPermission = in migrateMessagePermissionChoice() local
766 if (oldPermission == BluetoothDevice.ACCESS_ALLOWED) { in migrateMessagePermissionChoice()
768 } else if (oldPermission == BluetoothDevice.ACCESS_REJECTED) { in migrateMessagePermissionChoice()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6237 final int oldPermission = getNetworkPermission(nai.networkCapabilities); in updateNetworkPermissions() local
6239 if (oldPermission != newPermission && nai.created && !nai.isVPN()) { in updateNetworkPermissions()