Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_media_utils.py107 def compare_metadata(log, metadata1, metadata2): argument
119 log_metadata(log, metadata1)
123 if not (metadata1[MEDIA_KEY_TITLE] == metadata2[MEDIA_KEY_TITLE]):
127 if not (metadata1[MEDIA_KEY_ALBUM] == metadata2[MEDIA_KEY_ALBUM]):
131 if not (metadata1[MEDIA_KEY_ARTIST] == metadata2[MEDIA_KEY_ARTIST]):
135 if not (metadata1[MEDIA_KEY_DURATION] == metadata2[MEDIA_KEY_DURATION]):
139 if not (metadata1[MEDIA_KEY_NUM_TRACKS] == metadata2[MEDIA_KEY_NUM_TRACKS]
158 metadata1 = device1.droid.bluetoothMediaGetCurrentMediaMetaData()
159 if metadata1 is None:
165 return compare_metadata(log, metadata1, metadata2)