/frameworks/av/media/libaaudio/src/utility/ |
D | FixedBlockWriter.cpp | 44 int32_t bytesWritten = writeToStorage(buffer, bytesLeft); in processVariableBlock() local 45 buffer += bytesWritten; in processVariableBlock() 46 bytesLeft -= bytesWritten; in processVariableBlock()
|
/frameworks/av/services/audioflinger/ |
D | AudioStreamOut.cpp | 212 size_t bytesWritten; in write() local 213 status_t result = stream->write(buffer, numBytes, &bytesWritten); in write() 214 if (result == OK && bytesWritten > 0 && mHalFrameSize > 0) { in write() 215 mFramesWritten += bytesWritten / mHalFrameSize; in write() 217 return result == OK ? bytesWritten : result; in write()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 62 uint32_t *bytesWritten, 211 uint32_t *bytesWritten, in descramble() argument 237 [&status, &bytesWritten, &detailedError] ( in descramble() 241 *bytesWritten = _bytesWritten; in descramble() 250 if (*bytesWritten > 0 && (ssize_t) *bytesWritten <= totalLength) { in descramble() 252 *bytesWritten); in descramble() 426 uint32_t bytesWritten; in android_media_MediaDescrambler_native_descramble() local 432 &status, &bytesWritten, &detailedError); in android_media_MediaDescrambler_native_descramble() 452 return bytesWritten; in android_media_MediaDescrambler_native_descramble()
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | DummyBlobData.java | 245 long bytesWritten = 0; in writeRandomData() local 247 while (bytesWritten < fileSize) { in writeRandomData() 249 final int toWrite = (bytesWritten + buffer.length <= fileSize) in writeRandomData() 250 ? buffer.length : (int) (fileSize - bytesWritten); in writeRandomData() 251 file.seek(bytesWritten); in writeRandomData() 253 bytesWritten += toWrite; in writeRandomData()
|
/frameworks/base/cmds/statsd/src/external/ |
D | Perfetto.cpp | 116 size_t bytesWritten = fwrite(cfgProto.data(), 1, cfgProto.size(), writePipeStream); in CollectPerfettoTraceAndUploadToDropbox() local 118 if (bytesWritten != cfgProto.size() || cfgProto.size() == 0) { in CollectPerfettoTraceAndUploadToDropbox() 119 ALOGE("fwrite() failed (ret: %zd) while calling the Perfetto client: %s", bytesWritten, in CollectPerfettoTraceAndUploadToDropbox()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 431 ssize_t bytesWritten = mAudioTrack->write(buffer, numBytes, blocking); in write() local 432 if (bytesWritten == WOULD_BLOCK) { in write() 434 } else if (bytesWritten < 0) { in write() 435 ALOGE("invalid write, returned %d", (int)bytesWritten); in write() 438 if (bytesWritten == DEAD_OBJECT) { in write() 442 return AAudioConvert_androidToAAudioResult(bytesWritten); in write() 444 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | RawBackupWriterTest.java | 70 long bytesWritten = mWriter.getBytesWritten(); in getBytesWritten_returnsTotalSum() local 72 assertThat(bytesWritten).isEqualTo(2 * TEST_BYTES.length); in getBytesWritten_returnsTotalSum()
|
D | DiffScriptBackupWriterTest.java | 79 long bytesWritten = mBackupWriter.getBytesWritten(); in getBytesWritten_returnsTotalSum() local 81 assertThat(bytesWritten).isEqualTo(2 * TEST_BYTES.length + 10); in getBytesWritten_returnsTotalSum()
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 194 size_t& bytesWritten) { in CallSingleService() argument 201 elapsedDuration, bytesWritten); in CallSingleService() 572 size_t bytesWritten; in TEST_F() local 575 /* as_proto = */ false, elapsedDuration, bytesWritten); in TEST_F() 578 EXPECT_THAT(bytesWritten, Eq(strlen(dumpContents))); in TEST_F() 583 size_t bytesWritten; in TEST_F() local 586 /* as_proto = */ false, elapsedDuration, bytesWritten); in TEST_F()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoPlugin.cpp | 59 uint32_t bytesWritten = 0; in decrypt() local 65 bytesWritten = hBytesWritten; in decrypt() 71 _hidl_cb(status, bytesWritten, detailedError); in decrypt()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 125 final int bytesWritten = writeToAudioTrack(track, data); in write() local 127 mBytesWritten += bytesWritten; in write() 128 return bytesWritten; in write()
|
/frameworks/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 375 uint32_t bytesWritten = 0; in decrypt() local 384 bytesWritten = hBytesWritten; in decrypt() 395 bytesWritten = hBytesWritten; in decrypt() 405 return bytesWritten; in decrypt()
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 261 size_t bytesWritten = 0; in main() local 264 asProto, elapsedDuration, bytesWritten); in main() 403 size_t& bytesWritten) const { in writeDump() 463 bytesWritten = totalBytes; in writeDump()
|
D | dumpsys.h | 98 size_t& bytesWritten) const;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 141 int bytesWritten = getPlatformLowPowerStats(mUtf8BufferStat); in getPlatformLowPowerStats() local 142 if (bytesWritten < 0) { in getPlatformLowPowerStats() 144 } else if (bytesWritten == 0) { in getPlatformLowPowerStats() 147 mUtf8BufferStat.limit(bytesWritten); in getPlatformLowPowerStats() 163 int bytesWritten = getSubsystemLowPowerStats(mUtf8BufferStat); in getSubsystemLowPowerStats() local 164 if (bytesWritten < 0) { in getSubsystemLowPowerStats() 166 } else if (bytesWritten == 0) { in getSubsystemLowPowerStats() 169 mUtf8BufferStat.limit(bytesWritten); in getSubsystemLowPowerStats() 1213 int bytesWritten = nativeWaitWakeup(mUtf8Buffer); in waitWakeup() local 1214 if (bytesWritten < 0) { in waitWakeup() [all …]
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 266 EXPECT_EQ(proto.bytesWritten(), 4); in TEST() 278 EXPECT_EQ(proto.bytesWritten(), 0); in TEST() 332 EXPECT_NE(proto.bytesWritten(), 0); in TEST() 344 EXPECT_NE(proto.bytesWritten(), 0); in TEST() 355 EXPECT_NE(proto.bytesWritten(), 0); in TEST()
|
/frameworks/base/libs/protoutil/include/android/util/ |
D | ProtoOutputStream.h | 120 size_t bytesWritten();
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 165 return mProto->bytesWritten(); in byteSizeLocked()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 243 size_t bytesWritten() const override { return fBytesWritten; } in main() function
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 198 size_t bytesWritten() const override { return mBytesWritten; } in bytesWritten() function in __anon3d5ef8690111::CompressWriter
|
/frameworks/base/libs/hwui/jni/ |
D | CreateJavaOutputStreamAdaptor.cpp | 223 virtual size_t bytesWritten() const { in bytesWritten() function in SkJavaOutputStream
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MPEG4Writer.h | 285 uint32_t tiffHdrOffset, size_t *bytesWritten);
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 1495 uint32_t tiffHdrOffset, size_t *bytesWritten) { in addSample_l() argument 1512 *bytesWritten = mOffset - old_offset; in addSample_l() 1617 ssize_t bytesWritten = ::write(fd, buf, count); in writeOrPostError() local 1629 if (bytesWritten == count) in writeOrPostError() 1633 ALOGE("writeOrPostError bytesWritten:%zd, count:%zu, error:%s(%d)", bytesWritten, count, in writeOrPostError() 2616 size_t bytesWritten; in writeChunkToFile() local 2617 off64_t offset = addSample_l(*it, usePrefix, tiffHdrOffset, &bytesWritten); in writeChunkToFile() 2620 chunk->mTrack->addItemOffsetAndSize(offset, bytesWritten, isExif); in writeChunkToFile() 3710 size_t bytesWritten; in threadEntry() local 3712 copy, usePrefix, tiffHdrOffset, &bytesWritten); in threadEntry() [all …]
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 146 int bytesWritten = sizeof(SnapshotHeader); in write_snapshot_file() local 153 bytesWritten += sizeof(FileState) + round_up(name.length()); in write_snapshot_file() 161 SnapshotHeader header = { MAGIC0, fileCount, MAGIC1, bytesWritten }; in write_snapshot_file()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 1594 uint32_t bytesWritten = 0; in flushScrambled() local 1608 [&status, &bytesWritten, &detailedError] ( in flushScrambled() 1612 bytesWritten = _bytesWritten; in flushScrambled() 1623 mElementaryPID, bytesWritten); in flushScrambled() 1629 descrambleBytes = bytesWritten; in flushScrambled()
|