summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/LinkPropertiesTest.java
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2022-03-16 12:34:41 +0100
committerPatrick Rohr <prohr@google.com>2022-03-22 12:12:48 +0000
commit3879cf1a788e3d205ec22ac60c4cf08e04e42bca (patch)
tree2bae31bbc0d0e8f9608ba5369cd407c270e4e3c7 /tests/common/java/android/net/LinkPropertiesTest.java
parent4e6570c35940251ad794776c07b99fee7cc89d8e (diff)
Fix ethernet enable / disable API
The ethernet APIs connectNetwork() / disconnectNetwork() are inaccurately named. Physical link state cannot be changed by calling an API. This change renames these functions to enableInterface and disableInterface, respectively, to better reflect their intention and behavior. Test: atest EthernetManagerPermissionTest Merged-In: I3361ad0e01e761ffd77faf6c55924fa4612ede90 Change-Id: I3361ad0e01e761ffd77faf6c55924fa4612ede90
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions