/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | RawBackupWriter.java | 25 private long bytesWritten; field in RawBackupWriter 35 bytesWritten += bytes.length; in writeBytes() 45 return bytesWritten; in getBytesWritten()
|
/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/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() 251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->pointer(), *bytesWritten); in descramble() 425 uint32_t bytesWritten; in android_media_MediaDescrambler_native_descramble() local 431 &status, &bytesWritten, &detailedError); in android_media_MediaDescrambler_native_descramble() 451 return bytesWritten; in android_media_MediaDescrambler_native_descramble()
|
D | android_media_Streams.cpp | 64 if (offset + length > mStreamBuffer.bytesWritten()) { in GetData() 65 size_t sizeToRead = offset + length - mStreamBuffer.bytesWritten(); in GetData()
|
/frameworks/av/services/audioflinger/ |
D | AudioStreamOut.cpp | 208 size_t bytesWritten; in write() local 209 status_t result = stream->write(buffer, numBytes, &bytesWritten); in write() 210 if (result == OK && bytesWritten > 0 && mHalFrameSize > 0) { in write() 211 mFramesWritten += bytesWritten / mHalFrameSize; in write() 213 return result == OK ? bytesWritten : result; in write()
|
/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 | 401 ssize_t bytesWritten = mAudioTrack->write(buffer, numBytes, blocking); in write() local 402 if (bytesWritten == WOULD_BLOCK) { in write() 404 } else if (bytesWritten < 0) { in write() 405 ALOGE("invalid write, returned %d", (int)bytesWritten); in write() 408 if (bytesWritten == DEAD_OBJECT) { in write() 412 return AAudioConvert_androidToAAudioResult(bytesWritten); in write() 414 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write()
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 194 size_t& bytesWritten) { in CallSingleService() argument 201 elapsedDuration, bytesWritten); in CallSingleService() 584 size_t bytesWritten; in TEST_F() local 587 /* as_proto = */ false, elapsedDuration, bytesWritten); in TEST_F() 590 EXPECT_THAT(bytesWritten, Eq(strlen(dumpContents))); in TEST_F() 595 size_t bytesWritten; in TEST_F() local 598 /* as_proto = */ false, elapsedDuration, bytesWritten); in TEST_F()
|
/frameworks/base/services/robotests/backup/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/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/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 143 int bytesWritten = getPlatformLowPowerStats(mUtf8BufferStat); in getPlatformLowPowerStats() local 144 if (bytesWritten < 0) { in getPlatformLowPowerStats() 146 } else if (bytesWritten == 0) { in getPlatformLowPowerStats() 149 mUtf8BufferStat.limit(bytesWritten); in getPlatformLowPowerStats() 165 int bytesWritten = getSubsystemLowPowerStats(mUtf8BufferStat); in getSubsystemLowPowerStats() local 166 if (bytesWritten < 0) { in getSubsystemLowPowerStats() 168 } else if (bytesWritten == 0) { in getSubsystemLowPowerStats() 171 mUtf8BufferStat.limit(bytesWritten); in getSubsystemLowPowerStats() 1226 int bytesWritten = nativeWaitWakeup(mUtf8Buffer); in waitWakeup() local 1227 if (bytesWritten < 0) { in waitWakeup() [all …]
|
/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/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 407 uint32_t bytesWritten = 0; in decrypt() local 416 bytesWritten = hBytesWritten; in decrypt() 427 bytesWritten = hBytesWritten; in decrypt() 437 return bytesWritten; in decrypt()
|
/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 | 119 size_t bytesWritten();
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 160 return mProto->bytesWritten(); in byteSizeLocked()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 243 size_t bytesWritten() const override { return fBytesWritten; } in main() function
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MPEG4Writer.h | 258 uint32_t tiffHdrOffset, size_t *bytesWritten);
|
/frameworks/base/core/jni/android/graphics/ |
D | CreateJavaOutputStreamAdaptor.cpp | 222 virtual size_t bytesWritten() const { in bytesWritten() function in SkJavaOutputStream
|
/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()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 1372 uint32_t tiffHdrOffset, size_t *bytesWritten) { in addSample_l() argument 1391 *bytesWritten = mOffset - old_offset; in addSample_l() 2318 size_t bytesWritten; in writeChunkToFile() local 2319 off64_t offset = addSample_l(*it, usePrefix, tiffHdrOffset, &bytesWritten); in writeChunkToFile() 2322 chunk->mTrack->addItemOffsetAndSize(offset, bytesWritten, isExif); in writeChunkToFile() 3347 size_t bytesWritten; in threadEntry() local 3349 copy, usePrefix, tiffHdrOffset, &bytesWritten); in threadEntry() 3352 addItemOffsetAndSize(offset, bytesWritten, isExif); in threadEntry()
|