1
0
Fork 0
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:
Valverde Antonio 2014-06-27 16:21:42 +09:00
parent 9a31fbbfca
commit 6f7fdffe3d
9 changed files with 81 additions and 1 deletions

Binary file not shown.

View file

@ -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 {