/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_get_main_data_size.cpp | 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, local 125 numBytes >>= (20 - info->version_x); 132 pVars->predicted_frame_size = numBytes; 135 numBytes -= 17; 139 numBytes -= 32; 144 numBytes >>= 1; 145 pVars->predicted_frame_size = numBytes; 149 numBytes -= 9; 153 numBytes -= 17; 159 numBytes [all...] |
H A D | pvmp3_seek_synch.cpp | 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, local 182 numBytes >>= (20 - version); 186 numBytes >>= 1; 190 numBytes++; 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) 196 pExt->CurrentFrameLength = numBytes + 3; 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3);
|
/frameworks/av/media/libstagefright/ |
H A D | HTTPBase.cpp | 44 size_t numBytes, int64_t delayUs) { 49 entry.mNumBytes = numBytes; 51 mTotalTransferBytes += numBytes; 43 addBandwidthMeasurement( size_t numBytes, int64_t delayUs) argument
|
H A D | VBRISeeker.cpp | 109 uint32_t numBytes; local 111 case 1: numBytes = buffer[i]; break; 112 case 2: numBytes = U16_AT(buffer + 2 * i); break; 113 case 3: numBytes = U24_AT(buffer + 3 * i); break; 117 numBytes = U32_AT(buffer + 4 * i); break; 121 numBytes *= scale; 123 seeker->mSegments.push(numBytes); 125 ALOGV("entry #%zu: %u offset 0x%016llx", i, numBytes, offset); 126 offset += numBytes;
|
H A D | WAVExtractor.cpp | 481 ssize_t numBytes = n; local 483 while (numBytes-- > 0) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | NativeCrashListener.java | 180 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) argument 183 while (numBytes > 0) { 184 int n = Os.read(fd, buffer, offset + totalRead, numBytes); 187 Slog.w(TAG, "Needed " + numBytes + " but saw " + n); 191 numBytes -= n;
|
/frameworks/rs/ |
H A D | rsStream.cpp | 30 void IStream::loadByteArray(void *dest, size_t numBytes) { argument 31 memcpy(dest, mData + mPos, numBytes); 32 mPos += numBytes; 65 void OStream::addByteArray(const void *src, size_t numBytes) { argument 67 while (mPos + numBytes >= mLength) { 70 memcpy(mData + mPos, src, numBytes); 71 mPos += numBytes;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 126 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes) { argument 132 numBytesRead = read(fileDesc, pBuffer, numBytes); 135 return numBytesRead >= 0 && (size_t)numBytesRead == numBytes;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.h | 40 size_t numBytes; member in struct:FwdLockConv_ConvertData_Output 73 * @param[in] numBytes The number of bytes to read. 78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes); 85 * @param[in] numBytes The number of bytes to write. 90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes); 178 * @param[in] numBytes The number of bytes to convert. 194 size_t numBytes,
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 168 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { 169 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); 167 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
H A D | IDrmManagerService.cpp | 769 ssize_t numBytes, off64_t offset) { 779 data.writeInt32(numBytes); 1480 const int numBytes = data.readInt32(); local 1481 char* buffer = new char[numBytes]; 1485 ssize_t result = pread(uniqueId, &handle, buffer, numBytes, offset); 767 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 162 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { 163 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset); 161 pread( sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
H A D | NoOpDrmManagerClientImpl.cpp | 144 void* buffer, ssize_t numBytes, off64_t offset) { 143 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
H A D | DrmManagerClientImpl.cpp | 328 void* buffer, ssize_t numBytes, off64_t offset) { 330 if ((NULL != decryptHandle.get()) && (NULL != buffer) && (0 < numBytes)) { 332 uniqueId, decryptHandle.get(), buffer, numBytes, offset); 327 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupTransport.java | 396 * Tells the transport to read {@code numBytes} bytes of data from the socket file 400 * @param numBytes The number of bytes of tarball data available to be read from the 407 public int sendBackupData(int numBytes) { argument 591 public int sendBackupData(int numBytes) throws RemoteException { argument 592 return BackupTransport.this.sendBackupData(numBytes);
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | WaveHeader.java | 31 * <li> numBytes - size of audio data after this header, in bytes. 71 * @param numBytes size of audio data after this header, in bytes. 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { argument 78 mNumBytes = numBytes; 167 * @param numBytes size of audio data after this header, in bytes. 170 public WaveHeader setNumBytes(int numBytes) { argument 171 mNumBytes = numBytes; 184 int numBytes = readInt(in) - 36; 272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 185 long getAudioLengthMs(int numBytes) { argument 186 final int unconsumedFrames = numBytes / mBytesPerFrame;
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManagerService.cpp | 275 void* buffer, ssize_t numBytes, off64_t offset) { 280 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset); 274 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
H A D | DrmManager.cpp | 541 void* buffer, ssize_t numBytes, off64_t offset) { 547 result = drmEngine->pread(uniqueId, decryptHandle, buffer, numBytes, offset); 540 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.c | 299 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes) { argument 307 numBytesRead = read(pSession->fileDesc, pBuffer, numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 302 void* buffer, ssize_t numBytes, off64_t offset) { 301 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | DecTestBench.c | 709 static u32 numBytes = 0; local 710 numBytes += size; 711 DEBUG(("Allocated %d bytes, total %d\n", size, numBytes));
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 237 size_t numBytes = (totalNumBits + 7) / 8; local 239 *asc = new ABuffer(numBytes); 246 while (numBytes > 0) { 248 --numBytes;
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 351 public int sendBackupData(int numBytes) { argument 357 if (numBytes > mFullBackupBuffer.length) { 358 mFullBackupBuffer = new byte[numBytes]; 360 while (numBytes > 0) { 362 int nRead = mSocketInputStream.read(mFullBackupBuffer, 0, numBytes); 369 numBytes -= nRead;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 417 if (convSession->output.fromConvertData.numBytes > 0) { 418 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 421 convResult->length = convSession->output.fromConvertData.numBytes; 620 int numBytes) { 626 numBytes > -1) { 629 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 666 ssize_t numBytes, 672 ssize_t numBytes, 682 (numBytes > -1) && 689 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); 617 onRead(int uniqueId, DecryptHandle* decryptHandle, void* buffer, int numBytes) argument 663 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument [all...] |