Files
frameworks_base/core/java/android/app
Lorenzo Colitti d15c937f97 Support passing a template to NetworkStatsManager queries.
Currently, NetworkStatsManager queries and callbacks only allow
selecting network traffic based on network identifiers:
networkType, subscriptionId and networkId.  The code ends up
converting these into a template under the hood.

Now that templates can express more fine-grained queries (e.g.,
select only roaming traffic, or select only traffic that's not
on the default network) add a hidden method to pass in a
template. This should have no security implications, as all the
access controls are performed in NetworkStatsService.

Bug: 35142602
Test: android.app.usage.cts.NetworkUsageStatsTest passes
Change-Id: Iab4afa26b34544299d2a9c501c1b0feb470e90a9
Merged-In: Iab4afa26b34544299d2a9c501c1b0feb470e90a9
2018-01-23 18:38:48 +09:00
..
2017-10-03 14:49:15 -07:00
2017-06-28 17:44:00 -07:00
2017-11-17 18:55:53 +00:00
2018-01-12 11:05:50 -08:00
2018-01-12 11:05:50 -08:00
2017-07-12 16:06:20 -07:00
2018-01-12 11:05:50 -08:00
2017-08-15 14:57:09 -04:00