Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 130) sorted by relevance

123456

/cts/tools/incremental-cts/
Dincremental_deqp_test.py28 def setUp(self): argument
34 def test_update_dependency(self): argument
43 def test_check_test_log_all_test_executed(self): argument
49 def test_check_test_log_test_crashed(self): argument
55 def test_get_test_binary_name(self): argument
62 def test_get_test_log_name(self): argument
66 def test_get_perf_name(self): argument
70 def test_get_perf_dump_name(self): argument
74 def test_get_test_list_name(self): argument
82 def test_valid_dependency(self): argument
[all …]
Dincremental_deqp.py97 def __init__(self, custom_handler=False): argument
108 def compare_base_build_with_current_build(self, deqp_deps, current_build_file, argument
133 def compare_base_build_with_device_files(self, deqp_deps, adb, base_build_file): argument
159 def get_system_fingerprint(self, build_file): argument
168 def _compare_build_hash(self, current_build_hash, base_build_hash): argument
202 def __init__(self, device_serial=None): argument
210 def _run_adb_command(self, *args): argument
224 def push_file(self, source_file, destination_file): argument
233 def pull_file(self, source_file, destination_file): argument
242 def get_fingerprint(self): argument
[all …]
Dtarget_file_handler_test.py24 def test_get_hash(self): argument
38 def test_get_system_fingerprint(self): argument
45 def test_get_system_fingerprint_without_buildprop(self): argument
Dabstract_build_file_handler.py22 def __init__(self, build_file): argument
25 def get_file_hash(self, file_names, hash_func=None): argument
37 def get_system_fingerprint(self): argument
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py74 def to_string(self): argument
77 def __init__(self, device = None, wait = False, log_file_id= None ): argument
158 def __del__(self): argument
161 def Close(self): argument
176 def log(self, msg , debug = False): argument
183 def handle_signal( self, signum, frame): argument
237 def GetStatus(self): argument
287 def RampVoltage(self, start, end): argument
296 def SetVoltage(self, v): argument
305 def SetMaxCurrent(self, i): argument
[all …]
D__init__.py48 def __init__(self ): argument
52 def Close(self): argument
61 def GetStatus(self): argument
68 def SetVoltage(self, v): argument
73 def SetMaxCurrent(self, i): argument
78 def SetUsbPassthrough(self, val): argument
83 def StartDataCollection(self): argument
88 def StopDataCollection(self): argument
93 def CollectData(self, verbose = True): argument
D_dummy.py28 def __init__(self, device = None, wait = False, log_file_id = None ): argument
35 def __del__(self): argument
38 def Close(self): argument
45 def GetStatus(self): argument
51 def RampVoltage(self, start, end): argument
54 def SetVoltage(self, v): argument
58 def SetMaxCurrent(self, i): argument
62 def SetUsbPassthrough(self, val): argument
66 def StartDataCollection(self): argument
70 def StopDataCollection(self): argument
[all …]
/cts/hostsidetests/theme/
Dandroid_device.py31 def __init__(self, serial): argument
34 def run_adb_command(self, cmd, timeout=None): argument
42 def run_shell_command(self, cmd): argument
45 def wait_for_device(self, timeout=30): argument
48 def wait_for_prop(self, key, value, timeout=30): argument
63 def wait_for_service(self, name, timeout=30): argument
78 def wait_for_boot_complete(self, timeout=60): argument
81 def install_apk(self, apk_path): argument
87 def uninstall_package(self, package): argument
93 def run_instrumentation_test(self, option): argument
[all …]
Davd.py35 def __init__(self, name, emu_path): argument
42 def start(self): argument
64 def stop(self): argument
72 def get_serial(self): argument
77 def get_device(self): argument
82 def configure_screen(self, density, width_dp, height_dp): argument
/cts/tools/utils/cts/
Dtools.py39 def __init__(self, is_root=False): argument
44 def Add(self, names): argument
53 def WriteDescription(self, doc, parent): argument
70 def __init__(self, package_name, app_package_name=''): argument
77 def AddTest(self, name): argument
89 def AddAttribute(self, name, value): argument
93 def GetDocument(self): argument
103 def WriteDescription(self, writer): argument
113 def __init__(self, all_packages): argument
127 def IncludeTests(self, package, test_list): argument
[all …]
/cts/tools/utils/
Dmonsoon.py75 def __init__(self, device=None, serialno=None, wait=1): argument
132 def GetStatus(self): argument
180 def RampVoltage(self, start, end): argument
189 def SetVoltage(self, v): argument
197 def SetMaxCurrent(self, i): argument
205 def SetUsbPassthrough(self, val): argument
210 def StartDataCollection(self): argument
216 def StopDataCollection(self): argument
221 def CollectData(self): argument
279 def _SendStruct(self, fmt, *args): argument
[all …]
Dandroid_api_description_splitter.py85 def __init__(self, xmlfile, outPath): argument
93 def split(self, tag): argument
103 def __trimElem(self, elem): argument
120 def __generateFile(self, elem): argument
136 def __removeAllChild(self, elem): argument
/cts/apps/CameraITS/tools/
Drun_all_unit_tests.py26 def _scene_folders_exist(self, scene_folders): argument
34 def test_sub_camera_tests(self): argument
43 def test_all_scenes(self): argument
47 def test_auto_scenes(self): argument
51 def test_scene_req(self): argument
55 def test_grouped_scenes(self): argument
/cts/common/device-side/bedstead/btest/
Dbtest25 def __init__(self, args): argument
29 def name(self): argument
32 def is_active(self, device_state): argument
35 def include_annotations(self, args): argument
38 def initialise(self, device_state): argument
41 def enter(self, device_state): argument
44 def get_user(self): argument
47 def all_supported_annotations(self, args): argument
51 def __init__(self, args): argument
54 def name(self): argument
[all …]
/cts/apps/CameraITS/tests/
Dits_base_test.py78 def setup_class(self): argument
163 def _setup_devices(self, num): argument
177 def setup_dut(self, device): argument
184 def setup_tablet(self): argument
214 def set_tablet_landscape_orientation(self): argument
238 def set_screen_brightness(self, brightness_level): argument
260 def parse_hidden_camera_id(self): argument
269 def determine_not_yet_mandated_tests(self, device_id, scene): argument
295 def on_pass(self, record): argument
298 def on_fail(self, record): argument
[all …]
/cts/suite/cts/utils/
Dget_csv_report.py37 def __init__(self, name, summary, details, result): argument
43 def getName(self): argument
46 def getSummary(self): argument
49 def getDetails(self): argument
52 def getResult(self): argument
92 def __init__(self, reportXml): argument
119 def addKV(self, key, value): argument
123 def getResults(self): argument
126 def getKeys(self): argument
129 def getValues(self): argument
[all …]
/cts/apps/CameraITS/utils/
Dits_session_utils.py162 def __init_socket_port(self): argument
227 def check_port_availability(self, check_port, used_ports): argument
251 def __wait_for_service(self): argument
290 def __init__(self, device_id=None, camera_id=None, hidden_physical_id=None, argument
302 def __enter__(self): argument
307 def __exit__(self, exec_type, exec_value, exec_traceback): argument
313 def override_with_hidden_physical_camera_props(self, props): argument
338 def get_camera_properties(self): argument
353 def get_camera_properties_by_id(self, camera_id, override_to_portrait=None): argument
375 def __read_response_from_socket(self): argument
[all …]
Dsensor_fusion_utils_tests.py31 def _generate_pwl_waveform(self, pts, step, amplitude): argument
54 def _generate_test_waveforms(self, gyro_sampling_rate, t_offset=0): argument
119 def test_get_gyro_rotations(self): argument
139 def test_get_best_alignment_offset(self): argument
159 def test_polynomial_from_coefficients(self): argument
175 def test_smallest_absolute_minimum_of_polynomial(self): argument
Dimage_fov_utils_tests.py25 def test_calc_expected_circle_image_ratio(self): argument
37 def test_check_ar(self): argument
53 def test_check_crop(self): argument
Dcapture_request_utils_tests.py32 def test_float_to_rational(self): argument
38 def test_rational_to_float(self): argument
44 def test_int_to_rational(self): argument
Dimage_processing_utils_tests.py33 def test_unpack_raw10_image(self): argument
70 def test_compute_image_sharpness(self): argument
96 def test_apply_lut_to_image(self): argument
/cts/tools/cts-test-metrics/
Dparse_test_metrics.py22 def __init__(self): argument
28 def _ParseArgs(self): argument
31 def _Parse(self, filename): argument
37 def _PrintJson(self, filename, json_data): argument
47 def Run(self): argument
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py74 def __init__(self, message): argument
76 def __str__(self): argument
150 def __init__(self, max_baseline_amps): argument
171 def __del__(self): argument
174 def finalize(self): argument
186 def _send(self, msg, report_errors = True): argument
233 def queryDevice(self, query): argument
239 def executeOnDevice(self, cmd, reportErrors = True): argument
243 def executeLocal(self, cmd, check_status = True): argument
253 def reportErrorRaiseExceptionIf(self, condition, msg): argument
[all …]
/cts/tools/cts-media/
Dget_achievable_rates.py24 def __str__(self): argument
68 def _parseDict(self, value): argument
73 def _cleanFormat(self, format): argument
80 def _parsePartialResult(self, message_match): argument
236 def __init__(self): argument
242 def summarize(self, A=None): argument
268 def parse_fmt(self, fmt): argument
271 def parse_perf(self, a, device, build): argument
305 def parse_json(self, json, device, build): argument
317 def parse_result(self, result): argument
/cts/hostsidetests/multidevices/bluetooth/
Dbluetooth_multi_devices_test.py26 def setup_class(self): argument
40 def setup_test(self): argument
62 def test_normal_gatt_server(self): argument
78 def test_isolated_gatt_server(self): argument

123456