Searched refs:statsValue (Results 1 – 3 of 3) sorted by relevance
249 TetherStatsValue statsValue = null; in tetherOffloadSetInterfaceQuota() local252 statsValue = mBpfStatsMap.getValue(new TetherStatsKey(ifIndex)); in tetherOffloadSetInterfaceQuota()260 if (statsValue != null) { in tetherOffloadSetInterfaceQuota()262 rxBytes = statsValue.rxBytes; in tetherOffloadSetInterfaceQuota()263 txBytes = statsValue.txBytes; in tetherOffloadSetInterfaceQuota()312 TetherStatsValue statsValue = null; in tetherOffloadGetAndClearStats() local314 statsValue = mBpfStatsMap.getValue(new TetherStatsKey(ifIndex)); in tetherOffloadGetAndClearStats()320 if (statsValue == null) { in tetherOffloadGetAndClearStats()339 return statsValue; in tetherOffloadGetAndClearStats()
278 final TetherStatsValue statsValue = stats.getValue(); in runUdp4Test() local279 assertEquals(RX_UDP_PACKET_COUNT, statsValue.rxPackets); in runUdp4Test()280 assertEquals(RX_UDP_PACKET_COUNT * RX_UDP_PACKET_SIZE, statsValue.rxBytes); in runUdp4Test()281 assertEquals(0, statsValue.rxErrors); in runUdp4Test()282 assertEquals(TX_UDP_PACKET_COUNT, statsValue.txPackets); in runUdp4Test()283 assertEquals(TX_UDP_PACKET_COUNT * TX_UDP_PACKET_SIZE, statsValue.txBytes); in runUdp4Test()284 assertEquals(0, statsValue.txErrors); in runUdp4Test()
2122 final TetherStatsValue statsValue = in maybeClearLimit() local2124 if (statsValue == null) { in maybeClearLimit()2130 tetherStatsList.put(upstreamIfindex, statsValue); in maybeClearLimit()