/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ |
D | device_adapter.py | 30 def __init__(self, device_config: DeviceConfig) -> None: argument 46 def __repr__(self) -> str: argument 50 def env(self) -> dict[str, str]: argument 54 def launch(self) -> None: argument 70 def close(self) -> None: argument 80 def connect(self) -> None: argument 92 def disconnect(self) -> None: argument 100 def readline(self, timeout: float | None = None, print_output: bool = True) -> str: argument 117 self, argument 160 def readlines(self, print_output: bool = True) -> list[str]: argument [all …]
|
D | binary_adapter.py | 20 def __init__(self, device_config: DeviceConfig) -> None: argument 34 def generate_command(self) -> None: argument 37 def _flash_and_run(self) -> None: argument 40 def _run_subprocess(self) -> None: argument 61 def _connect_device(self) -> None: argument 67 def _disconnect_device(self) -> None: argument 73 def _close_device(self) -> None: argument 77 def _stop_subprocess(self) -> None: argument 88 def _read_device_output(self) -> bytes: argument 91 def _write_to_device(self, data: bytes) -> None: argument [all …]
|
D | hardware_adapter.py | 30 def __init__(self, device_config: DeviceConfig) -> None: argument 40 def generate_command(self) -> None: argument 63 def _prepare_runner_args(self) -> tuple[list[str], list[str]]: argument 87 def _flash_and_run(self) -> None: argument 129 def _connect_device(self) -> None: argument 150 def _open_serial_pty(self) -> str | None: argument 167 def _disconnect_device(self) -> None: argument 175 def _close_serial_pty(self) -> None: argument 183 def _close_device(self) -> None: argument 187 def is_device_running(self) -> bool: argument [all …]
|
D | fifo_handler.py | 23 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 …]
|
D | qemu_adapter.py | 19 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.5.0/scripts/west_commands/zspdx/ |
D | cmakefileapi.py | 9 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 …]
|
D | walker.py | 18 def __init__(self): argument 38 def __init__(self, cfg): argument 72 def makeDocuments(self): argument 105 def getCacheFile(self): argument 114 def getCodemodel(self): argument 142 def setupDocuments(self): argument 255 def walkTargets(self): argument 279 def initConfigTargetPackage(self, cfgTarget): argument 300 def addBuildFile(self, cfgTarget, pkg): argument 338 def collectPendingSourceFiles(self, cfgTarget, pkg, bf): argument [all …]
|
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/ |
D | size_calc.py | 101 def __init__(self, elf_filename: str,\ argument 132 def size_report(self): argument 144 def get_used_ram(self): argument 151 def get_used_rom(self): argument 158 def unrecognized_sections(self): argument 169 def get_available_ram(self) -> int: argument 176 def get_available_rom(self) -> int: argument 183 def _calculate_sizes(self): argument 193 def _check_elf_file(self) -> None: argument 205 def _check_is_xip(self) -> None: argument [all …]
|
D | runner.py | 52 def __init__(self, total=0): argument 99 def summary(self): argument 115 def cases(self): argument 120 def cases(self, value): argument 125 def skipped_cases(self): argument 130 def skipped_cases(self, value): argument 135 def error(self): argument 140 def error(self, value): argument 145 def iteration(self): argument 150 def iteration(self, value): argument [all …]
|
D | testplan.py | 92 def __init__(self, env=None): argument 121 def get_level(self, name): argument 125 def parse_configuration(self, config_file): argument 158 def find_subtests(self): argument 173 def discover(self): argument 210 def load(self): argument 254 def generate_subset(self, subset, sets): argument 309 def handle_modules(self): argument 315 def report(self): argument 328 def report_duplicates(self): argument [all …]
|
D | testinstance.py | 42 def __init__(self, testsuite, platform, outdir): argument 73 def add_filter(self, reason, filter_type): argument 80 def init_cases(self): argument 84 def _get_run_id(self): argument 93 def add_missing_case_status(self, status, reason=None): argument 104 def __getstate__(self): argument 108 def __setstate__(self, d): argument 111 def __lt__(self, other): argument 114 def set_case_status_by_name(self, name, status, reason=None): argument 121 def add_testcase(self, name, freeform=False): argument [all …]
|
/Zephyr-Core-3.5.0/scripts/logging/dictionary/dictionary_parser/ |
D | log_database.py | 67 def __init__(self): argument 81 def get_version(self): argument 86 def get_build_id(self): argument 91 def set_build_id(self, build_id): argument 96 def get_arch(self): argument 101 def set_arch(self, arch): argument 106 def get_tgt_bits(self): argument 114 def set_tgt_bits(self, bits): argument 119 def is_tgt_64bit(self): argument 134 def get_tgt_endianness(self): argument [all …]
|
/Zephyr-Core-3.5.0/scripts/dts/python-devicetree/src/devicetree/ |
D | dtlib.py | 87 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 172 def __str__(self): argument 191 def __repr__(self): argument 297 def __init__(self, node: Node, name: str): argument [all …]
|
D | edtlib.py | 164 def __init__(self, path: Optional[str], fname2path: Dict[str, str], argument 236 def __repr__(self) -> str: argument 245 def description(self) -> Optional[str]: argument 250 def compatible(self) -> Optional[str]: argument 255 def bus(self) -> Union[None, str, List[str]]: argument 260 def buses(self) -> List[str]: argument 268 def on_bus(self) -> Optional[str]: argument 272 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict: argument 339 def _load_raw(self, fname: str) -> dict: argument 357 def _check(self, require_compatible: bool, require_description: bool): argument [all …]
|
D | grutils.py | 21 def __init__(self, root=None): argument 29 def add_node(self, node): argument 35 def add_edge(self, source, target): argument 47 def roots(self): argument 63 def _tarjan(self): argument 101 def _tarjan_root(self, v): argument 126 def scc_order(self): argument 141 def depends_on(self, node): argument 145 def required_by(self, node): argument
|
/Zephyr-Core-3.5.0/scripts/kconfig/ |
D | kconfiglib.py | 867 def __init__(self, filename="Kconfig", warn=True, warn_to_stderr=True, argument 959 def _init(self, filename, warn, warn_to_stderr, encoding): argument 1127 def mainmenu_text(self): argument 1134 def defconfig_filename(self): argument 1149 def load_config(self, filename=None, replace=True, verbose=None): argument 1247 def _load_config(self, filename, replace): argument 1368 def _undef_assign(self, name, val, filename, linenr): argument 1377 def _assigned_twice(self, sym, new_val, filename, linenr): argument 1395 def load_allconfig(self, filename): argument 1417 def write_autoconf(self, filename=None, header=None): argument [all …]
|
/Zephyr-Core-3.5.0/samples/net/cellular_modem/server/ |
D | te_udp_receive.py | 11 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.5.0/scripts/build/ |
D | check_init_priorities_test.py | 21 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 …]
|
D | check_init_priorities.py | 64 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 …]
|
D | elf_parser.py | 22 def __init__(self, elf, sym): argument 27 def _data_native_read(self, offset): argument 40 def __init__(self, elf, sym): argument 45 def is_power_domain(self): argument 56 def __init__(self, elf, sym): argument 72 def self_ordinal(self): argument 76 def ordinals(self): argument 88 def __init__(self, elf, sym): argument 114 def ordinal(self): argument 121 def __init__(self, kernel, edt, device_start_symbol): argument [all …]
|
/Zephyr-Core-3.5.0/scripts/coredump/gdbstubs/ |
D | gdbstub.py | 16 def __init__(self, logfile, elffile): argument 32 def get_gdb_packet(self): argument 74 def put_gdb_packet(self, data): argument 92 def handle_signal_query_packet(self): argument 100 def handle_register_group_read_packet(self): argument 104 def handle_register_group_write_packet(self): argument 110 def handle_register_single_read_packet(self, pkt): argument 114 def handle_register_single_write_packet(self, pkt): argument 120 def handle_memory_read_packet(self, pkt): argument 162 def handle_memory_write_packet(self, pkt): argument [all …]
|
/Zephyr-Core-3.5.0/scripts/west_commands/runners/ |
D | bossac.py | 27 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.5.0/scripts/west_commands/ |
D | build.py | 62 def __call__(self, parser, namespace, values, option_string=None): argument 67 def __init__(self): argument 94 def do_add_parser(self, parser_adder): argument 161 def do_run(self, args, remainder): argument 235 def _find_board(self): argument 254 def _parse_remainder(self, remainder): argument 272 def _parse_test_item(self, test_item): argument 369 def _sanity_precheck(self): argument 379 def _update_cache(self): argument 385 def _setup_build_dir(self): argument [all …]
|
D | blobs.py | 24 def __init__(self): argument 32 def do_add_parser(self, parser_adder): argument 81 def get_blobs(self, args): argument 94 def list(self, args): argument 100 def ensure_folder(self, path): argument 103 def fetch_blob(self, url, path): argument 114 def fetch(self, args): argument 123 def clean(self, args): argument 132 def do_run(self, args, _): argument
|
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | fifo_mock.py | 16 def __init__(self, filename, mode): argument 23 def _open(self): argument 34 def open(self): argument 38 def write(self, data): argument 42 def read(self): argument 46 def close(self): argument 52 def __enter__(self): argument 56 def __exit__(self, exc_type, exc_val, exc_tb): argument
|