Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMetadataTest.java65 private static void validateMetatData(int fileIndex, String meta_data_file[][]) { in validateMetatData() argument
66 Log.v(TAG, "filePath = "+ meta_data_file[fileIndex][0]); in validateMetatData()
67 if ((meta_data_file[fileIndex][0].endsWith("wma") && !MediaProfileReader.getWMAEnable()) || in validateMetatData()
68 (meta_data_file[fileIndex][0].endsWith("wmv") && !MediaProfileReader.getWMVEnable())) { in validateMetatData()
74 retriever.setDataSource(meta_data_file[fileIndex][0]); in validateMetatData()
76 Log.v(TAG, "Failed: "+meta_data_file[fileIndex][0] + " " + e.toString()); in validateMetatData()
84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); in validateMetatData()
88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); in validateMetatData()
92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value); in validateMetatData()
96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value); in validateMetatData()
[all …]
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py1270 fileIndex = 0 variable in FileNames
1302 if FileNames.fileIndex >= len(FileNames.specFiles):
1304 FileNames.specFile = FileNames.specFiles[FileNames.fileIndex]
1305 FileNames.specName = FileNames.specNames[FileNames.fileIndex]
1306 FileNames.exampleFile = FileNames.exampleFiles[FileNames.fileIndex]
1307 FileNames.fileIndex += 1