diff options
| author | Hungming Chen <nuccachen@google.com> | 2022-02-09 14:22:36 +0800 |
|---|---|---|
| committer | Nucca Chen <nuccachen@google.com> | 2022-02-09 10:45:37 +0000 |
| commit | 887a22cc4a3bf0372908d5b1b06980953ad803c2 (patch) | |
| tree | 0f8a9f4831225d99e8e21c1b5b8fea4c143acb99 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 446c376434adf919830a2cce12969449eaa2312d (diff) | |
Move Tether4Key and Tether4Value to common libs
EthernetTetheringTest needs to parse BPF map content for IPv4
forwarding rule tests. Move the struct class files to common
libs.
Compare Tether4{Key, Value}.java between frameworks/libs/net/common
and packages/modules/Connectivity/Tethering.
There is only the package name change as expected.
$ diff packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/Tether4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Key.java
17c17
< package com.android.networkstack.tethering;
---
> package com.android.net.module.util.bpf;
$ diff packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/Tether4Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Value.java
17c17
< package com.android.networkstack.tethering;
---
> package com.android.net.module.util.bpf;
Test: atest TetheringCoverageTests
Change-Id: I73c180fa4129aefde1e64ecbafe928f388b061d6
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
