Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/net/voip/src/jni/rtp/
DG711Codec.cpp41 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) in encode() argument
49 int8_t *ulaws = (int8_t *)payload; in encode()
67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() argument
69 int8_t *ulaws = (int8_t *)payload; in decode()
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) in encode() argument
100 int8_t *alaws = (int8_t *)payload; in encode()
[all …]
DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
55 int decode(int16_t *samples, int count, void *payload, int length);
100 int AmrCodec::encode(void *payload, int16_t *samples) in encode() argument
102 unsigned char *bytes = (unsigned char *)payload; in encode()
131 int AmrCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() argument
133 unsigned char *bytes = (unsigned char *)payload; in decode()
215 int encode(void *payload, int16_t *samples);
216 int decode(int16_t *samples, int count, void *payload, int length);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) in encode() argument
226 unsigned char *bytes = (unsigned char *)payload; in encode()
[all …]
DGsmCodec.cpp46 int encode(void *payload, int16_t *samples);
47 int decode(int16_t *samples, int count, void *payload, int length);
54 int GsmCodec::encode(void *payload, int16_t *samples) in encode() argument
56 gsm_encode(mEncode, samples, (unsigned char *)payload); in encode()
60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() argument
62 unsigned char *bytes = (unsigned char *)payload; in decode()
DAudioCodec.h31 virtual int encode(void *payload, int16_t *samples) = 0;
33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccIoResult.java28 public byte[] payload; field in IccIoResult
30 public IccIoResult(int sw1, int sw2, byte[] payload) { in IccIoResult() argument
33 this.payload = payload; in IccIoResult()
DIccFileHandler.java364 data = result.payload; in handleMessage()
391 data = result.payload; in handleMessage()
427 data = result.payload; in handleMessage()
461 sendResult(response, result.payload, null); in handleMessage()
463 lc.results.add(result.payload); in handleMessage()
490 sendResult(response, result.payload, null); in handleMessage()
DUiccCarrierPrivilegeRules.java381 response.payload != null && response.payload.length > 0) { in handleMessage()
383 … mRules += IccUtils.bytesToHexString(response.payload).toUpperCase(Locale.US); in handleMessage()
398 String errorMsg = "Invalid response: payload=" + response.payload + in handleMessage()
/frameworks/base/tools/aapt/tests/
DMockFileFinder.h39 const KeyedVector<String8,time_t>* payload(&mFiles.valueFor(basePath)); in findFiles()
42 for (size_t i = 0; i < payload->size(); ++i) { in findFiles()
43 fileStore.add(payload->keyAt(i),payload->valueAt(i)); in findFiles()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java556 public NdefRecord(short tnf, byte[] type, byte[] id, byte[] payload) { in NdefRecord() argument
560 if (payload == null) payload = EMPTY_BYTE_ARRAY; in NdefRecord()
562 String message = validateTnf(tnf, type, id, payload); in NdefRecord()
570 mPayload = payload; in NdefRecord()
790 byte[] payload = null; in parse()
837 payload = (payloadLength > 0 ? new byte[(int)payloadLength] : EMPTY_BYTE_ARRAY); in parse()
838 buffer.get(payload); in parse()
847 chunks.add(payload); in parse()
856 payload = new byte[(int)payloadLength]; in parse()
859 System.arraycopy(p, 0, payload, i, p.length); in parse()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java601 uData.payload = gcr.data; in encode7bitEms()
602 uData.payload[0] = (byte)udhData.length; in encode7bitEms()
603 System.arraycopy(udhData, 0, uData.payload, 1, udhData.length); in encode7bitEms()
609 byte[] payload = encodeUtf16(uData.payloadStr); in encode16bitEms()
612 int payloadCodeUnits = payload.length / 2; in encode16bitEms()
616 uData.payload = new byte[uData.numFields * 2]; in encode16bitEms()
617 uData.payload[0] = (byte)udhData.length; in encode16bitEms()
618 System.arraycopy(udhData, 0, uData.payload, 1, udhData.length); in encode16bitEms()
619 System.arraycopy(payload, 0, uData.payload, udhBytes, payload.length); in encode16bitEms()
667 if (uData.payload == null) { in encodeUserDataPayload()
[all …]
DUserData.java147 public byte[] payload; field in UserData
159 builder.append(", payload='" + HexDump.toHexString(payload) + "'"); in toString()
/frameworks/base/docs/html/google/gcm/
Dindex.jd33 up to 4kb of payload data (so apps like instant messaging can consume the message directly).
44 <h4>Send messages with payload</h4>
45 <p>Unlike a send-to-sync message, every "message with payload" (non-collapsible message)
46 is delivered. The payload the message contains can be up to 4kb.
47 <a href="{@docRoot}google/gcm/adv.html#payload">Learn more &raquo;</a></p>
Dserver.jd16 <li><a href="#payload">Payload</a></li>
202 payload".</li>
214 <h4 id="payload">Payload</h4>
215 <p>Optional. If you are including a payload in the message, you use the <code>data</code>
216 parameter to include the payload. This applies for both HTTP and XMPP.</p>
229 <li>It has a payload limit of 4096 bytes.</li>
238 payload&quot; (non-collapsible message).</p>
260 <h3 id="payload">Messages with payload</h3>
262 <p>Unlike a send-to-sync message, every &quot;message with payload&quot;
263 (non-collapsible message) is delivered. The payload the message contains can be
[all …]
Dccs.jd147 <em>JSON payload</em>
151 <p>The JSON payload for regular GCM messages is similar to
449 {@code &quot;message_status&quot;} is not a field but rather part of the data payload.</li>
609 … Map&lt;String, String&gt; payload = (Map&lt;String, String&gt;) jsonObject.get(&quot;data&quot;);
610 payload.put(&quot;ECHO&quot;, &quot;Application: &quot; + category);
613 String echo = createJsonMessage(from, nextMessageId(), payload,
668 * &#64;param payload Message content intended for the application. (Optional).
675 Map&lt;String, String&gt; payload, String collapseKey, Long timeToLive,
689 message.put(&quot;data&quot;, payload);
803 Map&lt;String, String&gt; payload = new HashMap&lt;String, String&gt;();
[all …]
Dserver-ref.jd61 <p>The following table lists the targets, options, and payload for HTTP or XMPP JSON messages.</p>
63 …<strong>Table 1.</strong> Targets, options, and payload for downstream HTTP or XMPP message (JSON)…
179 <td><p>This parameter specifies the key-value pairs of the message's payload. There is
193 <p>The following table lists the syntax for targets, options, and payload in plain
197 …<strong>Table 2.</strong> Targets, options, and payload for downstream plain text HTTP messages.</…
248 <td><p>This parameter specifies the key-value pairs of the message's payload.
482 <td>This parameter specifies the key-value pairs of the message's payload.</td>
690 <td>Check that the total size of the payload data included in a message does
699 <td>Check that the payload data does not contain a key (such as {@code from} or any value
701 are also used by GCM but are allowed in the payload, in which case the payload value
/frameworks/base/docs/html-intl/intl/zh-cn/google/play/billing/
Dbilling_best_practices.jd16 <li><a href="#payload">设置开发者有效内容字符串</a></li>
67 <h3 id="payload">在提交购买请求时设置开发者有效内容字符串</h3>
/frameworks/base/docs/html/training/activity-testing/
Dactivity-unit-testing.jd43 {@link android.content.Intent} object's payload data is accurate.</p>
92 correct payload data.</li>
119 final String payload =
121 assertEquals("Payload is empty", LaunchActivity.STRING_PAYLOAD, payload);
/frameworks/base/docs/html/google/play/billing/
Dbilling_best_practices.jd16 <li><a href="#payload">Set the Developer Payload String</a></li>
92 <h3 id="payload">Set the developer payload string when making purchase requests</h3>
93 <p>With the In-app Billing Version 3 API, you can include a 'developer payload' string token when s…
95 <p>When you get back the response from Google Play, make sure to verify that the developer payload
/frameworks/base/libs/hwui/renderthread/
DRenderTask.h79 void* payload() { return mData; } in payload() function
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dnfc.jd86 <li>Parsing the NFC tag and figuring out the MIME type or a URI that identifies the data payload
88 <li>Encapsulating the MIME type or URI and the payload into an intent. These first two
141 <dt><strong>Variable length payload</strong></dt>
142 <dd>The actual data payload that you want to read or write. An NDEF
143 message can contain multiple NDEF records, so don't assume the full payload is in the first NDEF
150 android.nfc.NfcAdapter#ACTION_NDEF_DISCOVERED} intent along with the actual payload. However, there
154 android.nfc.Tag} object that has information about the tag's technologies and the payload are
167 such as the payload. On the other hand, if it encounters a record of type {@link
231 <td>URI based on parsing the payload.</td>
237 <td>URI based on payload.</td>
[all …]
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags104 206001 snet (payload|3)
106 206003 exp_det_snet (payload|3)
/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java424 protected void addTlv(ByteBuffer buf, byte type, byte[] payload) { in addTlv() argument
425 if (payload != null) { in addTlv()
427 buf.put((byte) payload.length); in addTlv()
428 buf.put(payload); in addTlv()
/frameworks/native/cmds/servicemanager/
Dbinder.c306 struct binder_handle_cookie payload; in binder_link_to_death() member
310 data.payload.handle = target; in binder_link_to_death()
311 data.payload.cookie = (uintptr_t) death; in binder_link_to_death()
/frameworks/rs/scriptc/
Drs_core.rsh69 * A message ID is required. Data payload is optional.
80 * A message ID is required. Data payload is optional.
/frameworks/base/docs/html/training/wearables/data-layer/
Ddata-items.jd24 to do your own object serialization and deserialization. The size of the payload is limited
39 <code>setData()</code></a> to set the payload.

12