Home
last modified time | relevance | path

Searched refs:firstPacket (Results 1 – 7 of 7) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dxaplay.c49 size_t firstPacket; // first packet index to be played, defaults to zero variable
273 firstPacket = atoi(&arg[2]); in main()
347 if (firstPacket >= totalPackets) { in main()
348 fprintf(stderr, "-f%zu ignored\n", firstPacket); in main()
349 firstPacket = 0; in main()
352 numPackets = totalPackets - firstPacket; in main()
353 } else if (firstPacket + numPackets > totalPackets) { in main()
355 numPackets = totalPackets - firstPacket; in main()
357 lastPacket = firstPacket + numPackets; in main()
358 if (discPacket != 0 && (discPacket < firstPacket || discPacket >= lastPacket)) { in main()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp617 bool firstPacket = true; in sendAVCData() local
642 CHECK(!firstPacket || !lastPacket); in sendAVCData()
645 (firstPacket ? 0x80 : 0x00) in sendAVCData()
659 firstPacket = false; in sendAVCData()
/frameworks/base/core/java/android/os/
DStrictMode.java2095 public static void onCleartextNetworkDetected(byte[] firstPacket) { in onCleartextNetworkDetected() argument
2097 if (firstPacket != null) { in onCleartextNetworkDetected()
2098 if (firstPacket.length >= 20 && (firstPacket[0] & 0xf0) == 0x40) { in onCleartextNetworkDetected()
2101 System.arraycopy(firstPacket, 16, rawAddr, 0, 4); in onCleartextNetworkDetected()
2102 } else if (firstPacket.length >= 40 && (firstPacket[0] & 0xf0) == 0x60) { in onCleartextNetworkDetected()
2105 System.arraycopy(firstPacket, 24, rawAddr, 0, 16); in onCleartextNetworkDetected()
2117 msg += HexDump.dumpHexString(firstPacket).trim() + " "; in onCleartextNetworkDetected()
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl133 void notifyCleartextNetwork(in byte[] firstPacket); in notifyCleartextNetwork() argument
DIActivityManager.aidl465 void notifyCleartextNetwork(int uid, in byte[] firstPacket); in notifyCleartextNetwork() argument
DActivityThread.java1643 public void notifyCleartextNetwork(byte[] firstPacket) { in notifyCleartextNetwork() argument
1645 StrictMode.onCleartextNetworkDetected(firstPacket); in notifyCleartextNetwork()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1781 final byte[] firstPacket = (byte[]) msg.obj; in handleMessage()
1788 p.thread.notifyCleartextNetwork(firstPacket); in handleMessage()
7936 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { in notifyCleartextNetwork() argument
7937 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget(); in notifyCleartextNetwork()