/frameworks/base/libs/androidfw/ |
D | BackupData.cpp | 93 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) in WriteEntityHeader() argument 116 key.string(), dataSize); in WriteEntityHeader() 126 header.dataSize = tolel(dataSize); in WriteEntityHeader() 268 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); in ReadNextHeader() 283 m_dataEndPos = m_pos + m_header.entity.dataSize; in ReadNextHeader() 303 BackupDataReader::ReadEntityHeader(String8* key, size_t* dataSize) in ReadEntityHeader() argument 312 *dataSize = m_header.entity.dataSize; in ReadEntityHeader() 325 if (m_header.entity.dataSize > 0) { in SkipEntityData()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageStats.java | 41 public long dataSize; field in PackageStats 91 if (dataSize != 0) { in toString() 93 sb.append(dataSize); in toString() 138 dataSize = source.readLong(); in PackageStats() 151 dataSize = pStats.dataSize; in PackageStats() 168 dest.writeLong(dataSize); in writeToParcel()
|
D | ParceledListSlice.java | 70 final int parcelSize = mParcel.dataSize(); in writeToParcel() 95 return mParcel.dataSize() > MAX_IPC_SIZE; in append()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 112 int dataSize = changeSet.getDataSize(); in performBackup() local 114 if (DEBUG) Log.v(TAG, "Got change set key=" + key + " size=" + dataSize in performBackup() 117 if (dataSize >= 0) { in performBackup() 123 if (dataSize > bufSize) { in performBackup() 124 bufSize = dataSize; in performBackup() 127 changeSet.readEntityData(buf, 0, dataSize); in performBackup() 128 if (DEBUG) Log.v(TAG, " data size " + dataSize); in performBackup() 131 entity.write(buf, 0, dataSize); in performBackup()
|
/frameworks/av/media/libstagefright/id3/ |
D | testid3.cpp | 99 size_t dataSize; in scanFile() local 101 const void *data = tag.getAlbumArt(&dataSize, &mime); in scanFile() 104 printf("found album art: size=%d mime='%s'\n", dataSize, in scanFile() 107 hexdump(data, dataSize > 128 ? 128 : dataSize); in scanFile()
|
D | ID3.cpp | 291 size_t dataSize; in removeUnsynchronizationV2_4() local 293 dataSize = U32_AT(&mData[offset + 4]); in removeUnsynchronizationV2_4() 294 } else if (!ParseSyncsafeInteger(&mData[offset + 4], &dataSize)) { in removeUnsynchronizationV2_4() 298 if (offset + dataSize + 10 > mSize) { in removeUnsynchronizationV2_4() 310 dataSize -= 4; in removeUnsynchronizationV2_4() 318 for (size_t i = 0; i + 1 < dataSize; ++i) { in removeUnsynchronizationV2_4() 324 --dataSize; in removeUnsynchronizationV2_4() 332 WriteSyncsafeInteger(&mData[offset + 4], dataSize); in removeUnsynchronizationV2_4() 337 offset += 10 + dataSize; in removeUnsynchronizationV2_4()
|
/frameworks/base/core/jni/ |
D | android_backup_BackupHelperDispatcher.cpp | 36 int dataSize; // corresponds to Header.chunkSize member 91 ALOGD(" dataSize=%d", flattenedHeader.dataSize); in readHeader_native() 95 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || in readHeader_native() 98 flattenedHeader.dataSize, flattenedHeader.nameLength); in readHeader_native() 119 env->SetIntField(headerObj, s_chunkSizeField, flattenedHeader.dataSize); in readHeader_native() 186 header.dataSize = prevPos - (pos + header.headerSize); in writeHeader_native()
|
D | android_backup_BackupDataInput.cpp | 71 size_t dataSize; in readNextHeader_native() local 72 err = reader->ReadEntityHeader(&key, &dataSize); in readNextHeader_native() 79 env->SetIntField(entity, s_dataSizeField, dataSize); in readNextHeader_native()
|
D | android_backup_BackupDataOutput.cpp | 46 writeEntityHeader_native(JNIEnv* env, jobject clazz, int w, jstring key, int dataSize) in writeEntityHeader_native() argument 55 err = writer->WriteEntityHeader(String8(keyUTF), dataSize); in writeEntityHeader_native()
|
/frameworks/base/cmds/backup/ |
D | backup.cpp | 78 size_t dataSize; in perform_list() local 79 err = reader.ReadEntityHeader(&key, &dataSize); in perform_list() 81 printf(" entity: %s (%d bytes)\n", key.string(), dataSize); in perform_list()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupDataOutput.java | 85 public int writeEntityHeader(String key, int dataSize) throws IOException { in writeEntityHeader() argument 86 int result = writeEntityHeader_native(mBackupWriter, key, dataSize); in writeEntityHeader() 127 private native static int writeEntityHeader_native(int mBackupWriter, String key, int dataSize); in writeEntityHeader_native() argument
|
D | BackupDataInputStream.java | 41 int dataSize; field in BackupDataInputStream 114 return this.dataSize; in size()
|
D | BackupDataInput.java | 69 int dataSize; field in BackupDataInput.EntityHeader 138 return mHeader.dataSize; in getDataSize()
|
/frameworks/av/media/libstagefright/ |
D | StagefrightMetadataRetriever.cpp | 374 size_t dataSize; in getFrameAtTime() local 375 if (fileMeta->findData(kKeyAlbumArt, &type, &data, &dataSize) in getFrameAtTime() 378 mAlbumArt->mSize = dataSize; in getFrameAtTime() 379 mAlbumArt->mData = new uint8_t[dataSize]; in getFrameAtTime() 380 memcpy(mAlbumArt->mData, data, dataSize); in getFrameAtTime() 479 size_t dataSize; in parseMetaData() local 480 if (meta->findData(kKeyAlbumArt, &type, &data, &dataSize) in parseMetaData() 483 mAlbumArt->mSize = dataSize; in parseMetaData() 484 mAlbumArt->mData = new uint8_t[dataSize]; in parseMetaData() 485 memcpy(mAlbumArt->mData, data, dataSize); in parseMetaData()
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 512 private void data1DChecks(int off, int count, int len, int dataSize) { in data1DChecks() argument 524 if(len < dataSize) { in data1DChecks() 553 int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked() local 554 data1DChecks(off, count, d.length * 4, dataSize); in copy1DRangeFromUnchecked() 555 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local 567 int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked() local 568 data1DChecks(off, count, d.length * 2, dataSize); in copy1DRangeFromUnchecked() 569 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local 581 int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked() local 582 data1DChecks(off, count, d.length, dataSize); in copy1DRangeFromUnchecked() [all …]
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 33 int dataSize; // size of the data, not including the padding, -1 means delete member 72 status_t WriteEntityHeader(const String8& key, size_t dataSize); 113 status_t ReadEntityHeader(String8* key, size_t* dataSize);
|
/frameworks/wilhelm/src/android/ |
D | BufferQueueSource.cpp | 68 uint32_t dataSize, dataUsed; in readAt() local 140 dataSize = oldFront->mDataSize; in readAt() 151 pBufferContext, pBufferData, dataSize, dataUsed, in readAt()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Allocation.java | 620 private void data1DChecks(int off, int count, int len, int dataSize) { in data1DChecks() argument 632 if(len < dataSize) { in data1DChecks() 661 int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked() local 662 data1DChecks(off, count, d.length * 4, dataSize); in copy1DRangeFromUnchecked() 663 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local 675 int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked() local 676 data1DChecks(off, count, d.length * 2, dataSize); in copy1DRangeFromUnchecked() 677 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local 689 int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked() local 690 data1DChecks(off, count, d.length, dataSize); in copy1DRangeFromUnchecked() [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsAllocation.cpp | 270 void Allocation::unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) { in unpackVec3Allocation() argument 304 uint32_t dataSize = mHal.state.type->getSizeBytes(); in serialize() local 309 if (dataSize == packedSize) { in serialize() 311 stream->addByteArray(rsc->mHal.funcs.allocation.lock1D(rsc, this), dataSize); in serialize() 340 uint32_t dataSize = stream->loadU32(); in createFromStream() local 343 if (dataSize != type->getSizeBytes() && in createFromStream() 344 dataSize != packedSize) { in createFromStream() 353 if (dataSize == type->getSizeBytes()) { in createFromStream() 354 uint32_t count = dataSize / type->getElementSizeBytes(); in createFromStream() 356 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize); in createFromStream() [all …]
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayerClient.cpp | 45 if (obj && obj->dataSize() > 0) { in notify() 46 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize()); in notify()
|
/frameworks/av/libvideoeditor/vss/src/ |
D | VideoEditorResampler.cpp | 58 uint32_t dataSize = pBuffer->frameCount * this->nbChannels * sizeof(int16_t); in getNextBuffer() local 59 mTmpInBuffer = (int16_t*)malloc(dataSize); in getNextBuffer() 60 memcpy(mTmpInBuffer, this->mInput, dataSize); in getNextBuffer()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 226 int dataSize = data.getDataSize(); in onRestore() local 232 byte[] dataBuf = new byte[dataSize]; in onRestore() 233 data.readEntityData(dataBuf, 0, dataSize); in onRestore()
|
/frameworks/rs/ |
D | rsAllocation.cpp | 289 void Allocation::unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) { in unpackVec3Allocation() argument 323 uint32_t dataSize = mHal.state.type->getSizeBytes(); in serialize() local 328 if (dataSize == packedSize) { in serialize() 330 stream->addByteArray(rsc->mHal.funcs.allocation.lock1D(rsc, this), dataSize); in serialize() 359 uint32_t dataSize = stream->loadU32(); in createFromStream() local 362 if (dataSize != type->getSizeBytes() && in createFromStream() 363 dataSize != packedSize) { in createFromStream() 372 if (dataSize == type->getSizeBytes()) { in createFromStream() 373 uint32_t count = dataSize / type->getElementSizeBytes(); in createFromStream() 375 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize); in createFromStream() [all …]
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 436 if (mIn.dataPosition() >= mIn.dataSize()) { in joinThreadPool() 762 const bool needRead = mIn.dataPosition() >= mIn.dataSize(); in talkWithDriver() 767 const size_t outAvail = (!doReceive || needRead) ? mOut.dataSize() : 0; in talkWithDriver() 803 alog << "About to read/write, write size = " << mOut.dataSize() << endl; in talkWithDriver() 817 alog << "Finished read/write, write size = " << mOut.dataSize() << endl; in talkWithDriver() 823 << bwr.write_consumed << " (of " << mOut.dataSize() in talkWithDriver() 829 if (bwr.write_consumed < (ssize_t)mOut.dataSize()) in talkWithDriver() 840 alog << "Remaining data size: " << mOut.dataSize() << endl; in talkWithDriver() 843 const void* end = mIn.data() + mIn.dataSize(); in talkWithDriver() 844 alog << HexDump(cmds, mIn.dataSize()) << endl; in talkWithDriver() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | PackageManagerBackupAgent.java | 262 int dataSize = data.getDataSize(); in onRestore() local 264 if (DEBUG) Slog.v(TAG, " got key=" + key + " dataSize=" + dataSize); in onRestore() 267 byte[] inputBytes = new byte[dataSize]; in onRestore() 268 data.readEntityData(inputBytes, 0, dataSize); in onRestore() 295 + " dataSize=" + dataSize in onRestore()
|