Searched refs:nbytes (Results 1 – 7 of 7) sorted by relevance
/frameworks/wilhelm/tests/sandbox/ |
D | playbq.cpp | 55 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument 59 swab(buffer, buffer, nbytes); in squeeze() 63 nbytes / sizeof(int16_t)); in squeeze() 64 nbytes /= 2; in squeeze() 67 nbytes / sizeof(int32_t)); in squeeze() 68 nbytes = nbytes * 3 / 4; in squeeze() 70 return nbytes; in squeeze() 88 SLuint32 nbytes = count * sfframesize; in callback() local 89 nbytes = squeeze(buffer, nbytes); in callback() 90 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | trackplayerbase_tests.cpp | 77 ssize_t nbytes = mPlayer->mAudioTrack->write(mBuffer.data(), mBufferSize, blocking); in playBuffer() local 78 EXPECT_EQ(nbytes, mBufferSize) << "Did not write all data in blocking mode"; in playBuffer()
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 631 ssize_t nbytes = state->mAudioTrack->write( in renderAudio() local 634 CHECK_EQ(nbytes, (ssize_t)copy); in renderAudio() 638 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize(); in renderAudio() 646 info->mOffset += nbytes; in renderAudio() 647 info->mSize -= nbytes; in renderAudio()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPConnection.cpp | 639 ssize_t nbytes; in receive() local 642 nbytes = recvmsg(receiveRTP ? s->mRTPSocket : s->mRTCPSocket, &sMsg, 0); in receive() 643 mCumulativeBytes += nbytes; in receive() 644 } while (nbytes < 0 && errno == EINTR); in receive() 646 if (nbytes <= 0) { in receive() 657 if (nbytes > 0) { in receive() 661 buffer->setRange(0, nbytes); in receive()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 138 public void write(byte[] buf, int off, int nbytes) { in write() argument 139 digest.update(buf, off, nbytes); in write()
|
/frameworks/av/media/mtp/ |
D | MtpFfsHandle.cpp | 179 int nbytes = TEMP_FAILURE_RETRY(::read(mControl, event, in handleEvent() local 181 if (nbytes == -1) { in handleEvent() 185 for (size_t n = nbytes / sizeof *event; n; --n, ++event) { in handleEvent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BootReceiver.java | 201 int nbytes = Os.read(fd, mTraceBuffer, 0, mBufferSize); in onReceive() 202 if (nbytes > 0) { in onReceive()
|