Home
last modified time | relevance | path

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

123456789

/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Ddevice_adapter.py35 def __init__(self, device_config: DeviceConfig) -> None: argument
51 def __repr__(self) -> str: argument
55 def env(self) -> dict[str, str]: argument
59 def launch(self) -> None: argument
94 def close(self) -> None: argument
104 def connect(self, retry_s: int = 0) -> None: argument
129 def disconnect(self) -> None: argument
137 def readline(self, timeout: float | None = None, print_output: bool = True) -> str: argument
154 self, argument
197 def readlines(self, print_output: bool = True) -> list[str]: argument
[all …]
Dbinary_adapter.py20 def __init__(self, device_config: DeviceConfig) -> None: argument
35 def generate_command(self) -> None: argument
38 def _flash_and_run(self) -> None: argument
41 def _run_subprocess(self) -> None: argument
62 def _connect_device(self) -> None: argument
68 def _disconnect_device(self) -> None: argument
74 def _close_device(self) -> None: argument
78 def _stop_subprocess(self) -> None: argument
89 def _read_device_output(self) -> bytes: argument
92 def _write_to_device(self, data: bytes) -> None: argument
[all …]
Dhardware_adapter.py31 def __init__(self, device_config: DeviceConfig) -> None: argument
41 def generate_command(self) -> None: argument
64 def _prepare_runner_args(self) -> tuple[list[str], list[str]]: argument
100 def _flash_and_run(self) -> None: argument
141 def _connect_device(self) -> None: argument
162 def _open_serial_pty(self) -> str | None: argument
185 def _disconnect_device(self) -> None: argument
193 def _close_serial_pty(self) -> None: argument
201 def _close_device(self) -> None: argument
205 def is_device_running(self) -> bool: argument
[all …]
Dfifo_handler.py23 def __init__(self, fifo_path: str | Path, timeout: float): argument
38 def initiate_connection(self) -> None: argument
61 def _open_fifo(self) -> None: argument
67 def _opening_monitor(self) -> None: argument
81 def _unblock_open_fifo_operation(self) -> None: argument
91 def disconnect(self) -> None: argument
112 def is_open(self) -> bool: argument
122 def read(self, __size: int = -1) -> bytes: argument
125 def readline(self, __size: int | None = None) -> bytes: argument
128 def write(self, __buffer: bytes) -> int: argument
[all …]
Dqemu_adapter.py19 def __init__(self, device_config: DeviceConfig) -> None: argument
24 def generate_command(self) -> None: argument
30 def _flash_and_run(self) -> None: argument
34 def _create_fifo_connection(self) -> None: argument
45 def _stop_subprocess(self) -> None: argument
49 def _read_device_output(self) -> bytes: argument
57 def _write_to_device(self, data: bytes) -> None: argument
61 def _flush_device_output(self) -> None: argument
65 def is_device_connected(self) -> bool: argument
/Zephyr-latest/scripts/west_commands/zspdx/
Dcmakefileapi.py9 def __init__(self): argument
16 def __repr__(self): argument
22 def __init__(self): argument
30 def __repr__(self): argument
39 def __init__(self): argument
57 def __repr__(self): argument
63 def __init__(self): argument
78 def __repr__(self): argument
84 def __init__(self): argument
100 def __repr__(self): argument
[all …]
Dwalker.py20 def __init__(self): argument
40 def __init__(self, cfg): argument
74 def _build_purl(self, url, version=None): argument
92 def _add_describe_relationship(self, doc, cfgpackage): argument
105 def makeDocuments(self): argument
143 def getCacheFile(self): argument
153 def getCodemodel(self): argument
180 def setupAppDocument(self): argument
200 def setupBuildDocument(self): argument
222 def setupZephyrDocument(self, zephyr, modules): argument
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Drunner.py68 def __init__(self, total=0): argument
152 def summary(self): argument
201 def warnings(self): argument
206 def warnings(self, value): argument
210 def warnings_increment(self, value=1): argument
215 def cases(self): argument
220 def cases(self, value): argument
224 def cases_increment(self, value=1): argument
229 def skipped_cases(self): argument
234 def skipped_cases(self, value): argument
[all …]
Dsize_calc.py100 def __init__(self, elf_filename: str,\ argument
131 def size_report(self): argument
143 def get_used_ram(self): argument
150 def get_used_rom(self): argument
157 def unrecognized_sections(self): argument
168 def get_available_ram(self) -> int: argument
175 def get_available_rom(self) -> int: argument
182 def _calculate_sizes(self): argument
192 def _check_elf_file(self) -> None: argument
204 def _check_is_xip(self) -> None: argument
[all …]
Dtestplan.py106 def __init__(self, env: Namespace): argument
136 def get_level(self, name): argument
140 def parse_configuration(self, config_file): argument
174 def find_subtests(self): argument
189 def discover(self): argument
226 def load(self): argument
285 def generate_subset(self, subset, sets): argument
340 def handle_modules(self): argument
346 def report(self): argument
363 def report_duplicates(self): argument
[all …]
Dtestinstance.py52 def __init__(self, testsuite, platform, toolchain, outdir): argument
99 def setup_run_id(self): argument
102 def record(self, recording, fname_csv="recording.csv"): argument
122 def status(self) -> TwisterStatus: argument
126 def status(self, value : TwisterStatus) -> None: argument
134 def add_filter(self, reason, filter_type): argument
141 def init_cases(self): argument
145 def _get_run_id(self): argument
164 def add_missing_case_status(self, status, reason=None): argument
175 def __getstate__(self): argument
[all …]
Dharness.py44 def __init__(self): argument
74 def trace(self) -> bool: argument
78 def status(self) -> TwisterStatus: argument
82 def status(self, value : TwisterStatus) -> None: argument
90 def configure(self, instance): argument
108 def build(self): argument
111 def get_testcase_name(self): argument
117 def translate_record(self, record: dict) -> dict: argument
131 def parse_record(self, line) -> int: argument
153 def process_test(self, line): argument
[all …]
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_database.py73 def __init__(self): argument
87 def get_version(self): argument
92 def get_build_id(self): argument
97 def set_build_id(self, build_id): argument
102 def get_arch(self): argument
107 def set_arch(self, arch): argument
112 def get_tgt_bits(self): argument
120 def set_tgt_bits(self, bits): argument
125 def is_tgt_64bit(self): argument
140 def get_tgt_endianness(self): argument
[all …]
/Zephyr-latest/scripts/coredump/gdbstubs/
Dgdbstub.py18 def __init__(self, logfile, elffile): argument
36 def get_gdb_packet(self): argument
78 def put_gdb_packet(self, data): argument
96 def get_memory(self, start_address, length): argument
126 def handle_signal_query_packet(self): argument
134 def handle_register_group_read_packet(self): argument
138 def handle_register_group_write_packet(self): argument
144 def handle_register_single_read_packet(self, pkt): argument
148 def handle_register_single_write_packet(self, pkt): argument
154 def handle_memory_read_packet(self, pkt): argument
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfiglib.py867 def __init__(self, filename="Kconfig", warn=True, warn_to_stderr=True, argument
959 def _init(self, filename, warn, warn_to_stderr, encoding): argument
1129 def mainmenu_text(self): argument
1136 def defconfig_filename(self): argument
1151 def load_config(self, filename=None, replace=True, verbose=None): argument
1249 def _load_config(self, filename, replace): argument
1370 def _undef_assign(self, name, val, filename, linenr): argument
1379 def _assigned_twice(self, sym, new_val, filename, linenr): argument
1397 def load_allconfig(self, filename): argument
1419 def write_autoconf(self, filename=None, header=None): argument
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Ddtlib.py94 def __init__(self, name: str, parent: Optional["Node"], dt: "DT", filename: str, lineno: int): argument
121 def name(self) -> str: argument
130 def lineno(self) -> int: argument
137 def filename(self) -> str: argument
144 def unit_addr(self) -> str: argument
151 def path(self) -> str: argument
166 def node_iter(self) -> Iterable['Node']: argument
181 def _get_prop(self, name: str) -> 'Property': argument
191 def _del(self) -> None: argument
201 def __str__(self): argument
[all …]
Dedtlib.py172 def __init__(self, path: Optional[str], fname2path: dict[str, str], argument
244 def __repr__(self) -> str: argument
253 def description(self) -> Optional[str]: argument
258 def compatible(self) -> Optional[str]: argument
263 def bus(self) -> Union[None, str, list[str]]: argument
268 def buses(self) -> list[str]: argument
276 def on_bus(self) -> Optional[str]: argument
280 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict: argument
347 def _load_raw(self, fname: str) -> dict: argument
365 def _check(self, require_compatible: bool, require_description: bool): argument
[all …]
/Zephyr-latest/scripts/build/
Dgen_isr_tables.py20 def __init__(self, debug = False): argument
23 def debug(self, text): argument
35 def set_debug(self, state): argument
59 def __init__(self, args, syms, log): argument
131 def args(self): argument
135 def swt_spurious_handler(self): argument
139 def swt_shared_handler(self): argument
143 def vt_default_handler(self): argument
147 def shared_array_name(self): argument
151 def sw_isr_array_name(self): argument
[all …]
Dcheck_init_priorities_test.py21 def test_priority_parsing(self): argument
32 def test_priority_levels(self): argument
50 def test_priority_strings(self): argument
59 def test_load_objects(self, mock_zilinit): argument
92 def test_load_level_addr(self, mock_zilinit): argument
144 def test_device_ord_from_name(self, mock_zilinit): argument
152 def test_object_name(self, mock_zilinit): argument
161 def test_initlevel_pointer_32(self, mock_zilinit): argument
178 def test_initlevel_pointer_64(self, mock_zilinit): argument
197 def test_process_initlevels(self, mock_zilinit, mock_ip, mock_on): argument
[all …]
Dcheck_init_priorities.py60 def __init__(self, level, priority): argument
71 def __repr__(self): argument
75 def __str__(self): argument
78 def __lt__(self, other): argument
81 def __eq__(self, other): argument
84 def __hash__(self): argument
101 def __init__(self, file_path): argument
108 def _load_objects(self): argument
123 def _load_level_addr(self): argument
145 def _device_ord_from_name(self, sym_name): argument
[all …]
/Zephyr-latest/samples/net/cellular_modem/server/
Dte_udp_receive.py11 def __init__(self, address, timeout = 1): argument
18 def get_address(self): argument
21 def on_packet_received(self, data): argument
29 def update(self): argument
34 def _validate_packet_(self, data: bytes) -> bool: argument
43 def __init__(self): argument
48 def start(self): argument
51 def stop(self): argument
55 def _target_(self): argument
81 def _get_session_by_address_(self, address) -> TEUDPReceiveSession: argument
[all …]
/Zephyr-latest/tests/drivers/can/host/pytest/
Dcan_shell.py26 def __init__(self, dut: DeviceAdapter, shell: Shell, channel: str, argument
48 def _retval(self): argument
52 def _get_capabilities(self) -> list[str]: argument
64 def _set_mode(self, mode: str) -> None: argument
70 def _start(self): argument
76 def _stop(self): argument
79 def send(self, msg: Message, timeout: Optional[float] = None) -> None: argument
111 def _add_filter(self, can_id: int, can_mask: int, extended: bool) -> None: argument
134 def _remove_filter(self, filter_id: int) -> None: argument
144 def _remove_all_filters(self) -> None: argument
[all …]
/Zephyr-latest/scripts/west_commands/
Dsdk.py26 def __init__(self): argument
33 def do_add_parser(self, parser_adder): argument
183 def os_arch_name(self): argument
205 def detect_version(self, args): argument
235 def fetch_releases(self, url, req_headers): argument
256 def minimal_sdk_filename(self, release): argument
273 def minimal_sdk_sha256(self, sha256_list, release): argument
280 def minimal_sdk_url(self, release): argument
287 def sha256_sum_url(self, release): argument
293 def download_and_extract(self, base_dir, dir_name, target_release, req_headers): argument
[all …]
Dbuild.py66 def __call__(self, parser, namespace, values, option_string=None): argument
71 def __init__(self): argument
98 def _banner(self, msg): argument
101 def do_add_parser(self, parser_adder): argument
189 def do_run(self, args, remainder): argument
281 def _find_board(self): argument
300 def _parse_remainder(self, remainder): argument
318 def _parse_test_item(self, test_item): argument
427 def _sanity_precheck(self): argument
437 def _update_cache(self): argument
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dbossac.py27 def __init__(self, cfg, bossac='bossac', port=DEFAULT_BOSSAC_PORT, argument
66 def read_help(self): argument
78 def supports(self, flag): argument
82 def is_extended_samba_protocol(self): argument
88 def is_partition_enabled(self): argument
91 def get_chosen_code_partition_node(self): argument
115 def get_board_name(self): argument
121 def get_dts_img_offset(self): argument
130 def get_image_offset(self, supports_offset): argument
146 def is_gnu_coreutils_stty(self): argument
[all …]

123456789