Home
last modified time | relevance | path

Searched refs:firstPacket (Results 1 – 8 of 8) 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/base/core/java/android/os/
DStrictMode.java1994 public static void onCleartextNetworkDetected(byte[] firstPacket) { in onCleartextNetworkDetected() argument
1996 if (firstPacket != null) { in onCleartextNetworkDetected()
1997 if (firstPacket.length >= 20 && (firstPacket[0] & 0xf0) == 0x40) { in onCleartextNetworkDetected()
2000 System.arraycopy(firstPacket, 16, rawAddr, 0, 4); in onCleartextNetworkDetected()
2001 } else if (firstPacket.length >= 40 && (firstPacket[0] & 0xf0) == 0x60) { in onCleartextNetworkDetected()
2004 System.arraycopy(firstPacket, 24, rawAddr, 0, 16); in onCleartextNetworkDetected()
2016 msg += HexDump.dumpHexString(firstPacket).trim() + " "; in onCleartextNetworkDetected()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp615 bool firstPacket = true; in sendAVCData() local
640 CHECK(!firstPacket || !lastPacket); in sendAVCData()
643 (firstPacket ? 0x80 : 0x00) in sendAVCData()
657 firstPacket = false; in sendAVCData()
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl125 void notifyCleartextNetwork(in byte[] firstPacket); in notifyCleartextNetwork() argument
DIActivityManager.aidl482 void notifyCleartextNetwork(int uid, in byte[] firstPacket); in notifyCleartextNetwork() argument
DActivityThread.java1503 public void notifyCleartextNetwork(byte[] firstPacket) { in notifyCleartextNetwork() argument
1505 StrictMode.onCleartextNetworkDetected(firstPacket); in notifyCleartextNetwork()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java965 final byte[] firstPacket = HexDump.hexStringToByteArray(cooked[2]); in onEvent()
967 ActivityManager.getService().notifyCleartextNetwork(uid, firstPacket); in onEvent()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2443 final byte[] firstPacket = (byte[]) msg.obj; in handleMessage()
2450 p.thread.notifyCleartextNetwork(firstPacket); in handleMessage()
13362 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { in notifyCleartextNetwork() argument
13363 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget(); in notifyCleartextNetwork()