Searched refs:AUDIO_MODE_OUTPUT_ONLY (Results 1 – 5 of 5) sorted by relevance
775 preferences.putInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, BluetoothProfile.LE_AUDIO); in testSetGetPreferredAudioProfiles()1780 expectedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY), in testSetGetPreferredAudioProfilesCase()1781 testDevicePreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY)); in testSetGetPreferredAudioProfilesCase()1786 0, testDevice2Preferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY)); in testSetGetPreferredAudioProfilesCase()1809 expectedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY), in testSetGetPreferredAudioProfilesCase()1810 testDevicePreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY)); in testSetGetPreferredAudioProfilesCase()1815 0, testDevice2Preferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY)); in testSetGetPreferredAudioProfilesCase()
789 @SystemApi public static final String AUDIO_MODE_OUTPUT_ONLY = "audio_mode_output_only"; field in BluetoothAdapter4900 if (!modeToProfileBundle.containsKey(AUDIO_MODE_OUTPUT_ONLY) in setPreferredAudioProfiles()4906 if (modeToProfileBundle.containsKey(AUDIO_MODE_OUTPUT_ONLY) in setPreferredAudioProfiles()4907 && modeToProfileBundle.getInt(AUDIO_MODE_OUTPUT_ONLY) != BluetoothProfile.A2DP in setPreferredAudioProfiles()4908 && modeToProfileBundle.getInt(AUDIO_MODE_OUTPUT_ONLY) in setPreferredAudioProfiles()4912 + modeToProfileBundle.getInt(AUDIO_MODE_OUTPUT_ONLY)); in setPreferredAudioProfiles()
926 int outputProfile = modeToProfileBundle.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY); in setPreferredAudioProfiles()1041 modeToProfileBundle.putInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, outputOnlyProfile); in getPreferredAudioProfiles()
4322 BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, outputOnlyDefault); in getPreferredAudioProfiles()4376 if (modeToProfileBundle.containsKey(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY) in setPreferredAudioProfiles()4379 modeToProfileBundle.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY); in setPreferredAudioProfiles()4385 strippedPreferences.putInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, outputOnlyProfile); in setPreferredAudioProfiles()4412 strippedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY); in setPreferredAudioProfiles()4415 previousPreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY); in setPreferredAudioProfiles()4450 int newOutput = strippedPreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY); in sendPreferredAudioProfileChangeToAudioFramework()4452 int previousOutput = previousPreferences.getInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY); in sendPreferredAudioProfileChangeToAudioFramework()
111 field public static final String AUDIO_MODE_OUTPUT_ONLY = "audio_mode_output_only";