Home
last modified time | relevance | path

Searched refs:STATS_PER_UID (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java20 import static android.net.NetworkStats.STATS_PER_UID;
272 entry.uid = (how == STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java39 import static android.net.NetworkStats.STATS_PER_UID;
730 when(mNetManager.getNetworkStatsTethering(STATS_PER_UID)) in testDetailedUidStats_Filtered()
1126 when(mNetManager.getNetworkStatsTethering(STATS_PER_UID)).thenReturn(tetherStats); in expectNetworkStatsUidDetail()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java21 import static android.net.NetworkStats.STATS_PER_UID;
448 NetworkStats perUidStats = provider.getTetherStats(STATS_PER_UID); in testGetForwardedStats()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java37 import static android.net.NetworkStats.STATS_PER_UID;
1608 final NetworkStats tetherSnapshot = getNetworkStatsTethering(STATS_PER_UID); in getNetworkStatsUidDetail()
1617 final NetworkStats vtStats = telephonyManager.getVtDataUsage(STATS_PER_UID); in getNetworkStatsUidDetail()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java38 import static android.net.NetworkStats.STATS_PER_UID;
1886 if (how != STATS_PER_UID) { in getTetherStats()
/frameworks/base/core/java/android/net/
DNetworkStats.java99 public static final int STATS_PER_UID = 1; field in NetworkStats