HomeSort by relevance Sort by last modified time
    Searched refs:metadataId (Results 1 - 2 of 2) sorted by null

  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaPlayerMetadataParserTest.java 343 private void writeStringRecord(int metadataId, String val) {
346 mParcel.writeInt(metadataId);
353 private void writeIntRecord(int metadataId, int val) {
356 mParcel.writeInt(metadataId);
363 private void writeBooleanRecord(int metadataId, boolean val) {
366 mParcel.writeInt(metadataId);
373 private void writeLongRecord(int metadataId, long val) {
376 mParcel.writeInt(metadataId);
383 private void writeDoubleRecord(int metadataId, double val) {
386 mParcel.writeInt(metadataId);
    [all...]
  /frameworks/base/media/java/android/media/
Metadata.java 309 final int metadataId = parcel.readInt();
310 if (!checkMetadataId(metadataId)) {
318 if (mKeyToPosMap.containsKey(metadataId)) {
324 mKeyToPosMap.put(metadataId, parcel.dataPosition());
420 public boolean has(final int metadataId) {
421 if (!checkMetadataId(metadataId)) {
422 throw new IllegalArgumentException("Invalid key: " + metadataId);
424 return mKeyToPosMap.containsKey(metadataId);

Completed in 438 milliseconds