/frameworks/rs/rsov/compiler/ |
Wrapper_test.cpp | 42 std::vector<uint32_t> readWords(const char *testFile) { 45 const std::string &fullPath = getAbsolutePath(testDataPath + testFile);
|
/external/toybox/tests/ |
mount.test | 59 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile 62 cat testDir/testDir2/testFile && sleep 1 && umount testDir' \ 66 cat testDir/testDir2/testFile && sleep 1 && umount testDir' \
|
tar.test | 27 dd if=/dev/zero of=testFile ibs=4096 obs=4096 count=1000 2>/dev/null 28 testing "- compession and extraction of a file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f testFile ] && echo 'yes'; rm -rf testFile.tgz" "yes\nyes\n" "" "" 31 touch testFile 32 testing "- compession and extraction of a empty file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f t (…) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
LocalDeviceBuildProviderTest.java | 178 File testFile = new File(mTestDir, "some-test"); 179 FileUtil.writeToFile("tests", testFile); 184 File extractedTestFile = new File(testDir, testFile.getName()); 186 assertTrue(FileUtil.compareFileContents(testFile, extractedTestFile));
|
/prebuilts/go/darwin-x86/src/compress/lzw/ |
writer_test.go | 24 // testFile tests that compressing and then decompressing the given file with 26 func testFile(t *testing.T, fn string, order Order, litWidth int) { 100 testFile(t, filename, order, litWidth)
|
/prebuilts/go/linux-x86/src/compress/lzw/ |
writer_test.go | 24 // testFile tests that compressing and then decompressing the given file with 26 func testFile(t *testing.T, fn string, order Order, litWidth int) { 100 testFile(t, filename, order, litWidth)
|
/external/icu/icu4c/source/test/iotest/ |
iotest.cpp | 223 LocalUFILEPointer testFile; 237 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); 238 if (testFile.isNull()) { 263 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); 268 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); 273 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); 278 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); 283 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); 288 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); 292 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument) [all...] |
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/ |
CTLogStoreImplTest.java | 96 File testFile = writeFile(LOGS_SERIALIZED[0]); 97 log = CTLogStoreImpl.loadLog(testFile);
|
/external/guava/guava-tests/test/com/google/common/io/ |
IoTestCase.java | 78 File testFile = new File(testFileUrl.toURI()); 79 testDir = testFile.getParentFile(); // the testdata directory
|
/frameworks/base/cmds/incident_helper/tests/ |
CpuInfoParser_test.cpp | 53 const string testFile = kTestDataPath + "cpuinfo.txt"; 144 int fd = open(testFile.c_str(), O_RDONLY);
|
/frameworks/rs/rsov/compiler/spirit/ |
transformer_test.cpp | 70 std::vector<uint32_t> readWords(const char *testFile) { 73 const std::string &fullPath = getAbsolutePath(testDataPath + testFile);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PrintStreamTest.java | 46 private File testFile = null; 84 assertFileContents(UNICODE_STRING.getBytes(Charset.defaultCharset()), testFile); 103 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_8), testFile); 110 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), testFile); 750 testFile = File.createTempFile("test", null); 751 testFilePath = testFile.getAbsolutePath(); 756 testFile.delete(); 757 testFile = null; [all...] |
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
FileTunerHal.java | 63 FileTunerHal(Context context, File testFile) { 65 mTestFile = testFile;
|
/prebuilts/go/darwin-x86/src/mime/multipart/ |
formdata_test.go | 29 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents) 34 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents) 50 fd := testFile(t, f.File["hiddenfile"][0], "", filebContents) 58 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
|
/prebuilts/go/linux-x86/src/mime/multipart/ |
formdata_test.go | 29 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents) 34 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents) 50 fd := testFile(t, f.File["hiddenfile"][0], "", filebContents) 58 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProviderTest.java | 69 public void testFile() throws Exception {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
ShardListenerTest.java | 160 LogFile testFile = new LogFile("path", "url", false, LogDataType.TEXT, 0L); 166 .andReturn(testFile); 171 EasyMock.eq(testFile)); 177 mockListener.logAssociation("test-file", testFile);
|
/frameworks/base/tests/net/java/com/android/server/net/ |
NetworkStatsCollectionTest.java | 110 final File testFile = 112 stageFile(R.raw.netstats_v1, testFile); 115 collection.readLegacyNetwork(testFile); 138 final File testFile = 140 stageFile(R.raw.netstats_uid_v4, testFile); 143 collection.readLegacyUid(testFile, false); 166 final File testFile = 168 stageFile(R.raw.netstats_uid_v4, testFile); 171 collection.readLegacyUid(testFile, true); 270 final File testFile [all...] |
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/ |
VtsCoveragePreparerTest.java | 221 File testFile = new File(mTestDir, fileName); 222 testFile.createNewFile(); 223 return testFile;
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
fetch_test.go | 152 return testFile{file, "abcde10001"}, nil 154 return testFile{file, "fedcb10000"}, nil 156 return testFile{file, "abcde10001"}, nil 165 type testFile struct{ name, buildID string } 167 func (f testFile) Name() string { return f.name } 168 func (testFile) Base() uint64 { return 0 } 169 func (f testFile) BuildID() string { return f.buildID } 170 func (testFile) SourceLine(addr uint64) ([]plugin.Frame, error) { return nil, nil } 171 func (testFile) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym, error) { return nil, nil } 172 func (testFile) Close() error { return nil [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
fetch_test.go | 152 return testFile{file, "abcde10001"}, nil 154 return testFile{file, "fedcb10000"}, nil 156 return testFile{file, "abcde10001"}, nil 165 type testFile struct{ name, buildID string } 167 func (f testFile) Name() string { return f.name } 168 func (testFile) Base() uint64 { return 0 } 169 func (f testFile) BuildID() string { return f.buildID } 170 func (testFile) SourceLine(addr uint64) ([]plugin.Frame, error) { return nil, nil } 171 func (testFile) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym, error) { return nil, nil } 172 func (testFile) Close() error { return nil [all...] |
/frameworks/base/cmds/incidentd/tests/ |
Section_test.cpp | 118 const std::string testFile = kTestDataPath + "metadata.txt"; 120 ASSERT_TRUE(ReadFileToString(testFile, &expect)); 161 const std::string testFile = kTestDataPath + "kmsg.txt"; 162 const std::string testGzFile = testFile + ".gz"; 163 GZipSection gs(NOOP_PARSER, "/tmp/nonexist", testFile.c_str(), NULL); 173 size_t fileLen = testFile.size(); 181 expected += testFile + "\x12\x9F\x6" + gzFile;
|
/prebuilts/go/darwin-x86/src/cmd/gofmt/ |
long_test.go | 44 func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) { 96 testFile(t, b1, b2, filename)
|
/prebuilts/go/linux-x86/src/cmd/gofmt/ |
long_test.go | 44 func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) { 96 testFile(t, b1, b2, filename)
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
NativeDeviceStateMonitor.java | 287 final String testFile = String.format("'%s/%d'", externalStore, number); 289 final String writeCmd = String.format("echo '%s' > %s", testString, testFile); 290 final String checkCmd = String.format("cat %s", testFile); 291 final String cleanupCmd = String.format("rm %s", testFile);
|