Searched defs:entity (Results 1 - 5 of 5) 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 | 55 readNextHeader_native(JNIEnv* env, jobject clazz, int r, jobject entity) argument 81 // TODO: Set the fields in the entity object 83 env->SetObjectField(entity, s_keyField, keyStr); 84 env->SetIntField(entity, s_dataSizeField, dataSize);
|
/frameworks/base/include/utils/ |
H A D | BackupHelpers.h | 121 entity_header_v1 entity; member in union:android::BackupDataReader::__anon118
|
/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; 203 * Gets the input stream from a response entity. If the entity is gzipped 206 * @param entity the entity whose content should be read 210 public static InputStream getUngzippedContent(HttpEntity entity) argument 212 InputStream responseStream = entity.getContent(); 214 Header header = entity.getContentEncoding(); 294 AbstractHttpEntity entity; [all...] |
H A D | Connection.java | 464 private boolean keepAlive(HttpEntity entity, argument 473 if (entity != null) { 474 if (entity.getContentLength() < 0) { 475 if (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0)) { 492 void setCanPersist(HttpEntity entity, ProtocolVersion ver, int connType) { argument 493 mCanPersist = keepAlive(entity, ver, connType, mHttpContext);
|
Completed in 258 milliseconds