Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java794 && preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX) != 0) { in connectAudio()
796 + preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX)); in connectAudio()
797 callProfile = preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in connectAudio()
868 && preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX) != 0) { in connectAudio()
870 + preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX)); in connectAudio()
871 callProfile = preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in connectAudio()
DBluetoothStateReceiver.java294 && preferredAudioProfiles.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX) in handleActiveDeviceChanged()
298 BluetoothAdapter.AUDIO_MODE_DUPLEX)); in handleActiveDeviceChanged()
302 BluetoothAdapter.AUDIO_MODE_DUPLEX); in handleActiveDeviceChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java776 preferences.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, BluetoothProfile.LE_AUDIO); in testSetGetPreferredAudioProfiles()
1783 expectedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX), in testSetGetPreferredAudioProfilesCase()
1784 testDevicePreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX)); in testSetGetPreferredAudioProfilesCase()
1787 Assert.assertEquals(0, testDevice2Preferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX)); in testSetGetPreferredAudioProfilesCase()
1812 expectedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX), in testSetGetPreferredAudioProfilesCase()
1813 testDevicePreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX)); in testSetGetPreferredAudioProfilesCase()
1816 Assert.assertEquals(0, testDevice2Preferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX)); in testSetGetPreferredAudioProfilesCase()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java796 @SystemApi public static final String AUDIO_MODE_DUPLEX = "audio_mode_duplex"; field in BluetoothAdapter
4901 && !modeToProfileBundle.containsKey(AUDIO_MODE_DUPLEX)) { in setPreferredAudioProfiles()
4914 if (modeToProfileBundle.containsKey(AUDIO_MODE_DUPLEX) in setPreferredAudioProfiles()
4915 && modeToProfileBundle.getInt(AUDIO_MODE_DUPLEX) != BluetoothProfile.HEADSET in setPreferredAudioProfiles()
4916 && modeToProfileBundle.getInt(AUDIO_MODE_DUPLEX) != BluetoothProfile.LE_AUDIO) { in setPreferredAudioProfiles()
4919 + modeToProfileBundle.getInt(AUDIO_MODE_DUPLEX)); in setPreferredAudioProfiles()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java638 hfpPreferred.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, BluetoothProfile.HEADSET); in testConnectDualModeEarbud()
640 leAudioPreferred.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, BluetoothProfile.LE_AUDIO); in testConnectDualModeEarbud()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java927 int duplexProfile = modeToProfileBundle.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in setPreferredAudioProfiles()
1044 modeToProfileBundle.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, duplexProfile); in getPreferredAudioProfiles()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java4334 defaultPreferencesBundle.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, duplexDefault); in getPreferredAudioProfiles()
4387 if (modeToProfileBundle.containsKey(BluetoothAdapter.AUDIO_MODE_DUPLEX) in setPreferredAudioProfiles()
4389 int duplexProfile = modeToProfileBundle.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in setPreferredAudioProfiles()
4395 strippedPreferences.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, duplexProfile); in setPreferredAudioProfiles()
4417 int duplexPreference = strippedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in setPreferredAudioProfiles()
4419 duplexPreference = previousPreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in setPreferredAudioProfiles()
4451 int newDuplex = strippedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in sendPreferredAudioProfileChangeToAudioFramework()
4453 int previousDuplex = previousPreferences.getInt(BluetoothAdapter.AUDIO_MODE_DUPLEX); in sendPreferredAudioProfileChangeToAudioFramework()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt110 field public static final String AUDIO_MODE_DUPLEX = "audio_mode_duplex";