commit | b7dd7a3f4b7e268b389f5d38fe97d0db8ac5cdf4 | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Fri Sep 03 14:43:17 2021 +0800 |
committer | paulhu <paulhu@google.com> | Tue Sep 07 09:25:31 2021 +0800 |
tree | 1b1c11b90983e6cc78a14390439153ea26af738c | |
parent | 1d4ec79020c9f401b26d9944f6d840cecb352340 [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