Home
last modified time | relevance | path

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

12345678

/Zephyr-Core-3.7.0/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
92 def close(self) -> None: argument
102 def connect(self, retry_s: int = 0) -> None: argument
127 def disconnect(self) -> None: argument
135 def readline(self, timeout: float | None = None, print_output: bool = True) -> str: argument
152 self, argument
195 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
96 def _flash_and_run(self) -> None: argument
137 def _connect_device(self) -> None: argument
158 def _open_serial_pty(self) -> str | None: argument
181 def _disconnect_device(self) -> None: argument
189 def _close_serial_pty(self) -> None: argument
197 def _close_device(self) -> None: argument
201 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-Core-3.7.0/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-Core-3.7.0/scripts/pylib/twister/twisterlib/
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 …]
Drunner.py60 def __init__(self, total=0): argument
107 def summary(self): argument
123 def cases(self): argument
128 def cases(self, value): argument
133 def skipped_cases(self): argument
138 def skipped_cases(self, value): argument
143 def error(self): argument
148 def error(self, value): argument
153 def iteration(self): argument
158 def iteration(self, value): argument
[all …]
Dtestplan.py96 def __init__(self, env=None): argument
126 def get_level(self, name): argument
130 def parse_configuration(self, config_file): argument
163 def find_subtests(self): argument
178 def discover(self): argument
215 def load(self): argument
259 def generate_subset(self, subset, sets): argument
314 def handle_modules(self): argument
320 def report(self): argument
333 def report_duplicates(self): argument
[all …]
Dtestinstance.py44 def __init__(self, testsuite, platform, outdir): argument
79 def record(self, recording, fname_csv="recording.csv"): argument
95 def add_filter(self, reason, filter_type): argument
102 def init_cases(self): argument
106 def _get_run_id(self): argument
125 def add_missing_case_status(self, status, reason=None): argument
136 def __getstate__(self): argument
140 def __setstate__(self, d): argument
143 def __lt__(self, other): argument
146 def set_case_status_by_name(self, name, status, reason=None): argument
[all …]
Dcoverage.py29 def __init__(self): argument
84 def merge_hexdumps(self, hexdumps): argument
109 def create_gcda_files(self, extracted_coverage_info): argument
135 def generate(self, outdir): argument
174 def __init__(self, jobs=None): argument
182 def get_version(self): argument
197 def add_ignore_file(self, pattern): argument
200 def add_ignore_directory(self, pattern): argument
203 def add_ignore_branch_pattern(self, pattern): argument
207 def is_lcov_v2(self): argument
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/scripts/dts/python-devicetree/src/devicetree/
Ddtlib.py87 def __init__(self, name: str, parent: Optional['Node'], dt: 'DT'): argument
112 def name(self) -> str: argument
121 def unit_addr(self) -> str: argument
128 def path(self) -> str: argument
143 def node_iter(self) -> Iterable['Node']: argument
158 def _get_prop(self, name: str) -> 'Property': argument
168 def _del(self) -> None: argument
178 def __str__(self): argument
197 def __repr__(self): argument
303 def __init__(self, node: Node, name: str): argument
[all …]
Dedtlib.py164 def __init__(self, path: Optional[str], fname2path: Dict[str, str], argument
259 def __repr__(self) -> str: argument
268 def description(self) -> Optional[str]: argument
273 def compatible(self) -> Optional[str]: argument
278 def bus(self) -> Union[None, str, List[str]]: argument
283 def buses(self) -> List[str]: argument
291 def on_bus(self) -> Optional[str]: argument
295 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict: argument
388 def _load_raw(self, fname: str, argument
419 def _add_included_prop2specs(self, fname: str, contents: dict, argument
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/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.py64 def __init__(self, level, priority): argument
75 def __repr__(self): argument
79 def __str__(self): argument
82 def __lt__(self, other): argument
85 def __eq__(self, other): argument
88 def __hash__(self): argument
105 def __init__(self, file_path): argument
112 def _load_objects(self): argument
127 def _load_level_addr(self): argument
149 def _device_ord_from_name(self, sym_name): argument
[all …]
Delf_parser.py22 def __init__(self, elf, sym): argument
27 def __lt__(self, other): argument
30 def _data_native_read(self, offset): argument
43 def __init__(self, elf, sym): argument
48 def is_power_domain(self): argument
59 def __init__(self, elf, sym): argument
75 def self_ordinal(self): argument
79 def ordinals(self): argument
91 def __init__(self, elf, sym): argument
117 def ordinal(self): argument
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/scripts/west_commands/runners/
Dbossac.py27 def __init__(self, cfg, bossac='bossac', port=DEFAULT_BOSSAC_PORT, argument
65 def read_help(self): argument
77 def supports(self, flag): argument
84 def is_extended_samba_protocol(self): argument
93 def is_partition_enabled(self): argument
96 def get_chosen_code_partition_node(self): argument
121 def get_board_name(self): argument
127 def get_dts_img_offset(self): argument
136 def get_image_offset(self, supports_offset): argument
152 def is_gnu_coreutils_stty(self): argument
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/scripts/west_commands/
Dbuild.py63 def __call__(self, parser, namespace, values, option_string=None): argument
68 def __init__(self): argument
95 def do_add_parser(self, parser_adder): argument
169 def do_run(self, args, remainder): argument
244 def _find_board(self): argument
263 def _parse_remainder(self, remainder): argument
281 def _parse_test_item(self, test_item): argument
378 def _sanity_precheck(self): argument
388 def _update_cache(self): argument
394 def _setup_build_dir(self): argument
[all …]

12345678