Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java343 private void writeStringRecord(int metadataId, String val) { in writeStringRecord() argument
346 mParcel.writeInt(metadataId); in writeStringRecord()
353 private void writeIntRecord(int metadataId, int val) { in writeIntRecord() argument
356 mParcel.writeInt(metadataId); in writeIntRecord()
363 private void writeBooleanRecord(int metadataId, boolean val) { in writeBooleanRecord() argument
366 mParcel.writeInt(metadataId); in writeBooleanRecord()
373 private void writeLongRecord(int metadataId, long val) { in writeLongRecord() argument
376 mParcel.writeInt(metadataId); in writeLongRecord()
383 private void writeDoubleRecord(int metadataId, double val) { in writeDoubleRecord() argument
386 mParcel.writeInt(metadataId); in writeDoubleRecord()
[all …]
/frameworks/base/media/java/android/media/
DMetadata.java316 final int metadataId = parcel.readInt(); in scanAllRecords() local
317 if (!checkMetadataId(metadataId)) { in scanAllRecords()
325 if (mKeyToPosMap.containsKey(metadataId)) { in scanAllRecords()
331 mKeyToPosMap.put(metadataId, parcel.dataPosition()); in scanAllRecords()
437 public boolean has(final int metadataId) { in has() argument
438 if (!checkMetadataId(metadataId)) { in has()
439 throw new IllegalArgumentException("Invalid key: " + metadataId); in has()
441 return mKeyToPosMap.containsKey(metadataId); in has()