Searched refs:mediaValues (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 122 CharSequence[] mediaValues = new CharSequence[numDevices + 1]; in updateState() local 125 setupPreferenceEntries(mediaOutputs, mediaValues, findActiveDevice()); in updateState() 128 setPreference(mediaOutputs, mediaValues, preference); in updateState() 136 void setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setupPreferenceEntries() argument 144 mediaValues[mSelectedIndex] = defaultSummary; in setupPreferenceEntries() 148 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries() 156 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference() argument 160 listPreference.setEntryValues(mediaValues); in setPreference()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | MediaScanTriggerJob.java | 92 final ContentValues mediaValues; in onStartJob() local 94 mediaValues = downloadProvider.convertToMediaProviderValues(info); in onStartJob() 102 mediaValues.put(MediaStore.Files.FileColumns.SIZE, 0); in onStartJob() 103 downloadProvider.updateMediaProvider(mediaProviderClient, mediaValues); in onStartJob()
|
D | DownloadProvider.java | 879 final ContentValues mediaValues = new ContentValues(); in insert() local 880 mediaValues.put(MediaStore.Downloads.DOWNLOAD_URI, in insert() 882 mediaValues.put(MediaStore.Downloads.REFERER_URI, in insert() 884 mediaValues.put(MediaStore.Downloads.OWNER_PACKAGE_NAME, in insert() 889 mediaValues, null, null); in insert() local 943 @NonNull ContentValues mediaValues) { in updateMediaProvider() argument 944 final String filePath = mediaValues.getAsString(MediaStore.DownloadColumns.DATA); in updateMediaProvider() 951 mediaValues); in updateMediaProvider() 953 Log.e(Constants.TAG, "Error inserting into mediaProvider: " + mediaValues); in updateMediaProvider() 957 if (mediaProvider.update(mediaStoreUri, mediaValues, null, null) != 1) { in updateMediaProvider() [all …]
|