/frameworks/base/core/java/android/net/http/ |
Request.java | 27 import org.apache.http.entity.InputStreamEntity; 127 // it is ok to have null entity for BasicHttpEntityEnclosingRequest. 265 HttpEntity entity = null; local 269 entity = httpClientConnection.receiveResponseEntity(header); 276 if (entity != null) { 277 InputStream is = entity.getContent(); 280 Header contentEncoding = entity.getContentEncoding(); 352 mConnection.setCanPersist(entity, statusLine.getProtocolVersion(), 463 * Decide whether a response comes with an entity. 466 * indicate responses with an entity [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
DocumentBuilderImpl.java | 235 * Found an entity reference. If an entity resolver is 237 * add an entity reference node. 239 String entity = parser.getName(); local 245 String resolved = resolvePredefinedOrCharacterEntity(entity); 249 node.appendChild(document.createEntityReference(entity)); 392 * Returns the replacement text or null if {@code entity} isn't predefined.
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasOutboxSync.java | 33 import org.apache.http.entity.InputStreamEntity; 126 final HttpEntity entity; local 128 entity = new SendMailEntity(mFileStream, fileLength, mModeTag, mMessage, 131 entity = new InputStreamEntity(mFileStream, fileLength); 134 return entity;
|
EasSyncContacts.java | 8 import android.content.Entity; 734 final Entity entity = ei.next(); local 736 final ContentValues entityValues = entity.getEntityValues(); [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasServerConnection.java | 50 import org.apache.http.entity.ByteArrayEntity; 279 * @param entity The {@link HttpEntity} for this request. 284 public HttpPost makePost(final String uri, final HttpEntity entity, final String contentType, 291 // If there is no entity, we should not be setting a content-type since this will 293 if (contentType != null && entity != null) { 316 post.setEntity(entity); 334 * @param entity The {@link HttpEntity} containing the payload of the message. 339 protected EasResponse sendHttpClientPost(String cmd, final HttpEntity entity, 359 // If entity is null (e.g. for attachments), don't set this header 363 } else if (entity != null) 387 final ByteArrayEntity entity; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_xml_etree.py | 998 <!ENTITY % user-entities SYSTEM 'user-entities.xml'> 1001 <document>&entity;</document> 1004 def entity(): function 1006 Test entity handling. 1016 >>> ET.XML("<document>&entity;</document>") 1018 ParseError: undefined entity: line 1, column 10 1022 ParseError: undefined entity &entity;: line 5, column 10 1024 3) custom entity 1027 >>> parser.entity["entity"] = "text [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_xml_etree.py | 998 <!ENTITY % user-entities SYSTEM 'user-entities.xml'> 1001 <document>&entity;</document> 1004 def entity(): function 1006 Test entity handling. 1016 >>> ET.XML("<document>&entity;</document>") 1018 ParseError: undefined entity: line 1, column 10 1022 ParseError: undefined entity &entity;: line 5, column 10 1024 3) custom entity 1027 >>> parser.entity["entity"] = "text [all...] |
/packages/apps/Exchange/src/com/android/exchange/ |
EasSyncService.java | 24 import android.content.Entity; 89 import org.apache.http.entity.ByteArrayEntity; 90 import org.apache.http.entity.StringEntity; 1013 Entity entity = new Entity(entityValues); local [all...] |
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
TestWebServer.java | 18 import org.apache.http.entity.ByteArrayEntity; 448 * Create a string entity for the given content. 451 ByteArrayEntity entity = new ByteArrayEntity(data); local 452 entity.setContentType("text/html"); 453 return entity;
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
HTMLScanner.java | 453 // The whole entity reference has been collected 455 h.entity(theOutputBuffer, 1, theSize - 1);
|
Parser.java | 155 "http://xml.org/sax/features/use-entity-resolver2"; 251 entity inclusions, and the start and end of the DTD (and 552 // Expand entity references in attribute values selectively. 576 // valid entity char 605 public void entity(char[] buff, int offset, int length) throws SAXException { method in class:Parser 614 // System.err.println("%% Entity at " + offset + " " + length); 615 // System.err.println("%% Got entity [" + new String(buff, offset, length) + "]"); [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntityDelta.java | 25 import android.content.Entity; 27 import android.content.Entity.NamedContentValues; 44 * Contains an {@link Entity} and records any modifications separately so the 45 * original {@link Entity} can be swapped out with a newer version and the 49 * empty {@link Entity}, which then becomes an insert {@link RawContacts} case. 51 * When applying modifications over an {@link Entity}, we try finding the 53 * rows are missing from the new {@link Entity}, we know the original data must 63 * Direct values from {@link Entity#getEntityValues()}. 68 * Internal map of children values from {@link Entity#getSubValues()}, which 81 * Build an {@link EntityDelta} using the given {@link Entity} as 85 final EntityDelta entity = new EntityDelta(); local [all...] |
/prebuilts/tools/common/m2/internal/jdom/jdom/1.0/ |
jdom-1.0.jar | |
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | 31 import android.content.Entity; 484 * Class that represents a Calendar Entity. There is one entry per calendar. 502 * Creates an entity iterator for the given cursor. It assumes the 519 public Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException { 573 // Create the Entity from the ContentValue 574 Entity entity = new Entity(cv); local 579 // Return the created Entity 580 return entity; 1431 Entity entity = new Entity(cv); local [all...] |
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 31 import org.apache.http.entity.ByteArrayEntity; 32 import org.apache.http.entity.FileEntity; 33 import org.apache.http.entity.InputStreamEntity; 34 import org.apache.http.entity.StringEntity; 559 ByteArrayEntity entity = new ByteArrayEntity(new byte[length]); local 560 entity.setContentType(mimeType); 562 response.setEntity(entity); 588 InputStreamEntity entity = new InputStreamEntity(in, in.available()); local 594 entity.setContentType(mimeType); 595 response.setEntity(entity); 682 StringEntity entity = new StringEntity("CACHE MANIFEST"); local 745 StringEntity entity = new StringEntity(content); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/ |
XMLDocumentParser.cpp | 622 // external entity and the resulting document could simply read the 1315 static xmlEntity entity; local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/ |
tinyxml.h | 322 // If an entity has been found, transform it into a character. 400 struct Entity 412 static Entity entity[ NUM_ENTITY ]; member in class:TiXmlBase [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.h | 322 // If an entity has been found, transform it into a character. 400 struct Entity 412 static Entity entity[ NUM_ENTITY ]; member in class:TiXmlBase [all...] |
/external/tinyxml/ |
tinyxml.h | 275 // If an entity has been found, transform it into a character. 359 struct Entity 371 static Entity entity[ NUM_ENTITY ]; member in class:TiXmlBase [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ContactsSyncParser.java | 10 import android.content.Entity; 11 import android.content.Entity.NamedContentValues; 91 public void addData(String serverId, ContactOperations ops, Entity entity) 115 if (entity == null) { 149 ops.addPhone(entity, Phone.TYPE_MMS, getValue()); 152 ops.addPhone(entity, Phone.TYPE_FAX_WORK, getValue()); 155 ops.addPhone(entity, Phone.TYPE_COMPANY_MAIN, getValue()); 158 ops.addPhone(entity, Phone.TYPE_FAX_HOME, getValue()); 165 ops.addPhone(entity, Phone.TYPE_MOBILE, getValue()) 464 Entity entity = null; local [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
parser.h | 39 * Each entity parsed is associated an xmlParserInput (except the 73 const xmlChar *encoding; /* the encoding string for entity */ 74 const xmlChar *version; /* the version string for entity */ 75 int standalone; /* Was that entity marked standalone */ 76 int id; /* an unique identifier for the entity */ 124 XML_PARSER_ENTITY_DECL, /* within an entity declaration */ 125 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */ 217 int external; /* are we parsing an external entity */ 249 int depth; /* to prevent entity substitution loops */ 250 xmlParserInputPtr entity; /* used to check entities boundaries * member in struct:_xmlParserCtxt [all...] |
/external/libxml2/include/libxml/ |
parser.h | 39 * Each entity parsed is associated an xmlParserInput (except the 73 const xmlChar *encoding; /* the encoding string for entity */ 74 const xmlChar *version; /* the version string for entity */ 75 int standalone; /* Was that entity marked standalone */ 76 int id; /* an unique identifier for the entity */ 124 XML_PARSER_ENTITY_DECL, /* within an entity declaration */ 125 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */ 217 int external; /* are we parsing an external entity */ 249 int depth; /* to prevent entity substitution loops */ 250 xmlParserInputPtr entity; /* used to check entities boundaries * member in struct:_xmlParserCtxt [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 1314 RawContactDelta entity = mState.get(i); local [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 23 import android.content.Entity; 24 import android.content.Entity.NamedContentValues; 2039 Entity entity = eventIterator.next(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageHeaderView.java | 1461 String entity = sb.toString(); local [all...] |