Home
last modified time | relevance | path

Searched refs:utils (Results 1 – 25 of 193) sorted by relevance

12345678

/test/vts/testcases/template/gtest_binary_test/
Dgtest_test_case.py21 from vts.runners.host import utils
23 from vts.utils.python.os import path_utils
99 if len(output_base_name) > utils.MAX_FILENAME_LEN:
102 output_file_path, utils.MAX_FILENAME_LEN))
108 if len(output_file_path) > utils.MAX_PATH_LEN:
111 output_file_path, utils.MAX_PATH_LEN))
/test/vts-testcase/hal/script/build/
Dbuild_rule_gen.py21 from utils.const import Constant
23 import build_rule_gen_utils as utils namespace
64 updated |= utils.RemoveFilesInDirIf(
96 utils.HalNameDir(hal_name), utils.HalVerDir(hal_version))
99 updated = utils.WriteBuildRule(file_path, self._VtsBuildRuleFromTemplate(
157 (package_root_dir, utils.HalNameDir(hal_name),
186 utils.HalNameDir(hal_name))
Dvts_spec_parser.py25 from utils.const import Constant
37 import build_rule_gen_utils as utils namespace
159 utils.HalNameDir(hal_name), hal_version)
176 utils.HalNameDir(hal_name), hal_version)
/test/vts/utils/python/coverage/
Dgcda_parser_test.py20 from vts.utils.python.coverage import arc_summary
21 from vts.utils.python.coverage import block_summary
22 from vts.utils.python.coverage import file_summary
23 from vts.utils.python.coverage import function_summary
24 from vts.utils.python.coverage import gcda_parser
25 from vts.utils.python.coverage import gcno_parser
26 from vts.utils.python.coverage.parser_test import MockStream
Dgcno_parser.py34 from vts.utils.python.coverage import arc_summary
35 from vts.utils.python.coverage import block_summary
36 from vts.utils.python.coverage import file_summary
37 from vts.utils.python.coverage import function_summary
38 from vts.utils.python.coverage import parser
Dcoverage_report_test.py21 from vts.utils.python.coverage import gcno_parser
22 from vts.utils.python.coverage import gcda_parser
23 from vts.utils.python.coverage import coverage_report
Dfunction_summary_test.py21 from vts.utils.python.coverage import arc_summary
22 from vts.utils.python.coverage import block_summary
23 from vts.utils.python.coverage import function_summary
/test/vts-testcase/nbu/src/
Dbluetooth_test.py7 from mobly import utils
8 from utils import android_base_test
13 DEVICE_NAME = utils.rand_ascii_str(8)
69 rfcomm_name = utils.rand_ascii_str(8)
89 data = utils.rand_ascii_str(8)
Dble_test.py9 from mobly import utils
10 from utils import android_base_test
42 DATA = utils.rand_ascii_str(16)
44 SCAN_RESPONSE_DATA = utils.rand_ascii_str(16)
46 READ_DATA = utils.rand_ascii_str(8)
48 SECOND_READ_DATA = utils.rand_ascii_str(8)
50 THIRD_READ_DATA = utils.rand_ascii_str(8)
52 WRITE_DATA = utils.rand_ascii_str(8)
54 SECOND_WRITE_DATA = utils.rand_ascii_str(8)
/test/vts/testcases/host/reboot/RebootRootRemountTest/
DRebootRootRemountTest.py23 from vts.runners.host import utils
24 from vts.utils.python.controllers import adb
50 except utils.TimeoutError:
69 except utils.TimeoutError:
/test/vts/utils/python/common/
Dcmd_utils.py20 from vts.runners.host import utils
56 proc = utils.start_standing_subprocess(cmd)
70 utils.kill_process_group(proc)
72 if ((utils.is_on_windows()
/test/vts/compilation_tools/vtsc/
DAndroid.bp41 "libhidl-gen-host-utils",
42 "libhidl-gen-utils",
67 "libhidl-gen-host-utils",
68 "libhidl-gen-utils",
/test/vts/runners/host/
Dbase_test.py33 from vts.runners.host import utils
34 from vts.utils.python.controllers import adb
35 from vts.utils.python.controllers import android_device
36 from vts.utils.python.controllers.adb import AdbError
37 from vts.utils.python.common import cmd_utils
38 from vts.utils.python.common import filter_utils
39 from vts.utils.python.common import list_utils
40 from vts.utils.python.common import timeout_utils
41 from vts.utils.python.coverage import coverage_utils
42 from vts.utils.python.coverage import sancov_utils
[all …]
Dconfig_parser.py27 from vts.runners.host import utils
68 configs = utils.load_config(test_config_path)
86 configs[k_log_path] = utils.abs_path(configs[k_log_path])
270 if l not in utils.valid_filename_chars:
/test/vts-testcase/vndk/abi/
DVtsVndkAbiTest.py28 from vts.runners.host import utils
30 from vts.utils.python.file import target_file_utils
31 from vts.utils.python.library import elf_parser
32 from vts.utils.python.library.vtable import vtable_dumper
33 from vts.utils.python.vndk import vndk_utils
254 for parent_dir, dump_name in utils.iterate_files(dump_dir):
263 for parent_dir, lib_name in utils.iterate_files(lib_dir):
/test/vts-testcase/fuzz/template/func_fuzzer_test/
Dfunc_fuzzer_test.py24 from vts.utils.python.controllers import adb
25 from vts.utils.python.controllers import android_device
26 from vts.utils.python.common import vts_spec_utils
27 from vts.utils.python.fuzzer import corpus_manager
/test/vts/utils/python/controllers/
Dandroid_device.py39 from vts.runners.host import utils
41 from vts.utils.python.controllers import adb
42 from vts.utils.python.controllers import fastboot
43 from vts.utils.python.instrumentation import test_framework_instrumentation as tfi
44 from vts.utils.python.mirror import mirror_tracker
348 utils.concurrent_exec(take_br, args)
801 utils.create_dir(self.log_path)
810 self.adb_logcat_process = utils.start_standing_subprocess(cmd)
825 utils.stop_standing_subprocess(self.adb_logcat_process)
826 except utils.VTSUtilsError as e:
[all …]
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test.py30 from vts.utils.python.common import cmd_utils
31 from vts.utils.python.controllers import adb
32 from vts.utils.python.controllers import android_device
33 from vts.utils.python.gcs import gcs_api_utils
/test/framework/harnesses/host_controller/command_processor/
Dcommand_fastboot.py21 from host_controller.utils.ipc import file_lock_semaphore
22 from host_controller.utils.usb import usb_utils
24 from vts.utils.python.common import cmd_utils
Dcommand_test.py26 from host_controller.utils.parser import xml_utils
27 from vts.runners.host import utils
185 for dir_name, file_name in utils.iterate_files(result_dir)
210 for dir_name, file_name in utils.iterate_files(result_dir)
/test/vts/utils/python/library/
Delf_parser.py29 from vts.utils.python.library.elf import consts
30 from vts.utils.python.library.elf import structs
31 from vts.utils.python.library.elf import utils
92 if utils.ByteToInt(e_ident[consts.EI_CLASS]) not in (
97 if utils.ByteToInt(e_ident[consts.EI_DATA]) != consts.ELFDATA2LSB:
104 if utils.ByteToInt(e_ident[consts.EI_CLASS]) == consts.ELFCLASS32:
224 return utils.BytesToString(ret)
493 value, num = utils.DecodeSLEB128(data, cur)
/test/vti/test_serving/gae/webapp/src/scheduler/
Djob_heartbeat.py26 from webapp.src.utils import email_util
27 from webapp.src.utils import logger
28 from webapp.src.utils import model_util
/test/vts-testcase/hal/treble/platform_version/
Dvts_treble_platform_version_test.py22 from vts.testcases.vndk import utils
23 from vts.utils.python.android import api
32 self.dut = utils.AndroidDevice(serial_number)
/test/vts-testcase/performance/binder_benchmark/
DBinderPerformanceTest.py24 from vts.utils.python.controllers import android_device
25 from vts.utils.python.cpu import cpu_frequency_scaling
26 from vts.utils.python.performance import benchmark_parser
/test/vts-testcase/vndk/dependency/
DVtsVndkDependencyTest.py31 from vts.runners.host import utils
33 from vts.utils.python.controllers import android_device
34 from vts.utils.python.file import target_file_utils
35 from vts.utils.python.library import elf_parser
36 from vts.utils.python.os import path_utils
37 from vts.utils.python.vndk import vndk_utils
227 for root_dir, file_name in utils.iterate_files(host_dir):

12345678