Searched refs:newConnectionPolicy (Results 1 – 1 of 1) sorted by relevance
305 int newConnectionPolicy) { in setProfileConnectionPolicy() argument312 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()