Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java927 int duplexProfile = modeToProfileBundle.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in setPreferredAudioProfiles() local
958 if (duplexProfile != 0 in setPreferredAudioProfiles()
966 + BluetoothProfile.getProfileName(duplexProfile)); in setPreferredAudioProfiles()
967 metadata.preferred_duplex_profile = duplexProfile; in setPreferredAudioProfiles()
990 if (duplexProfile != 0) { in setPreferredAudioProfiles()
996 + BluetoothProfile.getProfileName(duplexProfile)); in setPreferredAudioProfiles()
997 metadata.preferred_duplex_profile = duplexProfile; in setPreferredAudioProfiles()
1021 final int duplexProfile; in getPreferredAudioProfiles() local
1031 duplexProfile = metadata.preferred_duplex_profile; in getPreferredAudioProfiles()
1035 if (outputOnlyProfile == 0 && duplexProfile == 0) { in getPreferredAudioProfiles()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java4389 int duplexProfile = modeToProfileBundle.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in setPreferredAudioProfiles() local
4390 if (duplexProfile != BluetoothProfile.HEADSET in setPreferredAudioProfiles()
4391 && duplexProfile != BluetoothProfile.LE_AUDIO) { in setPreferredAudioProfiles()
4393 "AUDIO_MODE_DUPLEX has invalid value: " + duplexProfile); in setPreferredAudioProfiles()
4395 strippedPreferences.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, duplexProfile); in setPreferredAudioProfiles()