/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Object.java | 92 ByteBuffer buf = ByteBuffer.allocate(getBerLength()); in encodeBer() local 97 void encodeBer(ByteBuffer buf) { in encodeBer() 120 abstract void encodeBerValue(ByteBuffer buf); in encodeBerValue() 133 void decodeBer(ByteBuffer buf) { in decodeBer() 174 abstract void decodeBerValue(ByteBuffer buf); in decodeBerValue() 180 static byte[] getRemaining(ByteBuffer buf) { in getRemaining()
|
D | Asn1Tag.java | 97 public void writeTagAndLength(ByteBuffer buf, boolean constructed, int valueLength) { in writeTagAndLength() 102 private void writeTag(ByteBuffer buf, boolean constructed) { in writeTag() 113 static Asn1Tag readTag(ByteBuffer buf) { in readTag() 120 static Asn1Tag peekTag(ByteBuffer buf) { in peekTag() 132 static void writeLength(ByteBuffer buf, int valueLength) { in writeLength() 155 public static int readLength(ByteBuffer buf) { in readLength()
|
D | Asn1Null.java | 44 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 47 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1ParameterObject.java | 48 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 52 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1Boolean.java | 46 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 50 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1Choice.java | 134 public void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 157 public void decodeBerValue(ByteBuffer buf) { in decodeBerValue() 182 public void decodeBer(ByteBuffer buf) { in decodeBer()
|
D | Asn1Utf8String.java | 74 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 79 @Override public void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1ObjectIdentifier.java | 56 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 60 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1GeneralString.java | 53 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 57 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1OctetString.java | 70 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 75 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1BitString.java | 73 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 89 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1Enumerated.java | 77 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 81 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1SequenceOf.java | 76 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 82 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
D | Asn1BMPString.java | 54 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue() 58 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | PacketReflector.java | 67 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { in swapBytes() 75 private static void swapAddresses(byte[] buf, int version) { in swapAddresses() 94 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket() 108 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket() 124 private void processIcmpPacket(byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket() 186 private void writePacket(byte[] buf, int len) { in writePacket() 194 private int readPacket(byte[] buf) { in readPacket()
|
/cts/tests/tests/net/jni/ |
D | NativeDnsJni.c | 50 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local 83 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local 119 char buf[NI_MAXHOST]; in Java_android_net_cts_DnsTest_testNativeDns() local 160 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
|
D | NativeMultinetworkJni.cpp | 76 int makeQuery(const char* name, int qtype, uint8_t* buf, size_t buflen) { in makeQuery() 80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() 96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() 125 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local 141 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local 228 uint8_t buf[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() local 283 uint8_t buf[10] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() local 378 char buf[kSockaddrStrLen+1]; in sockaddr_ntop() local
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | PingReflector.java | 63 private void processPacket(byte[] buf, int version, int len, int hdrLen) throws IOException { in processPacket() 90 private void writePacket(byte[] buf) { in writePacket() 98 private int readPacket(byte[] buf) { in readPacket()
|
/cts/tests/tests/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() 57 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers() 80 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local 97 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local 166 uint8_t buf[MAXPACKET] = {}; in TEST() local 225 uint8_t buf[10] = {}; in TEST() local
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0426/ |
D | poc.c | 33 struct stat buf; in main() local
|
/cts/tests/tests/media/libmediandkjni/ |
D | md5_utils.h | 35 UWORD32 buf[4]; member
|
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/ |
D | connector.cpp | 57 char buf[kBufferSize]; in main() local
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | InMemoryDexClassLoaderFactory.java | 45 ByteBuffer buf = ByteBuffer.allocate(zipEntrySize); in instantiateClassLoader() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BroadcastUtils.java | 40 StringBuilder buf = new StringBuilder(); in toBundleString() local
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BroadcastUtils.java | 40 StringBuilder buf = new StringBuilder(); in toBundleString() local
|