Searched defs:entity (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java31 * onBackup()} implementation. An entity is composed of a descriptive header plus a
34 * The agent must consume every entity in the data stream, otherwise the
51 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once
95 * Extract the next entity header from the restore stream. After this method
97 * be used to inspect the entity that is now available for processing.
99 * @return <code>true</code> when there is an entity ready for consumption from the
121 * Report the key associated with the current entity in the restore stream
122 * @return the current entity's key string
134 * Report the size in bytes of the data associated with the current entity in the
152 * must be read in a single call. Once all of the raw data for the current entity
195 readNextHeader_native(long mBackupReader, EntityHeader entity) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp52 readNextHeader_native(JNIEnv* env, jobject clazz, jlong r, jobject entity) argument
78 // TODO: Set the fields in the entity object
80 env->SetObjectField(entity, s_keyField, keyStr);
81 env->SetIntField(entity, s_dataSizeField, dataSize);
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockHttpClient.java40 public void setResponseData(HttpEntity entity) { argument
42 mResponseEntity = entity;
/frameworks/base/include/androidfw/
H A DBackupHelpers.h79 * entity-structured. If the implementation here is changed, either this
131 entity_header_v1 entity; member in union:android::BackupDataReader::__anon931
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DBasicNetwork.java227 private byte[] entityToBytes(HttpEntity entity) throws IOException, ServerError { argument
229 new PoolingByteArrayOutputStream(mPool, (int) entity.getContentLength());
232 InputStream in = entity.getContent();
245 entity.consumeContent();
247 // This can happen if there was an exception above that left the entity in

Completed in 304 milliseconds