/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
HSIconFileElement.java | 23 public HSIconFileElement(Constants.ANQPElementType infoID, ByteBuffer payload) 27 if (payload.remaining() < 4) { 28 throw new ProtocolException("Truncated icon file: " + payload.remaining()); 31 int statusID = payload.get() & BYTE_MASK; 33 mType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); 35 int dataLength = payload.getShort() & SHORT_MASK; 37 payload.get(mIconData);
|
EmergencyNumberElement.java | 15 public EmergencyNumberElement(Constants.ANQPElementType infoID, ByteBuffer payload) 21 while (payload.hasRemaining()) { 22 mNumbers.add(Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8));
|
GenericStringElement.java | 13 public GenericStringElement(Constants.ANQPElementType infoID, ByteBuffer payload) throws ProtocolException { 15 mText = Constants.getString(payload, payload.remaining(), StandardCharsets.UTF_8);
|
HSFriendlyNameElement.java | 17 public HSFriendlyNameElement(Constants.ANQPElementType infoID, ByteBuffer payload) 23 while (payload.hasRemaining()) { 24 mNames.add(new I18Name(payload));
|
HSCapabilityListElement.java | 15 public HSCapabilityListElement(Constants.ANQPElementType infoID, ByteBuffer payload) 19 mCapabilities = new Constants.ANQPElementType[payload.remaining()]; 22 while (payload.hasRemaining()) { 23 int capID = payload.get() & Constants.BYTE_MASK;
|
HSOsuProvidersElement.java | 19 public HSOsuProvidersElement(Constants.ANQPElementType infoID, ByteBuffer payload) 23 mSSID = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8); 24 int providerCount = payload.get() & Constants.BYTE_MASK; 29 mProviders.add(new OSUProvider(payload));
|
IPAddressTypeAvailabilityElement.java | 20 public IPAddressTypeAvailabilityElement(Constants.ANQPElementType infoID, ByteBuffer payload) 24 if (payload.remaining() != 1) 26 payload.remaining()); 28 int ipField = payload.get();
|
/frameworks/base/core/java/com/android/internal/widget/ |
VerifyCredentialResponse.java | 51 byte[] payload = new byte[size]; 52 source.readByteArray(payload); 53 response.setPayload(payload); 72 public VerifyCredentialResponse(byte[] payload) { 73 mPayload = payload; 83 private VerifyCredentialResponse(int responseCode, int timeout, byte[] payload) { 86 mPayload = payload; 123 private void setPayload(byte[] payload) { 124 mPayload = payload;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/mock/ |
mock_rtp_payload_strategy.h | 24 bool(const RtpUtility::Payload& payload, 29 void(RtpUtility::Payload* payload, const uint32_t rate)); 31 int(const RtpUtility::Payload& payload)); 34 RtpUtility::Payload*(const char payloadName[RTP_PAYLOAD_NAME_SIZE],
|
/frameworks/opt/net/voip/src/jni/rtp/ |
G711Codec.cpp | 41 int encode(void *payload, int16_t *samples); 42 int decode(int16_t *samples, int count, void *payload, int length); 47 int UlawCodec::encode(void *payload, int16_t *samples) 49 int8_t *ulaws = (int8_t *)payload; 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) 69 int8_t *ulaws = (int8_t *)payload; 92 int encode(void *payload, int16_t *samples); 93 int decode(int16_t *samples, int count, void *payload, int length); 98 int AlawCodec::encode(void *payload, int16_t *samples) 100 int8_t *alaws = (int8_t *)payload; [all...] |
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
WebSocketGeneratorD06.java | 78 int payload=length; local 79 if (payload+space>_buffer.capacity()) 83 payload=_buffer.capacity()-space; 101 if (payload>0xffff) 110 (byte)((payload>>24)&0xff), 111 (byte)((payload>>16)&0xff), 112 (byte)((payload>>8)&0xff), 113 (byte)(payload&0xff)}); 115 else if (payload >=0x7e) 120 (byte)(payload>>8) [all...] |
/external/android-clat/ |
dump.h | 24 const uint8_t *payload, size_t payload_size); 26 const uint8_t *payload, size_t payload_size, 32 const uint8_t *payload, size_t payload_size); 34 const uint8_t *payload, size_t payload_size,
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue163/ |
LinearScalaTralingTest.java | 30 Map<String, String> payload = (Map<String, String>) yaml.load(data); local 31 assertEquals("This is line 1\nThis is line 2\n", payload.get("testnode")); 39 Map<String, String> payload = (Map<String, String>) yaml.load(data); local 41 payload.get("testnode"));
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
HSOsuProvidersElement.java | 19 public HSOsuProvidersElement(Constants.ANQPElementType infoID, ByteBuffer payload) 23 mSSID = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8); 24 int providerCount = payload.get() & Constants.BYTE_MASK; 29 mProviders.add(new OSUProvider(mSSID, payload));
|
/frameworks/base/tools/aapt/tests/ |
MockFileFinder.h | 39 const KeyedVector<String8,time_t>* payload(&mFiles.valueFor(basePath)); 42 for (size_t i = 0; i < payload->size(); ++i) { 43 fileStore.add(payload->keyAt(i),payload->valueAt(i));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccIoResult.java | 28 public byte[] payload; field in class:IccIoResult 30 public IccIoResult(int sw1, int sw2, byte[] payload) { 33 this.payload = payload;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
ListUpdateCallback.java | 54 void onChanged(int position, int count, Object payload);
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcWifiProtectedSetup.java | 77 // malformed payload 102 ByteBuffer payload = ByteBuffer.wrap(record.getPayload()); local 103 while (payload.hasRemaining()) { 104 short fieldId = payload.getShort(); 105 short fieldSize = payload.getShort(); 107 return parseCredential(payload, fieldSize); 115 private static WifiConfiguration parseCredential(ByteBuffer payload, short size) { 116 int startPosition = payload.position(); 118 while (payload.position() < startPosition + size) { 119 short fieldId = payload.getShort() [all...] |
/system/core/trusty/gatekeeper/ |
gatekeeper_ipc.h | 32 * @cmd: the command, one of ENROLL, VERIFY. Payload must be a serialized 34 * @payload: start of the serialized command specific payload 38 uint8_t payload[0]; member in struct:gatekeeper_message
|
/art/runtime/entrypoints/quick/ |
quick_fillarray_entrypoints.cc | 32 const Instruction::ArrayDataPayload* payload = local 34 bool success = FillArrayData(array, payload);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonTreeAdaptor.cs | 52 public override object Create( IToken payload ) 54 return new CommonTree( payload ); 60 * token DECL, but you need to create it as a payload or whatever for 65 * If you care what the token payload objects' type is, you should 77 * token DECL, but you need to create it as a payload or whatever for 88 * If you care what the token payload objects' type is, you should
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/ |
protobufwireadapter.h | 90 // Sends a message with the given type and payload. The payload should be 94 const std::string& payload); 103 void ParseConfigurationMessage(const std::string& payload); 106 void ParseConfigurationAckMessage(const std::string& payload); 109 void ParseOptionsMessage(const std::string& payload); 112 void ParsePairingRequestMessage(const std::string& payload); 115 void ParsePairingRequestAckMessage(const std::string& payload); 118 void ParseSecretMessage(const std::string& payload); 121 void ParseSecretAckMessage(const std::string& payload); [all...] |
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
WebSocket.java | 24 /** The format of a message payload. */ 33 * Stream a message payload to the server of the specified {code type}. 43 * Send a message payload to the server of the specified {@code type}. 47 void sendMessage(WebSocket.PayloadType type, Buffer payload) throws IOException; 50 * Send a ping to the server with optional payload. 54 void sendPing(Buffer payload) throws IOException;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
psfb.h | 21 // PSFB: Payload-specific feedback message. 38 void ParseCommonFeedback(const uint8_t* payload); 39 void CreateCommonFeedback(uint8_t* payload) const;
|
rtpfb.h | 38 void ParseCommonFeedback(const uint8_t* payload); 39 void CreateCommonFeedback(uint8_t* payload) const;
|