Searched refs:entity (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/libs/androidfw/
H A DBackupData.cpp123 if (kIsDebug) ALOGI("writing entity header, %zu bytes", sizeof(entity_header_v1));
131 if (kIsDebug) ALOGI("writing entity header key, %zd bytes", keyLen+1);
258 m_header.entity.keyLen = fromlel(m_header.entity.keyLen);
259 if (m_header.entity.keyLen <= 0) {
261 (int)m_header.entity.keyLen);
264 m_header.entity.dataSize = fromlel(m_header.entity.dataSize);
268 size_t size = m_header.entity.keyLen;
279 m_dataEndPos = m_pos + m_header.entity
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHurlStack.java29 import org.apache.http.entity.BasicHttpEntity;
151 BasicHttpEntity entity = new BasicHttpEntity();
158 entity.setContent(inputStream);
159 entity.setContentLength(connection.getContentLength());
160 entity.setContentEncoding(connection.getContentEncoding());
161 entity.setContentType(connection.getContentType());
162 return entity;
H A DHttpClientStack.java36 import org.apache.http.entity.ByteArrayEntity;
105 HttpEntity entity;
106 entity = new ByteArrayEntity(postBody);
107 postRequest.setEntity(entity);
150 HttpEntity entity = new ByteArrayEntity(body);
151 httpRequest.setEntity(entity);
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
/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/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java47 Entity entity = new Entity(new ContentValues());
49 entity.addSubValue(Data.CONTENT_URI, contentValues);
51 mEntityList.add(entity);
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockHttpClient.java40 public void setResponseData(HttpEntity entity) { argument
42 mResponseEntity = entity;
/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/volley/src/test/java/com/android/volley/toolbox/
H A DBasicNetworkTest.java25 import org.apache.http.entity.StringEntity;
/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::__anon966
/frameworks/base/core/java/android/provider/
H A DCalendarContract.java502 * Creates an entity iterator for the given cursor. It assumes the
574 Entity entity = new Entity(cv);
580 return entity;
1289 * @return an EntityIterator containing one entity per event in the
1301 * @return an EntityIterator containing one entity per event in the
1431 Entity entity = new Entity(cv);
1449 entity.addSubValue(Reminders.CONTENT_URI, reminderValues);
1483 entity.addSubValue(Attendees.CONTENT_URI, attendeeValues);
1509 entity.addSubValue(ExtendedProperties.CONTENT_URI, extendedValues);
1516 return entity;
[all...]
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java196 FileOutputStream entity = new FileOutputStream(entityFile);
206 Log.v(TAG, " read entity data; new pos=" + cur);
215 entity.write(buf, 0, dataSize);
220 entity.close();
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java505 // The resolver may return the entity iterator with no data. It is possible.
550 Entity entity = entityIterator.next();
551 for (NamedContentValues namedContentValues : entity.getSubValues()) {
663 * @return true when there's no entity to be built. The return value is undefined
/frameworks/base/
H A Dcompiled-classes-phone7768 org.apache.http.client.entity.UrlEncodedFormEntity
7841 org.apache.http.entity.AbstractHttpEntity
7842 org.apache.http.entity.BasicHttpEntity
7843 org.apache.http.entity.ByteArrayEntity
7844 org.apache.http.entity.ContentLengthStrategy
7845 org.apache.http.entity.FileEntity
7846 org.apache.http.entity.HttpEntityWrapper
7847 org.apache.http.entity.InputStreamEntity
7848 org.apache.http.entity.StringEntity
7939 org.apache.http.impl.entity
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jar ... .SAXException char[] buff int offset int length public void entity (char[], int, int) throws org.xml.sax. ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 338 milliseconds