Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DHandsFreeProfileOutputPreferenceController.java120 CharSequence[] mediaOutputs = new CharSequence[numDevices + 1]; in updateState() local
124 setupPreferenceEntries(mediaOutputs, mediaValues, findActiveDevice()); in updateState()
127 setPreference(mediaOutputs, mediaValues, preference); in updateState()
135 void setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setupPreferenceEntries() argument
141 mediaOutputs[mSelectedIndex] = defaultSummary; in setupPreferenceEntries()
146 mediaOutputs[i] = btDevice.getAlias(); in setupPreferenceEntries()
155 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference() argument
158 listPreference.setEntries(mediaOutputs); in setPreference()
161 listPreference.setSummary(mediaOutputs[mSelectedIndex]); in setPreference()
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java120 CharSequence[] mediaOutputs = new CharSequence[numDevices + 1]; in updateState() local
124 setupPreferenceEntries(mediaOutputs, mediaValues, findActiveDevice()); in updateState()
127 setPreference(mediaOutputs, mediaValues, preference); in updateState()
135 void setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setupPreferenceEntries() argument
141 mediaOutputs[mSelectedIndex] = defaultSummary; in setupPreferenceEntries()
146 mediaOutputs[i] = btDevice.getAlias(); in setupPreferenceEntries()
155 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference() argument
158 listPreference.setEntries(mediaOutputs); in setPreference()
161 listPreference.setSummary(mediaOutputs[mSelectedIndex]); in setPreference()