MCPcopy Create free account

hub / github.com/doronz88/pymobiledevice3 / functions

Functions3,477 in github.com/doronz88/pymobiledevice3

↓ 239 callersMethodget
Pull the current pasteboard contents from the device. Returns the raw reply dict (``{command: "PULL_REPLY", pasteboard: {items: [...]
pymobiledevice3/remote/core_device/pasteboard_service.py:115
↓ 238 callersMethodinfo
Fetch a diagnostics information report from the device. :param diag_type: Diagnostics report type to request; sent as the ``Request`
pymobiledevice3/services/diagnostics.py:1044
↓ 173 callersMethodget
Loads a web page in the current browser session.
pymobiledevice3/services/web_protocol/driver.py:107
↓ 159 callersMethodget
(self)
pymobiledevice3/dtx/service.py:89
↓ 113 callersMethodjoin
(self, path, *paths)
pymobiledevice3/services/afc.py:1165
↓ 100 callersFunctionZ
(a,b,c)
pymobiledevice3/resources/webinspector/get_attribute.js:77
↓ 94 callersMethodadd
Write *fragment*'s payload into the buffer immediately, store a slot. Raises :class:`DTXProtocolError` on duplicate index or missing payload.
pymobiledevice3/dtx/fragmenter.py:87
↓ 91 callersMethodwrite
(self, data: bytes)
pymobiledevice3/remote/userspace_tunnel.py:208
↓ 82 callersMethoddecode
Decode one AAC-ELD AU. Returns 1920 bytes of PCM (480 stereo s16 samples = 10 ms @ 48 kHz). Returns empty bytes if the converter consu
pymobiledevice3/remote/core_device/aac_eld.py:144
↓ 77 callersFunctionprint_json
(buf, colored: Optional[bool] = None, default=default_json_encoder)
pymobiledevice3/cli/cli_common.py:62
↓ 74 callersMethodsleep
Put the device to sleep by sending the ``Sleep`` request. :raises PyMobileDevice3Exception: If the request did not complete successf
pymobiledevice3/services/diagnostics.py:1036
↓ 66 callersFunctionlog
(msg)
pymobiledevice3/resources/serve_web/viewer.js:40
↓ 58 callersMethodput
(self, item: QUEUE_ITEM_T)
pymobiledevice3/dtx/service.py:79
↓ 55 callersMethodcancel
Cancel active tunnels
pymobiledevice3/tunneld/server.py:477
↓ 48 callersMethoddrain
(self)
pymobiledevice3/remote/core_device/vt_jpeg.py:323
↓ 45 callersMethodexists
Check whether a path exists on the device. Implemented by attempting `stat`; a missing path is reported as False and any oth
pymobiledevice3/services/afc.py:470
↓ 44 callersMethodbuild
(cls, obj, context, path)
pymobiledevice3/dtx/message_aux.py:59
↓ 39 callersFunctionq
(a)
pymobiledevice3/resources/webinspector/get_attribute.js:16
↓ 39 callersMethodsend_plist
(self, plist: dict)
pymobiledevice3/restore/asr.py:57
↓ 39 callersMethodsend_recv_plist
(self, plist: dict)
pymobiledevice3/restore/fdr.py:76
↓ 38 callersMethodparse
Read a complete DTX message from *stream* using metadata from *fragment*.
pymobiledevice3/dtx/message.py:131
↓ 37 callersFunctionu
(a)
pymobiledevice3/resources/webinspector/is_displayed.js:13
↓ 36 callersMethodclose
(self)
pymobiledevice3/remote/core_device/screen_stream.py:454
↓ 35 callersMethodinvoke
( self, feature_identifier: Optional[str] = None, input_: Optional[dict] = None,
pymobiledevice3/remote/core_device/core_device_service.py:22
↓ 32 callersMethodpush
Push (upload) a file or directory from the local machine to the device. A regular file is written to ``remote_path`` (or, if ``remot
pymobiledevice3/services/afc.py:543
↓ 32 callersMethodread_ue
Unsigned exp-Golomb (HEVC ``ue(v)``). Bounded zeros loop guards against a malformed input spinning forever.
pymobiledevice3/remote/core_device/hevc_rps.py:83
↓ 32 callersMethodrm
Recursively remove a file or directory tree on the device. For a directory, every entry is removed depth-first and the directory its
pymobiledevice3/services/afc.py:585
↓ 32 callersMethodupdate
(self, options)
pymobiledevice3/restore/tss.py:1055
↓ 30 callersFunction_f_varint
(field: int, value: int)
pymobiledevice3/remote/core_device/media_stream_offer.py:186
↓ 30 callersMethodclose
(self)
pymobiledevice3/restore/asr.py:124
↓ 30 callersMethodrecvall
Asynchronously receive data of a specified size from the socket. :param size: The amount of data to receive. :return: The re
pymobiledevice3/service_connection.py:331
↓ 29 callersMethod_listener
(self)
pymobiledevice3/services/dvt/testmanaged/dtx_services.py:170
↓ 27 callersFunctionN
(a,b,c,d,e,f,g,k)
pymobiledevice3/resources/webinspector/get_attribute.js:32
↓ 27 callersFunctionQ
(a,b,c,d,e,f,g,h)
pymobiledevice3/resources/webinspector/is_displayed.js:31
↓ 27 callersMethodclear
Clear active tunnels
pymobiledevice3/tunneld/server.py:483
↓ 26 callersFunction_create_crash_report
(crash_manager: CrashReportsManager, filename: str, name: Optional[str] = None)
tests/services/test_crash_reports.py:38
↓ 26 callersMethodmakedirs
Create a directory on the device. Issues a ``MAKE_DIR`` operation, creating any missing parent directories. :param filename
pymobiledevice3/services/afc.py:669
↓ 25 callersFunctioncallback
()
pymobiledevice3/cli/companion_proxy.py:14
↓ 25 callersFunctionget_with_or_without_comma
(obj: dict, k: str, default=None)
pymobiledevice3/restore/tss.py:30
↓ 25 callersMethodread1
(self)
pymobiledevice3/remote/core_device/hevc_rps.py:69
↓ 24 callersMethodset_file_contents
Write data to a file, creating or truncating it. Opens the file in ``'w'`` mode (create/truncate), writes ``data`` and closes the ha
pymobiledevice3/services/afc.py:939
↓ 24 callersFunctionz
(a)
pymobiledevice3/resources/webinspector/is_displayed.js:16
↓ 24 callersFunctionz
(a)
pymobiledevice3/resources/webinspector/get_attribute.js:17
↓ 23 callersMethodsendall
Asynchronously send data to the socket. :param payload: The data to send.
pymobiledevice3/service_connection.py:385
↓ 23 callersMethodset
Replace the device pasteboard contents with ``items``. Each item is a ``PasteboardItem`` dict (use :func:`text_item` or :func:`data_i
pymobiledevice3/remote/core_device/pasteboard_service.py:138
↓ 21 callersMethodrecv_plist
(self)
pymobiledevice3/restore/asr.py:51
↓ 21 callersMethodstart
(self, url: str = "")
pymobiledevice3/cli/webinspector.py:514
↓ 21 callersMethoduuid4
Generate a random version-4 NSUUID.
pymobiledevice3/dtx/ns_types.py:113
↓ 20 callersMethodclose
(self)
pymobiledevice3/remote/tunnel_service.py:1843
↓ 20 callersMethodput_nowait
(self, item: QUEUE_ITEM_T)
pymobiledevice3/dtx/service.py:84
↓ 20 callersFunctiony
(a,b)
pymobiledevice3/resources/webinspector/is_displayed.js:16
↓ 20 callersFunctiony
(a,b)
pymobiledevice3/resources/webinspector/get_attribute.js:17
↓ 19 callersMethod_build
(self, obj, stream, context, path)
pymobiledevice3/dtx/primitives.py:96
↓ 19 callersMethodbasename
(self, path)
pymobiledevice3/services/afc.py:1185
↓ 19 callersMethodstart_lockdown_service
Open a service connection and complete the RSD check-in handshake. Connects to the service port, performs the ``RSDCheckin`` exchang
pymobiledevice3/remote/remote_service_discovery.py:236
↓ 19 callersMethodupdate
(self, page_dict: dict)
pymobiledevice3/services/webinspector.py:77
↓ 18 callersFunctionG
(a)
pymobiledevice3/resources/webinspector/get_attribute.js:26
↓ 18 callersFunctionI
(a)
pymobiledevice3/resources/webinspector/is_displayed.js:25
↓ 18 callersFunctionI
(a)
pymobiledevice3/resources/webinspector/get_attribute.js:26
↓ 18 callersFunctionK
(a)
pymobiledevice3/resources/webinspector/is_displayed.js:25
↓ 18 callersFunctionL
(a,b)
pymobiledevice3/resources/webinspector/get_attribute.js:26
↓ 18 callersFunctionO
(a,b)
pymobiledevice3/resources/webinspector/is_displayed.js:25
↓ 18 callersFunctionW
(a,b)
pymobiledevice3/resources/webinspector/is_displayed.js:65
↓ 18 callersMethod_register_arg_parse_alias
Register a command with argument parsing support. :param name: Command name :param handler: Command handler function or stri
pymobiledevice3/services/afc.py:1504
↓ 17 callersFunctionJ
(a,b)
pymobiledevice3/resources/webinspector/get_attribute.js:26
↓ 17 callersFunctionN
(a,b)
pymobiledevice3/resources/webinspector/is_displayed.js:25
↓ 17 callersMethod_request_json
Send an HTTP request and parse the WDA JSON response.
pymobiledevice3/services/wda.py:44
↓ 17 callersMethod_request_json
Send a WDA request over a service connection and parse JSON.
pymobiledevice3/services/wda.py:312
↓ 17 callersFunctioncreate_using_usbmux
Connect to a device over usbmuxd and return a ready-to-use lockdown client. Opens a lockdownd connection through usbmuxd, queries the device's va
pymobiledevice3/lockdown.py:1335
↓ 17 callersMethodfragment
Split *payload* chunks into DTXFragments. Fragments are yielded as follows: * **Single-fragment** (total ≤ MAX_FRAGMENT_SIZE): one f
pymobiledevice3/dtx/fragmenter.py:161
↓ 17 callersFunctionm
(a,b)
pymobiledevice3/resources/webinspector/get_attribute.js:4
↓ 17 callersMethodnow
(self)
pymobiledevice3/services/afc.py:1194
↓ 16 callersFunction_collect
Drain an async generator of DTXFragments into a list.
tests/dtx/test_fragmenter.py:39
↓ 16 callersMethod_ensure_ready
(self)
pymobiledevice3/services/accessibilityaudit.py:353
↓ 16 callersFunction_first_frag
Build a first (header-only) fragment declaring *total_size* bytes.
tests/dtx/test_fragmenter.py:18
↓ 16 callersMethod_send_recv
(self, request: dict)
pymobiledevice3/services/mobile_config.py:208
↓ 16 callersMethodget_file_contents
Read and return the entire contents of a file. Resolves any symbolic link, verifies the target is a regular file, then opens it,
pymobiledevice3/services/afc.py:913
↓ 16 callersMethodsend_receive
(self)
pymobiledevice3/restore/tss.py:1058
↓ 16 callersMethodset
Start simulating the given location. :param latitude: Latitude in decimal degrees. :param longitude: Longitude in decimal de
pymobiledevice3/services/simulate_location.py:28
↓ 15 callersMethodclose
(self)
pymobiledevice3/usbmux.py:251
↓ 15 callersMethodclose
(self)
pymobiledevice3/remote/core_device/vt_jpeg.py:330
↓ 15 callersMethodcreate
( cls, lockdown: LockdownServiceProvider, timeout: float, open_safari: bool,
pymobiledevice3/cli/webinspector.py:486
↓ 15 callersMethodctrl_transfer
(self, bmRequestType, bRequest, timeout=USB_TIMEOUT, **kwargs)
pymobiledevice3/irecv.py:134
↓ 15 callersMethodpopulate_tss_request_from_manifest
equivalent to idevicerestore:tss_parameters_add_from_manifest
pymobiledevice3/restore/base_restore.py:94
↓ 15 callersMethodread
(self, n: int)
pymobiledevice3/remote/core_device/hevc_rps.py:77
↓ 15 callersMethodstat
(self, path, dir_fd=None, follow_symlinks=True)
pymobiledevice3/services/afc.py:1171
↓ 15 callersMethodwait_closed
(self)
pymobiledevice3/remote/tunnel_service.py:202
↓ 14 callersMethod_get_service_for_data_request
(self, message: dict)
pymobiledevice3/restore/restore.py:1716
↓ 14 callersMethod_invoke
(self, selector: str, *args: typing.Any, expects_reply: bool = True)
pymobiledevice3/services/accessibilityaudit.py:340
↓ 14 callersFunction_run_syslog_live
( monkeypatch, capsys, entries: list[SyslogEntry], **syslog_live_kwargs )
tests/cli/test_syslog.py:59
↓ 14 callersMethod_send_message_to_target
(self, message)
pymobiledevice3/services/web_protocol/cdp_target.py:275
↓ 14 callersMethodconnect
(self)
pymobiledevice3/services/dvt/instruments/tap.py:45
↓ 14 callersMethodget_value
Read a value from the device via a ``GetValue`` request. With neither ``domain`` nor ``key`` given, returns the full values dict and also ref
pymobiledevice3/lockdown.py:771
↓ 14 callersMethodisdir
Check whether a path is a directory. Stats the path and tests whether its ``st_ifmt`` is ``S_IFDIR``. :param filename: Path
pymobiledevice3/services/afc.py:684
↓ 14 callersMethodlistdir
(self, path=".")
pymobiledevice3/services/afc.py:1198
↓ 14 callersMethodparse
Parse a crash report file and return the parsed crash report object. :param path: Path to a crash report file. :return: Pars
pymobiledevice3/services/crash_reports.py:117
↓ 14 callersMethodread
(self, size: int)
pymobiledevice3/remote/userspace_tunnel.py:226
↓ 14 callersMethodseek
(self, offset, whence)
pymobiledevice3/services/dvt/instruments/core_profile_session_tap.py:627
↓ 13 callersFunctionM
(a,b,c,d)
pymobiledevice3/resources/webinspector/get_attribute.js:29
↓ 13 callersFunctionP
(a,b,c,d)
pymobiledevice3/resources/webinspector/is_displayed.js:28
next →1–100 of 3,477, ranked by callers