Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 46) sorted by relevance

12

/test/vts/runners/host/
Dlogger.py131 def _initiateTestLogger(log_path, prefix=None, filename=None, log_severity="INFO"): argument
167 if filename is None:
168 filename = getLogFileTimestamp()
173 idx = filename.rfind('.')
175 idx = len(filename)
177 filename=filename[:idx] + '_' + level + filename[idx:],
219 filename=None, argument
235 if filename is None:
236 filename = getLogFileTimestamp()
238 logger = _initiateTestLogger(log_path, prefix, filename, log_severity)
[all …]
/test/suite_harness/tools/cts-test-metrics/
Dparse_test_metrics.py31 def _Parse(self, filename): argument
32 json_file = open(filename)
35 self._PrintJson(filename, json_data)
37 def _PrintJson(self, filename, json_data): argument
38 print "\nFilename: %s" % filename
50 for filename in self._args.filenames:
51 self._Parse(filename)
DREADME12 The MetricsParser class defines functions to parse a json file. The _Parse function takes a filename
14 takes the filename and corresponding json_data and prints out the streams as key, value pairs.
/test/vts/drivers/hal/common/driver_base/
DDriverBase.cpp99 string filename = in LoadTargetComponent() local
101 filename = filename.substr(0, filename.length() - 3 /* for .so */); in LoadTargetComponent()
102 component_filename_ = (char*)malloc(filename.length() + 1); in LoadTargetComponent()
103 strcpy(component_filename_, filename.c_str()); in LoadTargetComponent()
220 bool DriverBase::ReadGcdaFile(const string& basepath, const string& filename, in ReadGcdaFile() argument
225 if (string(filename).rfind(".gcda") != string::npos) { in ReadGcdaFile()
226 string buffer = basepath + "/" + filename; in ReadGcdaFile()
258 raw_msg->set_file_path(filename.c_str()); in ReadGcdaFile()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DDupFileTest.java139 String filename = entry.getName(); in getListOfFiles() local
140 if (checkThisFile(filename)) { in getListOfFiles()
141 files.add(filename); in getListOfFiles()
148 private Boolean checkThisFile(String filename) { in checkThisFile() argument
149 if (!filename.endsWith(".class")) { in checkThisFile()
154 if (filename.startsWith(skipDir)) { in checkThisFile()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java331 public File getTestFile(String filename) throws FileNotFoundException { in getTestFile() argument
332 return getTestFile(filename, null); in getTestFile()
339 public File getTestFile(String filename, IAbi abi) throws FileNotFoundException { in getTestFile() argument
346 testFile = FileUtil.findFile(filename, abi, testsDir); in getTestFile()
355 testFile = mBuildInfo.stageRemoteFile(filename, testsDir); in getTestFile()
358 testFile = FileUtil.findFile(filename, abi, testsDir); in getTestFile()
367 filename, e)); in getTestFile()
371 "Compatibility test file %s does not exist", filename)); in getTestFile()
/test/mlts/benchmark/tools/
Dgen_mobilenet_input.py14 def gen_input_files(filename, prefix, size): argument
15 basename = os.path.basename(filename) + "_" + prefix
16 img_f64 = np.array(Image.open(filename).resize(size)).astype(np.float) / 128 - 1
Dgen_tflite_visualization.sh17 filename=`basename $file`
18 modelname=${filename%.*}
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsFuzzTestResultParserTest.java51 private String[] readInFile(String filename) { in readInFile() argument
55 TEST_TYPE_DIR + File.separator + filename); in readInFile()
63 Log.e(LOG_TAG, "Output file does not exist: " + filename); in readInFile()
66 Log.e(LOG_TAG, "Unable to read contents of an output file: " + filename); in readInFile()
/test/vts/utils/python/io/
Dfile_util.py23 def FindFile(directory, filename): argument
36 if fn == filename:
37 return os.path.join(dirpath, filename)
/test/vts/tools/build/tasks/list/
Dupdate-lists.sh31 local filename="$ANDROID_BUILD_TOP/test/vts/tools/build/tasks/list/$variable_name"
49 $(all-targets | grep -P "$pattern" | awk '{print " " $0 " \\"}')" > "$filename".mk
/test/vts/proto/
DVtsReportMessage_pb2.py30 filename=None,
69 filename=None,
104 filename=None,
135 filename=None,
188 filename=None,
282 filename=None,
341 filename=None,
372 filename=None,
452 filename=None,
546 filename=None,
[all …]
DVtsResourceControllerMessage_pb2.py32 filename=None,
103 filename=None,
158 filename=None,
225 filename=None,
326 filename=None,
378 filename=None,
444 filename=None,
496 filename=None,
555 filename=None,
DVtsFuzzTaskMessage_pb2.py33 filename=None,
60 filename=None,
101 filename=None,
160 filename=None,
233 filename=None,
313 filename=None,
DAndroidSystemControlMessage_pb2.py33 filename=None,
104 filename=None,
131 filename=None,
201 filename=None,
386 filename=None,
487 filename=None,
532 filename=None,
DComponentSpecificationMessage_pb2.py30 filename=None,
81 filename=None,
224 filename=None,
327 filename=None,
354 filename=None,
468 filename=None,
520 filename=None,
558 filename=None,
652 filename=None,
795 filename=None,
[all …]
DVtsProfilingMessage_pb2.py32 filename=None,
100 filename=None,
180 filename=None,
DTestSchedulingPolicyMessage_pb2.py30 filename=None,
63 filename=None,
/test/vts/drivers/hal/libcodecoverage/
DGcdaFile.h32 explicit GcdaFile(const string& filename) : filename_(filename) {} in GcdaFile() argument
DGcdaParser.h34 explicit GcdaRawCoverageParser(const char* filename) in GcdaRawCoverageParser() argument
35 : filename_(filename), gcda_file_(new GcdaFile(filename_)) {} in GcdaRawCoverageParser()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstaller.java47 protected File getTestFile(IBuildInfo buildInfo, String filename) throws FileNotFoundException { in getTestFile() argument
49 return mBuildHelper.getTestFile(filename); in getTestFile()
/test/vts-testcase/kernel/encryption/
Dutils.cpp68 std::string filename(entry->d_name); in DeleteRecursively() local
69 if (filename != "." && filename != "..") in DeleteRecursively()
70 DeleteRecursively(path + "/" + filename); in DeleteRecursively()
/test/vti/test_serving/proto/
DTestLabConfigMessage_pb2.py32 filename=None,
84 filename=None,
150 filename=None,
/test/vts/testcases/host/verify_acpio/
DVtsFirmwareAcpioVerification.py68 def getSha1(self, filename): argument
71 with open(filename, 'rb') as f:
/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation.py192 def CompileResults(directory=None, filename=DEFAULT_FILE_NAME_TEXT_RESULT): argument
201 with open(os.path.join(directory, filename), 'w') as f:

12