Searched defs:firstPacket (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp615 bool firstPacket = true; local
640 CHECK(!firstPacket || !lastPacket);
643 (firstPacket ? 0x80 : 0x00)
657 firstPacket = false;
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c45 size_t numPackets; // number of packets to play, defaults to totalPackets - firstPacket
49 size_t firstPacket; // first packet index to be played, defaults to zero variable
273 firstPacket = atoi(&arg[2]);
347 if (firstPacket >= totalPackets) {
348 fprintf(stderr, "-f%zu ignored\n", firstPacket);
349 firstPacket = 0;
352 numPackets = totalPackets - firstPacket;
353 } else if (firstPacket + numPackets > totalPackets) {
355 numPackets = totalPackets - firstPacket;
357 lastPacket = firstPacket
[all...]
/frameworks/base/core/java/android/os/
H A DStrictMode.java1994 public static void onCleartextNetworkDetected(byte[] firstPacket) { argument
1996 if (firstPacket != null) {
1997 if (firstPacket.length >= 20 && (firstPacket[0] & 0xf0) == 0x40) {
2000 System.arraycopy(firstPacket, 16, rawAddr, 0, 4);
2001 } else if (firstPacket.length >= 40 && (firstPacket[0] & 0xf0) == 0x60) {
2004 System.arraycopy(firstPacket, 24, rawAddr, 0, 16);
2016 msg += HexDump.dumpHexString(firstPacket).trim() + " ";
/frameworks/base/core/java/android/app/
H A DActivityThread.java1503 public void notifyCleartextNetwork(byte[] firstPacket) { argument
1505 StrictMode.onCleartextNetworkDetected(firstPacket);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java2443 final byte[] firstPacket = (byte[]) msg.obj;
2450 p.thread.notifyCleartextNetwork(firstPacket);
13362 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { argument
13363 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget();
[all...]

Completed in 774 milliseconds