Searched defs:entity (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInput.java | 29 * onBackup()} implementation. An entity is composed of a descriptive header plus a 32 * The agent must consume every entity in the data stream, otherwise the 49 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once 91 * Extract the next entity header from the restore stream. After this method 93 * be used to inspect the entity that is now available for processing. 95 * @return <code>true</code> when there is an entity ready for consumption from the 117 * Report the key associated with the current entity in the restore stream 118 * @return the current entity's key string 130 * Report the size in bytes of the data associated with the current entity in the 148 * must be read in a single call. Once all of the raw data for the current entity 191 readNextHeader_native(int mBackupReader, EntityHeader entity) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_BackupDataInput.cpp | 50 readNextHeader_native(JNIEnv* env, jobject clazz, int r, jobject entity) argument 76 // TODO: Set the fields in the entity object 78 env->SetObjectField(entity, s_keyField, keyStr); 79 env->SetIntField(entity, s_dataSizeField, dataSize);
|
/frameworks/support/volley/tests/src/com/android/volley/mock/ |
H A D | MockHttpClient.java | 40 public void setResponseData(HttpEntity entity) { argument 42 mResponseEntity = entity;
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 77 * entity-structured. If the implementation here is changed, either this 129 entity_header_v1 entity; member in union:android::BackupDataReader::__anon1010
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 201 private byte[] entityToBytes(HttpEntity entity) throws IOException, ServerError { argument 203 new PoolingByteArrayOutputStream(mPool, (int) entity.getContentLength()); 206 InputStream in = entity.getContent(); 219 entity.consumeContent(); 221 // This can happen if there was an exception above that left the entity in
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClient.java | 28 import org.apache.http.entity.AbstractHttpEntity; 29 import org.apache.http.entity.ByteArrayEntity; 212 * Gets the input stream from a response entity. If the entity is gzipped 215 * @param entity the entity whose content should be read 219 public static InputStream getUngzippedContent(HttpEntity entity) argument 221 InputStream responseStream = entity.getContent(); 223 Header header = entity.getContentEncoding(); 303 AbstractHttpEntity entity; [all...] |
H A D | Connection.java | 463 private boolean keepAlive(HttpEntity entity, argument 472 if (entity != null) { 473 if (entity.getContentLength() < 0) { 474 if (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0)) { 491 void setCanPersist(HttpEntity entity, ProtocolVersion ver, int connType) { argument 492 mCanPersist = keepAlive(entity, ver, connType, mHttpContext);
|
Completed in 123 milliseconds