Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 31) 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/app_compat/csuite/tools/script/
Dgenerate_module.py121 for filename in glob.iglob(root_dir + '/**/AndroidTest.xml'):
122 if _is_auto_generated(filename):
123 os.remove(filename)
125 for filename in glob.iglob(root_dir + '/**/Android.bp'):
126 if _is_auto_generated(filename):
127 os.remove(filename)
132 def _is_auto_generated(filename): argument
133 with open(filename, 'r') as f:
138 for filename in os.listdir(path):
139 file_path = os.path.join(path, filename)
/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/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.sh29 filename=`basename $file`
30 modelname=${filename%.*}
/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/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,
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 …]
DAndroidSystemControlMessage_pb2.py33 filename=None,
104 filename=None,
131 filename=None,
201 filename=None,
386 filename=None,
487 filename=None,
532 filename=None,
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/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,
DGreenBuildScheduleConfigMessage_pb2.py32 filename=None,
112 filename=None,
171 filename=None,
DTestScheduleConfigMessage_pb2.py30 filename=None,
63 filename=None,
115 filename=None,
174 filename=None,
/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:
/test/vts-testcase/kernel/checkpoint/
Dvts_kernel_checkpoint_test.py49 for filename in ["/odm/etc/fstab.", "/vendor/etc/fstab.", "/fstab."]:
50 out, err, return_code = self.dut.Execute("cat " + filename + extension)
DVtsKernelCheckpointTest.py40 for filename in ["/odm/etc/fstab.", "/vendor/etc/fstab.", "/fstab."]:
41 contents = self.dut.adb.shell("cat " + filename + extension, no_except = True)
/test/vts/utils/python/reporting/
Dreport_file_utils.py252 for filename in filenames:
253 src_path = os.path.join(dirpath, filename)
/test/vts/utils/python/gcs/
Dgcs_api_utils.py283 for filename in filenames:
284 src_file_path = os.path.join(dirpath, filename)
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DInferenceInOutSequence.java173 private static Integer getIndexFromFilename(String filename) { in getIndexFromFilename() argument
174 String index = filename.split("-")[1].split("\\.")[0]; in getIndexFromFilename()

12