lamda 3.135__tar.gz → 3.138__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {lamda-3.135 → lamda-3.138}/PKG-INFO +1 -1
- {lamda-3.135 → lamda-3.138}/README.md +6 -0
- {lamda-3.135 → lamda-3.138}/lamda/__init__.py +1 -1
- {lamda-3.135 → lamda-3.138}/lamda/client.py +8 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/services.proto +1 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/uiautomator.proto +6 -0
- {lamda-3.135 → lamda-3.138}/lamda.egg-info/PKG-INFO +1 -1
- {lamda-3.135 → lamda-3.138}/lamda.egg-info/requires.txt +3 -3
- {lamda-3.135 → lamda-3.138}/setup.py +3 -3
- {lamda-3.135 → lamda-3.138}/lamda/bcast.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/const.py +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/exceptions.py +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/any.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/api.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/compiler/plugin.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/descriptor.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/duration.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/empty.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/field_mask.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/source_context.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/struct.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/timestamp.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/type.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/google/protobuf/wrappers.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/application.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/debug.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/file.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/policy.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/proxy.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/settings.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/shell.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/status.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/types.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/util.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/rpc/wifi.proto +0 -0
- {lamda-3.135 → lamda-3.138}/lamda/types.py +0 -0
- {lamda-3.135 → lamda-3.138}/lamda.egg-info/SOURCES.txt +0 -0
- {lamda-3.135 → lamda-3.138}/lamda.egg-info/dependency_links.txt +0 -0
- {lamda-3.135 → lamda-3.138}/lamda.egg-info/not-zip-safe +0 -0
- {lamda-3.135 → lamda-3.138}/lamda.egg-info/top_level.txt +0 -0
- {lamda-3.135 → lamda-3.138}/setup.cfg +0 -0
@@ -693,6 +693,12 @@ class UiAutomatorStub(BaseServiceStub):
|
|
693
693
|
获取此 watcher 是否启用
|
694
694
|
"""
|
695
695
|
return self.watchers.get(name, {}).get("enable")
|
696
|
+
def get_last_toast(self):
|
697
|
+
"""
|
698
|
+
获取系统中最后一个 toast 消息
|
699
|
+
"""
|
700
|
+
r = self.stub.getLastToast(protos.Empty())
|
701
|
+
return r
|
696
702
|
def remove_watcher(self, name):
|
697
703
|
"""
|
698
704
|
移除一个 watcher
|
@@ -1758,6 +1764,8 @@ class Device(object):
|
|
1758
1764
|
return self.stub("UiAutomator").dump_window_hierarchy()
|
1759
1765
|
def wait_for_idle(self, timeout):
|
1760
1766
|
return self.stub("UiAutomator").wait_for_idle(timeout)
|
1767
|
+
def get_last_toast(self):
|
1768
|
+
return self.stub("UiAutomator").get_last_toast()
|
1761
1769
|
# watcher
|
1762
1770
|
def remove_all_watchers(self):
|
1763
1771
|
return self.stub("UiAutomator").remove_all_watchers()
|
@@ -148,6 +148,7 @@ service UiAutomator {
|
|
148
148
|
rpc selectorLongClick(SelectorClickRequest) returns (Boolean) {}
|
149
149
|
|
150
150
|
rpc selectorExists(SelectorOnlyRequest) returns (Boolean) {}
|
151
|
+
rpc getLastToast(google.protobuf.Empty) returns (ToastInfo) {}
|
151
152
|
|
152
153
|
rpc selectorObjInfo(SelectorOnlyRequest) returns (ObjInfo) {}
|
153
154
|
rpc selectorObjInfoOfAllInstances(SelectorOnlyRequest) returns (ObjInfoList) {}
|
@@ -20,9 +20,9 @@ setuptools.setup(
|
|
20
20
|
],
|
21
21
|
},
|
22
22
|
install_requires= [
|
23
|
-
"grpcio-tools>=1.35.0
|
24
|
-
"grpc-interceptor>=0.13.0,<0.
|
25
|
-
"grpcio>=1.35.0
|
23
|
+
"grpcio-tools>=1.35.0,<1.49.0",
|
24
|
+
"grpc-interceptor>=0.13.0,<0.15.0",
|
25
|
+
"grpcio>=1.35.0,<1.49.0",
|
26
26
|
"asn1crypto>=1.0.0,<2",
|
27
27
|
],
|
28
28
|
classifiers = [
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|