AirtestProject / Airtest

UI Automation Framework for Games and Apps
http://airtest.netease.com/
Apache License 2.0
8.26k stars 1.3k forks source link

Project dependencies may have API risk issues #1109

Open PyDeps opened 1 year ago

PyDeps commented 1 year ago

Hi, In Airtest, inappropriate dependency versioning constraints can cause risks.

Below are the dependencies and version constraints that the project is using

Jinja2>=2.8
Pillow>=3.4.0
requests>=2.11.1
six
mss==6.1.0
numpy<=1.19.5
facebook-wda>=1.3.3
pywinauto==0.6.3
filelock
ffmpeg-python

The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.

After further analysis, in this project, The version constraint of dependency six can be changed to >=1.9.0,<=1.16.0.

The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.

The invocation of the current project includes all the following methods.

In version six-1.8, the API six.raise_from whch is used by the current project in airtest/utils/compat.py is missing.

image
The calling methods from the six
six.with_metaclass
six.raise_from
six.reraise
The calling methods from the all methods
self.roundProcess.start
self.mem_axis.append
plot_profiled_all_images_table
int2ip
line.decode.strip
cv2.FlannBasedMatcher
self.adb.getprop
os.path.dirname
self.AirtestLogger.super.__init__
proc.communicate
self.translate_poco_step
subprocess.Popen.poll
self.driver.alert.click
self.mouse.double_click
self.PlotResult.super.__init__
airtest.core.android.adb.ADB
airtest.core.helper.G.DEVICE.touch
item.getAttribute.find
self.get_files
re.compile
patten.search.group
self._forward_local_using.append
self._cleanup
decode_path
Predictor.get_predict_area
self.t_stream.start
arg.get_value.__str__
line.startswith.append
inst.install_and_setup
warnings.warn
time.sleep
self.copy_tree
os.path.splitext
os.path.exists
self.m_stylesOffsets.append
self.get_current_resolution
airtest.cli.runner.device
result.append
six.moves.reduce
self.adb.is_keyboard_shown
threading.Lock
cv2.VideoWriter
cv2.transpose
self.snapshot
filelock.FileLock.acquire
self.TemplateMatching.super.__init__
plot_one_image_result
self.sock.__exit__
self.axml.getText
self._install_and_setup
self.adb.start_app_timing
PIL.Image.open
data.json.dumps.replace
selected.m.m.queryIdx.kp_sch.pt.np.float32.reshape
ProfileRecorder.load_images
cv2.imread
cv2.split
six.moves.urllib.parse.parse_qsl
airtest.core.android.yosemite.Yosemite
airtest.utils.compat.script_log_dir
G.LOGGING.debug
win32ui.CreateBitmap.CreateCompatibleBitmap
self.setup_server
content.isalpha
platform.system
d.path.lstrip
self._translate_assertion
jinja2.Environment.get_template
self.axml.getNamespacePrefix
StopIteration
method.get_name.m.append
wm_size.groupdict.items
sct.grab
self.yosemite_recorder.install_or_upgrade
select.select
exec
self.readline
setuptools.setup
HomographyError
airtest.core.error.AdbShellError
sys.platform.startswith
logger.running_stack.append
send_keyboard_input
os.path.commonprefix
self.yosemite_ime.code
ime_method.upper
self.iosHandle._fetch_new_session
self.adb.start_app
self.axml.getAttributeValue
self.get_display_info
platform.machine
nbsp.readline.split
airtest.cli.parser.get_parser.print_help
ori_method.upper
len
cv2.flip
airtest.utils.snippet.get_std_encoding
local.Path.as_posix
self.driver.app_state
traverse_layer
copy.copy
airtest.core.api.set_serialno
airtest.cli.info.get_script_info
item.getAttribute
res.pat.match.group
self.readFile
self._screen_proxy.teardown_stream
threading.Thread
self.MaxtouchImplementation.super.__init__
filelock.FileLock
airtest.utils.safesocket.SafeSocket.recv
im_source.any
shutil.move
unittest.TextTestRunner
self.process.terminate
servers.append
os.chmod
ap.add_subparsers.add_parser
try_call
self.driver.double_tap
re.match
mix_ins.append
inspect.getcallargs.pop
self.writer.release
get_parger
round
format
self.SocketBuffer.super.__init__
self.Maxtouch.super.__init__
win32gui.GetDesktopWindow
self._drain
self.chunkSize.get_value
method_list.append
NotImplementedError
self._top_window.MoveWindow
self.method_object_dict.keys
RuntimeError
ValueError
self.detector.detectAndCompute
airtest.utils.snippet.split_cmd.append
IOS.swipe
cv2.ORB_create
cv2.xfeatures2d.StarDetector_create
io.open
m.group.strip
value.self.getattr
p.replace
os.path.sep.dirname.strip.replace
airtest.core.helper.G.DEVICE.clear_app
airtest.aircv.utils.img_2_string
os.path.isabs
i.replace.replace
self.t_write.start
logger.log
self.m_prefixuriL.pop
matplotlib.pyplot.ylim
string.strip
self.sock.__enter__
self.is_stop
self._forward_local_using.remove
sleep
self.YosemiteIme.super.__init__
vm.get_method_descriptor.get_class_name
self.WebChrome.super.find_element_by_xpath
FormatClassToPython
cv2.findHomography
ensure_unicode.decode
G.BASEDIR.append
self.touch_proxy.swipe_along
self.get_orientation
psutil.Process
self.text.encode
self.writer.write
self.Element.super.__init__
self.Element.super.send_keys
CheckKeypointResult
self.server_thread.start
self._app.start
range
IOS
path.get_method.get_descriptor
self.server_proc.kill
self.start
dev_dict.keys
f.readlines
self.getMaxXY
handle.self.app.window.wrapper_object
self.multi_scale_search
id
all
vmx.tainted_variables.get_field
log.get
cv2.SIFT_create
jinja2.Environment
unittest.TestSuite.addTest
self.get_element
self.do_proxy
psyco.full
re.sub
_class.get_fields
win32ui.CreateDCFromHandle
obj.get_raw
airtest.core.ios.constant.ROTATION_MODE.items
MJpegcap.get_frame
ret
NoModuleError
self.record_thread.set_interval
AutomatorWrapper
self.stringCount.get_value
airtest.core.helper.G.DEVICE.double_click
matplotlib.pyplot.legend
airtest.cli.parser.get_parser.parse_args
table_vals.append
struct.pack
wda.usbmux.Usbmux.device
airtest.core.helper.G.DEVICE.uninstall_app
airtest.aircv.utils.Image.frombuffer
vmx.tainted_variables.get_field.get_paths
self._find_homography
self.check_macthing_object.MATCHING_METHODS.keys
six.moves.queue.Queue
self.IOS.super.__init__
airtest.core.android.constant.IP_PATTERN.search
self.adb.file_size
self.backend_stop_event.isSet
os.path.normpath
airtest.core.api.log
airtest.core.ios.constant.ROTATION_MODE.get
runner_parser
string.strip.strip.strip
self.buf.read_until.decode
s.sock.settimeout
self.buf.read_bytes
self.WebChrome.super.find_element_by_id
self.axml.getAttributeCount
list
self.stylesOffset.get_value
self.process.wait
str.encode
self.touch_proxy.two_finger_swipe
six.moves.queue.Queue.get
os.remove
setuptools.find_packages
mem_compare_dict.update
numpy.fromfile
airtest.core.ios.mjpeg_cap.MJpegcap
get_version
UpEvent
random.random
datetime.datetime.fromtimestamp
ap.get_parger.parse_args.append
cv2.xfeatures2d.SURF_create
field.get_name
IOS.device_status
self.adb.shell
airtest.core.helper.G.DEVICE.wake
timestamp.datetime.fromtimestamp.strftime
self.get_top_activity
self._register_rotation_watcher
MinicapIOS.setup
self.star_detector.detect
cv2.perspectiveTransform
wda.usbmux.Usbmux.device.create_inner_connection
touch_method.upper
stdout.decode.decode
default_method.upper.cls.SCREEN_METHODS
fndata.update
os.path.relpath
index
self.axml.getAttributePrefix
self.WebChrome.super.back
self.init_plugin_modules
cal_rect_pts
self._top_window.rectangle
logger.running_stack.pop
airtest.core.helper.G.DEVICE.text
MoveEvent
re.sub.encode
self.app.window
self._handle_two_good_points
airtest.utils.logger.get_logger.warn
error.TemplateInputError
airtest.core.helper.set_logdir
_copy_script
self._port_using_func.keys
IndexError
method_pts_length_list.append
y_min.x_max.y_max.x_max.y_max.x_min.y_min.x_min.np.float32.reshape
infoline.split.split
self.axml.getPrefix
adb._cleanup_forwards
dev.stop_recording
self.Device.super.__init__
self._windowpos_to_screenpos
children_steps.insert
markupsafe.escape
self.base_touch.swipe_along
_cleanup
self.brief_extractor.compute
airtest.aircv.error.TemplateInputError
cls.SCREEN_METHODS.items
self.t_write.join
self.axml.next
copy.deepcopy.get
get_airtest_version
self._translate_title
_find_homography
socket.getfqdn
cal_confidence.cal_ccoeff_confidence
self.report_data
self._fix_op_pos
method.get_descriptor
decorator_retry_session
cal_rect_pts.append
self.adb.clear_app
kwargs.values
warnings.simplefilter
rlist.append
w.h.w.h.np.float32.reshape
self.WebChrome.super.forward
self.buff.read.SV.get_value
matcher.group.split
default_method.cls.TOUCH_METHODS.METHOD_CLASS
time.time
self._display_info_lock.acquire
self.get_status
codecs.open
datetime.datetime.now.__str__
dev.start_recording
orientation.str.upper
self._fetch_new_session
AutomatorAssertionFail
self.gen_screen_log
self.driver.alert.wait
functools.partial
json.loads
self.WebChrome.super.find_element_by_name
self.driver.click
self.base_touch.pinch
touch_impl.METHOD_CLASS
self.client.close
cv2.SIFT
self.app.kill
add_paths
self.args.recording.endswith
_many_good_pts
l.append
self.recorder.start
shutil.copy
self.app.top_window
self.refresh_method_objects
self.axml.getAttributeValueData
time.localtime
self._translate_title.get
row_vals.append
utils.img_mat_rgb_2_gray
platform.lower.lower
proc.kill
self.driver.http.get
self.get_deprecated_var
cv2.imencode
self.AdbCap.super.snapshot
matplotlib.pyplot.title
sys.stderr.write
im_search.any
self.keyevent
register_screen
self._render
self.base_touch.touch
self.WebChrome.super.get
self.static_root.startswith
self.adb.uninstall_app
device_cls.__name__.lower
serverclass
self.get_files_types
logging.getLogger
self.mouse.move
self.adb.get_ip_address
self.b.send
serverclass.handle_request
self.complexToFloat
self._try_match
self.get_small_name
kwargs.pop
_init_sift
self.buf.close
self.get_activities
collections.OrderedDict
i.self.zip.read.AXMLPrinter.getBuff
self.base_touch.swipe
cv2.circle
self._org_size
self._top_window.texts
self.is_pos
screen_class
cap_method.get_frame
six.text_type
read
ult.append
self.adb.get_display_of_all_screen
magic.Magic.from_buffer
airtest.core.win.ctypesinput.key_press
airtest.aircv.cv2.resize
logger.get_logger
airtest.core.android.rotation.RotationWatcher
kwargs.get
win32ui.CreateDCFromHandle.DeleteDC
self._translate_step.get
self._stopEvent.isSet
self.screen_proxy.snapshot
self._q.get
self.transform_xy
logging.StreamHandler.setFormatter
self.sock.recv
m.group.split.strip
self.driver.app_stop
stderr.decode.decode
self.m_attributes.append
strip_str
self._kill_event.set
matplotlib.pyplot.axis
self._cv_match
sys.stdout.write
SocketBuffer
self.MATCHING_METHODS.items
tuple
airtest.core.helper.G.DEVICE.snapshot
self.CheckKeypointResult.super.__init__
resize_method
self.adb.list_app
default_method.cls.TOUCH_METHODS
self.install
os.path.splitdrive
logger.get_logger.debug
self.adb.keyevent
airtest.utils.logger.get_logger.error
scriptpath.os.path.basename.replace
airtest.utils.logwraper.Logwrap
data.json.dumps.replace.replace
self.adb.get_display_info
f
mfcDC.CreateCompatibleDC.DeleteDC
self.yosemite.get_ready
self.buf.read_until
numpy.array
arg.split
value.get
AssertionError
self.buf.read_until.startswith
init_logging
IOError
airtest.core.api.G.register_custom_device
idx.self.m_stringOffsets.get_value
threading.Timer.start
pil_img.save
self.screen_proxy.get_frame_from_stream
airtest.core.helper.import_device_cls
method.get_name
self.adb.unlock
airtest.core.linux.linux.Linux.LOGGING.warn
self.get_file
field.get_name.f.append
input.replace
self._app.connect
subprocess.DEVNULL.subprocess.DEVNULL.subprocess.Popen.wait
os.mkdir
SleepEvent
airtest.core.helper.delay_after_operation
good_diff.append
self._get_origin_result_with_two_points
airtest.utils.safesocket.SafeSocket.close
matplotlib.pyplot.plot
logging.getLogger.addHandler
self._make_export_dir
airtest.core.android.recorder.Recorder
IOS.snapshot
compile
airtest.core.helper.G.DEVICE.swipe
matplotlib.pyplot.vlines
self.getPhysicalDisplayInfo.update
dev.touch_proxy.perform
argparse.ArgumentParser.add_argument
self.time_axis.append
self.adb.stop_app
MinicapIOS
shutil.rmtree
airtest.utils.retry.retries
_class.get_name
ret.group.split
TouchProxy
profile_recorder.ProfileRecorder.profile_methods
self.cmd.strip
cls.check_touch
log.append
self.cleanup_func.append
self.m_stringOffsets.append
self.fps.outfile.self.fps.height.width.format.ffmpeg.input.output.global_args.overwrite_output.run_async
succeed_list.append
self.driver.alert.dismiss
airtest.utils.snippet.split_cmd
self.start_cmd.kill
staticmethod
host.split
self.rotation_watcher.reg_callback
self.func_desc_poco
airtest.core.error.TargetNotFoundError
dev.get
path.get_method
self.sock.sendall
fd.read
os.lstat
self.adb.start_shell.wait
self.driver.window_size
offset.int.array.get_value
self.get_elements
PlotResult
self.zip.read
_get_or_fetch_platform_executables_else_raise_no_lock
DownEvent
self._getDisplayDensity
log_error
_shutdown
self.setup_client_backend
self.adb.shell.strip
self.axml.getAttributeValueType
magic.open.load
mfcDC.CreateCompatibleDC.SelectObject
i.self.xml.documentElement.getAttribute
re.compile.split
json.dump
genlog
win32gui.ReleaseDC
self._get_graph_title
self.profile_data.append
os.path.dirname.decode
self.process.memory_info._asdict
mock.MagicMock
gvm.G.successors
lower
Input
IOS.home
int.isdigit
pil_img.thumbnail
airtest.core.helper.G.DEVICE.install_app
airtest.core.helper.G.LOGGING.debug
shutil.copyfile
saved.update
self.nbsp.readline
cv2.SURF
self.__value.__str__
re.findall
self.t_write.setDaemon
self.get_rotation
j.get_descriptor
close_pipe
self.Javacap.super.__init__
os.path.realpath
self.Recorder.super.__init__
packageRE.findall.group
ports.append
self._translate_screen.append
airtest.utils.logger.get_logger.warning
self.sock.connect
self.handle
parse_requirements
connect_device
get_ip_address_from_interface
os.path.normpath.endswith
IOS.start_app
self.adb.is_screenon
socket.gethostbyname
hasattr
self.extract_data
self.adb.start_shell
self.adb.install_multiple_app
vm.get_method_descriptor.get_name
self.kill
airtest.aircv.screen_recorder.ScreenRecorder
airtest.aircv.utils.string_2_img
cv2.waitKey
optparse.OptionParser.parse_args
os.path.isfile
cv2.__version__.startswith
mem_list.append
Xlib.display.Display.screen
cv2.matchTemplate
bytecode.BuffHandle
self.touch_proxy.pinch
os.environ.get
unittest.TextTestRunner.run
self._translate_step
cv2.namedWindow
main
ret.append
self.fps.height.width.format.ffmpeg.input.output
logging.Formatter
self.uninstall
cb
print
stream.readline
self.get_ip_address.startswith
self.set_foreground
airtest.core.win.win.screenshot
method.get_class_name
string.strip.strip
self.mouse.press
bytecode.SV
path.get_method.get_class_name
prop.strip.split
self.get_default_device
self.adb.is_locked
six.reraise
enumerate
self.adb.remove_forward
self._port_using_func.pop
os.path.basename.replace
process_desc.split
action_stack.append
self.driver.status
cls
int
self.div_rect
self.driver.alert.buttons
ensure_unicode
self.fps.outfile.self.fps.height.width.format.ffmpeg.input.output.global_args
ap.report.get_parger.parse_args
i.self.xml.getElementsByTagName
line.startswith
type.__new__
pyfile.read
self.home_interface
f.write
plot_compare_curves
IOS.stop_app
dsp.screen.get_image
device
height.width.numpy.zeros.astype
rel_path.read.splitlines
os.getpid
p.split
base64.b64decode
cv2.rectangle
self.get_available_forward_local
ctypes.c_ulong
self._set_cmd_options
traceback.format_exc
magic.open
airtest.report.report.get_parger
self.running_stack.pop
self.shell
self.get_frame_func
pywinauto.win32structures.RECT
airtest.core.android.adb.ADB.devices
plot_compare_table
self.init_sock
dict.get
cv2.resize
device_port
airtest.cli.runner.setup_by_args
markupsafe.Markup
airtest.aircv.imwrite
logfile.encode.encode
self.ProfileRecorder.super.__init__
optparse.OptionParser.add_option
data.encode.encode
vm.get_method_descriptor.get_descriptor
len.startswith
os.path.join
distutils.version.LooseVersion
self.base_touch.perform
org_src.copy
self.shell.strip
output.split.strip
FormatDescriptorToPython
airtest.aircv.utils.cv2_2_pil
_two_good_points
mfcDC.CreateCompatibleDC.BitBlt
self.frame_gen.send
self.backend_stop_event.set
ProfileRecorder.wite_to_json
hook
cv2.BRISK_create
header.count
json.dumps
DownEvent.extend
try_log_screen
object.__setattr__
utils.generate_result
airtest.cli.__main__.main
self._save
airtest.core.helper.G.DEVICE.get_current_resolution
airtest.utils.logwraper.AirtestLogger
airtest.core.helper.G.DEVICE.start_app
nbsp.readline.strip
gvm.G.predecessors
step.get
self.shell.splitlines
cv2.copyMakeBorder
magic.Magic
runner_parser.add_subparsers
airtest.utils.compat.script_dir_name
pipe.close
win32gui.GetWindowDC
airtest.utils.compat.proc_communicate_timeout
airtest.utils.nbsp.NonBlockingStreamReader
self.get_ip_address.split
self._display_info
matplotlib.pyplot.show
file_d.write
wda.usbmux.Usbmux
threading.Timer.cancel
time.strftime
self.reset
xml.sax.saxutils.escape
anyconfig.load
axmlprinter.AXMLPrinter
self.stringsOffset.get_value
inspect.getcallargs
diff_good_point.append
self._t_kill_event.set
self.MinitouchImplementation.super.__init__
airtest.utils.compat.decode_path
self.getPackage
_get_template_result_matrix
list_devices
self.client.send
ctypes.sizeof
matplotlib.pyplot.ylabel
line.strip
self.get_console
airtest.aircv.utils.pil_2_cv2
airtest.utils.snippet.on_method_ready
self.load_file
AdbTouchImplementation
RECORDER_ORI.get
__import__
self.adb.text
self._transform_xy
self.builtin_iproxy_path
test_and_profile_and_plot
name.startswith
self._translate_info
self._get_area_scope
airtest.aircv.show
subprocess.Popen
self.driver.swipe
count_clock_rotate
self.get_frame_from_stream
self.Minitouch.super.teardown
matplotlib.pyplot.xlabel
cv2.AKAZE_create
command_layer
airtest.core.ios.instruct_cmd.InstructHelper
self.adb.getDisplayOrientation
self.get_providers
self.AutomatorWrapper.super.__init__
self.buff.encode
mss.mss
sys.getfilesystemencoding
self.buff.read
unittest.TextTestRunner.run.wasSuccessful
self.install_app
shutil.which
self.adb.snapshot
obj.to_json
self.process.cpu_percent
ProfileRecorder.profile_methods
m.group.decode
six.unichr
wda.Client
prop.strip.strip
f.read
c.encode
int.dst.astype.tolist
self._t.start
G.LOGGER.set_logfile
InstructHelper
self.MoveEvent.super.__init__
self._target_error_check
cv2.xfeatures2d.BriefDescriptorExtractor_create
datetime.datetime.now
self.ow_proc.kill
airtest.core.helper.G.DEVICE.shell
self.ori_transformer
FormatNameToPython
handlers.items
self.Windows.super.__init__
airtest.core.ios.rotation.XYTransformer.up_2_ori
match.group.strip.split
win32ui.CreateBitmap
airtest.utils.apkparser.APK
pathlib.Path
self.process.memory_info
cls.check_frame
airtest.core.api.snapshot
self.logfd.flush
self.getPrefixByUri
self.Linux.super.start_app
six.moves.queue.Queue.empty
self.writer.close
self.adb.install_app
open.close
self.recorder.stop
reversed
self.matcher.knnMatch
self.mjpegcap.get_frame_from_stream
uiautomator.AutomatorDevice
sys.path.append
path.get_method.get_name
matplotlib.pyplot.table
airtest.utils.version.show_version
airtest.core.error.AdbError
airtest.cli.parser.runner_parser.parse_args
self.PocoReport.super.translate
SocketRelay.handle
bool
args.get.get
ProfileRecorder
color_list.append
numpy.arange
kwargs.args.func.find_best_result
zipfile.ZipFile
self._install_apk_upgrade
airtest.core.helper.G.add_device
self._get_result
self.getAttributeOffset
DownEvent.append
match.group.strip
self.sock.settimeout
self.static_root.endswith
isinstance
self.Minitouch.super.__init__
self.rotation_watcher.get_ready
self.builtin_adb_path
self.driver.press
self.push
touch_impl.base_touch.install_and_setup
logging.getLogger.setLevel
NoSIFTModuleError
cls.get_predict_point
exit
self.sock.send
re.search.group
self._action_pos
item.get
transform
airtest.core.helper.G.LOGGING.warning
get_platform_http_zip
req.raise_for_status
m.group.split
utils.check_image_valid
six.raise_from
check_system
self.shell.count
cv2.FlannBasedMatcher.knnMatch
cal_confidence.cal_rgb_confidence
self.get_predict_point
airtest.core.helper.G.DEVICE.keyevent
runner_parser.parse_args
airtest.utils.snippet.make_file_executable
struct.unpack
matplotlib.pyplot.figure
airtest.core.win.ctypesinput.key_release
self.logfd.close
os.path.getsize
int.pts.astype.tolist
self.cmd
Exception
airtest.core.error.DeviceConnectionError
end_time.strftime.strftime
airtest.core.android.touch_methods.touch_proxy.TouchProxy.auto_setup
airtest.core.error.AirtestError
cvret.get
keyname.upper
self._get_ratio_scope
self.backend_queue.put
self._translate_code
cv2.BFMatcher
self.Android.super.__init__
pprint.pprint
self._permissions.append
s.sock.recv
self.readline.strip
LogToHtml
NoMatchPointError
socket.socket
self.a.recv
join
arg.get_value
keyname.lower.lower
self.logfd.write
airtest.utils.safesocket.SafeSocket.send
self.adb.raw_shell
runner_parser.add_argument
safe_xy
self.check_macthing_object.get_and_plot_keypoints
self.WebChrome.super.__init__
cv2.minMaxLoc
y_min.x_max.y_max.x_max.y_max.x_min.y_min.x_min.np.float32.reshape.astype
self.t_stream.join
self.adb.push
self.yosemite_recorder.stop_recording
self.get_receivers
self._get_template_result_matrix
airtest.core.android.constant.DEFAULT_ADB_PATH.get
default_method.upper
PIL.Image.frombytes
self.zip.namelist
m.group.replace
pyfilepath.encode.encode
airtest.core.helper.G.DEVICE.home
err.stderr.lower
MATCHING_METHODS.get
win32gui.DeleteObject
self.base_touch.two_finger_swipe
win32gui.GetWindowRect
self._display_info_lock.release
os.path.abspath
v
os.path.isdir
self.t_stream.setDaemon
airtest.aircv.mark_point
pinch_events.extend
shutil.ignore_patterns
line.decode.decode
self.raw_shell
self.filepath.encode
self.UpEvent.super.__init__
kill_event.is_set
self.adb.start_shell.poll
self.get_frames
self.addr.startswith
self.KeypointMatching.super.__init__
airtest.core.android.rotation.XYTransformer.up_2_ori
kill_func
RecordThread
airtest.utils.safesocket.SafeSocket
self.get_ip_address
self.device.install_app
inspect.ismethod
airtest.core.helper.G.BASEDIR.append
os.path.sep.os.path.sep.dirname.strip.replace.replace
numpy.zeros
airtest.core.error.InvalidMatchingMethodError
traceback.print_exc
cv2.xfeatures2d.SIFT_create
property
info.update
threading.Timer
self.__class__
socket.error
subprocess.check_output
self.end
ffmpeg.input
self.doNext
self.backend_queue.get
G.LOGGING.info
list.reverse
MinicapIOS.get_frames
init_device
socket.gethostbyname_ex
org_templ.copy
optparse.OptionParser.print_help
self.set_logfile
png.tostring
airtest.utils.safesocket.SafeSocket.recv_with_timeout
get_platform_dir
psutil.cpu_count
Xlib.display.Display
_cal_sift_confidence
v.match_all_in
matplotlib.pyplot.text
self.app.top_window.wrapper_object
os.path.abspath.encode
wda.usbmux.Device
self.log
self.app_current
repr
profile_recorder.ProfileRecorder
open
self._many_good_pts
sys.exit
ctypes.windll.user32.SendInput
filename.encode.encode
self._search_for_current_package
self.press
get_color_list.append
self.__class__._instances.append
abs
type_register.self.__registers.append
zip
self._get_target_rectangle
self.driver.unlock
airtest.utils.logger.get_logger.debug
win32api.GetSystemMetrics
xml.dom.minidom.parseString
self.WindowsInIDE.super.__init__
re.search.groupdict
path.get_access_flag
self.get_services
threading.Thread.start
self.setup_client
airtest.aircv.template_matching.TemplateMatching
_class.get_methods
event.getcmd
MJpegcap
dict
airtest.cli.parser.get_parser
self.save_screenshot
airtest.cli.parser.runner_parser
IOS.get_ip_address
_target_error_check
self.touch_proxy.swipe
filed.write
pywinauto.win32functions.SetForegroundWindow
self.buf.find
os.listdir
self.keyboard.SendKeys
self._next
self.data.get
cv2.FeatureDetector_create
binfile.abi.STFLIB.os.path.join.replace
self.method_object_dict.get.find_best_result
airtest.aircv.imread
sys.exc_info
Iter
self.driver.app_current
log.get.get
airtest.utils.logger.get_logger
setattr
_handle_one_good_points
self.stop_recording
socket.gethostname
buff.read
good.m.m.queryIdx.kp_sch.pt.np.float32.reshape
TypeError
self.adb.wait_for_device
ScreenProxy
self._touch_point_by_orientation
airtest.utils.nbsp.NonBlockingStreamReader.readline
self._handle_three_good_points
cmd.subprocess.check_output.strip
self.adb.setup_forward
airtest.aircv.crop_image
cpu_compare_dict.update
self.Element.super.click
line.decode.split
fp.read
airtest.core.error.ScreenError
str
cv2.imshow
airtest.cli.runner.run_script
selected.m.m.trainIdx.kp_src.pt.np.float32.reshape
SocketRelay
self.ori_function
getattr
re.match.group
self.get_rect
numpy.float32
airtest.core.helper.G.LOGGING.info
type
format.get
self.home
mask.ravel.tolist
line.startswith.remove
vm.get_classes
profile_recorder.ProfileRecorder.wite_to_json
self.log.append
functools.wraps
_init_sift.detectAndCompute
self.sock.shutdown
p.stdout.readlines
jinja2.FileSystemLoader
method_index.self.method_exec_info.update
six.with_metaclass
self._translate_screen
check_cv_version_is_new
self.m_prefixuriL.append
matplotlib.pyplot.bar
get_author_title_desc
profile_different_methods
self.swipe
airtest.utils.logger.get_logger.info
self.get_each_method_maximun_cpu_mem
self.writer.process_frame
self.axml.getNamespaceUri
_get_confidence_from_matrix
cv2.DescriptorExtractor_create
airtest.core.ios.constant.DEFAULT_IPROXY_PATH.get
self.styleOffsetCount.get_value
self._resize_by_ratio
self.get_keypoints_and_descriptors
self.getprop
cv2.VideoWriter_fourcc
os.path.basename
airtest.core.linux.linux.Linux.DEVICE_LIST.append
callable
line.split
self._resize_image
self.recorder.is_running
ctypes.windll.kernel32.SetErrorMode
self.adb.logcat
self.fps.outfile.self.fps.height.width.format.ffmpeg.input.output.global_args.overwrite_output
cv2.KAZE_create
self.adb.get_package_version
os.pathsep.join
self.method_object_dict.update
unittest.TestSuite
device_list.append
airtest.core.ios.rotation.RotationWatcher
self.buff.end
airtest.utils.safesocket.SafeSocket.connect
SiftResultCheckError
win32ui.CreateBitmap.GetBitmapBits
globals
pid.self._app.connect.kill
self.m_strings.append
_handle_three_good_points
self.ow_callback.append
self.MinicapIOS.super.__init__
ntuple._make
matplotlib.pyplot.subplot
self.mouse.release
good.append
self._load
cv2.resize.astype
airtest.report.report.main
IOS.touch
PlotResult.plot_cpu_mem_keypoints
self._get_selector_obj
self.getPhysicalDisplayInfo
self.rotation_watcher.teardown
os.path.sep.os.path.sep.dirname.strip.replace.replace.strip
self._get
good.m.m.trainIdx.kp_src.pt.np.float32.reshape
cv2.perspectiveTransform.astype
ip2int
self.dis_vector
get_color_list
self.screen_proxy.teardown_stream
self.teardown
touch_impl
line_breaker.encode
self.b.recv
self.driver.send_keys
self.CustomAirtestCase.super.setUp
optparse.OptionParser
airtest.aircv.utils.compress_image
KeyBdInput
self.touch_proxy.touch
cmd.self.raw_shell.rstrip
_get_target_rectangle
_get_key_points
airtest.core.ios.relay.ThreadedTCPServer
self.__swipe_move
ap.get_parger.parse_args.get
max
inst.teardown
VidWriter
os.path.basename.endswith
self.match_keypoints
self._get_confidence_from_matrix
lines.append
airtest.core.android.cap_methods.screen_proxy.ScreenProxy.auto_setup
self.getDisplayOrientation
self._get_key_points
key.upper
self._init_connect
cv2.line
snippet.reg_cleanup
self.adb.get_top_activity
self.buf.write
self.rgb.self.threshold.screen.image.TemplateMatching.find_all_results
self.Linux.super.stop_app
subprocess.call
requests.get
_sub_dir_name
subparsers.add_parser.add_argument
exc_type
self.perform
self.switch_to_window
self.connect
re.compile.search
self.it.send
cv2.imdecode
re.compile.findall
map
win32ui.CreateBitmap.GetHandle
step_data.items
zipf.extractall
self.axml.getAttributeName
sys.path.insert
self.sb.getRaw
cpu_list.append
airtest.utils.snippet.reg_cleanup
airtest.core.android.ime.YosemiteIme
self.safe_send
self._get_subnet_mask_len
self.sock.close
next
self._neo_wda_screenshot
self.recv
self.adb.check_app
intervalfunc
query.match_in
self.iosHandle.get_orientation
vm.get_method_descriptor
field.get_descriptor
ThreadSafeIter
float
pywinauto.application.Application
wlist.append
self.instruct_helper.setup_proxy
_refresh_by_adb
error.FileNotExistError
self._get_ime_list
airtest.aircv.rotate
stringblock.StringBlock
install_options.append
env.get_template.render
self.shell.decode
random.randint
self.YosemiteIme.super.start
argparse.ArgumentParser
self.static_root.replace
self.touch_proxy.teardown
self.screen_method.__class__.__name__.upper
self.driver.app_launch
self.driver.lock
cv2.destroyAllWindows
airtest.utils.snippet.is_exiting
self.touch
self.driver.locked
airtest.core.helper.G.DEVICE.pinch
self.app_current.get
airtest.utils.ffmpeg.ffmpeg_setter.add_paths
numpy.clip
script_path.os.path.basename.replace
cap_method.upper
succeed_compare_dict.update
inspect.getmembers
self.mjpegcap.teardown_stream
airtest.aircv.crop_image.any
self._stopEvent.set
self.__value._replace
open.write
win32ui.CreateDCFromHandle.CreateCompatibleDC
os.access
matplotlib.pyplot.xticks
self.find_best_result
self._translate_desc
NoSiftMatchPointError
mask.ravel
shutil.copytree
self.start_cmd.communicate
inspect.isfunction
f.endswith
re.compile.match
copy.deepcopy
PIL.Image.fromarray
self.method_object_dict.get
plot.PlotResult
_refresh_by_ow
self._imread
self.yosemite_recorder.start_recording
self.record_thread.start
_handle_two_good_points
six.moves.queue.put
self.shell.split
profile_recorder.ProfileRecorder.load_images
self.cpu_axis.append
self.CustomIme.super.__init__
airtest.aircv.get_resolution
airtest.core.helper.G.DEVICE.stop_app
self._find_all_template
self.getPrefix
copy.copy.update
self._setup_stream_server
dev.create_inner_connection.close
self.adb.pull
airtest.utils.transform.TargetPos.getXY
self.driver.alert.accept
ret.update
self.init_detector
utils.check_source_larger_than_search
self.adb.path_app
self.cache_frame.copy
logging.StreamHandler
i.find
self.axml.getName
self.adjust_all_screen
download_file
re.search
self.get_thumbnail
airtest.core.cv.try_log_screen
ImportError
req.iter_content
airtest.core.helper.log_in_func
get_or_fetch_platform_executables_else_raise
super
self.instruct_helper.remove_proxy
logging.warn
six.moves.queue.Queue.put
self._analyse
self.getAttributeValue
os.makedirs
self.remove_forward
ap.get_parger.parse_args
self._analyse.append
cls.get_small_name
self.a.send
self.nbsp.kill
self._fix_image_rect
process_desc
ori_transformer
airtest.core.api.auto_setup
LogToHtml.report
self.do_proxy_usbmux
airtest.utils.compat.raisefrom
Element
self.window_size
field.get_class_name
cv2.cvtColor
self.cmd.replace
numpy.frombuffer
j.get_name
airtest.utils.transform.TargetPos
self.m_styles.append
re.findall.extend
XREF
self.start_cmd
wda.usbmux.Usbmux.get_single_device_udid
self.forward
method
self._cal_confidence
self.method_exec_info.append
airtest.utils.nbsp.NonBlockingStreamReader.kill
self.DownEvent.super.__init__
cls.TOUCH_METHODS.items
plot.PlotResult.plot_cpu_mem_keypoints
InstructHelper.do_proxy_usbmux
six.moves.urllib.parse.urlparse
axmlparser.AXMLParser
func
self.yosemite_ime.text
inspect.isbuiltin
OSError
self.get_relative_log
setup_by_args
self._raise_not_implemented_error
res.pat.match.group.split
subprocess.Popen.communicate
self.m_resourceIDs.append
matplotlib.pyplot.grid
win32ui.CreateBitmap.GetInfo
airtest.core.cv.loop_find
self.script_name.replace
self.driver._session_http.get
min
traceback.format_exception
self.get_blank_screen
lsock.close
self.getShort
self.Maxtouch.super.teardown
self._display_info.get
ctypes.byref
airtest.utils.snippet.kill_proc
wda.usbmux.Usbmux.device_list
testcase_cls
win32api.GetCursorPos
test_and_profile_all_images
threading.Event
magic.open.buffer
requests.get.raise_for_status
G.LOGGER.log
self.timestamp_list.append
self.RecordThread.super.__init__
try_getattr
G.LOGGING.error
MatchResultCheckError
cmds.split
PyDeps commented 1 year ago

Could please help me check this issue? May I pull a request to fix it? Thank you very much.