Home
last modified time | relevance | path

Searched refs:Metadata (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java71 final Map<String, Metadata> mMetadataCache = new HashMap<>();
128 List<Metadata> list; in handleMessage()
143 Metadata data = (Metadata) msg.obj; in handleMessage()
207 Metadata metadata = mMetadataCache.get(address); in bondStateChanged()
260 Metadata data = mMetadataCache.get(address); in setCustomMeta()
298 Metadata data = mMetadataCache.get(address); in getCustomMeta()
343 Metadata data = mMetadataCache.get(address); in setProfileConnectionPolicy()
390 Metadata data = mMetadataCache.get(address); in getProfileConnectionPolicy()
427 Metadata data = mMetadataCache.get(address); in setA2dpSupportsOptionalCodecs()
465 Metadata data = mMetadataCache.get(address); in getA2dpSupportsOptionalCodecs()
[all …]
DMetadataDatabase.java36 @Database(entities = {Metadata.class}, version = 104)
84 public void insert(Metadata... metadata) { in insert()
93 public List<Metadata> load() { in load()
DMetadataDao.java32 List<Metadata> load(); in load()
38 void insert(Metadata... metadata); in insert()
DMetadata.java34 class Metadata { class
54 Metadata(String address) { in Metadata() method in Metadata
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DUtil.java40 public static final Metadata empty_data() { in empty_data()
41 Metadata ret = new Metadata(); in empty_data()
53 public static Metadata bundleToMetadata(Bundle bundle) { in bundleToMetadata()
56 Metadata temp = new Metadata(); in bundleToMetadata()
136 public static Metadata toMetadata(MediaSession.QueueItem item) { in toMetadata()
149 Metadata ret = bundleToMetadata(bundle); in toMetadata()
159 public static Metadata toMetadata(MediaMetadata data) { in toMetadata()
178 Metadata ret = bundleToMetadata(bundle); in toMetadata()
188 public static Metadata toMetadata(MediaItem item) { in toMetadata()
201 Metadata ret = bundleToMetadata(bundle); in toMetadata()
[all …]
DMetadata.java21 class Metadata implements Cloneable { class
32 public Metadata clone() { in clone()
33 Metadata data = new Metadata(); in clone()
48 if (!(o instanceof Metadata)) return false; in equals()
50 final Metadata m = (Metadata) o; in equals()
DMediaData.java28 public List<Metadata> queue;
30 public Metadata metadata;
32 MediaData(Metadata m, PlaybackState s, List<Metadata> q) { in MediaData()
DListItem.java22 public Metadata song;
29 ListItem(Metadata s) { in ListItem()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionClientFactory.java34 import io.grpc.Metadata;
145 private static final Metadata.Key<String> API_KEY_HEADER =
146 Metadata.Key.of("X-Goog-Api-Key", Metadata.ASCII_STRING_MARSHALLER);
147 private static final Metadata.Key<String> ANDROID_PACKAGE_HEADER =
148 Metadata.Key.of("X-Android-Package", Metadata.ASCII_STRING_MARSHALLER);
149 private static final Metadata.Key<String> ANDROID_CERT_HEADER =
150 Metadata.Key.of("X-Android-Cert", Metadata.ASCII_STRING_MARSHALLER);
151 private static final Metadata.Key<String> AUTHORIZATION_HEADER =
152 Metadata.Key.of("authorization", Metadata.ASCII_STRING_MARSHALLER);
171 public void start(Listener<RespT> responseListener, Metadata headers) { in interceptCall()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java169 public static interface Metadata extends BaseColumns { interface in PhotoProvider
214 protected static final String WHERE_METADATA_ID = Metadata.PHOTO_ID + " = ? AND "
215 + Metadata.KEY + " = ?";
223 protected static final String DELETE_METADATA = "DELETE FROM " + Metadata.TABLE;
224 … protected static final String SELECT_METADATA_COUNT = "SELECT COUNT(_id) FROM " + Metadata.TABLE;
263 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE, MATCH_METADATA); in sUriMatcher.addURI()
265 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE + "/#", MATCH_METADATA_ID); in sUriMatcher.addURI()
403 table = Metadata.TABLE; in getTableFromMatch()
422 if (values.get(Metadata.VALUE) == null) { in modifyMetadata()
424 values.getAsString(Metadata.PHOTO_ID), values.getAsString(Metadata.KEY), in modifyMetadata()
[all …]
DPhotoDatabase.java24 import com.android.photos.data.PhotoProvider.Metadata;
73 { Metadata._ID, "INTEGER PRIMARY KEY AUTOINCREMENT" },
75 { Metadata.PHOTO_ID, "INTEGER NOT NULL" },
76 { Metadata.KEY, "TEXT NOT NULL" },
77 { Metadata.VALUE, "TEXT NOT NULL" },
78 createUniqueConstraint(Metadata.PHOTO_ID, Metadata.KEY),
91 createTable(db, Metadata.TABLE, getMetadataTableDefinition()); in onCreate()
113 dropTable(db, Metadata.TABLE); in recreate()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java124 Metadata data = new Metadata(TEST_BT_ADDR); in testMetadataDefault()
240 Metadata otherData = new Metadata(OTHER_BT_ADDR1); in testRemoveUnusedMetadata_WithSingleBondedDevice()
246 Metadata data = new Metadata(TEST_BT_ADDR); in testRemoveUnusedMetadata_WithSingleBondedDevice()
257 List<Metadata> list = mDatabase.load(); in testRemoveUnusedMetadata_WithSingleBondedDevice()
263 Metadata checkData = list.get(0); in testRemoveUnusedMetadata_WithSingleBondedDevice()
278 Metadata testData = new Metadata(TEST_BT_ADDR); in testRemoveUnusedMetadata_WithMultiBondedDevices()
284 Metadata otherData1 = new Metadata(OTHER_BT_ADDR1); in testRemoveUnusedMetadata_WithMultiBondedDevices()
290 Metadata otherData2 = new Metadata(OTHER_BT_ADDR2); in testRemoveUnusedMetadata_WithMultiBondedDevices()
310 List<Metadata> list = mDatabase.load(); in testRemoveUnusedMetadata_WithMultiBondedDevices()
315 Metadata checkData1 = list.get(0); in testRemoveUnusedMetadata_WithMultiBondedDevices()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java116 Metadata getCurrentMetadata() { in getCurrentMetadata()
130 List<Metadata> getCurrentQueue() { in getCurrentQueue()
190 Metadata qitem = Util.toMetadata(currItem); in isMetadataSynced()
191 Metadata mdata = Util.toMetadata(getMetadata()); in isMetadataSynced()
312 List<Metadata> current_queue = Util.toMetadataList(getQueue()); in handleMessage()
444 List<Metadata> current_queue = Util.toMetadataList(queue); in onQueueChanged()
520 for (Metadata data : mCurrentData.queue) { in toString()
DMediaPlayerList.java275 final List<Metadata> queue = player.getCurrentQueue(); in getCurrentMediaId()
291 Metadata getCurrentSongInfo() { in getCurrentSongInfo()
315 List<Metadata> getNowPlayingList() { in getNowPlayingList()
319 List<Metadata> ret = new ArrayList<Metadata>(); in getNowPlayingList()
320 Metadata data = getCurrentSongInfo(); in getNowPlayingList()
522 List<Metadata> queue = new ArrayList<Metadata>(); in removeMediaPlayer()
681 List<Metadata> queue = new ArrayList<Metadata>(); in updateMediaForAudioPlayback()
DGPMWrapper.java53 Metadata qitem = Util.toMetadata(currItem); in isMetadataSynced()
54 Metadata mdata = Util.toMetadata(getMetadata()); in isMetadataSynced()
DAvrcpTargetService.java322 Metadata getCurrentSongInfo() { in getCurrentSongInfo()
335 Metadata song = getCurrentSongInfo(); in getCurrentMediaId()
342 List<Metadata> getNowPlayingList() { in getNowPlayingList()
DAvrcpNativeInterface.java60 Metadata getCurrentSongInfo() { in getCurrentSongInfo()
100 List<Metadata> getNowPlayingList() { in getNowPlayingList()
/packages/apps/Camera2/src/com/android/camera/data/
DPlaceholderItem.java44 private final Metadata mMetaData;
56 mMetaData = new Metadata(); in PlaceholderItem()
134 public Metadata getMetadata() { in getMetadata()
DFilmstripItemBase.java48 protected final Metadata mMetaData;
61 mMetaData = new Metadata(); in FilmstripItemBase()
120 public Metadata getMetadata() { in getMetadata()
DSessionItem.java42 protected final Metadata mMetaData;
69 mMetaData = new Metadata(); in SessionItem()
158 public Metadata getMetadata() { in getMetadata()
DRgbzMetadataLoader.java35 final Context context, Uri contentUri, Metadata metadata) { in loadRgbzMetadata()
DPanoramaMetadataLoader.java33 Metadata metadata) { in loadPanoramaMetadata()
DMetadata.java25 public class Metadata { class
/packages/apps/Car/libs/car-messenger-common/proto/
Dnotification_msg.proto32 // Metadata of a new conversation (new in the history of the current
35 // Metadata of a new conversation received in an existing conversation.
40 // Metadata of a new sender avatar icon.
146 // Metadata of the person.
175 // Metadata about a sender.
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java131 ArrayList<Metadata> list = new ArrayList<Metadata>(); in prepareMediaData()

12