Searched refs:firstPacket (Results 1 - 10 of 10) sorted by relevance

/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.java1763 public static void onCleartextNetworkDetected(byte[] firstPacket) { argument
1765 if (firstPacket != null) {
1766 if (firstPacket.length >= 20 && (firstPacket[0] & 0xf0) == 0x40) {
1769 System.arraycopy(firstPacket, 16, rawAddr, 0, 4);
1770 } else if (firstPacket.length >= 40 && (firstPacket[0] & 0xf0) == 0x60) {
1773 System.arraycopy(firstPacket, 24, rawAddr, 0, 16);
1788 onVmPolicyViolation(HexDump.dumpHexString(firstPacket).trim(), new Throwable(msg),
/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/base/core/java/android/app/
H A DIApplicationThread.java150 void notifyCleartextNetwork(byte[] firstPacket) throws RemoteException; argument
H A DApplicationThreadNative.java691 final byte[] firstPacket = data.createByteArray();
692 notifyCleartextNetwork(firstPacket);
1400 public void notifyCleartextNetwork(byte[] firstPacket) throws RemoteException { argument
1403 data.writeByteArray(firstPacket);
H A DIActivityManager.java501 public void notifyCleartextNetwork(int uid, byte[] firstPacket) throws RemoteException; argument
H A DActivityManagerNative.java2514 final byte[] firstPacket = data.createByteArray();
2515 notifyCleartextNetwork(uid, firstPacket);
5864 public void notifyCleartextNetwork(int uid, byte[] firstPacket) throws RemoteException { argument
5869 data.writeByteArray(firstPacket);
H A DActivityThread.java1220 public void notifyCleartextNetwork(byte[] firstPacket) { argument
1222 StrictMode.onCleartextNetworkDetected(firstPacket);
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java906 final byte[] firstPacket = HexDump.hexStringToByteArray(cooked[2]);
908 ActivityManagerNative.getDefault().notifyCleartextNetwork(uid, firstPacket);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java1911 final byte[] firstPacket = (byte[]) msg.obj;
1918 p.thread.notifyCleartextNetwork(firstPacket);
10340 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { argument
10341 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget();

Completed in 229 milliseconds