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