/frameworks/av/services/audioflinger/datapath/ |
D | AudioStreamOut.cpp | 175 size_t bytesWritten; in write() local 176 const status_t result = stream->write(buffer, numBytes, &bytesWritten); in write() 177 if (result == OK && bytesWritten > 0 && mHalFrameSize > 0) { in write() 178 mFramesWritten += bytesWritten / mHalFrameSize; in write() 180 return result == OK ? bytesWritten : result; in write()
|
/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() 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/services/tests/voiceinteractiontests/src/com/android/server/voiceinteraction/ |
D | HotwordAudioStreamCopierTest.java | 275 int bytesWritten = 0; in writeToFakeAudioStreamPipe() local 276 while (bytesWritten + bytesToRepeat.length <= totalBytesToWrite) { in writeToFakeAudioStreamPipe() 277 System.arraycopy(bytesToRepeat, 0, fakeAudioData, bytesWritten, bytesToRepeat.length); in writeToFakeAudioStreamPipe() 278 bytesWritten += bytesToRepeat.length; in writeToFakeAudioStreamPipe() 280 if (bytesWritten < totalBytesToWrite) { in writeToFakeAudioStreamPipe() 281 int bytesLeft = totalBytesToWrite - bytesWritten; in writeToFakeAudioStreamPipe() 282 System.arraycopy(bytesToRepeat, 0, fakeAudioData, bytesWritten, bytesLeft); in writeToFakeAudioStreamPipe()
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | Utils.java | 177 long bytesWritten = 0; in writeRandomData() local 179 while (bytesWritten < fileSizeBytes) { in writeRandomData() 181 final int toWrite = (bytesWritten + buffer.length <= fileSizeBytes) in writeRandomData() 182 ? buffer.length : (int) (fileSizeBytes - bytesWritten); in writeRandomData() 183 file.seek(bytesWritten); in writeRandomData() 185 bytesWritten += toWrite; in writeRandomData()
|
/frameworks/native/libs/renderengine/benchmark/ |
D | Codec.cpp | 118 const ssize_t bytesWritten = in encodeToJpeg() local 122 return bytesWritten > 0 && in encodeToJpeg() 123 static_cast<size_t>(bytesWritten) == size; in encodeToJpeg()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 460 ssize_t bytesWritten = mAudioTrack->write(buffer, numBytes, blocking); in write() local 461 if (bytesWritten == WOULD_BLOCK) { in write() 463 } else if (bytesWritten < 0) { in write() 464 ALOGE("invalid write, returned %d", (int)bytesWritten); in write() 467 if (bytesWritten == DEAD_OBJECT) { in write() 471 return AAudioConvert_androidToAAudioResult(bytesWritten); in write() 473 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write()
|
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/ |
D | BlobStorePerfTests.java | 213 long bytesWritten = 0; in writeData() local 215 while (bytesWritten < sizeBytes) { in writeData() 217 final int toWrite = (bytesWritten + buffer.length <= sizeBytes) in writeData() 218 ? buffer.length : (int) (sizeBytes - bytesWritten); in writeData() 220 bytesWritten += toWrite; in writeData()
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 206 size_t& bytesWritten) { in CallSingleService() argument 213 elapsedDuration, bytesWritten); in CallSingleService() 690 size_t bytesWritten; in TEST_F() local 693 /* as_proto = */ false, elapsedDuration, bytesWritten); in TEST_F() 696 EXPECT_THAT(bytesWritten, Eq(strlen(dumpContents))); in TEST_F() 701 size_t bytesWritten; in TEST_F() local 704 /* as_proto = */ false, elapsedDuration, bytesWritten); in TEST_F()
|
/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 | CryptoHalHidl.cpp | 338 uint32_t bytesWritten = 0; in decrypt() local 349 bytesWritten = hBytesWritten; in decrypt() 362 bytesWritten = hBytesWritten; in decrypt() 373 return bytesWritten; in decrypt()
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.h | 102 size_t& bytesWritten) const;
|
D | dumpsys.cpp | 284 size_t bytesWritten = 0; in main() local 287 asProto, elapsedDuration, bytesWritten); in main() 491 size_t& bytesWritten) const { in writeDump() 551 bytesWritten = totalBytes; in writeDump()
|
/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/cmds/screencap/ |
D | screencap.cpp | 215 int bytesWritten = write(*static_cast<int*>(fdPtr), in saveImage() local 217 return bytesWritten == size; in saveImage()
|
/frameworks/base/libs/protoutil/include/android/util/ |
D | ProtoOutputStream.h | 120 size_t bytesWritten();
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 1637 uint32_t tiffHdrOffset, size_t *bytesWritten) { in addSample_l() argument 1645 *bytesWritten = buffer->range_length(); in addSample_l() 1655 *bytesWritten = buffer->range_length(); in addSample_l() 1657 (long long)mMaxOffsetAppend, (long long)*bytesWritten); in addSample_l() 1679 *bytesWritten = mOffset - old_offset; in addSample_l() 1682 (long long)old_offset, (long long)*bytesWritten); in addSample_l() 1792 ssize_t bytesWritten = ::write(fd, buf, count); in writeOrPostError() local 1804 if (bytesWritten == count) in writeOrPostError() 1808 ALOGE("writeOrPostError bytesWritten:%zd, count:%zu, error:%s(%d)", bytesWritten, count, in writeOrPostError() 2808 size_t bytesWritten; in writeChunkToFile() local [all …]
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 205 size_t bytesWritten() const override { return mBytesWritten; } in bytesWritten() function in __anon24de077d0111::CompressWriter
|
/frameworks/base/libs/hwui/jni/ |
D | CreateJavaOutputStreamAdaptor.cpp | 232 virtual size_t bytesWritten() const { in bytesWritten() function in SkJavaOutputStream
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MPEG4Writer.h | 299 uint32_t tiffHdrOffset, size_t *bytesWritten);
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 150 int bytesWritten = sizeof(SnapshotHeader); in write_snapshot_file() local 157 bytesWritten += sizeof(FileState) + round_up(name.length()); in write_snapshot_file() 165 SnapshotHeader header = { MAGIC0, fileCount, MAGIC1, bytesWritten }; in write_snapshot_file()
|
/frameworks/av/media/libaudioclient/ |
D | ToneGenerator.cpp | 1387 size_t bytesWritten = lNumSmp * sizeof(int16_t); in onMoreData() local 1588 bytesWritten = 0; in onMoreData() 1601 bytesWritten = 0; in onMoreData() 1609 return bytesWritten; in onMoreData()
|
/frameworks/av/media/module/mpeg2ts/ |
D | ATSParser.cpp | 1708 uint32_t bytesWritten = 0; in flushScrambled() local 1722 [&status, &bytesWritten, &detailedError] ( in flushScrambled() 1726 bytesWritten = _bytesWritten; in flushScrambled() 1737 mElementaryPID, bytesWritten); in flushScrambled() 1743 descrambleBytes = bytesWritten; in flushScrambled()
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.cpp | 1234 size_t bytesWritten = 0; in audioTrack_handleMoreData_lockPlay() local 1267 bytesWritten = bytesToCopy; in audioTrack_handleMoreData_lockPlay() 1322 return bytesWritten; in audioTrack_handleMoreData_lockPlay()
|
/frameworks/base/libs/protoutil/src/ |
D | ProtoOutputStream.cpp | 310 ProtoOutputStream::bytesWritten() in bytesWritten() function in android::util::ProtoOutputStream
|