Home
last modified time | relevance | path

Searched refs:mediaValues (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java121 CharSequence[] mediaValues = 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
143 mediaValues[mSelectedIndex] = defaultSummary; in setupPreferenceEntries()
147 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries()
155 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference() argument
159 listPreference.setEntryValues(mediaValues); in setPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DHandsFreeProfileOutputPreferenceController.java121 CharSequence[] mediaValues = 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
143 mediaValues[mSelectedIndex] = defaultSummary; in setupPreferenceEntries()
147 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries()
155 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference() argument
159 listPreference.setEntryValues(mediaValues); in setPreference()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java465 final ContentValues mediaValues; in addMediaStoreUris() local
467 mediaValues = convertToMediaProviderValues(info); in addMediaStoreUris()
472 final Uri mediaStoreUri = updateMediaProvider(client, mediaValues); in addMediaStoreUris()
960 @NonNull ContentValues mediaValues) { in updateMediaProvider() argument
961 final String filePath = mediaValues.getAsString(MediaStore.DownloadColumns.DATA); in updateMediaProvider()
968 mediaValues); in updateMediaProvider()
970 Log.e(Constants.TAG, "Error inserting into mediaProvider: " + mediaValues); in updateMediaProvider()
974 if (mediaProvider.update(mediaStoreUri, mediaValues, null, null) != 1) { in updateMediaProvider()
976 + ", values: " + mediaValues); in updateMediaProvider()
1009 final ContentValues mediaValues = new ContentValues(); in convertToMediaProviderValues() local
[all …]