Move ownerMatch config dump to BpfNetMaps

Information in the dump does not change
....
current ownerMatch configuration: 516 DOZABLE_MATCH OEM_DENY_1_MATCH
....

Bug: 217624062
Test: dumpsys connectivity trafficcontroller, atest BpfNetMapsTest
Change-Id: I5f7b56e4ba03256414f49d0e82d65477fb97f05a
This commit is contained in:
Motomu Utsumi
2022-09-02 19:02:56 +09:00
parent c675d6fc01
commit 372c9b45ee
4 changed files with 50 additions and 12 deletions

View File

@@ -667,16 +667,6 @@ void TrafficController::dump(int fd, bool verbose) {
}
dw.blankline();
uint32_t key = UID_RULES_CONFIGURATION_KEY;
auto configuration = mConfigurationMap.readValue(key);
if (configuration.ok()) {
dw.println("current ownerMatch configuration: %d%s", configuration.value(),
uidMatchTypeToString(configuration.value()).c_str());
} else {
dw.println("mConfigurationMap read ownerMatch configure failed with error: %s",
configuration.error().message().c_str());
}
}
} // namespace net