Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java305 int newConnectionPolicy) { in setProfileConnectionPolicy() argument
312 if (newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in setProfileConnectionPolicy()
313 && newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setProfileConnectionPolicy()
314 && newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setProfileConnectionPolicy()
316 + newConnectionPolicy); in setProfileConnectionPolicy()
322 if (newConnectionPolicy == BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in setProfileConnectionPolicy()
329 if (oldConnectionPolicy == newConnectionPolicy) { in setProfileConnectionPolicy()
335 + ": " + oldConnectionPolicy + " -> " + newConnectionPolicy); in setProfileConnectionPolicy()
337 data.setProfileConnectionPolicy(profile, newConnectionPolicy); in setProfileConnectionPolicy()