mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 14:25:17 +02:00
Implement set Wifi on/off.
This commit is contained in:
BIN
vendor/STFService/STFService.apk
vendored
BIN
vendor/STFService/STFService.apk
vendored
Binary file not shown.
9
vendor/STFService/wire.proto
vendored
9
vendor/STFService/wire.proto
vendored
@@ -17,6 +17,7 @@ enum MessageType {
|
||||
SET_RINGER_MODE = 21;
|
||||
SET_ROTATION = 12;
|
||||
SET_WAKE_LOCK = 11;
|
||||
SET_WIFI_ENABLED = 22;
|
||||
EVENT_AIRPLANE_MODE = 13;
|
||||
EVENT_BATTERY = 14;
|
||||
EVENT_CONNECTIVITY = 15;
|
||||
@@ -195,6 +196,14 @@ message SetRingerModeResponse {
|
||||
required bool success = 1;
|
||||
}
|
||||
|
||||
message SetWifiEnabledRequest {
|
||||
required bool enabled = 1;
|
||||
}
|
||||
|
||||
message SetWifiEnabledResponse {
|
||||
required bool success = 1;
|
||||
}
|
||||
|
||||
// Agent
|
||||
|
||||
enum KeyEvent {
|
||||
|
||||
Reference in New Issue
Block a user