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.java1808 public static void onCleartextNetworkDetected(byte[] firstPacket) { argument
1810 if (firstPacket != null) {
1811 if (firstPacket.length >= 20 && (firstPacket[0] & 0xf0) == 0x40) {
1814 System.arraycopy(firstPacket, 16, rawAddr, 0, 4);
1815 } else if (firstPacket.length >= 40 && (firstPacket[0] & 0xf0) == 0x60) {
1818 System.arraycopy(firstPacket, 24, rawAddr, 0, 16);
1833 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 DApplicationThreadNative.java708 final byte[] firstPacket = data.createByteArray();
709 notifyCleartextNetwork(firstPacket);
1475 public void notifyCleartextNetwork(byte[] firstPacket) throws RemoteException { argument
1478 data.writeByteArray(firstPacket);
H A DIApplicationThread.java158 void notifyCleartextNetwork(byte[] firstPacket) throws RemoteException; argument
H A DIActivityManager.java594 public void notifyCleartextNetwork(int uid, byte[] firstPacket) throws RemoteException; argument
H A DActivityManagerNative.java2754 final byte[] firstPacket = data.createByteArray();
2755 notifyCleartextNetwork(uid, firstPacket);
6680 public void notifyCleartextNetwork(int uid, byte[] firstPacket) throws RemoteException { argument
6685 data.writeByteArray(firstPacket);
H A DActivityThread.java1288 public void notifyCleartextNetwork(byte[] firstPacket) { argument
1290 StrictMode.onCleartextNetworkDetected(firstPacket);
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java958 final byte[] firstPacket = HexDump.hexStringToByteArray(cooked[2]);
960 ActivityManagerNative.getDefault().notifyCleartextNetwork(uid, firstPacket);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java2152 final byte[] firstPacket = (byte[]) msg.obj;
2159 p.thread.notifyCleartextNetwork(firstPacket);
11643 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { argument
11644 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget();

Completed in 257 milliseconds