Home
last modified time | relevance | path

Searched refs:totalPackets (Results 1 – 2 of 2) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dxaplay.c44 size_t totalPackets; // total number of packets in input file variable
345 totalPackets = filelen / MPEG2TS_PACKET_SIZE; in main()
346 printf("%s has %zu total packets\n", uri, totalPackets); in main()
347 if (firstPacket >= totalPackets) { in main()
352 numPackets = totalPackets - firstPacket; in main()
353 } else if (firstPacket + numPackets > totalPackets) { in main()
355 numPackets = totalPackets - firstPacket; in main()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11117 long totalPackets = totalRxPackets + totalTxPackets; in updateMobileRadioState() local
11118 if (totalPackets > 0) { in updateMobileRadioState()
11129 final long appRadioTime = (radioTime * appPackets) / totalPackets; in updateMobileRadioState()
11135 totalPackets -= appPackets; in updateMobileRadioState()