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.cpp1101 bool firstPacket = true; in sendHEVCData() local
1157 CHECK(!firstPacket || !lastPacket); in sendHEVCData()
1167 (firstPacket ? 0x80 : 0x00) in sendHEVCData()
1182 firstPacket = false; in sendHEVCData()
1288 bool firstPacket = true; in sendAVCData() local
1341 CHECK(!firstPacket || !lastPacket); in sendAVCData()
1351 (firstPacket ? 0x80 : 0x00) in sendAVCData()
1366 firstPacket = false; in sendAVCData()
/frameworks/base/core/java/android/os/
DStrictMode.java2221 public static void onCleartextNetworkDetected(byte[] firstPacket) { in onCleartextNetworkDetected() argument
2223 if (firstPacket != null) { in onCleartextNetworkDetected()
2224 if (firstPacket.length >= 20 && (firstPacket[0] & 0xf0) == 0x40) { in onCleartextNetworkDetected()
2227 System.arraycopy(firstPacket, 16, rawAddr, 0, 4); in onCleartextNetworkDetected()
2228 } else if (firstPacket.length >= 40 && (firstPacket[0] & 0xf0) == 0x60) { in onCleartextNetworkDetected()
2231 System.arraycopy(firstPacket, 24, rawAddr, 0, 16); in onCleartextNetworkDetected()
2244 msg.append(HexDump.dumpHexString(firstPacket).trim()).append(' '); in onCleartextNetworkDetected()
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl140 void notifyCleartextNetwork(in byte[] firstPacket); in notifyCleartextNetwork() argument
DIActivityManager.aidl483 void notifyCleartextNetwork(int uid, in byte[] firstPacket); in notifyCleartextNetwork() argument
DActivityThread.java1762 public void notifyCleartextNetwork(byte[] firstPacket) { in notifyCleartextNetwork() argument
1764 StrictMode.onCleartextNetworkDetected(firstPacket); in notifyCleartextNetwork()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1730 final byte[] firstPacket = (byte[]) msg.obj; in handleMessage()
1739 thread.notifyCleartextNetwork(firstPacket); in handleMessage()
6338 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { in notifyCleartextNetwork() argument
6339 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget(); in notifyCleartextNetwork()