Home
last modified time | relevance | path

Searched defs:testFile (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFileUtilTest.java60 File testFile = null; in testChmodGroupRW() local
82 File testFile = null; in testChmodGroupRW_noChmod() local
98 File testFile = null; in testChmodGroupRWX() local
117 File testFile = null; in testEnsureGroupRWX() local
139 File testFile = null; in testChmodGroupRWX_noChmod() local
158 File testFile = null; in testCreateTempFile_filenameTooLong() local
179 File testFile = null; in testCreateTempFile_filenameTooLongEdge() local
202 File testFile = null; in testWriteToFile_overwrites_exists() local
220 File testFile = null; in testWriteToFile_appends_exists() local
237 File testFile = null; in testWriteToFile_overwrites_doesNotExist() local
[all …]
DTarUtilTest.java92 File testFile = TarUtil.unGzip(logTarGzFile, mWorkDir); in testUnGzip_withTargzFormat() local
110 File testFile = TarUtil.unGzip(logTgzFile, mWorkDir); in testUnGzip_withTgzFormat() local
127 File testFile = TarUtil.unGzip(logTarGzFile, mWorkDir); in testUntar() local
161 File testFile = TarUtil.unGzip(logTarGzFile, mWorkDir); in testUnTar_withFileNames() local
178 File testFile = TarUtil.unGzip(logTarGzFile, mWorkDir); in testUnTar_withFileNamesNotFound() local
/aosp_15_r20/frameworks/native/cmds/installd/tests/
H A Dinstalld_file_test.cpp106 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
138 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
150 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
165 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
181 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
212 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
235 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
263 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
282 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
299 std::string testFile = GetTestFilePath(GetTestName()); in TEST_F() local
[all …]
/aosp_15_r20/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageParserTest.java354 final File testFile = extractFile(TEST_APP1_APK); in testParseIsolatedSplitsDefault() local
368 final File testFile = extractFile(TEST_APP2_APK); in testParseIsolatedSplitsConstant() local
382 final File testFile = extractFile(TEST_APP3_APK); in testParseIsolatedSplitsResource() local
393 final File testFile = extractFile(TEST_APP4_APK); in testParseActivityRequiredDisplayCategoryValid() local
411 final File testFile = extractFile(TEST_APP6_APK); in testParseActivityRequiredDisplayCategoryInvalid() local
434 final File testFile = extractFile(TEST_APP7_APK); in testParseUriRelativeFilterGroups() local
610 final File testFile = extractFile(TEST_APP4_APK); in testParseApplicationProperties() local
642 final File testFile = extractFile(TEST_APP4_APK); in testParseActivityProperties() local
675 final File testFile = extractFile(TEST_APP4_APK); in testParseProviderProperties() local
696 final File testFile = extractFile(TEST_APP4_APK); in testParseReceiverProperties() local
[all …]
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/output/
H A DDeferredFileOutputStreamTest.java68 final File testFile = new File("testAboveThreshold.dat"); in testAboveThreshold() local
100 final File testFile = tempDir.resolve("testAboveThreshold.dat").toFile(); in testAboveThresholdGetInputStream() local
309 final File testFile = new File("testThresholdReached.dat"); in testThresholdReached() local
342 final File testFile = new File("testWriteToFile.dat"); in testWriteToLarge() local
370 final File testFile = new File("testWriteToFile.dat"); in testWriteToLargeCtor() local
399 final File testFile = new File("testWriteToMem.dat"); in testWriteToSmall() local
426 private void verifyResultFile(final File testFile) throws IOException { in verifyResultFile()
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/
H A DLineIteratorTest.java117 final File testFile = new File(temporaryFolder, fileName); in doTestFileWithSpecifiedLines() local
235 final File testFile = new File(temporaryFolder, "dummy-missing-file.txt"); in testMissingFile() local
241 final File testFile = new File(temporaryFolder, "LineIterator-nextOnly.txt"); in testNextLineOnlyDefaultEncoding() local
252 final File testFile = new File(temporaryFolder, "LineIterator-nextOnly.txt"); in testNextLineOnlyNullEncoding() local
263 final File testFile = new File(temporaryFolder, "LineIterator-nextOnly.txt"); in testNextLineOnlyUtf8Encoding() local
274 final File testFile = new File(temporaryFolder, "LineIterator-nextOnly.txt"); in testNextOnly() local
318 final File testFile = new File(temporaryFolder, "LineIterator-validEncoding.txt"); in testValidEncoding() local
/aosp_15_r20/prebuilts/go/linux-x86/src/archive/tar/
Dtar_test.go30 type testFile struct { struct
31 ops fileOps
32 pos int64
35 func (f *testFile) Read(b []byte) (int, error) {
57 func (f *testFile) Write(b []byte) (int, error) {
81 func (f *testFile) Seek(pos int64, whence int) (int64, error) {
/aosp_15_r20/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
H A DCompilationUnitTest.java48 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "Z.java")); in testGetSourceRoot() local
69 Path testFile = sourceRoot.resolve(Paths.get("B.java")); in testGetSourceRootInDefaultPackage() local
79 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testGetPrimaryTypeName() local
94 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testGetPrimaryType() local
103 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testNoPrimaryType() local
/aosp_15_r20/external/skia/tests/
H A DSkSLTest.cpp240 const char* testFile, in load_source()
570 const char* testFile, in test_one_permutation()
642 const char* testFile, in test_permutations()
661 const char* testFile, in test_cpu()
678 const char* testFile, in test_ganesh()
722 const char* testFile, in test_graphite()
765 static void test_clone(skiatest::Reporter* r, const char* testFile, SkSLTestFlags flags) { in test_clone()
808 static void report_rp_pass(skiatest::Reporter* r, const char* testFile, SkSLTestFlags flags) { in report_rp_pass()
815 const char* testFile, in report_rp_fail()
824 const char* testFile, in test_raster_pipeline()
/aosp_15_r20/cts/tests/tests/os/src/android/os/cts/
H A DFileObserverTest.java47 File testFile = new File(dir, TEST_FILE); in helpSetUp() local
78 File testFile = new File(dir, TEST_FILE); in helpTearDown() local
146 File testFile = new File(dir, TEST_FILE); in helpTestFileObserver() local
211 File testFile, boolean isEmulated) throws Exception { in verifyTriggeredEventsOnFile()
238 final File testFile = new File(testDir, TEST_FILE); in verifyTriggeredEventsOnDir() local
325 File testFile, final int[] expected, final FileEvent[] moveEvents) { in assertEventsContains()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DPushFilePreparerTest.java127 File testFile = new File(testsDir, "perf_test"); in testPushFile_RemoteIsDir() local
148 File testFile = new File(testsDir, "perf_test"); in testPushFile_duplicateKey() local
174 File testFile = new File(testsDir, "perf_test"); in testPushDir_RemoteIsDir() local
198 File testFile = new File(testsDir, "perf_test"); in testPushDir_RemoteIsFile() local
226 File testFile = new File(testsDir, "perf_test"); in testRemotePush_override() local
256 File testFile = new File(testsDir, "perf_test"); in testPushFileAndPush_override() local
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/
H A DFileFilterTest.java258 final File testFile = new File("test.txt"); in testDelegateFileFilter() local
470 final File testFile = new File("foo.test"); in testFileFilterUtils_or() local
471 assertFiltering(FileFilterUtils.or(trueFilter, trueFilter), testFile, true); in testFileFilterUtils_or() local
472 assertFiltering(FileFilterUtils.or(trueFilter, trueFilter, falseFilter), testFile, true); in testFileFilterUtils_or() local
473 assertFiltering(FileFilterUtils.or(falseFilter, trueFilter), testFile, true); in testFileFilterUtils_or() local
474 assertFiltering(FileFilterUtils.or(falseFilter, falseFilter, falseFilter), testFile, false); in testFileFilterUtils_or() local
1082 final File testFile = new File("foo.test"); in testOr() local
1134 final File testFile = new File("test"); in testPrefix() local
1327 final File testFile = new File("test"); in testSuffix() local
/aosp_15_r20/cts/tests/mediapc/src/android/mediapc/cts/
H A DMultiDecoderPairPerfTest.java255 String testFile = m1080pTestFiles.get(mSecondPair.first); in testCodec() local
260 String testFile = m1080pTestFiles.get(mFirstPair.first); in testCodec() local
269 String testFile = isSecure ? widevineTestFiles.get(mFirstPair.first) : in testCodec() local
278 String testFile = isSecure ? widevineTestFiles.get(mSecondPair.first) : in testCodec() local
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A Dctor.pass.cpp101 path const testFile = testDir / "testFile"; in access_denied_test_case() local
144 path const testFile = testDir / "inaccessible_file"; in access_denied_to_file_test_case() local
147 path const testFile = env.make_env_path("file1"); in access_denied_to_file_test_case() local
216 const path testFile = static_env.File; in test_open_on_file_fails() local
/aosp_15_r20/cts/tests/media/common/src/android/mediav2/common/cts/
H A DCompareStreams.java106 public CompareStreams(RawResource refYuv, String testMediaType, String testFile, in CompareStreams()
108 super(findDecoderForStream(testMediaType, testFile), testMediaType, testFile, LOG_TAG); in CompareStreams() local
128 String testFile, boolean allowRefResize, boolean allowRefLoopBack) throws IOException { in CompareStreams()
134 public CompareStreams(RawResource refYuv, String testMediaType, String testFile, in CompareStreams()
137 super(findDecoderForStream(testMediaType, testFile), testMediaType, testFile, LOG_TAG); in CompareStreams() local
/aosp_15_r20/external/downloader/src/test/java/com/google/android/downloader/
H A DIOUtilTest.java47 File testFile = temporaryFolder.newFile(); in validateChannel_notOpen() local
56 File testFile = temporaryFolder.newFile(); in validateChannel_valid() local
64 File testFile = temporaryFolder.newFile(); in blockingWrite() local
/aosp_15_r20/cts/tests/media/src/android/mediav2/cts/
H A DCodecDecoderTest.java112 public CodecDecoderTest(String decoder, String mediaType, String testFile, String refFile, in CodecDecoderTest()
310 String testFile, String refFile, int colorFormat, float rmsError, long checksum, in nativeTestSimpleDecode()
525 String testFile, int colorFormat, StringBuilder retMsg); in nativeTestFlush()
581 private native boolean nativeTestOnlyEos(String decoder, String mediaType, String testFile, in nativeTestOnlyEos()
674 String testFile, int colorFormat, StringBuilder retMsg); in nativeTestSimpleDecodeQueueCSD()
H A DCodecDecoderSurfaceTest.java83 public CodecDecoderSurfaceTest(String decoder, String mediaType, String testFile, in CodecDecoderSurfaceTest()
431 String testFile, String refFile, int colorFormat, float rmsError, long checksum, in nativeTestSimpleDecode()
452 String testFile, int colorFormat, StringBuilder retMsg); in nativeTestFlush()
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsCollectionTest.java122 final File testFile = in testReadLegacyNetwork() local
150 final File testFile = in testReadLegacyUid() local
178 final File testFile = in testReadLegacyUidTags() local
205 final File testFile = in getUidInputStreamFromRes() local
309 final File testFile = in testAugmentPlan() local
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescriptionsFile.java69 File testFile = File.createTempFile("testfile", ".txt"); in getFile() local
84 private static void populateTestFile(List<TestDescription> tests, File testFile) { in populateTestFile()
133 private static void readTestsFromFile(Collection<TestDescription> tests, File testFile) { in readTestsFromFile()
/aosp_15_r20/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DAbstractCopyJobTest.java65 Uri testFile = mDocs.createVirtualFile( in runCopyVirtualTypedFileTest() local
79 Uri testFile = mDocs.createVirtualFile( in runCopyVirtualNonTypedFileTest() local
164 Uri testFile = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFileWithReadErrorsTest() local
/aosp_15_r20/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A Dctor.pass.cpp93 path const testFile = testDir / "testFile"; in TEST_CASE() local
129 path const testFile = env.make_env_path("file1"); in TEST_CASE() local
195 const path testFile = StaticEnv::File; in TEST_CASE() local
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
H A Dctor.pass.cpp101 path const testFile = testDir / "testFile"; in access_denied_test_case() local
137 path const testFile = env.make_env_path("file1"); in access_denied_to_file_test_case() local
205 const path testFile = static_env.File; in test_open_on_file_fails() local
/aosp_15_r20/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
H A Dctor.pass.cpp92 path const testFile = testDir / "testFile"; in TEST_CASE() local
127 path const testFile = env.make_env_path("file1"); in TEST_CASE() local
193 const path testFile = StaticEnv::File; in TEST_CASE() local
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPrintStreamTest.java46 private File testFile = null; field in PrintStreamTest
84 assertFileContents(UNICODE_STRING.getBytes(Charset.defaultCharset()), testFile); in test_Constructor_Ljava_lang_String() local
103 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_8), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String() local
110 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String() local

12345678910>>...13