Support read iface stats detail

The networkStatsFactory need to parse the detail traffic stats of each
interface instead of the total number. This change added a helper
function to return a vector of stats_line contain stats for each iface.

Bug: 72111305
Test: ./libbpf_test
Change-Id: I9a9cda7ab90cf533c2f2cc81b37b4d520d442ce2
Merged-In: I9a9cda7ab90cf533c2f2cc81b37b4d520d442ce2
(cherry picked from aosp commit f4b812d9dc603d329217becb9e5568b8159b49b3)
3 files changed