Home
last modified time | relevance | path

Searched refs:useDefaults (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DUtil.java40 return builder.useDefaults().build(); in empty_data()
65 return builder.useContext(context).useDefaults().fromMediaItem(item).build(); in toMetadata()
77 builder.useDefaults().fromQueueItem(item); in toMetadata()
98 .useDefaults() in toMetadata()
DMetadata.java296 public Builder useDefaults() { in useDefaults() method in Metadata.Builder
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMetadataTest.java1034 Metadata metadata = new Metadata.Builder().useDefaults().build(); in testBuildMetadataUseDefaults()
1056 new Metadata.Builder().useDefaults().fromMediaDescription(description).build(); in testBuildMetadataUseDefaultsAndPartialFields()
1077 Metadata metadata = new Metadata.Builder().useDefaults().fromMediaMetadata(m).build(); in testBuildMetadataUseDefaultsAndAllFields()
1102 Metadata metadata = new Metadata.Builder().useDefaults().fromBundle(bundle).build(); in testBuildMetadataUseDefaultsAndMissingFields()
1129 Metadata metadata = new Metadata.Builder().fromBundle(bundle).useDefaults().build(); in testBuildMetadataUseDefaultsOrderDoesntMatter()
1130 Metadata metadata2 = new Metadata.Builder().useDefaults().fromBundle(bundle).build(); in testBuildMetadataUseDefaultsOrderDoesntMatter()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java402 private static String chooseExtensionFromMimeType(String mimeType, boolean useDefaults) { in chooseExtensionFromMimeType() argument
424 } else if (useDefaults) { in chooseExtensionFromMimeType()
430 } else if (useDefaults) { in chooseExtensionFromMimeType()