Home
last modified time | relevance | path

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

/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/suite_harness/common/host-side/tradefed/tests/res/testdata/
Dperf-dump.txt4 prot 1, flags 6146, filename file_0
12 prot 1, flags 6146, filename file_1
32 prot 1, flags 6146, filename file_2
40 prot 1, flags 6146, filename should_not_appear
48 prot 1, flags 6146, filename /data/file
56 prot 1, flags 6146, filename /dmabuf:dmabuf1234
64 prot 1, flags 6146, filename [vdso]
72 prot 1, flags 6146, filename file_3
80 prot 1, flags 6146, filename /kgsl-3d0
88 prot 1, flags 6146, filename /mali csf
/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
Dconvert_binary_to_img.py23 def convert_file(filename: str, h: int, w: int, d: int):
32 with open(filename, 'rb') as f:
38 destination = filename.replace('input', 'jpg')
Dgen_tflite_visualization.sh29 filename=`basename $file`
30 modelname=${filename%.*}
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java330 public File getTestFile(String filename) throws FileNotFoundException { in getTestFile() argument
331 return getTestFile(filename, null); in getTestFile()
338 public File getTestFile(String filename, IAbi abi) throws FileNotFoundException { in getTestFile() argument
345 testFile = FileUtil.findFile(filename, abi, testsDir); in getTestFile()
354 testFile = mBuildInfo.stageRemoteFile(filename, testsDir); in getTestFile()
357 testFile = FileUtil.findFile(filename, abi, testsDir); in getTestFile()
366 filename, e)); in getTestFile()
370 "Compatibility test file %s does not exist", filename)); in getTestFile()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstaller.java51 protected File getTestFile(IBuildInfo buildInfo, String filename) throws FileNotFoundException { in getTestFile() argument
53 return mBuildHelper.getTestFile(filename); in getTestFile()
/test/vts-testcase/kernel/encryption/
Dutils.cpp98 std::string filename(entry->d_name); in DeleteRecursively() local
99 if (filename != "." && filename != "..") in DeleteRecursively()
100 DeleteRecursively(path + "/" + filename); in DeleteRecursively()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java118 public File getTestFile(String filename) throws FileNotFoundException { in testLocalRead_fromDynamicConfigName()
139 public File getTestFile(String filename) throws FileNotFoundException { in testLocalRead()
160 public File getTestFile(String filename) throws FileNotFoundException { in testLocalRead_fileNotFound()
/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)
/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()
/test/dittosuite/
DDoxyfile2780 # path where java can find the plantuml.jar file or to the filename of jar file