Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 59) sorted by relevance

123

/test/vts/tools/build/tasks/framework/
Dvtf_package.mk60 $(call find-files-in-subdirs,test/vts,"*.py" -and -type f,.) \
61 $(call find-files-in-subdirs,test/vts,"*.runner_conf" -and -type f,.) \
62 $(call find-files-in-subdirs,test/vts,"*.push" -and -type f,.)
65 $(foreach f,$(host_framework_files),\
66 test/vts/$(f):$(VTF_TESTCASES_OUT)/vts/$(f))
69 $(call find-files-in-subdirs,test/vts-testcase,"*.py" -and -type f,.) \
70 $(call find-files-in-subdirs,test/vts-testcase,"*.runner_conf" -and -type f,.) \
71 $(call find-files-in-subdirs,test/vts-testcase,"*.push" -and -type f,.) \
72 $(call find-files-in-subdirs,test/vts-testcase,"*.dump" -and -type f,.)
75 $(foreach f,$(host_testcase_files),\
[all …]
/test/framework/build/
DAndroid.mk58 $(call find-files-in-subdirs,test/framework/harnesses/host_controller,"*.py" -and -type f,.) \
61 $(foreach f,$(host_hc_files),\
62 test/framework/harnesses/host_controller/$(f):$(VTSLAB_TESTCASES_OUT)/host_controller/$(f))
66 $(call find-files-in-subdirs,test/framework/harnesses/host_controller/gsi,"*.sh" -and -type f,.) \
69 $(foreach f,$(host_hc_gsispl_files),\
70 test/framework/harnesses/host_controller/gsi/$(f):$(VTSLAB_BIN_LIB_OUT)/bin/$(f))
81 $(call find-files-in-subdirs,tools/acloud,"*.py" -and -type f,.) \
82 $(call find-files-in-subdirs,tools/acloud,"*.config" -and -type f,.)
85 $(foreach f,$(host_acloud_files),\
86 tools/acloud/$(f):$(VTSLAB_TESTCASES_OUT)/acloud/$(f))
[all …]
Dvtf.mk33 $(foreach f,$(vtf_tradefed_modules),\
34 $(HOST_OUT)/framework/$(f).jar:$(VTF_TOOLS_OUT)/$(f).jar)
40 $(foreach f,$(VTF_COPY_VTF_BINARY),\
41 test/vts/tools/vts-tradefed/etc/$(f):$(VTF_TESTCASES_OUT)/$(f))
/test/vts/tools/build/tasks/
Dvts_package.mk89 $(call find-files-in-subdirs,test/vts-testcase/hal-trace,"*.vts.trace" -and -type f,.) \
92 $(foreach f,$(target_trace_files),\
93 …test/vts-testcase/hal-trace/$(f):$(VTS_TESTCASES_OUT)/hal-hidl-trace/test/vts-testcase/hal-trace/$…
108 $(call find-files-in-subdirs,hardware/interfaces/media/res,"*.*" -and -type f,.) \
111 $(foreach f,$(media_test_res_files),\
112 hardware/interfaces/media/res/$(f):$(VTS_TESTCASES_OUT)/DATA/media/res/$(f))
115 …ind-files-in-subdirs,frameworks/av/media/codec2/hidl/1.0/vts/functional/res,"*.*" -and -type f,.) \
118 $(foreach f,$(media_c2_test_res_files),\
119 …meworks/av/media/codec2/hidl/1.0/vts/functional/res/$(f):$(VTS_TESTCASES_OUT)/DATA/media/c2/res/$(
122 $(call find-files-in-subdirs,test/vts-testcase/nbu/src,"*.apk" -and -type f,.)
[all …]
/test/vts-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py104 def tryReadFileContent(self, f, shell): argument
110 content = target_file_utils.ReadFileContent(f, self.shell)
144 f = '/sys/devices/system/cpu/present'
145 self.IsReadOnly(f)
146 present_cpus = target_file_utils.ReadFileContent(f, self.shell)
162 f = '/sys/devices/system/cpu/cpu%s/cpufreq/scaling_cur_freq' % cpu
163 self.IsReadOnly(f, False)
164 content = self.tryReadFileContent(f, self.shell)
168 f = '/sys/devices/system/cpu/cpu%s/cpufreq/scaling_min_freq' % cpu
169 self.IsReadWrite(f, False)
[all …]
/test/vts/script/
Dcreate-test-project.py149 with open(target, 'w') as f:
159 with open(target, 'w') as f:
161 f.write(LICENSE_STATEMENT_POUND.format(year=self.current_year))
162 f.write('\n')
163 f.write(
173 with open(target, 'w') as f:
174 f.write(
176 f.write(ANDROID_MK_CALL_SUB)
182 with open(target, 'w') as f:
184 f.write(XML_HEADER)
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DInvocationFailureHandler.java41 File f = buildHelper.getInvocationFailureFile(); in hasFailed() local
42 return (f.exists() && f.length() != 0); in hasFailed()
60 File f = buildHelper.getInvocationFailureFile(); in setFailed() local
61 if (!f.exists()) { in setFailed()
62 f.createNewFile(); in setFailed()
65 FileUtil.writeToFile(cause.toString(), f, true); in setFailed() local
DTestRunHandler.java44 File f = buildHelper.getTestRunsFile(); in getTestRuns() local
45 if (!f.exists() || f.length() == 0) { in getTestRuns()
48 String mapString = FileUtil.readStringFromFile(f); in getTestRuns()
70 File f = buildHelper.getTestRunsFile(); in setTestRuns() local
71 if (!f.exists()) { in setTestRuns()
72 f.createNewFile(); in setTestRuns()
74 FileUtil.writeToFile(mapToString(testRuns), f); in setTestRuns() local
/test/vts-testcase/kernel/api/rootdir/
DVtsKernelRootDirTest.py267 error_msg.extend("Unexpected file: " + f for f in unexpected_files)
270 for f in current_files - unexpected_files:
271 if f in allowed_rc_files:
273 logging.info("adb pull %s %s", f, self._temp_dir)
274 pull_output = self._adb.pull(f, self._temp_dir)
277 if not filecmp.cmp(os.path.join(init_rc_dir, f[1:]),
278 os.path.join(self._temp_dir, f[1:])):
279 error_msg.append("Unexpected file content: %s" % f)
/test/framework/harnesses/host_controller/acloud/
Dacloud_client.py129 with open(report_file, 'r') as f:
130 report = json.load(f)
153 with open(report_file, 'r') as f:
154 report = json.load(f)
162 with open(report_file, 'r') as f:
163 report = json.load(f)
200 with open(report_file, 'r') as f:
201 report = json.load(f)
Dacloud_config.py73 with open(file_path, 'r') as f:
74 for line in f:
101 with open(file_path, 'w') as f:
103 f.write(key + separator + '"%s"' % self.configs[key])
/test/mlts/benchmark/tools/
Dgen_mobilenet_input.py17 with open(basename + "_f32.bin", "wb") as f:
18 f.write(img_f64.astype('float32').tobytes())
20 with open(basename + "_u8.bin", "wb") as f:
21 f.write(((img_f64 + 1) * 255).astype('uint8').tobytes())
/test/vts/testcases/host/verify_dtbo/
DVtsFirmwareDtboVerification.py104 with open(dt_entry_path, "rb") as f:
105 unzipped_dtbo_file = zlib.decompress(f.read(), DECOMPRESS_WBIT_ARG)
106 with open(dt_entry_path, "r+b") as f:
107 f.write(unzipped_dtbo_file)
108 f.seek(0)
109 fdt_magic = struct.unpack(">I", f.read(1 * 4))[0]
/test/vts/tools/build/utils/
Dvts_package_utils.mk86 $(call find-files-in-subdirs,$(lsdump_dir),"*.lsdump" -and -type f,.)) \
89 $(foreach f,$(lsdump_names),\
90 $(eval copy_src := $(lsdump_dir)/$(f)) \
91 $(eval copy_dst := $(abi_dump_dir)/$(f:%.lsdump=%.dump)) \
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java59 protected static final float RUNTIME_SHORT_SECONDS = 1.f;
63 protected static final float WARMUP_REPEATABLE_SECONDS = 2.f;
64 protected static final float RUNTIME_REPEATABLE_SECONDS = 10.f;
67 protected static final float COMPLETE_SET_TIMEOUT_SECOND = 300.f;
DNNBenchmark.java100 if (minTime > 0.f) { in runBenchmarkLoop()
216 float runTime = 1.f; in run()
218 warmupTime = 2.f; in run()
219 runTime = 10.f; in run()
/test/mlts/benchmark/results/
DChart.bundle.min.js10f in n)c[n[f]]=f},{5:5}],2:[function(t,e,i){var n=t(4),a=t(1),r=function(t){return t instanceof r?… variable
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DVtsFilePusher.java240 File f = null; in resolveRelativeFilePath() local
242 f = new File(mInvocationHelper.getTestsDir(), in resolveRelativeFilePath()
244 CLog.d("Copying from %s", f.getAbsolutePath()); in resolveRelativeFilePath()
245 return f; in resolveRelativeFilePath()
248 CLog.e("File not found: %s", f); in resolveRelativeFilePath()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTraceCollectPreparer.java152 for (File f : files) { in pushProfilerLib()
153 String fileName = f.getName(); in pushProfilerLib()
154 if (f.isFile() in pushProfilerLib()
158 device.pushFile(f, destDirName + fileName); in pushProfilerLib()
/test/vts/runners/adapters/acts/
Dacts_adapter.py108 with open(self.config_path, 'w') as f:
109 f.write(config_text)
180 with open(result_path, 'r') as f:
181 summary = json.load(f)
/test/vts-testcase/hal/script/configure/
Dtest_case_creator.py217 with open(target, 'w') as f:
219 f.write(ANDROID_BP_TEMPLATE.format(test_name=self._test_name, year=self._current_year))
251 with open(target, 'w') as f:
253 f.write(XML_HEADER)
254 f.write(LICENSE_STATEMENT_XML.format(year=self._current_year))
255 f.write(self.Prettify(configuration))
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBusinessLogicFactory.java92 public static BusinessLogic createFromFile(File f) { in createFromFile() argument
94 String businessLogicString = readFile(f); in createFromFile()
248 private static String readFile(File f) throws IOException { in readFile() argument
249 StringBuilder sb = new StringBuilder((int) f.length()); in readFile()
251 try (Scanner scanner = new Scanner(f)) { in readFile()
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/
Dhome_bot_config.py147 with open(props_file, 'r') as f:
150 return f.read()
300 with open(bot_file, 'wb') as f:
301 json.dump(bot.dimensions, f)
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/
Dhome_bot_config.py147 with open(props_file, 'r') as f:
150 return f.read()
300 with open(bot_file, 'wb') as f:
301 json.dump(bot.dimensions, f)
/test/vts/utils/python/library/elf/testing/
Dbuild-libtest.sh26 for f in ./*.s; do
27 as "$f" -o "${f%.s}.o"

123