Searched refs:packets (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp123 const List<sp<ABuffer> > &packets) {
125 for (List<sp<ABuffer> >::const_iterator it = packets.begin();
126 it != packets.end(); ++it) {
132 for (List<sp<ABuffer> >::const_iterator it = packets.begin();
133 it != packets.end(); ++it) {
139 CopyTimes(accessUnit, *packets.begin());
122 MakeCompoundFromPackets( const List<sp<ABuffer> > &packets) argument
/frameworks/base/core/java/com/android/internal/os/
H A DBatterySipper.java101 long packets = mobileRxPackets+mobileTxPackets;
102 mobilemspp = packets > 0 ? (mobileActive / (double)packets) : 0;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.h31 // Forms the packets of a transport stream given access units.
52 sp<ABuffer> *packets,
H A DTSPacketizer.cpp456 sp<ABuffer> *packets,
465 packets->clear();
533 b) Subsequent PES transport stream packets contain
1009 *packets = buffer;
453 packetize( size_t trackIndex, const sp<ABuffer> &_accessUnit, sp<ABuffer> *packets, uint32_t flags, const uint8_t *PES_private_data, size_t PES_private_data_len, size_t numStuffingBytes) argument
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp316 List<sp<ABuffer> > packets; local
350 packets.push_back(out);
408 packets.push_back(out);
416 packets.push_back(out);
419 while (!packets.empty()) {
420 sp<ABuffer> out = *packets.begin();
421 packets.erase(packets.begin());
425 bool last = packets.empty();
690 ALOGI("lost %.2f %% of packets durin
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.h267 int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg);
275 int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg);
H A DGenericSource.cpp744 sp<AnotherPacketSource> packets,
754 if (packets->hasBufferAvailable(&avail)) {
778 sp<AnotherPacketSource> packets,
788 if (packets->nextBufferTime(&subTimeUs) != OK) {
796 status_t dequeueStatus = packets->dequeueAccessUnit(&buffer);
740 fetchTextData( uint32_t sendWhat, media_track_type type, int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg) argument
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c33 #define PACKETS_PER_BUFFER 20 // Number of MPEG-2 transport stream packets per buffer
43 MPEG2TS_Packet *packets; variable
44 size_t totalPackets; // total number of packets in input file
45 size_t numPackets; // number of packets to play, defaults to totalPackets - firstPacket
172 // compute number of packets to be enqueued in this buffer
207 result = (*caller)->Enqueue(caller, NULL, &packets[curPacket],
307 fprintf(stderr, " -n# Number of packets to enqueue\n");
344 packets = (MPEG2TS_Packet *) ptr;
346 printf("%s has %zu total packets\n", uri, totalPackets);
484 &packets[curPacke
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java3633 pw.print(" (packets received "); pw.print(mobileRxTotalPackets);
3729 pw.print(" (packets received "); pw.print(wifiRxTotalPackets);
3986 sb.append(" packets over "); formatTimeMsNoSpace(sb, bs.mobileActive);
4133 pw.print(" sent (packets "); pw.print(mobileRxPackets);
4143 long packets = mobileRxPackets + mobileTxPackets;
4144 if (packets == 0) {
4145 packets = 1;
4148 sb.append(BatteryStatsHelper.makemAh(uidMobileActiveTime / 1000 / (double)packets));
4160 pw.print(" sent (packets "); pw.print(wifiRxPackets);

Completed in 138 milliseconds