commit | a75c5a64375630929178ce933d552cc6a1257db7 | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Mon Sep 04 10:51:09 2023 +0800 |
committer | Junyu Lai <junyulai@google.com> | Mon Nov 13 13:21:38 2023 +0800 |
tree | f3d9eb8ec9630e8dcb461af90b3b5ea6fa5a171f | |
parent | d1bb87bd40bf9a5b4215a6837868f70fea9785db [diff] |
[BR03.2] Implement NetworkStack is-uid-networking-blocked shell command This is needed to test CM#isUidNetworkingBlocked API from CTS. Because CTS does not have enough permission to access bpf maps. This change also uses framework-connectivity.stubs.module_lib instead of framework-connectivity to use not-yet-released connectivity APIs. Test: adb shell cmd network_stack is-uid-networking-blocked <uid> <metered> Bug: 297836825 Change-Id: Ie01ab68be79d2b98fc1b037dd0971368cdb247cb