SYMBOL INDEX (626 symbols across 13 files) FILE: extensions/example_http_extension.py class ExampleHttpExtension (line 21) | class ExampleHttpExtension(BaseHttpExtension): method http_get (line 23) | def http_get(self, *args, **kwargs): method http_post (line 26) | def http_post(self, *args, **kwargs): method http_put (line 29) | def http_put(self, *args, **kwargs): method http_delete (line 32) | def http_delete(self, *args, **kwargs): method http_patch (line 35) | def http_patch(self, *args, **kwargs): FILE: extensions/example_mcp_extension.py class ExampleMcpExtension (line 12) | class ExampleMcpExtension(BaseMcpExtension): method greeting (line 17) | def greeting(self, ctx, msg: Annotated[str, "Greeting message"], method getprop (line 21) | def getprop(self, ctx, name: Annotated[str, "Android system property n... method get_file (line 24) | def get_file(self, ctx, absolute_path: Annotated[str, "Absolute file p... FILE: extensions/firerpa.py class FireRpaMcpExtension (line 36) | class FireRpaMcpExtension(BaseMcpExtension): method dump_window_hierarchy (line 42) | def dump_window_hierarchy(self, ctx, compressed: Annotated[bool, "Enab... method click (line 46) | def click(self, ctx, pointX: Annotated[int, "X coordinate."], pointY: ... method swipe (line 50) | def swipe(self, ctx, fromX: Annotated[int, "Swipe-from X coordinate."]... method drag (line 54) | def drag(self, ctx, fromX: Annotated[int, "Drag-from X coordinate."], ... method get_deviec_info (line 58) | def get_deviec_info(self, ctx): method show_toast (line 62) | def show_toast(self, ctx, message: Annotated[str, "The toast message."]): method execute_shell_script_foreground (line 66) | def execute_shell_script_foreground(self, ctx, scrip: Annotated[str, "... method wake_up (line 70) | def wake_up(self, ctx): method sleep (line 74) | def sleep(self, ctx): method is_screen_on (line 78) | def is_screen_on(self, ctx): method is_screen_locked (line 82) | def is_screen_locked(self, ctx): method get_clipboard_text (line 86) | def get_clipboard_text(self, ctx): method set_clipboard_text (line 90) | def set_clipboard_text(self, ctx, text: Annotated[str, "The text to se... method press_key_code (line 94) | def press_key_code(self, ctx, key_code: Annotated[int, "The Android's ... method get_last_toast (line 98) | def get_last_toast(self, ctx): method getprop (line 102) | def getprop(self, ctx, name: Annotated[str, "Android system property n... method click_by_text (line 105) | def click_by_text(self, ctx, text: Annotated[str, "The full text field... method click_by_text_contains (line 109) | def click_by_text_contains(self, ctx, substring: Annotated[str, "The s... method click_by_text_matches (line 113) | def click_by_text_matches(self, ctx, regex: Annotated[str, "The string... method click_by_description (line 117) | def click_by_description(self, ctx, text: Annotated[str, "The full des... method click_by_description_contains (line 121) | def click_by_description_contains(self, ctx, substring: Annotated[str,... method click_by_description_matches (line 125) | def click_by_description_matches(self, ctx, regex: Annotated[str, "The... method click_by_resource_id (line 129) | def click_by_resource_id(self, ctx, resource_id: Annotated[str, "Eleme... method set_text_by_resource_id (line 133) | def set_text_by_resource_id(self, ctx, resource_id: Annotated[str, "In... method set_text_by_class_name (line 137) | def set_text_by_class_name(self, ctx, class_name: Annotated[str, "Inpu... method current_top_application_info (line 141) | def current_top_application_info(self, ctx): method start_application_by_id (line 145) | def start_application_by_id(self, ctx, package_name: Annotated[str, "T... method stop_application_by_id (line 149) | def stop_application_by_id(self, ctx, package_name: Annotated[str, "Th... method is_application_installed (line 153) | def is_application_installed(self, ctx, package_name: Annotated[str, "... method is_application_running_foreground (line 157) | def is_application_running_foreground(self, ctx, package_name: Annotat... method list_application_permissions (line 161) | def list_application_permissions(self, ctx, package_name: Annotated[st... method grant_application_permission (line 165) | def grant_application_permission(self, ctx, package_name: Annotated[st... method revoke_application_permission (line 169) | def revoke_application_permission(self, ctx, package_name: Annotated[s... method is_permission_granted (line 173) | def is_permission_granted(self, ctx, package_name: Annotated[str, "The... method agent (line 177) | def agent(self, ctx): method remove_attrs_and_empty (line 179) | def remove_attrs_and_empty(self, xml): FILE: extensions/mcp_return_types.py class BaseModel (line 20) | class BaseModel(Struct, omit_defaults=False): method validate (line 21) | def validate(self): class BaseStructuredModel (line 26) | class BaseStructuredModel(BaseModel): class Result (line 30) | class Result(BaseModel): class Annotations (line 34) | class Annotations(BaseModel): class ResourceContents (line 39) | class ResourceContents(BaseModel): class TextResourceContents (line 49) | class TextResourceContents(ResourceContents, kw_only=True): class BlobResourceContents (line 55) | class BlobResourceContents(ResourceContents, kw_only=True): class TextContent (line 61) | class TextContent(BaseModel, kw_only=True): class ImageContent (line 70) | class ImageContent(BaseModel, kw_only=True): class EmbeddedResource (line 81) | class EmbeddedResource(BaseModel, kw_only=True): class PromptMessage (line 94) | class PromptMessage(BaseModel): class GetPromptResult (line 101) | class GetPromptResult(Result, kw_only=True): class EmptyResult (line 109) | class EmptyResult(Result): class CallToolResult (line 113) | class CallToolResult(Result): class ReadResourceResult (line 121) | class ReadResourceResult(Result): FILE: extensions/mcp_sms_reader.py class SmsMcpExtension (line 17) | class SmsMcpExtension(BaseMcpExtension): method read_sms_database_by_sql (line 23) | def read_sms_database_by_sql(self, ctx, sql: Annotated[str, "A raw SQL... FILE: lamda/client.py function getXY (line 112) | def getXY(p): function checkDupEntry (line 115) | def checkDupEntry(a, entries): function checkArgumentTyp (line 119) | def checkArgumentTyp(a, types): function touchSequenceSave (line 123) | def touchSequenceSave(s, fpath): function touchSequenceLoad (line 126) | def touchSequenceLoad(s, fpath): function touchSequenceIndexer (line 129) | def touchSequenceIndexer(s, index): function touchSequenceIter (line 132) | def touchSequenceIter(s): function touchSequenceAppendAction (line 135) | def touchSequenceAppendAction(s, **kwargs): function touchSequenceAppendDown (line 139) | def touchSequenceAppendDown(s, **kwargs): function touchSequenceAppendMove (line 142) | def touchSequenceAppendMove(s, **kwargs): function touchSequenceAppendWait (line 145) | def touchSequenceAppendWait(s, **kwargs): function touchSequenceAppendUp (line 148) | def touchSequenceAppendUp(s, **kwargs): function touchActionRealAction (line 151) | def touchActionRealAction(a): function touchActionType (line 154) | def touchActionType(a): function touchMoveShiftX (line 157) | def touchMoveShiftX(a, offset): function touchMoveShiftY (line 161) | def touchMoveShiftY(a, offset): function touchWaitShift (line 165) | def touchWaitShift(w, offset): function applicationInfoSet (line 169) | def applicationInfoSet(application, app): function height (line 172) | def height(b): function width (line 175) | def width(b): function center (line 178) | def center(b): function contain (line 183) | def contain(a, b): function equal (line 189) | def equal(a, b): function corner (line 197) | def corner(b, position): function load_proto (line 290) | def load_proto(name): function to_dict (line 295) | def to_dict(prot): function Selector (line 301) | def Selector(**kwargs): function child_sibling (line 308) | def child_sibling(s, name, **selector): function child (line 315) | def child(s, **selector): function sibling (line 319) | def sibling(s, **selector): class CustomOcrBackend (line 328) | class CustomOcrBackend(object): method __init__ (line 329) | def __init__(self, *args, **kwargs): method ocr (line 331) | def ocr(self, image): class BaseCryptor (line 335) | class BaseCryptor(object): method encrypt (line 336) | def encrypt(self, data): method decrypt (line 338) | def decrypt(self, data): class BaseServiceStub (line 342) | class BaseServiceStub(object): method __init__ (line 343) | def __init__(self, stub): class FernetCryptor (line 347) | class FernetCryptor(BaseCryptor): method __init__ (line 348) | def __init__(self, key=None): method encrypt (line 351) | def encrypt(self, data): method decrypt (line 353) | def decrypt(self, data): method _get_key (line 355) | def _get_key(self, key): class TouchBuilder (line 362) | class TouchBuilder(object): method __init__ (line 363) | def __init__(self): method down (line 365) | def down(self, x, y, pressure=50, track=0): method move (line 369) | def move(self, x, y, pressure=50, track=0): method up (line 373) | def up(self, track=0): method wait (line 376) | def wait(self, mills): method build (line 379) | def build(self): class ClientLoggingInterceptor (line 385) | class ClientLoggingInterceptor(ClientInterceptor): method truncate_string (line 386) | def truncate_string(self, s): method intercept (line 388) | def intercept(self, function, request, details): class ClientSessionMetadataInterceptor (line 401) | class ClientSessionMetadataInterceptor(ClientInterceptor): method __init__ (line 402) | def __init__(self, session): method intercept (line 405) | def intercept(self, function, request, details): class GrpcRemoteExceptionInterceptor (line 416) | class GrpcRemoteExceptionInterceptor(ClientInterceptor): method intercept (line 417) | def intercept(self, function, request, details): method remote_exception (line 425) | def remote_exception(self, exception): method raise_remote_exception (line 433) | def raise_remote_exception(self, res): class ObjectUiAutomatorOpStub (line 440) | class ObjectUiAutomatorOpStub: method __init__ (line 441) | def __init__(self, caller, selector): method __str__ (line 449) | def __str__(self): method child (line 454) | def child(self, **selector): method sibling (line 461) | def sibling(self, **selector): method take_screenshot (line 468) | def take_screenshot(self, quality=100): method screenshot (line 476) | def screenshot(self, quality=100): method get_text (line 478) | def get_text(self): method clear_text_field (line 485) | def clear_text_field(self): method set_text (line 492) | def set_text(self, text): method click (line 500) | def click(self, corner=Corner.COR_CENTER): method click_exists (line 508) | def click_exists(self, corner=Corner.COR_CENTER): method long_click (line 516) | def long_click(self, corner=Corner.COR_CENTER): method exists (line 524) | def exists(self): method info (line 531) | def info(self): method _new_object (line 537) | def _new_object(self, **kwargs): method text (line 543) | def text(self, txt): method resourceId (line 545) | def resourceId(self, name): method description (line 547) | def description(self, desc): method packageName (line 549) | def packageName(self, name): method className (line 551) | def className(self, name): method textContains (line 553) | def textContains(self, needle): method descriptionContains (line 555) | def descriptionContains(self, needle): method textStartsWith (line 557) | def textStartsWith(self, needle): method descriptionStartsWith (line 559) | def descriptionStartsWith(self, needle): method textMatches (line 561) | def textMatches(self, match): method descriptionMatches (line 563) | def descriptionMatches(self, match): method resourceIdMatches (line 565) | def resourceIdMatches(self, match): method packageNameMatches (line 567) | def packageNameMatches(self, match): method classNameMatches (line 569) | def classNameMatches(self, match): method checkable (line 571) | def checkable(self, value): method clickable (line 573) | def clickable(self, value): method focusable (line 575) | def focusable(self, value): method scrollable (line 577) | def scrollable(self, value): method longClickable (line 579) | def longClickable(self, value): method enabled (line 581) | def enabled(self, value): method checked (line 583) | def checked(self, value): method focused (line 585) | def focused(self, value): method selected (line 587) | def selected(self, value): method index (line 589) | def index(self, idx): method instance (line 591) | def instance(self, idx): method get (line 593) | def get(self, idx): method __iter__ (line 598) | def __iter__(self): method count (line 604) | def count(self): method _set_target_Point (line 611) | def _set_target_Point(self, req, target): method _set_target_Selector (line 613) | def _set_target_Selector(self, req, target): method drag_to (line 615) | def drag_to(self, target, step=32): method wait_for_exists (line 626) | def wait_for_exists(self, timeout): method wait_until_gone (line 634) | def wait_until_gone(self, timeout): method swipe (line 642) | def swipe(self, direction=Direction.DIR_UP, step=32): method pinch_in (line 651) | def pinch_in(self, percent, step=16): method pinch_out (line 659) | def pinch_out(self, percent, step=16): method scroll_to (line 667) | def scroll_to(self, target, is_vertical=True): method _fling_forward (line 677) | def _fling_forward(self, is_vertical=True): method _fling_backward (line 682) | def _fling_backward(self, is_vertical=True): method _fling_to_end (line 687) | def _fling_to_end(self, max_swipes, is_vertical=True): method _fling_to_beginning (line 693) | def _fling_to_beginning(self, max_swipes, is_vertical=True): method fling_from_top_to_bottom (line 699) | def fling_from_top_to_bottom(self): method fling_from_bottom_to_top (line 704) | def fling_from_bottom_to_top(self): method fling_from_left_to_right (line 709) | def fling_from_left_to_right(self): method fling_from_right_to_left (line 714) | def fling_from_right_to_left(self): method fling_from_top_to_bottom_to_end (line 719) | def fling_from_top_to_bottom_to_end(self, max_swipes): method fling_from_bottom_to_top_to_end (line 724) | def fling_from_bottom_to_top_to_end(self, max_swipes): method fling_from_left_to_right_to_end (line 729) | def fling_from_left_to_right_to_end(self, max_swipes): method fling_from_right_to_left_to_end (line 734) | def fling_from_right_to_left_to_end(self, max_swipes): method _scroll_forward (line 739) | def _scroll_forward(self, step, is_vertical=True): method _scroll_backward (line 745) | def _scroll_backward(self, step, is_vertical=True): method _scroll_to_end (line 751) | def _scroll_to_end(self, max_swipes, step, is_vertical=True): method _scroll_to_beginning (line 758) | def _scroll_to_beginning(self, max_swipes, step, is_vertical=True): method scroll_from_top_to_bottom (line 765) | def scroll_from_top_to_bottom(self, step): method scroll_from_bottom_to_top (line 770) | def scroll_from_bottom_to_top(self, step): method scroll_from_left_to_right (line 775) | def scroll_from_left_to_right(self, step): method scroll_from_right_to_left (line 780) | def scroll_from_right_to_left(self, step): method scroll_from_top_to_bottom_to_end (line 785) | def scroll_from_top_to_bottom_to_end(self, max_swipes, step): method scroll_from_bottom_to_top_to_end (line 790) | def scroll_from_bottom_to_top_to_end(self, max_swipes, step): method scroll_from_left_to_right_to_end (line 795) | def scroll_from_left_to_right_to_end(self, max_swipes, step): method scroll_from_right_to_left_to_end (line 800) | def scroll_from_right_to_left_to_end(self, max_swipes, step): class UiAutomatorStub (line 807) | class UiAutomatorStub(BaseServiceStub): method __init__ (line 808) | def __init__(self, *args, **kwargs): method device_info (line 811) | def device_info(self): method set_watcher_loop_enabled (line 817) | def set_watcher_loop_enabled(self, enabled): method get_watcher_loop_enabled (line 824) | def get_watcher_loop_enabled(self): method get_watcher_triggered_count (line 830) | def get_watcher_triggered_count(self, name): method reset_watcher_triggered_count (line 837) | def reset_watcher_triggered_count(self, name): method get_applied_watchers (line 844) | def get_applied_watchers(self): method remove_all_watchers (line 853) | def remove_all_watchers(self): method register_click_target_selector_watcher (line 861) | def register_click_target_selector_watcher(self, name, conditions, method register_press_key_watcher (line 872) | def register_press_key_watcher(self, name, conditions, key): method register_none_op_watcher (line 882) | def register_none_op_watcher(self, name, conditions): method _remove_watcher (line 891) | def _remove_watcher(self, name): method set_watcher_enabled (line 893) | def set_watcher_enabled(self, name, enable): method get_watcher_enabled (line 903) | def get_watcher_enabled(self, name): method get_last_toast (line 908) | def get_last_toast(self): method remove_watcher (line 914) | def remove_watcher(self, name): method click (line 920) | def click(self, point): method drag (line 927) | def drag(self, A, B, step=32): method swipe (line 934) | def swipe(self, A, B, step=32): method swipe_points (line 941) | def swipe_points(self, *points, step=32): method open_notification (line 948) | def open_notification(self): method open_quick_settings (line 954) | def open_quick_settings(self): method wake_up (line 960) | def wake_up(self): method sleep (line 966) | def sleep(self): method is_screen_on (line 972) | def is_screen_on(self): method is_screen_locked (line 978) | def is_screen_locked(self): method set_clipboard (line 984) | def set_clipboard(self, text): method get_clipboard (line 991) | def get_clipboard(self): method _set_target_Area (line 997) | def _set_target_Area(self, req, area): method _set_target_Bound (line 999) | def _set_target_Bound(self, req, bound): method find_similar_image (line 1001) | def find_similar_image(self, data, threshold=0.0, distance=250, method freeze_rotation (line 1020) | def freeze_rotation(self, freeze=True): method set_orientation (line 1026) | def set_orientation(self, orien=Orientation.ORIEN_NATURE): method press_key (line 1033) | def press_key(self, key): method press_keycode (line 1040) | def press_keycode(self, code, meta=0): method take_screenshot (line 1048) | def take_screenshot(self, quality, bound=None): method screenshot (line 1056) | def screenshot(self, quality, bound=None): method dump_window_hierarchy (line 1058) | def dump_window_hierarchy(self, compressed=False): method wait_for_idle (line 1065) | def wait_for_idle(self, timeout): method __call__ (line 1071) | def __call__(self, **kwargs): class AppScriptRpcInterface (line 1075) | class AppScriptRpcInterface(object): method __init__ (line 1076) | def __init__(self, stub, application, method __str__ (line 1081) | def __str__(self): method __call__ (line 1085) | def __call__(self, *args): class ApplicationOpStub (line 1098) | class ApplicationOpStub: method __init__ (line 1099) | def __init__(self, stub, applicationId, user=0): method __str__ (line 1106) | def __str__(self): method is_foreground (line 1110) | def is_foreground(self): method permissions (line 1118) | def permissions(self): method grant (line 1126) | def grant(self, permission, mode=GrantType.GRANT_ALLOW): method revoke (line 1136) | def revoke(self, permission): method query_launch_activity (line 1145) | def query_launch_activity(self): method is_permission_granted (line 1153) | def is_permission_granted(self, permission): method clear_cache (line 1162) | def clear_cache(self): method reset (line 1170) | def reset(self): method start (line 1178) | def start(self): method stop (line 1186) | def stop(self): method info (line 1194) | def info(self): method uninstall (line 1202) | def uninstall(self): method enable (line 1210) | def enable(self): method disable (line 1218) | def disable(self): method add_to_doze_mode_whitelist (line 1226) | def add_to_doze_mode_whitelist(self): method remove_from_doze_mode_whitelist (line 1234) | def remove_from_doze_mode_whitelist(self): method is_installed (line 1242) | def is_installed(self): method attach_script (line 1250) | def attach_script(self, script, runtime=ScriptRuntime.RUNTIME_QJS, method detach_script (line 1271) | def detach_script(self): method is_attached_script (line 1280) | def is_attached_script(self): method is_script_alive (line 1289) | def is_script_alive(self): method __getattr__ (line 1298) | def __getattr__(self, name): class ApplicationStub (line 1306) | class ApplicationStub(BaseServiceStub): method current_application (line 1307) | def current_application(self): method get_application_by_name (line 1315) | def get_application_by_name(self, name, user=0): method enumerate_running_processes (line 1320) | def enumerate_running_processes(self): method enumerate_all_pkg_names (line 1326) | def enumerate_all_pkg_names(self): method get_last_activities (line 1332) | def get_last_activities(self, count=3): method start_activity (line 1339) | def start_activity(self, **activity): method install_local_file (line 1349) | def install_local_file(self, fpath, user=0): method __call__ (line 1357) | def __call__(self, applicationId, user=0): class StorageOpStub (line 1361) | class StorageOpStub: method _decrypt (line 1363) | def _decrypt(self, data): method _encrypt (line 1365) | def _encrypt(self, data): method _unpack (line 1367) | def _unpack(self, value): method _pack (line 1369) | def _pack(self, value): method __init__ (line 1372) | def __init__(self, stub, name, cryptor=None): method delete (line 1376) | def delete(self, key): method exists (line 1384) | def exists(self, key): method get (line 1392) | def get(self, key, default=None): method set (line 1401) | def set(self, key, value): method setex (line 1410) | def setex(self, key, value, ttl): method setnx (line 1420) | def setnx(self, key, value): method expire (line 1429) | def expire(self, key, ttl): method ttl (line 1437) | def ttl(self, key): class StorageStub (line 1447) | class StorageStub(BaseServiceStub): method clear (line 1448) | def clear(self): method use (line 1454) | def use(self, name, cryptor=BaseCryptor, **kwargs): method remove (line 1459) | def remove(self, name): class UtilStub (line 1468) | class UtilStub(BaseServiceStub): method _get_file_content (line 1469) | def _get_file_content(self, certfile): method is_ca_certificate_installed (line 1472) | def is_ca_certificate_installed(self, certfile): method install_ca_certificate (line 1480) | def install_ca_certificate(self, certfile): method uninstall_ca_certificate (line 1488) | def uninstall_ca_certificate(self, certfile): method record_touch (line 1496) | def record_touch(self): method perform_touch (line 1502) | def perform_touch(self, tas, wait=True): method reboot (line 1510) | def reboot(self): method shutdown (line 1516) | def shutdown(self): method reload (line 1522) | def reload(self, clean=False): method exit (line 1529) | def exit(self): method beep (line 1535) | def beep(self): method play_audio (line 1541) | def play_audio(self, file, type=AudioStreamType.AST_SYSTEM, method show_toast (line 1553) | def show_toast(self, text, duration=ToastDuration.TD_SHORT): method setprop (line 1560) | def setprop(self, name, value): method getprop (line 1567) | def getprop(self, name): method server_info (line 1574) | def server_info(self): method hex_patch (line 1580) | def hex_patch(self, pattern, replacement, path, class DebugStub (line 1595) | class DebugStub(BaseServiceStub): method _read_pubkey (line 1596) | def _read_pubkey(self, pubkey): method install_adb_pubkey (line 1599) | def install_adb_pubkey(self, pubkey): method uninstall_adb_pubkey (line 1607) | def uninstall_adb_pubkey(self, pubkey): method is_android_debug_bridge_running (line 1615) | def is_android_debug_bridge_running(self): method start_android_debug_bridge (line 1621) | def start_android_debug_bridge(self): method stop_android_debug_bridge (line 1627) | def stop_android_debug_bridge(self): class SettingsStub (line 1635) | class SettingsStub(BaseServiceStub): method _put (line 1636) | def _put(self, group, name, value): method _get (line 1641) | def _get(self, group, name): method get_system (line 1645) | def get_system(self, name): method put_system (line 1650) | def put_system(self, name, value): method get_global (line 1655) | def get_global(self, name): method put_global (line 1660) | def put_global(self, name, value): method get_secure (line 1665) | def get_secure(self, name): method put_secure (line 1670) | def put_secure(self, name, value): class ShellStub (line 1677) | class ShellStub(BaseServiceStub): method execute_script (line 1678) | def execute_script(self, script, alias=None, method execute_background_script (line 1687) | def execute_background_script(self, script, alias=None): method is_background_script_finished (line 1694) | def is_background_script_finished(self, tid): method kill_background_script (line 1701) | def kill_background_script(self, tid): class StatusStub (line 1710) | class StatusStub(BaseServiceStub): method get_boot_time (line 1711) | def get_boot_time(self): method get_disk_usage (line 1717) | def get_disk_usage(self, mountpoint="/data"): method get_battery_info (line 1724) | def get_battery_info(self): method get_cpu_info (line 1730) | def get_cpu_info(self): method get_overall_disk_io_info (line 1736) | def get_overall_disk_io_info(self): method get_overall_net_io_info (line 1742) | def get_overall_net_io_info(self): method get_userdata_disk_io_info (line 1748) | def get_userdata_disk_io_info(self): method get_net_io_info (line 1754) | def get_net_io_info(self, interface): method get_mem_info (line 1761) | def get_mem_info(self): class ProxyStub (line 1769) | class ProxyStub(BaseServiceStub): method is_openvpn_running (line 1770) | def is_openvpn_running(self): method is_gproxy_running (line 1776) | def is_gproxy_running(self): method start_openvpn (line 1782) | def start_openvpn(self, profile): method start_gproxy (line 1789) | def start_gproxy(self, profile): method stop_openvpn (line 1796) | def stop_openvpn(self): method stop_gproxy (line 1802) | def stop_gproxy(self): class SelinuxPolicyStub (line 1810) | class SelinuxPolicyStub(BaseServiceStub): method allow (line 1811) | def allow(self, source, target, tclass, action): method disallow (line 1819) | def disallow(self, source, target, tclass, action): method get_enforce (line 1827) | def get_enforce(self): method set_enforce (line 1833) | def set_enforce(self, enforced=True): method enabled (line 1840) | def enabled(self): method enforce (line 1846) | def enforce(self, name): method permissive (line 1853) | def permissive(self, name): method create_domain (line 1860) | def create_domain(self, name): class FileStub (line 1869) | class FileStub(BaseServiceStub): method _fd_stream_read (line 1870) | def _fd_stream_read(self, fd, chunksize): method _fd_streaming_send (line 1873) | def _fd_streaming_send(self, fd, dest, chunksize): method _fd_streaming_recv (line 1877) | def _fd_streaming_recv(self, fd, iterator): method download_fd (line 1880) | def download_fd(self, fpath, fd): method upload_fd (line 1889) | def upload_fd(self, fd, dest): method download_file (line 1899) | def download_file(self, fpath, dest): method upload_file (line 1905) | def upload_file(self, fpath, dest): method delete_file (line 1911) | def delete_file(self, fpath): method file_chmod (line 1918) | def file_chmod(self, fpath, mode=0o644): method file_stat (line 1925) | def file_stat(self, fpath): class LockStub (line 1934) | class LockStub(BaseServiceStub): method acquire_lock (line 1935) | def acquire_lock(self, leaseTime=60): method get_session_token (line 1942) | def get_session_token(self): method refresh_lock (line 1948) | def refresh_lock(self, leaseTime=60): method release_lock (line 1955) | def release_lock(self): class WifiStub (line 1963) | class WifiStub(BaseServiceStub): method status (line 1964) | def status(self): method blacklist_add (line 1970) | def blacklist_add(self, bssid): method blacklist_clear (line 1976) | def blacklist_clear(self): method blacklist_get_all (line 1982) | def blacklist_get_all(self): method scan (line 1988) | def scan(self): method scan_results (line 1994) | def scan_results(self): method get_mac_addr (line 2000) | def get_mac_addr(self): method signal_poll (line 2006) | def signal_poll(self): method list_networks (line 2012) | def list_networks(self): method select_network (line 2018) | def select_network(self, networkId): method enable_network (line 2020) | def enable_network(self, networkId): method disable_network (line 2022) | def disable_network(self, networkId): method add_network (line 2024) | def add_network(self): method remove_network (line 2026) | def remove_network(self, networkId): method set_network_config (line 2028) | def set_network_config(self, networkId, name, value): method get_network_config (line 2030) | def get_network_config(self, networkId, name): method disconnect (line 2032) | def disconnect(self): method reconnect (line 2038) | def reconnect(self): method set_config (line 2044) | def set_config(self, name, value): method set_auto_connect (line 2046) | def set_auto_connect(self, auto=True): method save_config (line 2048) | def save_config(self): class OcrOperator (line 2052) | class OcrOperator(object): method __init__ (line 2053) | def __init__(self, device, elements=None, method text (line 2060) | def text(self, item): method textMatches (line 2062) | def textMatches(self, item): method textContains (line 2065) | def textContains(self, item): method find_target_item (line 2067) | def find_target_item(self): method find_item_or_throw (line 2072) | def find_item_or_throw(self): method find_cb (line 2077) | def find_cb(self, func, ret, *args): method find_or_throw_cb (line 2080) | def find_or_throw_cb(self, func, *args): method throw (line 2083) | def throw(self, exception, *args): method _screenshot (line 2085) | def _screenshot(self, item, quality): method _click (line 2088) | def _click(self, item): method __str__ (line 2091) | def __str__(self): method exists (line 2094) | def exists(self): method click (line 2099) | def click(self): method click_exists (line 2104) | def click_exists(self): method screenshot (line 2109) | def screenshot(self, quality=100): method take_screenshot (line 2115) | def take_screenshot(self, quality=100): method info (line 2120) | def info(self): class OcrEngine (line 2128) | class OcrEngine(object): method __init__ (line 2129) | def __init__(self, service, *args, method init_paddleocr (line 2137) | def init_paddleocr(self, *args, **kwargs): method init_easyocr (line 2141) | def init_easyocr(self, *args, **kwargs): method init_custom (line 2145) | def init_custom(self, service, *args, **kwargs): method ocr_custom (line 2148) | def ocr_custom(self, image): method ocr_paddleocr (line 2151) | def ocr_paddleocr(self, image): method ocr_easyocr (line 2157) | def ocr_easyocr(self, image): method ocr (line 2160) | def ocr(self, screenshot): method format (line 2165) | def format(self, box, text, confidence): class Device (line 2176) | class Device(object): method __init__ (line 2177) | def __init__(self, host, port=65000, method frida (line 2223) | def frida(self): method __str__ (line 2246) | def __str__(self): method _parse_certdata (line 2249) | def _parse_certdata(self, data): method _parse_cname (line 2255) | def _parse_cname(self, crt): method _get_service_stub (line 2259) | def _get_service_stub(self, module): method stub (line 2262) | def stub(self, module): method download_fd (line 2270) | def download_fd(self, fpath, fd): method upload_fd (line 2272) | def upload_fd(self, fd, dest): method download_file (line 2274) | def download_file(self, fpath, dest): method upload_file (line 2276) | def upload_file(self, fpath, dest): method delete_file (line 2278) | def delete_file(self, fpath): method file_chmod (line 2280) | def file_chmod(self, fpath, mode=0o644): method file_stat (line 2282) | def file_stat(self, fpath): method install_local_file (line 2285) | def install_local_file(self, rpath, user=0): method current_application (line 2287) | def current_application(self): method enumerate_all_pkg_names (line 2289) | def enumerate_all_pkg_names(self): method enumerate_running_processes (line 2291) | def enumerate_running_processes(self): method get_last_activities (line 2293) | def get_last_activities(self, count=3): method start_activity (line 2295) | def start_activity(self, **activity): method get_application_by_name (line 2297) | def get_application_by_name(self, name): method application (line 2299) | def application(self, applicationId, user=0): method record_touch (line 2302) | def record_touch(self): method perform_touch (line 2304) | def perform_touch(self, sequence, wait=True): method show_toast (line 2306) | def show_toast(self, text, duration=ToastDuration.TD_SHORT): method is_ca_certificate_installed (line 2308) | def is_ca_certificate_installed(self, certdata): method uninstall_ca_certificate (line 2310) | def uninstall_ca_certificate(self, certfile): method install_ca_certificate (line 2312) | def install_ca_certificate(self, certfile): method reboot (line 2314) | def reboot(self): method shutdown (line 2316) | def shutdown(self): method exit (line 2318) | def exit(self): method reload (line 2320) | def reload(self, clean=False): method beep (line 2322) | def beep(self): method play_audio (line 2324) | def play_audio(self, file, type=AudioStreamType.AST_SYSTEM, method setprop (line 2328) | def setprop(self, name, value): method getprop (line 2330) | def getprop(self, name): method hex_patch (line 2332) | def hex_patch(self, pattern, replacement, path, method install_adb_pubkey (line 2338) | def install_adb_pubkey(self, pubkey): method uninstall_adb_pubkey (line 2340) | def uninstall_adb_pubkey(self, pubkey): method start_android_debug_bridge (line 2342) | def start_android_debug_bridge(self): method is_android_debug_bridge_running (line 2344) | def is_android_debug_bridge_running(self): method stop_android_debug_bridge (line 2346) | def stop_android_debug_bridge(self): method is_openvpn_running (line 2349) | def is_openvpn_running(self): method is_gproxy_running (line 2351) | def is_gproxy_running(self): method start_openvpn (line 2353) | def start_openvpn(self, profile): method start_gproxy (line 2355) | def start_gproxy(self, profile): method stop_openvpn (line 2357) | def stop_openvpn(self): method stop_gproxy (line 2359) | def stop_gproxy(self): method execute_script (line 2362) | def execute_script(self, script, alias=None, timeout=60): method execute_background_script (line 2365) | def execute_background_script(self, script, alias=None): method is_background_script_finished (line 2367) | def is_background_script_finished(self, tid): method kill_background_script (line 2369) | def kill_background_script(self, tid): method click (line 2372) | def click(self, point): method drag (line 2374) | def drag(self, A, B, step=32): method swipe (line 2376) | def swipe(self, A, B, step=32): method swipe_points (line 2378) | def swipe_points(self, *points, step=32): method open_notification (line 2380) | def open_notification(self): method open_quick_settings (line 2382) | def open_quick_settings(self): method wake_up (line 2384) | def wake_up(self): method sleep (line 2386) | def sleep(self): method is_screen_on (line 2388) | def is_screen_on(self): method is_screen_locked (line 2390) | def is_screen_locked(self): method set_clipboard (line 2392) | def set_clipboard(self, text): method get_clipboard (line 2394) | def get_clipboard(self): method freeze_rotation (line 2396) | def freeze_rotation(self, freeze=True): method set_orientation (line 2398) | def set_orientation(self, orien=Orientation.ORIEN_NATURE): method press_key (line 2400) | def press_key(self, key): method press_keycode (line 2402) | def press_keycode(self, code, meta=0): method take_screenshot (line 2404) | def take_screenshot(self, quality=100, bound=None): method screenshot (line 2406) | def screenshot(self, quality=100, bound=None): method dump_window_hierarchy (line 2408) | def dump_window_hierarchy(self, compressed=False): method wait_for_idle (line 2410) | def wait_for_idle(self, timeout): method get_last_toast (line 2412) | def get_last_toast(self): method find_similar_image (line 2414) | def find_similar_image(self, data, threshold=0.0, distance=250, method remove_all_watchers (line 2421) | def remove_all_watchers(self): method set_watcher_loop_enabled (line 2423) | def set_watcher_loop_enabled(self, enabled): method get_watcher_loop_enabled (line 2425) | def get_watcher_loop_enabled(self): method get_watcher_triggered_count (line 2427) | def get_watcher_triggered_count(self, name): method reset_watcher_triggered_count (line 2429) | def reset_watcher_triggered_count(self, name): method get_applied_watchers (line 2431) | def get_applied_watchers(self): method register_click_target_selector_watcher (line 2433) | def register_click_target_selector_watcher(self, name, conditions, method register_press_key_watcher (line 2438) | def register_press_key_watcher(self, name, conditions, key): method register_none_op_watcher (line 2442) | def register_none_op_watcher(self, name, conditions): method set_watcher_enabled (line 2446) | def set_watcher_enabled(self, name, enable): method get_watcher_enabled (line 2448) | def get_watcher_enabled(self, name): method remove_watcher (line 2450) | def remove_watcher(self, name): method device_info (line 2452) | def device_info(self): method server_info (line 2454) | def server_info(self): method __call__ (line 2456) | def __call__(self, **kwargs): method ocr (line 2459) | def ocr(self, index=0, **kwargs): method setup_ocr_backend (line 2473) | def setup_ocr_backend(self, service, *args, quality=75, method set_debug_log_enabled (line 2479) | def set_debug_log_enabled(self, enable): method _get_session_token (line 2484) | def _get_session_token(self): method _acquire_lock (line 2486) | def _acquire_lock(self, leaseTime=60): method _refresh_lock (line 2488) | def _refresh_lock(self, leaseTime=60): method _release_lock (line 2490) | def _release_lock(self): method __enter__ (line 2492) | def __enter__(self): method __exit__ (line 2495) | def __exit__(self, type, value, traceback): FILE: lamda/exceptions.py class CompatibilityException (line 5) | class CompatibilityException(Exception): class DeadSystemException (line 7) | class DeadSystemException(Exception): class DeviceUnavailable (line 9) | class DeviceUnavailable(Exception): class DuplicateEntryError (line 11) | class DuplicateEntryError(Exception): class IllegalArgumentException (line 13) | class IllegalArgumentException(Exception): class IllegalStateException (line 15) | class IllegalStateException(Exception): class InstallPackageFailed (line 17) | class InstallPackageFailed(Exception): class InternalRpcException (line 19) | class InternalRpcException(Exception): class InvalidAndroidPackage (line 21) | class InvalidAndroidPackage(Exception): class InvalidArgumentError (line 23) | class InvalidArgumentError(Exception): class InvalidOperationError (line 25) | class InvalidOperationError(Exception): class InvalidRootCertificate (line 27) | class InvalidRootCertificate(Exception): class MethodNotFoundException (line 29) | class MethodNotFoundException(Exception): class NameNotFoundException (line 31) | class NameNotFoundException(Exception): class NotImplementedException (line 33) | class NotImplementedException(Exception): class NullPointerException (line 35) | class NullPointerException(Exception): class SecurityException (line 37) | class SecurityException(Exception): class ServiceUnavailable (line 39) | class ServiceUnavailable(Exception): class StaleObjectException (line 41) | class StaleObjectException(Exception): class StartupActivityNotFound (line 43) | class StartupActivityNotFound(Exception): class StorageOutOfMemory (line 45) | class StorageOutOfMemory(Exception): class UiAutomatorException (line 47) | class UiAutomatorException(Exception): class UiObjectNotFoundException (line 49) | class UiObjectNotFoundException(Exception): class UnHandledException (line 51) | class UnHandledException(Exception): FILE: lamda/types.py class AttributeDict (line 11) | class AttributeDict(dict): method __getattr__ (line 12) | def __getattr__(self, attr): method __setattr__ (line 14) | def __setattr__(self, attr, value): method remove (line 16) | def remove(self, key): class BytesIO (line 20) | class BytesIO(io.BytesIO): method decode_from (line 22) | def decode_from(cls, data, encoding): method encode (line 24) | def encode(self, encoding): method decode (line 26) | def decode(self, encoding): method save (line 28) | def save(self, fpath): method load (line 32) | def load(cls, fpath): FILE: tools/discover.py function BcastCallMethod (line 19) | def BcastCallMethod(method): FILE: tools/frida_script_generate.py function embed_bridge (line 12) | def embed_bridge(source, lang): FILE: tools/globalmitm/DNS2SOCKS.c type SOCKET (line 33) | typedef int SOCKET; type sockaddr_storage (line 89) | struct sockaddr_storage type SEntry (line 94) | struct SEntry type SEntry (line 104) | struct SEntry type sockaddr_storage (line 107) | struct sockaddr_storage type sockaddr_storage (line 108) | struct sockaddr_storage function FreeSysError (line 153) | static void FreeSysError(char* szString) function OutputToLog (line 158) | static void OutputToLog(unsigned int uOutputSettingBits, const char* szF... function OpenLogFile (line 209) | static void OpenLogFile(const char* szFilePath, int bAppend) function OpenConsole (line 236) | static void OpenConsole() function OutputFatal (line 250) | static void OutputFatal(const char* szFormatString, ...) function ThreadCreate (line 278) | int ThreadCreate(LPTHREAD_START_ROUTINE pThreadFunction, void* pParam) function OutputToLog (line 304) | static void OutputToLog(unsigned int uOutputSettingBits, const char* szF... function OpenLogFile (line 357) | static void OpenLogFile(const char* szFilePath, int bAppend) function OpenConsole (line 376) | static void OpenConsole() function ThreadCreate (line 391) | int ThreadCreate(void* (*pThreadFunction)(void*), void* pParam) function GetAddrLen (line 409) | static unsigned int GetAddrLen(const struct sockaddr_storage* psAddr) function SendAnswer (line 417) | static void SendAnswer(struct SEntry* psEntry) function RemoveEntry (line 433) | static void RemoveEntry(struct SEntry* psEntry, SOCKET hSock, int bUseCr... function InvalidDnsMsgErrorOutput (line 467) | static int InvalidDnsMsgErrorOutput(int32_t i32TimeOffset) function IterateDnsMessage (line 479) | static int IterateDnsMessage(uint16_t* u16aMessage, int32_t i32TimeOffset) function CalculateTimeToLive (line 572) | static int CalculateTimeToLive(struct SEntry* psEntry) function ReceiveBytes (line 590) | static int ReceiveBytes(SOCKET hSock, unsigned int uAmount, uint16_t* u1... function AddEcsOption (line 620) | static int AddEcsOption(uint16_t* u16aRequest, uint16_t* u16aDestBuf) function HandleHttpProxy (line 716) | static int HandleHttpProxy(SOCKET hSock, char* caBuf) type SEntry (line 793) | struct SEntry type SEntry (line 793) | struct SEntry type sockaddr (line 809) | struct sockaddr type sockaddr_in6 (line 891) | struct sockaddr_in6 type sockaddr_in6 (line 893) | struct sockaddr_in6 type sockaddr_in6 (line 894) | struct sockaddr_in6 type sockaddr_in (line 899) | struct sockaddr_in type sockaddr_in (line 900) | struct sockaddr_in type sockaddr_in6 (line 905) | struct sockaddr_in6 type sockaddr_in6 (line 906) | struct sockaddr_in6 function HandleDnsRequest (line 1061) | static void HandleDnsRequest(uint16_t* u16aRequest, int iLen, void* pCli... function OutputBindError (line 1161) | static void OutputBindError(SOCKET hSock, struct sockaddr_storage* psAdd... type sockaddr_storage (line 1195) | struct sockaddr_storage type sockaddr_storage (line 1198) | struct sockaddr_storage type sockaddr (line 1207) | struct sockaddr type sockaddr_storage (line 1207) | struct sockaddr_storage type sockaddr_storage (line 1209) | struct sockaddr_storage type sockaddr (line 1224) | struct sockaddr function ParseEcs (line 1262) | static int ParseEcs(char* szIpAndAmountBits) function ParseIpAndPort (line 1338) | static int ParseIpAndPort(int iFlag, const char* szParamName, const char... function CreateHttpProxyConnectCommand (line 1423) | static int CreateHttpProxyConnectCommand() function main (line 1460) | int main(int iArgCount, char** szaArgs) function WinMain (line 1796) | int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR s... FILE: tools/paddle_ocr_http_api.py function ocr (line 14) | async def ocr(request: Request): FILE: tools/startmitm.py function cleanup (line 37) | def cleanup(*args, **kwargs): function add_server (line 49) | def add_server(command, spec): function add_upstream (line 54) | def add_upstream(args, ext): function log (line 65) | def log(*args): function die (line 69) | def die(*args): function adb (line 74) | def adb(*args): function adb_tcp (line 84) | def adb_tcp(action, aport, bport): function reverse (line 90) | def reverse(aport, bport): function forward (line 94) | def forward(aport, bport): function get_default_interface_ip_imp (line 98) | def get_default_interface_ip_imp(target): function get_default_interface_ip (line 104) | def get_default_interface_ip(target):