Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/
DLog.cpp28 Log* Log::Instance(const char* dirName) in Instance() argument
32 ASSERT_PLAIN(mInstance->init(dirName)); in Instance()
65 bool Log::init(const char* dirName) in init() argument
67 if (dirName == NULL) { in init()
71 if (logFile.appendFormat("%s/log.txt", dirName) != 0) { in init()
DReport.cpp26 Report* Report::Instance(const char* dirName) in Instance() argument
30 ASSERT(mInstance->init(dirName)); in Instance()
53 bool Report::init(const char* dirName) in init() argument
55 if (dirName == NULL) { in init()
59 if (report.appendFormat("%s/report.xml", dirName) != 0) { in init()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDepCsvPrinter.java54 public void writeDeltaDigraphs(ReleaseContent bRelContent, String dirName) { in writeDeltaDigraphs() argument
57 compareEntries(dirName); in writeDeltaDigraphs()
60 public void compareEntries(String dirName) { in compareEntries() argument
64 String fileName = String.format("%s/%s.csv", dirName, exeName); in compareEntries()
128 public void writeRcDeltaDigraphs(ReleaseContent bRelContent, String dirName) { in writeRcDeltaDigraphs() argument
131 compareRcEntries(dirName); in writeRcDeltaDigraphs()
134 public void compareRcEntries(String dirName) { in compareRcEntries() argument
135 String fileName = String.format("%s/%s.csv", dirName, "RC-files"); in compareRcEntries()
389 String dirName = in main() local
391 File dir = new File(dirName); in main()
[all …]
DDepPrinter.java52 public void writeDeltaDigraphs(ReleaseContent bRelContent, String dirName) { in writeDeltaDigraphs() argument
55 compareEntries(dirName); in writeDeltaDigraphs()
58 public void compareEntries(String dirName) { in compareEntries() argument
62 String fileName = String.format("%s/%s.gv", dirName, exeName); in compareEntries()
113 public void writeRcDeltaDigraphs(ReleaseContent bRelContent, String dirName) { in writeRcDeltaDigraphs() argument
116 compareRcEntries(dirName); in writeRcDeltaDigraphs()
119 public void compareRcEntries(String dirName) { in compareRcEntries() argument
120 String fileName = String.format("%s/%s.gv", dirName, "RC-files"); in compareRcEntries()
382 String dirName = in main() local
384 File dir = new File(dirName); in main()
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp62 android::String8 dirName; in handleFile() local
63 if (!FileUtil::prepare(dirName)) { in handleFile()
71 dirName.appendPath(caseName); in handleFile()
72 int result = mkdir(dirName.string(), S_IRWXU); in handleFile()
74 LOGE("mkdir of save dir %s failed, error %d", dirName.string(), errno); in handleFile()
89 android::String8 fileName(dirName); in handleFile()
/cts/tests/filesystem/src/android/filesystem/cts/
DFileUtil.java77 public static File createNewFile(Context context, String dirName) { in createNewFile() argument
78 File topDir = new File(context.getFilesDir(), dirName); in createNewFile()
109 public static File[] createNewFiles(Context context, String dirName, int count) { in createNewFiles() argument
112 files[i] = createNewFile(context, dirName); in createNewFiles()
143 public static File createNewFilledFile(Context context, String dirName, long length) in createNewFilledFile() argument
145 File file = createNewFile(context, dirName); in createNewFilledFile()
272 public static void doRandomReadTest(Context context, String dirName, ReportLog report, in doRandomReadTest() argument
275 dirName, fileSize); in doRandomReadTest()
326 public static void doRandomWriteTest(Context context, String dirName, ReportLog report, in doRandomWriteTest() argument
329 dirName, fileSize); in doRandomWriteTest()
[all …]
/cts/tools/utils/
Drm_dup_holo_imgs.py51 def getAllHashes(dirName): argument
53 for f in os.listdir(dirName):
55 files[f] = getHash(open(dirName + "/" + f, 'rb'))
/cts/suite/audio_quality/executable/src/
Dmain.cpp87 android::String8 dirName; in main() local
88 if (!FileUtil::prepare(dirName)) { in main()
102 if (Log::Instance(dirName.string()) == NULL) { in main()
108 if (Report::Instance(dirName.string()) == NULL) { in main()
/cts/suite/audio_quality/lib/include/
DReport.h37 static Report* Instance(const char* dirName = NULL);
48 bool init(const char* dirName);
DLog.h36 static Log* Instance(const char* dirName = NULL);
48 virtual bool init(const char* dirName);
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutGetLineLeftRightTest.java85 final String dirName = in cases() local
87 params.add(new Object[] {leadingMargin, align, dirName, dir}); in cases()
95 String dirName, TextDirectionHeuristic dir) { in StaticLayoutGetLineLeftRightTest() argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DIntentTests.java147 static void writeToDocumentsStorage(TestCase testCase, int number, String dirName) in writeToDocumentsStorage() argument
151 Path testsFilePath = documentsDirectory.toPath().resolve(dirName); in writeToDocumentsStorage()
/cts/tests/tests/media/src/android/media/cts/
DDecodeEditEncodeTest.java166 String dirName = getContext().getFilesDir().getAbsolutePath(); in videoEditTest() local
168 sourceChunks.saveToFile(new File(dirName, fileName)); in videoEditTest()
174 String dirName = getContext().getFilesDir().getAbsolutePath(); in videoEditTest() local
176 destChunks.saveToFile(new File(dirName, fileName)); in videoEditTest()