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.java321 int newConnectionPolicy) { in setProfileConnectionPolicy() argument
328 if (newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in setProfileConnectionPolicy()
329 && newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setProfileConnectionPolicy()
330 && newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setProfileConnectionPolicy()
332 + newConnectionPolicy); in setProfileConnectionPolicy()
338 if (newConnectionPolicy == BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in setProfileConnectionPolicy()
345 if (oldConnectionPolicy == newConnectionPolicy) { in setProfileConnectionPolicy()
351 + ": " + oldConnectionPolicy + " -> " + newConnectionPolicy); in setProfileConnectionPolicy()
353 data.setProfileConnectionPolicy(profile, newConnectionPolicy); in setProfileConnectionPolicy()