mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Implement set Wifi on/off.
This commit is contained in:
parent
9a31fbbfca
commit
6f7fdffe3d
9 changed files with 81 additions and 1 deletions
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue