commit | 9fa3509a51a7d4684aa53f0ddf52c993d36bc242 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Tue Sep 24 13:32:13 2019 +0200 |
committer | Valentin Iftime <valiiftime@google.com> | Tue Oct 08 13:03:30 2019 +0200 |
tree | 3b8e5b27cca52bb1918505a90aaefebebee0d18d | |
parent | 71203fcf6f68458a57509f744fb0a546f6b81f5e [diff] |
API to detect which network interfaces support wake-on-lan Add a new method in LinkProperties, isWakeOnLanEnabled() which returns true if network interface is defined in config_wakeonlan_enabled_interfaces string-array (config.xml) Bug: 132705025 Test: atest LinkPropertiesTest & atest ConnectivityServiceTest Change-Id: I3f7803aafd2f8eaf8aa18419b21339e15d4b7a0b