/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
H A D | IkeMessage.java | 672 byte[] firstPacket = inputPacket; in decode() 693 firstPacket = DecodeResultPartial.firstFragBytes; in decode() 705 new IkeMessage(header, supportedPayloadList), firstPacket); in decode() 709 new InvalidSyntaxException("Malformed IKE Payload", e), firstPacket); in decode() 711 return new DecodeResultProtectedError(e, firstPacket); in decode() 848 public final byte[] firstPacket; field in IkeMessage.DecodeResultOk 850 public DecodeResultOk(IkeMessage ikeMessage, byte[] firstPacket) { in DecodeResultOk() argument 853 this.firstPacket = firstPacket; in DecodeResultOk() 954 public final byte[] firstPacket; field in IkeMessage.DecodeResultProtectedError 956 public DecodeResultProtectedError(IkeException ikeException, byte[] firstPacket) { in DecodeResultProtectedError() argument [all …]
|
/aosp12/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 49 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 …]
|
/aosp12/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 1101 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()
|
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
H A D | IkeMessageTest.java | 285 DecodeResult decodeResult, byte[] firstPacket) throws Exception { in verifyDecodeResultOkAndGetMessage() argument 290 assertArrayEquals(firstPacket, resultOk.firstPacket); in verifyDecodeResultOkAndGetMessage() 296 DecodeResult decodeResult, int decodeStatus, byte[] firstPacket) throws Exception { in verifyDecodeResultErrorAndGetIkeException() argument 723 assertArrayEquals(mIkeFragPacketOne, resultOk.firstPacket); in testRcvLastArrivedFrag()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | StrictMode.java | 2221 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()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.aidl | 140 void notifyCleartextNetwork(in byte[] firstPacket); in notifyCleartextNetwork() argument
|
H A D | IActivityManager.aidl | 486 void notifyCleartextNetwork(int uid, in byte[] firstPacket); in notifyCleartextNetwork() argument
|
H A D | ActivityThread.java | 1771 public void notifyCleartextNetwork(byte[] firstPacket) { in notifyCleartextNetwork() argument 1773 StrictMode.onCleartextNetworkDetected(firstPacket); in notifyCleartextNetwork()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
H A D | IkeSessionStateMachine.java | 1975 ikeSaRecord.updateLastReceivedReqFirstPacket(resultOk.firstPacket); in handleReceivedIkePacket() 2028 ikeSaRecord.updateLastReceivedReqFirstPacket(resultError.firstPacket); in handleReceivedIkePacket()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1742 final byte[] firstPacket = (byte[]) msg.obj; in handleMessage() 1751 thread.notifyCleartextNetwork(firstPacket); in handleMessage() 6366 public void notifyCleartextNetwork(int uid, byte[] firstPacket) { in notifyCleartextNetwork() argument 6367 mHandler.obtainMessage(NOTIFY_CLEARTEXT_NETWORK_MSG, uid, 0, firstPacket).sendToTarget(); in notifyCleartextNetwork()
|