Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 67) 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-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/vts/tools/build/tasks/
Dvts_package.mk95 $(call find-files-in-subdirs,test/vts-testcase/hal-trace,"*.vts.trace" -and -type f,.) \
98 $(foreach f,$(target_trace_files),\
99 …test/vts-testcase/hal-trace/$(f):$(VTS10_TESTCASES_OUT)/hal-hidl-trace/test/vts-testcase/hal-trace…
114 $(call find-files-in-subdirs,hardware/interfaces/media/res,"*.*" -and -type f,.) \
117 $(foreach f,$(media_test_res_files),\
118 hardware/interfaces/media/res/$(f):$(VTS10_TESTCASES_OUT)/DATA/media/res/$(f))
121 …ind-files-in-subdirs,frameworks/av/media/codec2/hidl/1.0/vts/functional/res,"*.*" -and -type f,.) \
124 $(foreach f,$(media_c2_test_res_files),\
125 …eworks/av/media/codec2/hidl/1.0/vts/functional/res/$(f):$(VTS10_TESTCASES_OUT)/DATA/media/c2/res/$…
128 $(call find-files-in-subdirs,test/vts-testcase/nbu/src,"*.apk" -and -type f,.)
[all …]
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java108 String f; in testPerCpuCpufreq() local
111 f = String.format("/sys/devices/system/cpu/cpu%d/cpufreq/scaling_cur_freq", cpu); in testPerCpuCpufreq()
112 if (getDevice().doesFileExist(f)) { in testPerCpuCpufreq()
113 isReadOnlyAndIntegerContent(f); in testPerCpuCpufreq()
116 f = String.format("/sys/devices/system/cpu/cpu%d/cpufreq/scaling_min_freq", cpu); in testPerCpuCpufreq()
117 if (getDevice().doesFileExist(f)) { in testPerCpuCpufreq()
118 isReadWriteAndIntegerContent(f); in testPerCpuCpufreq()
121 f = String.format("/sys/devices/system/cpu/cpu%d/cpufreq/scaling_max_freq", cpu); in testPerCpuCpufreq()
122 if (getDevice().doesFileExist(f)) { in testPerCpuCpufreq()
123 isReadWriteAndIntegerContent(f); in testPerCpuCpufreq()
[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/vndk/golden/
Dvndk_data.py84 "platform_vndk_version.txt"), "r") as f:
85 return f.read().strip()
268 with open(vndk_lib_list_path, "r") as f:
269 _LoadVndkLibraryListsFile(vndk_lists, tags, f)
270 with open(vndk_lib_extra_list_path, "r") as f:
271 _LoadVndkLibraryListsFile(vndk_lists, tags, f)
307 with resources.open_text(_RESOURCE_PACKAGE, vndk_lib_list_name) as f:
308 _LoadVndkLibraryListsFile(vndk_lists, tags, f)
309 with resources.open_text(_RESOURCE_PACKAGE, vndk_lib_extra_list_name) as f:
310 _LoadVndkLibraryListsFile(vndk_lists, tags, 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())
Dtensor_utils.py36 with open(tflite_model_json_path, 'rb') as f:
37 model_json = json.load(f)
72 with open(json_path, 'rb') as f:
73 topk_aosp = json.load(f)
111 with open(output_file_path, 'w') as f:
112 f.write(html_data)
135 with open(file_path, mode='rb') as f:
136 tensor_bytes = f.read()
/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/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java64 protected static final float RUNTIME_SHORT_SECONDS = 1.f;
68 protected static final float WARMUP_REPEATABLE_SECONDS = 2.f;
69 protected static final float RUNTIME_REPEATABLE_SECONDS = 10.f;
72 protected static final float COMPLETE_SET_TIMEOUT_SECOND = 300.f;
75 protected static final float COMPILATION_WARMUP_SECONDS = 2.f;
76 protected static final float COMPILATION_RUNTIME_SECONDS = 10.f;
/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/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py81 with open(file_path, 'r') as f:
82 return f.read()
255 with open(output_file, 'w') as f:
256 f.write(config_lines)
271 with open(filepath, 'r') as f:
272 lines_gen = (line.strip() for line in f)
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DVtsFilePusher.java221 File f = null; in resolveRelativeFilePath() local
223 f = new File(mInvocationHelper.getTestsDir(), in resolveRelativeFilePath()
225 CLog.d("Copying from %s", f.getAbsolutePath()); in resolveRelativeFilePath()
226 return f; in resolveRelativeFilePath()
229 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/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/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java96 for (File f : ((PushFilePreparer) prep).getPushSpecs(null).values()) { in testApkPackageNames()
97 String path = f.getPath(); in testApkPackageNames()
112 for (File f : ((PushFilePreparer) prep).getPushSpecs(null).values()) { in testApkPackageNames()
113 String path = f.getPath(); in testApkPackageNames()
/test/vts/utils/python/library/elf/testing/
Dbuild-libtest.sh26 for f in ./*.s; do
27 as "$f" -o "${f%.s}.o"
/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)

123