/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 113 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/ |
D | generate_module.py | 106 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/ |
D | vndk_data.py | 84 "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/ |
D | gen_mobilenet_input.py | 17 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())
|
D | tensor_utils.py | 49 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/ |
D | BenchmarkTestBase.java | 64 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/ |
D | ltp_test_cases.py | 81 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/ |
D | Chart.bundle.min.js | 10 …f 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/ |
D | acts_adapter.py | 108 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/ |
D | home_bot_config.py | 147 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/ |
D | home_bot_config.py | 147 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/ |
D | build-libtest.sh | 26 for f in ./*.s; do 27 as "$f" -o "${f%.s}.o"
|
/test/app_compat/csuite/integration_tests/ |
D | csuite_test_utils.py | 55 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/ |
D | mobly_test.py | 117 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/ |
D | Processor.java | 209 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/ |
D | utils.py | 235 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()
|
D | config_parser.py | 197 with open(fpath, 'r') as f: 199 for line in f:
|
/test/vts/utils/python/common/ |
D | list_utils.py | 143 with open(file_path, 'r') as f: 145 f.read(),
|
/test/vts/utils/python/instrumentation/ |
D | test_framework_instrumentation.py | 201 with open(os.path.join(directory, filename), 'w') as f: 202 f.write(GenerateTextReport())
|
/test/mlts/models/assets/ssd_mobilenet_v1_coco_quantized/ |
D | tarmac.output7 | 1 …f\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/ |
D | KernelLtpTest.py | 145 with open(filepath, 'rb') as f: 146 content = f.read() 152 with open(filepath, 'wb') as f: 153 f.write(content_replaced)
|
D | test_cases_parser.py | 175 with open(filepath, 'r') as f: 176 lines_gen = (line.strip() for line in f)
|
/test/vts/utils/python/coverage/ |
D | coverage_utils.py | 213 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))
|
D | sancov_utils.py | 323 f for f in symbols_zip.namelist() 324 if f.startswith(os.path.join(search_root, path))
|
/test/vts/utils/python/systrace/ |
D | systrace_controller.py | 217 with open(self._path_output, 'r') as f: 218 data = f.read()
|