Home
last modified time | relevance | path

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

/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
H A DIsoInterfaceTest.java53 final File file = stageFile(R.raw.test_video); in testRepeated()
66 final File file = stageFile(R.raw.test_video_gps); in testGps()
77 final File file = stageFile(R.raw.test_video_xmp); in testXmp()
89 final IsoInterface isoMeta = IsoInterface.fromFile(stageFile(R.raw.test_video_xmp)); in testIsoMeta()
100 final IsoInterface qtMeta = IsoInterface.fromFile(stageFile(R.raw.testvideo_meta)); in testQtMeta()
109 private static File stageFile(int resId) throws Exception { in stageFile() method in IsoInterfaceTest
H A DXmpInterfaceTest.java125 final File file = stageFile(R.raw.test_video_xmp); in testContainer_IsoRedactionRanges()
150 final File file = stageFile(R.raw.test_video_xmp_bad_tag); in testContainer_IsoRedactionRanges_BadTagValue()
168 final File file = stageFile(R.raw.test_video_xmp_malformed); in testContainer_IsoRedactionRanges_MalformedXml()
225 private static File stageFile(int resId) throws Exception { in stageFile() method in XmpInterfaceTest
/aosp12/packages/modules/Connectivity/core/tests/coretests/src/com/android/internal/net/
H A DNetworkStatsFactoryTest.java73 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); in testNetworkStatsDetail()
99 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); in testNetworkStatsWithSet()
108stageFile(R.raw.xt_qtaguid_iface_typical, new File(mTestProc, "net/xt_qtaguid/iface_stat_all")); in testNetworkStatsSingle()
118 stageFile(R.raw.xt_qtaguid_iface_fmt_typical, in testNetworkStatsXt()
132 private void stageFile(int rawId, File file) throws Exception { in stageFile() method in NetworkStatsFactoryTest
/aosp12/packages/modules/Connectivity/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java64 stageFile(R.raw.netstats_v1, testFile); in testReadLegacyNetwork()
90 stageFile(R.raw.netstats_uid_v4, testFile); in testReadLegacyUid()
116 stageFile(R.raw.netstats_uid_v4, testFile); in testReadLegacyUidTags()
158 private void stageFile(int rawId, File file) throws Exception { in stageFile() method in NetworkStatsCollectionTest
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
H A DNetworkStatsFactoryTest.java408 stageFile(R.raw.xt_qtaguid_iface_typical, file("net/xt_qtaguid/iface_stat_all")); in testNetworkStatsSingle()
419 stageFile(R.raw.xt_qtaguid_iface_fmt_typical, file("net/xt_qtaguid/iface_stat_fmt")); in testNetworkStatsXt()
497 private void stageFile(int rawId, File file) throws Exception { in stageFile() method in NetworkStatsFactoryTest
527 stageFile(resourceId, file("net/xt_qtaguid/stats")); in parseDetailedStats()
H A DNetworkStatsCollectionTest.java116 stageFile(R.raw.netstats_v1, testFile); in testReadLegacyNetwork()
144 stageFile(R.raw.netstats_uid_v4, testFile); in testReadLegacyUid()
172 stageFile(R.raw.netstats_uid_v4, testFile); in testReadLegacyUidTags()
276 stageFile(R.raw.netstats_v1, testFile); in testAugmentPlan()
534 private void stageFile(int rawId, File file) throws Exception { in stageFile() method in NetworkStatsCollectionTest
/aosp12/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpDatabaseTest.java156 private File stageFile(int resId, File file) throws IOException { in stageFile() method in MtpDatabaseTest
254 stageFile(R.raw.test_bad_thumb, jpgfileBadThumb); in testMtpDatabaseThumbnail()
/aosp12/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
H A DLegacyProviderMigrationTest.java141 file = stageFile(resId, file.getAbsolutePath()); in generateValues()
156 private static File stageFile(int resId, String path) throws Exception { in stageFile() method in LegacyProviderMigrationTest
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
H A DApfTest.java896 String pcap_filename = stageFile(R.raw.apf); in testApfAgainstBpf()
911 String pcapFilename = stageFile(R.raw.apfPcap); in testApfFilterPcapFile()
2214 private String stageFile(int rawId) throws Exception { in stageFile() method in ApfTest