/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 78 size_t dataSize; local 79 err = reader.ReadEntityHeader(&key, &dataSize); 81 printf(" entity: %s (%d bytes)\n", key.string(), dataSize);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 41 int dataSize; field in class:BackupDataInputStream 114 return this.dataSize;
|
H A D | BackupDataOutput.java | 44 * existing record's key, but supplying a negative <code>dataSize</code> parameter. 80 * @param dataSize The size in bytes of this record's data. Passing a dataSize 85 public int writeEntityHeader(String key, int dataSize) throws IOException { argument 86 int result = writeEntityHeader_native(mBackupWriter, key, dataSize); 127 private native static int writeEntityHeader_native(int mBackupWriter, String key, int dataSize); argument
|
H A D | BackupDataInput.java | 44 * int dataSize = data.getDataSize(); 48 * byte[] buffer = new byte[dataSize]; 49 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once 69 int dataSize; field in class:BackupDataInput.EntityHeader 138 return mHeader.dataSize;
|
/frameworks/base/core/jni/ |
H A D | android_message_digest_sha1.cpp | 70 jsize dataSize; local 88 dataSize = env->GetArrayLength(dataArray); 90 SHA1_Update(context, data, dataSize);
|
H A D | android_security_Md5MessageDigest.cpp | 52 jsize dataSize; local 67 dataSize = env->GetArrayLength(dataArray); 69 MD5_Update(context, data, dataSize);
|
H A D | android_backup_BackupDataOutput.cpp | 50 writeEntityHeader_native(JNIEnv* env, jobject clazz, int w, jstring key, int dataSize) argument 60 err = writer->WriteEntityHeader(String8(keyUTF), dataSize);
|
H A D | android_backup_BackupDataInput.cpp | 76 size_t dataSize; local 77 err = reader->ReadEntityHeader(&key, &dataSize); 84 env->SetIntField(entity, s_dataSizeField, dataSize); 156 s_dataSizeField = env->GetFieldID(clazz, "dataSize", "I"); 158 "Unable to find dataSize field in android.app.backup.BackupDataInput.EntityHeader");
|
H A D | android_backup_BackupHelperDispatcher.cpp | 36 int dataSize; // corresponds to Header.chunkSize member in struct:android::chunk_header_v1 94 LOGD(" dataSize=%d", flattenedHeader.dataSize); 98 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || 100 LOGW("Malformed V1 header remainingHeader=%d dataSize=%d nameLength=%d", remainingHeader, 101 flattenedHeader.dataSize, flattenedHeader.nameLength); 122 env->SetIntField(headerObj, s_chunkSizeField, flattenedHeader.dataSize); 193 header.dataSize = prevPos - (pos + header.headerSize);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageStats.java | 31 public long dataSize; field in class:PackageStats 58 dataSize = source.readLong(); 65 dataSize = pStats.dataSize; 76 dest.writeLong(dataSize);
|
/frameworks/base/media/libstagefright/id3/ |
H A D | testid3.cpp | 99 size_t dataSize; local 101 const void *data = tag.getAlbumArt(&dataSize, &mime); 104 printf("found album art: size=%d mime='%s'\n", dataSize, 107 hexdump(data, dataSize > 128 ? 128 : dataSize);
|
H A D | ID3.cpp | 273 size_t dataSize; local 274 if (!ParseSyncsafeInteger(&mData[offset + 4], &dataSize)) { 278 if (offset + dataSize + 10 > mSize) { 290 dataSize -= 4; 298 for (size_t i = 0; i + 1 < dataSize; ++i) { 304 --dataSize; 312 WriteSyncsafeInteger(&mData[offset + 4], dataSize); 317 offset += 10 + dataSize;
|
/frameworks/base/include/utils/ |
H A D | BackupHelpers.h | 33 int dataSize; // size of the data, not including the padding, -1 means delete member in struct:android::__anon165 72 status_t WriteEntityHeader(const String8& key, size_t dataSize); 105 status_t ReadEntityHeader(String8* key, size_t* dataSize);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 79 private void data1DChecks(int off, int count, int len, int dataSize) { argument 84 if((len) < dataSize) { 90 int dataSize = mType.mElement.getSizeBytes() * count; 91 data1DChecks(off, count, d.length * 4, dataSize); 92 mRS.nAllocationSubData1D(mID, off, count, d, dataSize); 95 int dataSize = mType.mElement.getSizeBytes() * count; 96 data1DChecks(off, count, d.length * 2, dataSize); 97 mRS.nAllocationSubData1D(mID, off, count, d, dataSize); 100 int dataSize = mType.mElement.getSizeBytes() * count; 101 data1DChecks(off, count, d.length, dataSize); [all...] |
/frameworks/base/libs/utils/ |
H A D | BackupData.cpp | 89 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) argument 111 LOGD("Writing entity: prefix='%s' key='%s' dataSize=%d", m_keyPrefix.string(), key.string(), 112 dataSize); 122 header.dataSize = tolel(dataSize); 256 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); 271 m_dataEndPos = m_pos + m_header.entity.dataSize; 290 BackupDataReader::ReadEntityHeader(String8* key, size_t* dataSize) argument 299 *dataSize [all...] |
H A D | BackupHelpers.cpp | 462 size_t dataSize; local 472 err = in->ReadEntityHeader(&key, &dataSize); 956 fprintf(stderr, "ReadEntityHeader expected dataSize 0x%08x got 0x%08x\n", bufSize,
|
/frameworks/base/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 371 size_t dataSize; local 372 if (meta->findData(kKeyAlbumArt, &type, &data, &dataSize)) { 374 mAlbumArt->mSize = dataSize; 375 mAlbumArt->mData = new uint8_t[dataSize]; 376 memcpy(mAlbumArt->mData, data, dataSize);
|
H A D | MP3Extractor.cpp | 806 size_t dataSize; local 808 const void *data = id3.getAlbumArt(&dataSize, &mime); 811 meta->setData(kKeyAlbumArt, MetaData::TYPE_NONE, data, dataSize);
|
/frameworks/base/libs/binder/ |
H A D | IPCThreadState.cpp | 425 if (mIn.dataPosition() >= mIn.dataSize()) { 748 const bool needRead = mIn.dataPosition() >= mIn.dataSize(); 753 const size_t outAvail = (!doReceive || needRead) ? mOut.dataSize() : 0; 788 alog << "About to read/write, write size = " << mOut.dataSize() << endl; 799 alog << "Finished read/write, write size = " << mOut.dataSize() << endl; 805 << bwr.write_consumed << " (of " << mOut.dataSize() 811 if (bwr.write_consumed < (ssize_t)mOut.dataSize()) 822 alog << "Remaining data size: " << mOut.dataSize() << endl; 825 const void* end = mIn.data() + mIn.dataSize(); 826 alog << HexDump(cmds, mIn.dataSize()) << end 1093 freeBuffer(Parcel* parcel, const uint8_t* data, size_t dataSize, const size_t* objects, size_t objectsSize, void* cookie) argument [all...] |
H A D | Parcel.cpp | 296 size_t Parcel::dataSize() const function in class:android::Parcel 309 return dataSize() - dataPosition(); 1153 void Parcel::ipcSetDataReference(const uint8_t* data, size_t dataSize, argument 1159 mDataSize = mDataCapacity = dataSize; 1178 } else if (dataSize() > 0) { 1180 to << indent << HexDump(DATA, dataSize()) << dedent;
|
/frameworks/base/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 167 void assertDataSize(int32_t msgType, OP op, int dataSize); 222 void MCameraClient::assertDataSize(int32_t msgType, OP op, int dataSize) { argument 225 assertTest(op, v, dataSize); 242 int dataSize = data->size(); local 243 INFO("data type = %d, size = %d", msgType, dataSize); 248 mDataSize.add(msgType, dataSize); 251 mDataSize.editValueAt(i) = dataSize;
|
/frameworks/base/core/java/android/os/ |
H A D | Parcel.java | 278 public final native int dataSize(); method in class:Parcel 282 * parcel. That is, {@link #dataSize}-{@link #dataPosition}. 288 * more than {@link #dataSize}. 294 * >= {@link #dataSize}. The difference between it and dataSize() is the 312 * {@link #dataSize}. 320 * less than {@link #dataSize} -- that is, you can not drop existing data
|