/packages/apps/IM/src/com/android/im/imps/ |
D | WbxmlPrimitiveSerializer.java | 51 String[] atts = null; in writeElement() local 54 atts = new String[attrMap.size() * 2]; in writeElement() 57 atts[index++] = entry.getKey(); in writeElement() 58 atts[index++] = entry.getValue(); in writeElement() 62 mWbxmlSerializer.startElement(name, atts); in writeElement()
|
D | WbxmlParser.java | 36 private AttributesImpl atts; field in WbxmlParser 39 atts = new AttributesImpl(); in WbxmlParser() 61 atts.names = null; in reset() 62 atts.values = null; in reset() 85 atts.names = attrNames; in startElement() 86 atts.values = attrValues; in startElement() 88 mContentHandler.startElement("", name, name, atts); in startElement()
|
D | WbxmlSerializer.java | 70 public void startElement(String name, String[] atts) throws IOException, in startElement() argument 73 nativeStartElement(mNativeHandle, name, atts); in startElement() 115 native void nativeStartElement(int nativeHandle, String name, String[] atts) in nativeStartElement() argument
|
/packages/apps/IM/libwbxml/src/ |
D | imps_encoder.cpp | 59 EncoderError ImpsWbxmlEncoder::startElement(const char *name, const char **atts) in startElement() argument 83 if (atts && atts[0]) { in startElement() 93 for (size_t i = 0; atts[i]; i += 2) { in startElement() 94 EncoderError err = encodeAttrib(atts[i], atts[i + 1]); in startElement()
|
D | xml2wbxml.cpp | 83 void Xml2WbxmlEncoder::startElement(const char *name, const char **atts) in startElement() argument 90 for (int i = 0; atts[i]; i += 2) { in startElement() 92 if (strcmp(atts[i], "xmlns") == 0) { in startElement() 93 if (detectPublicIdByXmlns(atts[i + 1])) in startElement() 111 setError(mEncoder->startElement(name, atts)); in startElement()
|
D | wbxml_jni.cpp | 111 void startElement(const char * name, const vector<Attribute> & atts) in startElement() argument 123 int count = atts.size(); in startElement() 130 jstring attrName = env->NewStringUTF(atts[i].name.c_str()); in startElement() 131 jstring attrValue = env->NewStringUTF(atts[i].value.c_str()); in startElement() 407 jstring name, jobjectArray atts) in encoderStartElement() argument 413 int count = atts ? env->GetArrayLength(atts) : 0; in encoderStartElement() 416 if (atts != NULL) { in encoderStartElement() 418 jstring str = (jstring)env->GetObjectArrayElement(atts, i); in encoderStartElement() 456 jstring str = (jstring)env->GetObjectArrayElement(atts, i); in encoderStartElement()
|
D | expat_parser.cpp | 39 void ExpatParser::startElementWrapper(void *userData, const char *name, const char **atts) in startElementWrapper() argument 43 self->mHandler->startElement(name, atts); in startElementWrapper()
|
/packages/apps/IM/libwbxml/test/ |
D | imps_encoder_test.cpp | 490 const char * atts[] = {NULL}; in testImpsEncoderSmokeTest() local 491 ASSERT_EQUAL_INT(NO_ERROR, encoder.startElement("WV-CSP-Message", atts)); in testImpsEncoderSmokeTest() 502 const char * atts[] = {NULL}; in testImpsEncoderReset() local 503 ASSERT_EQUAL_INT(NO_ERROR, encoder.startElement("WV-CSP-Message", atts)); in testImpsEncoderReset() 511 ASSERT_EQUAL_INT(NO_ERROR, encoder.startElement("WV-CSP-Message", atts)); in testImpsEncoderReset() 512 ASSERT_EQUAL_INT(NO_ERROR, encoder.startElement("Session", atts)); in testImpsEncoderReset() 524 const char * atts[] = {NULL}; in testImpsStringContentData() local 525 ASSERT_EQUAL_INT(NO_ERROR, encoder.startElement("ContentData", atts)); in testImpsStringContentData() 537 const char * atts[] = {NULL}; in testImpsOpaqueContentData() local 538 ASSERT_EQUAL_INT(NO_ERROR, encoder.startElement("ContentData", atts)); in testImpsOpaqueContentData() [all …]
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
D | EmailSyncAdapter.java | 111 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in addData() local 117 attachmentsParser(atts, msg); in addData() 168 if (atts.size() > 0) { in addData() 169 msg.mAttachments = atts; in addData() 232 private void attachmentsParser(ArrayList<Attachment> atts, Message msg) throws IOException { in attachmentsParser() argument 237 attachmentParser(atts, msg); in attachmentsParser() 245 private void attachmentParser(ArrayList<Attachment> atts, Message msg) throws IOException { in attachmentParser() argument 277 atts.add(att); in attachmentParser()
|
/packages/apps/IM/libwbxml/include/ |
D | xml_handler.h | 26 virtual void startElement(const char *name, const char **atts) = 0;
|
D | expat_parser.h | 40 static void startElementWrapper(void *userData, const char *name, const char **atts);
|
D | imps_encoder.h | 38 EncoderError startElement(const char *name, const char **atts);
|
D | xml2wbxml.h | 36 void startElement(const char *name, const char **atts);
|
D | wbxml_encoder.h | 57 virtual EncoderError startElement(const char *name, const char **atts) = 0;
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 363 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in testMessageSave() local 365 atts.add(ProviderTestUtils.setupAttachment( in testMessageSave() 369 message3.mAttachments = atts; in testMessageSave() 392 ProviderTestUtils.assertAttachmentEqual("save-message3", atts.get(i), actual); in testMessageSave() 402 atts = new ArrayList<Attachment>(); in testMessageSave() 404 atts.add(ProviderTestUtils.setupAttachment( in testMessageSave() 408 message4.mAttachments = atts; in testMessageSave() 432 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), actual); in testMessageSave() 445 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), attachments[i]); in testMessageSave() 999 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in testCascadeMessageDelete() local [all …]
|