Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/assets/scripts/power_monitors/
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
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_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
Dgenerate_images.py54 def __init__(self, tasks, setup, q): argument
61 def run(self): argument
80 def get_result(self): 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
Dcertificates.py24 def __init__(self, cert, key): argument
28 def cert_pem(self): argument
31 def key_pem(self): argument
34 def save_to_file(self, path): argument
39 def save_cert_to_file(self, path): argument
DbuildCts.py73 def __init__(self, argv): argument
94 def GenerateTestDescriptions(self): argument
104 def __WritePlan(self, plan, plan_name): argument
108 def GenerateTestPlans(self): argument
/cts/tools/testng/
Dgen-test-list-xml.py47 def __init__(self, name=None): argument
52 def _get_children(self): argument
55 def _set_children(self, value): argument
60 def append_child(self, child): argument
63 def has_children(self): argument
66 def _get_name(self): argument
69 def _set_name(self, value): argument
74 def _get_type_name(self): argument
79 def _set_properties(self, value): argument
82 def _get_properties(self): 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/suite/audio_quality/test_description/
Dprocessing_main.py63 def __init__(self, conn): argument
65 def __del__(self): argument
67 def run(self): argument
145 def readRaw(self, length): argument
157 def readI32(self): argument
162 def readI64(self): argument
167 def readDouble(self): argument
172 def readI16Array(self, length): argument
177 def sendI32(self, i32): argument
181 def sendI64(self, i64): argument
[all …]
/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/apps/CameraITS/tools/
Dhardware.py56 def __init__(self, name, vid, pid, cfg, inf): argument
71 def __enter__(self): argument
74 def __exit__(self, exception_type, exception_value, traceback): argument
77 def _build_device(self, name, vid, pid, cfg, inf): argument
105 def _find_lab_device_entry(self, vendor_id, product_id, serial_no): argument
126 def _read_sys_attr(self, root, attr): argument
143 def _read_sys_hex_attr(self, root, attr): argument
160 def _is_cdc_acm(self, inf_path): argument
181 def _read_tty_name(self, dir_entry, inf, cfg): argument
214 def _init_device_list_callback(self, _, dir_entry): argument
[all …]
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py53 def __init__(self, chart_file, height, distance, scale_start, scale_stop, argument
81 def _set_scale_factors_to_one(self): argument
89 def _calc_scale_factors(self, cam, props, fmt, s, e, fd): argument
126 def locate(self, cam, props): argument
309 def test_compute_image_sharpness(self): argument
334 def test_get_angle_identify_unrotated_chessboard_angle(self): argument
349 def test_get_angle_identify_rotated_chessboard_angle(self): argument
Ddevice.py110 def __init_socket_port(self): argument
183 def __wait_for_service(self): argument
219 def __enter__(self): argument
231 def __exit__(self, type, value, traceback): argument
237 def __read_response_from_socket(self): argument
261 def __open_camera(self): argument
273 def __close_camera(self): argument
280 def do_vibrate(self, pattern): argument
303 def get_sensors(self): argument
317 def start_sensor_events(self): argument
[all …]
Dobjects.py348 def test_int_to_rational(self): argument
357 def test_float_to_rational(self): argument
363 def test_rational_to_float(self): argument
Dimage.py877 def test_apply_matrix_to_image(self): argument
894 def test_apply_lut_to_image(self): argument
909 def test_unpack_raw10_image(self): argument
/cts/tests/openglperf2/
Dcob_exporter.py33 def execute(self, context): argument
62 def menu_func(self, context): argument
/cts/tests/tests/security/testeffect/
DCTSTestEffect.cpp97 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in CTSEffects_process()
102 int CTSEffects_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in CTSEffects_command()
168 int CTSEffects_getDescriptor(effect_handle_t self, in CTSEffects_getDescriptor()
/cts/apps/CameraITS/tests/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py55 def __init__(self): argument
101 def parse_args(self): argument
411 def __init__(self, contour): argument
422 def distance_to(self, other): argument
426 def intersects(self, other): argument
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py15 def __init__(self, statement): argument

12