/test/vts/runners/host/ |
D | logger.py | 131 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/ |
D | parse_test_metrics.py | 31 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)
|
D | README | 12 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/ |
D | DriverBase.cpp | 99 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/ |
D | DupFileTest.java | 139 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/ |
D | CompatibilityBuildHelper.java | 331 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/ |
D | gen_mobilenet_input.py | 14 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
|
D | gen_tflite_visualization.sh | 17 filename=`basename $file` 18 modelname=${filename%.*}
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ |
D | VtsFuzzTestResultParserTest.java | 51 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/ |
D | file_util.py | 23 def FindFile(directory, filename): argument 36 if fn == filename: 37 return os.path.join(dirpath, filename)
|
/test/vts/tools/build/tasks/list/ |
D | update-lists.sh | 31 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/ |
D | VtsReportMessage_pb2.py | 30 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 …]
|
D | VtsResourceControllerMessage_pb2.py | 32 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,
|
D | VtsFuzzTaskMessage_pb2.py | 33 filename=None, 60 filename=None, 101 filename=None, 160 filename=None, 233 filename=None, 313 filename=None,
|
D | AndroidSystemControlMessage_pb2.py | 33 filename=None, 104 filename=None, 131 filename=None, 201 filename=None, 386 filename=None, 487 filename=None, 532 filename=None,
|
D | ComponentSpecificationMessage_pb2.py | 30 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 …]
|
D | VtsProfilingMessage_pb2.py | 32 filename=None, 100 filename=None, 180 filename=None,
|
D | TestSchedulingPolicyMessage_pb2.py | 30 filename=None, 63 filename=None,
|
/test/vts/drivers/hal/libcodecoverage/ |
D | GcdaFile.h | 32 explicit GcdaFile(const string& filename) : filename_(filename) {} in GcdaFile() argument
|
D | GcdaParser.h | 34 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/ |
D | ApkInstaller.java | 47 protected File getTestFile(IBuildInfo buildInfo, String filename) throws FileNotFoundException { in getTestFile() argument 49 return mBuildHelper.getTestFile(filename); in getTestFile()
|
/test/vts-testcase/kernel/encryption/ |
D | utils.cpp | 68 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/ |
D | TestLabConfigMessage_pb2.py | 32 filename=None, 84 filename=None, 150 filename=None,
|
/test/vts/testcases/host/verify_acpio/ |
D | VtsFirmwareAcpioVerification.py | 68 def getSha1(self, filename): argument 71 with open(filename, 'rb') as f:
|
/test/vts/utils/python/instrumentation/ |
D | test_framework_instrumentation.py | 192 def CompileResults(directory=None, filename=DEFAULT_FILE_NAME_TEXT_RESULT): argument 201 with open(os.path.join(directory, filename), 'w') as f:
|