Home
last modified time | relevance | path

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

12

/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java113 String f; in testPerCpuCpufreq() local
116 f = String.format("/sys/devices/system/cpu/cpu%d/cpufreq/scaling_cur_freq", cpu); in testPerCpuCpufreq()
117 if (getDevice().doesFileExist(f)) { in testPerCpuCpufreq()
118 isReadOnlyAndIntegerContent(f); in testPerCpuCpufreq()
121 f = String.format("/sys/devices/system/cpu/cpu%d/cpufreq/scaling_min_freq", cpu); in testPerCpuCpufreq()
122 if (getDevice().doesFileExist(f)) { in testPerCpuCpufreq()
123 isReadWriteAndIntegerContent(f); in testPerCpuCpufreq()
126 f = String.format("/sys/devices/system/cpu/cpu%d/cpufreq/scaling_max_freq", cpu); in testPerCpuCpufreq()
127 if (getDevice().doesFileExist(f)) { in testPerCpuCpufreq()
128 isReadWriteAndIntegerContent(f); in testPerCpuCpufreq()
[all …]
/test/app_compat/csuite/tools/script/
Dgenerate_module.py106 with open(build_module_template_file_path, 'r') as f:
107 build_module_template = string.Template(f.read())
109 with open(test_module_template_file_path, 'r') as f:
110 test_module_template = string.Template(f.read())
133 with open(filename, 'r') as f:
134 return _AUTO_GENERATE_NOTE in f.read()
166 with open(build_module_path, 'w') as f:
167 write_module(build_module_template, package_name, f)
169 with open(test_module_path, 'w') as f:
170 write_module(test_module_template, package_name, f)
/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/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.py49 with open(save_html_path, 'w') as f:
50 f.write(ani.to_jshtml())
68 with open(tflite_model_json_path, 'rb') as f:
69 model_json = json.load(f)
104 with open(json_path, 'rb') as f:
105 topk_aosp = json.load(f)
148 with open(output_file_path, 'w') as f:
149 f.write(html_data)
187 with open(output_file_path, 'w') as f:
189 f.write(self.return_dict[model_name + "-hist"])
[all …]
/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-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/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/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/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"
/test/app_compat/csuite/integration_tests/
Dcsuite_test_utils.py55 with zipfile.ZipFile(_get_standalone_zip_path(), 'r') as f:
56 f.extractall(self._suite_dir)
153 for f in apk_paths:
154 shutil.copy(f, apk_dir)
/test/vts/testcases/template/mobly/
Dmobly_test.py117 with open(self.mobly_config_file_path, 'w') as f:
118 f.write(config_text)
194 with open(path, 'r') as f:
195 mobly_summary = json.load(f)
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DProcessor.java209 if (maxTime > 0.f) { in runBenchmarkLoop()
383 float runTime = 1.f; in benchmarkAllModels()
385 warmupTime = 2.f; in benchmarkAllModels()
386 runTime = 10.f; in benchmarkAllModels()
/test/vts/runners/host/
Dutils.py235 with open(file_full_path, 'r') as f:
236 conf = json.load(f)
250 with open(path, 'rb') as f:
251 f_bytes = f.read()
Dconfig_parser.py197 with open(fpath, 'r') as f:
199 for line in f:
/test/vts/utils/python/common/
Dlist_utils.py143 with open(file_path, 'r') as f:
145 f.read(),
/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation.py201 with open(os.path.join(directory, filename), 'w') as f:
202 f.write(GenerateTextReport())
/test/mlts/models/assets/ssd_mobilenet_v1_coco_quantized/
Dtarmac.output71f\Z\eFbFGRFOS\LNI<CSSWGc`a\ZRSFt]Yd_P]WY^YFiR`i\VXW\\SVSGdwFGehlX^f^zO\XcTWFS\RSLVdg\e\`S`fqdacmGm…
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py145 with open(filepath, 'rb') as f:
146 content = f.read()
152 with open(filepath, 'wb') as f:
153 f.write(content_replaced)
Dtest_cases_parser.py175 with open(filepath, 'r') as f:
176 lines_gen = (line.strip() for line in f)
/test/vts/utils/python/coverage/
Dcoverage_utils.py213 f for f in fnames if f.endswith(COVERAGE_SUFFIX)
381 with open(coverage_report_file, "w+") as f:
382 f.write(str(coverage_report_msg))
Dsancov_utils.py323 f for f in symbols_zip.namelist()
324 if f.startswith(os.path.join(search_root, path))
/test/vts/utils/python/systrace/
Dsystrace_controller.py217 with open(self._path_output, 'r') as f:
218 data = f.read()

12