draft init
This commit is contained in:
51
phone_agent/adb/__init__.py
Normal file
51
phone_agent/adb/__init__.py
Normal file
@@ -0,0 +1,51 @@
|
||||
"""ADB utilities for Android device interaction."""
|
||||
|
||||
from phone_agent.adb.connection import (
|
||||
ADBConnection,
|
||||
ConnectionType,
|
||||
DeviceInfo,
|
||||
list_devices,
|
||||
quick_connect,
|
||||
)
|
||||
from phone_agent.adb.device import (
|
||||
back,
|
||||
double_tap,
|
||||
get_current_app,
|
||||
home,
|
||||
launch_app,
|
||||
long_press,
|
||||
swipe,
|
||||
tap,
|
||||
)
|
||||
from phone_agent.adb.input import (
|
||||
clear_text,
|
||||
detect_and_set_adb_keyboard,
|
||||
restore_keyboard,
|
||||
type_text,
|
||||
)
|
||||
from phone_agent.adb.screenshot import get_screenshot
|
||||
|
||||
__all__ = [
|
||||
# Screenshot
|
||||
"get_screenshot",
|
||||
# Input
|
||||
"type_text",
|
||||
"clear_text",
|
||||
"detect_and_set_adb_keyboard",
|
||||
"restore_keyboard",
|
||||
# Device control
|
||||
"get_current_app",
|
||||
"tap",
|
||||
"swipe",
|
||||
"back",
|
||||
"home",
|
||||
"double_tap",
|
||||
"long_press",
|
||||
"launch_app",
|
||||
# Connection management
|
||||
"ADBConnection",
|
||||
"DeviceInfo",
|
||||
"ConnectionType",
|
||||
"quick_connect",
|
||||
"list_devices",
|
||||
]
|
||||
Reference in New Issue
Block a user