/frameworks/base/sax/java/android/sax/ |
H A D | EndTextElementListener.java | 25 * Invoked at the end of a text element with the body of the element. 27 * @param body of the element 29 void end(String body); argument
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 142 * Allows the <code>OperationImpl</code> thread to add body data to the 144 * @param body the data to add to the stream 145 * @param start the start of the body to array to copy 147 public synchronized void writeBytes(byte[] body, int start) { argument 149 int length = (body.length - start) + (mData.length - mIndex); 153 System.arraycopy(body, start, temp, mData.length - mIndex, body.length - start);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListWithMailMessages.java | 77 public MailMessage(String subject, String body) { argument 78 this(subject, body, false); 82 public MailMessage(String subject, String body, boolean focusable) { argument 84 mBody = body; 100 public void setBody(String body) { argument 101 this.mBody = body; 138 WebView body = (WebView) messageUi.findViewById(R.id.body); 139 body.loadData(message.getBody(), mimeType, null); 140 // body [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPResponse.java | 31 int body = -1; 43 if (body < 0) { 47 body = n + 1; 48 statusCode = parseHeader(input, body, mHeaders); 49 expected = calculateLength(body, mHeaders); 63 mBody = ByteBuffer.wrap(input, body, expected - body); 66 private static int parseHeader(byte[] input, int body, Map<String, String> headers) argument 68 String headerText = new String(input, 0, body - BODY_SEPARATOR_LENGTH, 101 private static int calculateLength(int body, Ma argument [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | MultimediaMessagePdu.java | 27 * The body. 42 * @param body the body of this PDU 44 public MultimediaMessagePdu(PduHeaders header, PduBody body) { argument 46 mMessageBody = body; 59 * Get body of the PDU. 61 * @return the body 68 * Set body of the PDU. 70 * @param body the body 72 setBody(PduBody body) argument [all...] |
H A D | RetrieveConf.java | 49 * Constructor with given headers and body 52 * @param body Body of this PDu. 54 RetrieveConf(PduHeaders headers, PduBody body) { argument 55 super(headers, body);
|
H A D | SendReq.java | 82 * Constructor with given headers and body 85 * @param body Body of this PDu. 87 SendReq(PduHeaders headers, PduBody body) { argument 88 super(headers, body);
|
H A D | PduPersister.java | 605 PduBody body = new PduBody(); 608 // load multiparts and put them into the body of the PDU. 615 body.addPart(parts[i]); 631 pdu = new RetrieveConf(headers, body); 634 pdu = new SendReq(headers, body); 1148 * @param body New message body of the PDU. 1152 public void updateParts(Uri uri, PduBody body, HashMap<Uri, InputStream> preOpenedFiles) argument 1168 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); 1179 int partsNum = body [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 75 public void end(String body) { argument 76 this.bodies += body; 133 public void end(String body) { 219 public void end(String body) { 220 video.videoId = body; 226 public void end(String body) { 229 video.dateAdded.parse3339(body); 236 public void end(String body) { 237 video.authorName = body; 275 public void end(String body) { [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsCbMessage.java | 129 /** Message body, as a String. */ 145 SmsCbLocation location, int serviceCategory, String language, String body, 153 mBody = body; 287 * Get the body of this message, or null if no body available 368 + mServiceCategory + ", language=" + mLanguage + ", body=" + mBody 144 SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, SmsCbLocation location, int serviceCategory, String language, String body, int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) argument
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMapBmessage.java | 149 public BluetoothMapBmessage setBodyContent(String body) { argument 150 mMessage = body;
|
H A D | BluetoothMasRequest.java | 128 protected void executePut(ClientSession session, byte[] body) throws IOException { argument 131 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); 137 out.write(body);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecMessageBuilder.java | 35 * @param body body of message. It includes opcode. 38 static HdmiCecMessage of(int src, int dest, byte[] body) { argument 39 byte opcode = body[0]; 40 byte params[] = Arrays.copyOfRange(body, 1, body.length);
|
H A D | HdmiCecController.java | 230 byte[] body = new byte[params.length + 1]; 231 body[0] = (byte) opcode; 232 System.arraycopy(params, 0, body, 1, params.length); 233 return body; 495 // <Polling Message> is a message which has empty body. 597 byte[] body = buildBody(cecMessage.getOpcode(), cecMessage.getParams()); 602 cecMessage.getDestination(), body); 628 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { argument 630 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); 674 int dstAddress, byte[] body); 673 nativeSendCecCommand(long controllerPtr, int srcAddress, int dstAddress, byte[] body) argument [all...] |
/frameworks/native/include/input/ |
H A D | InputTransport.h | 55 // We don't need this field in order to align the body below but we 124 } __attribute__((aligned(8))) body; member in struct:android::InputMessage 371 eventTime = msg->body.motion.eventTime; 373 for (uint32_t i = 0; i < msg->body.motion.pointerCount; i++) { 374 uint32_t id = msg->body.motion.pointers[i].properties.id; 377 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsCbTest.java | 136 * @param body message body 145 int language, int encoding, String body, int cmasCategory, int responseType, 150 if (body != null) { 152 encodeBody(encoding, body, true, cmasBos); 189 * @param body the message body 193 int priority, int language, int encoding, String body) throws Exception { 198 encodeBody(encoding, body, false, bos); 204 * Append the message length, encoding, and body t 144 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument 192 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument 213 encodeBody(int encoding, String body, boolean isCmasRecord, BitwiseOutputStream bos) argument 401 doTestCmasBroadcast(int serviceCategory, int messageClass, String body) argument [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | NBLog.h | 185 static void appendInt(String8 *body, const void *data); 186 static void appendFloat(String8 *body, const void *data); 187 static void appendPID(String8 *body, const void *data, size_t length); 188 static void appendTimestamp(String8 *body, const void *data); 377 void dumpLine(const String8& timestamp, String8& body); 381 String8 *body); 383 virtual size_t handleAuthor(const FormatEntry &fmtEntry, String8 *body) { return 0; } argument 438 // handle author entry by looking up the author's name and appending it to the body 440 size_t handleAuthor(const FormatEntry &fmtEntry, String8 *body);
|
/frameworks/av/media/libnbaio/include/ |
H A D | NBLog.h | 185 static void appendInt(String8 *body, const void *data); 186 static void appendFloat(String8 *body, const void *data); 187 static void appendPID(String8 *body, const void *data, size_t length); 188 static void appendTimestamp(String8 *body, const void *data); 377 void dumpLine(const String8& timestamp, String8& body); 381 String8 *body); 383 virtual size_t handleAuthor(const FormatEntry &fmtEntry, String8 *body) { return 0; } argument 438 // handle author entry by looking up the author's name and appending it to the body 440 size_t handleAuthor(const FormatEntry &fmtEntry, String8 *body);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | Cat.java | 150 // body color 155 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail, 358 public Drawable body; field in class:Cat.CatParts 381 body = context.getDrawable(R.drawable.body); 426 body, belly,
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_hdmi_HdmiCecController.cpp | 145 jbyteArray body = env->NewByteArray(message.body.size()); local 146 const jbyte* bodyPtr = reinterpret_cast<const jbyte *>(message.body.data()); 147 env->SetByteArrayRegion(body, 0, message.body.size(), bodyPtr); 150 dstAddr, body); 151 env->DeleteLocalRef(body); 361 jint srcAddr, jint dstAddr, jbyteArray body) { 366 jsize len = env->GetArrayLength(body); 367 ScopedByteArrayRO bodyPtr(env, body); 360 nativeSendCecCommand(JNIEnv* env, jclass clazz, jlong controllerPtr, jint srcAddr, jint dstAddr, jbyteArray body) argument [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 714 String8 timestamp, body; local 717 body.appendFormat("warning: lost %zu bytes worth of events", lost); 719 // log to push it out. Consider keeping the timestamp/body between calls to readAt(). 720 dumpLine(timestamp, body); 737 body.appendFormat("%.*s", (int) entry.length(), entry.data()); 772 dumpLine(timestamp, body); 791 appendInt(&body, entry.data()); 794 appendFloat(&body, entry.data()); 797 appendPID(&body, entry.data(), entry.length()); 802 entry = handleFormat(FormatEntry(entry), ×tamp, &body); 832 dumpLine(const String8 ×tamp, String8 &body) argument 847 appendTimestamp(String8 *body, const void *data) argument 854 appendInt(String8 *body, const void *data) argument 859 appendFloat(String8 *body, const void *data) argument 865 appendPID(String8 *body, const void* data, size_t length) argument 871 handleFormat(const FormatEntry &fmtEntry, String8 *timestamp, String8 *body) argument 1033 handleAuthor(const NBLog::FormatEntry &fmtEntry, String8 *body) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 593 AString body = local 603 request.append(AStringPrintf("Content-Length: %d\r\n", body.size())); 605 request.append(body); 625 AString body; local 628 body.append("wfd_video_formats: "); 638 body.append(chosenVideoFormat.getFormatSpec(true /* forM4Message */)); 639 body.append("\r\n"); 643 body.append( 650 body.append( 655 body 684 AString body = "wfd_trigger_method: "; local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 254 * Helper to build a response from the MockWebServer with no body. 269 * @param body The body to return in this response 272 protected MockResponse buildResponse(int status, byte[] body) { argument 273 return buildResponse(status).setBody(body); 280 * @param bodyFile The body to return in this response 285 final byte[] body = Streams.readFully(new FileInputStream(bodyFile)); 286 return buildResponse(status).setBody(body); 923 * @param body The body t 925 doStandardEnqueue(byte[] body) argument 929 enqueueDownloadRequest(byte[] body, int location) argument 940 doStandardEnqueue(File body) argument 944 enqueueDownloadRequest(File body, int location) argument [all...] |
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 1102 LauncherApps launcherApps, Runnable body) throws InterruptedException { 1107 body.run(); 1118 LauncherApps launcherApps, Runnable body) { 1120 return assertForLauncherCallback(launcherApps, body); 1101 assertForLauncherCallback( LauncherApps launcherApps, Runnable body) argument 1117 assertForLauncherCallbackNoThrow( LauncherApps launcherApps, Runnable body) argument
|
/frameworks/compile/slang/ |
H A D | slang_rs_object_ref_count.cpp | 1017 for (clang::Stmt* S1 : mCS->body()) { function 1029 for (clang::Stmt* S1 : mCS->body()) { 1466 // local variables for parameters, visits only the old function body here.
|