summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorpaulhu <paulhu@google.com>2021-09-03 14:43:17 +0800
committerpaulhu <paulhu@google.com>2021-09-07 09:25:31 +0800
commitb7dd7a3f4b7e268b389f5d38fe97d0db8ac5cdf4 (patch)
tree1b1c11b90983e6cc78a14390439153ea26af738c /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent1d4ec79020c9f401b26d9944f6d840cecb352340 (diff)
Use common code
- Some code are used many times, it's better to make them as common code for reducing inconsist behavior. - Also stop using Boolean to represent network permissions and replace them with int value. Because using Boolean for permission comparison is really complicated and bizarre. - Use PERMISSION_* for netd network permission directly. Bug: 189705071 Test: atests FrameworksNetTests Change-Id: I2a4e298b9a01f4b2874ae68e9d9539a0ab4aff4c
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions