commit | a039e57ead86f5a38f5f0595020542eb8acb5ba3 | [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 | 63fea675c7ce6ba6660745aced436b6986c2fdca [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