Home
last modified time | relevance | path

Searched refs:bytesNeeded (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothPacketEncoder.java67 int bytesNeeded;
70 bytesNeeded = 1;
72 bytesNeeded = count;
86 if (needsTimestamp) bytesNeeded++; // add one for timestamp byte
87 if (status == mRunningStatus) bytesNeeded--; // subtract one for status byte
89 if (mAccumulatedBytes + bytesNeeded > mAccumulationBuffer.length) {
/aosp12/packages/apps/Gallery2/src/com/android/photos/data/
H A DSparseArrayBitmapPool.java77 private void freeUpCapacity(int bytesNeeded) { in freeUpCapacity() argument
78 int targetSize = mCapacityBytes - bytesNeeded; in freeUpCapacity()
/aosp12/hardware/interfaces/identity/support/src/
H A Dcppbor_parse.cpp29 std::string insufficientLengthString(size_t bytesNeeded, size_t bytesAvail, in insufficientLengthString() argument
32 errStream << "Need " << bytesNeeded << " byte(s) for " << type << ", have " << bytesAvail in insufficientLengthString()
/aosp12/frameworks/base/libs/hwui/jni/
H A DGraphics.cpp650 const size_t bytesNeeded = maxInfo.computeByteSize(rowBytes); in allocPixelRef() local
651 if (bytesNeeded <= mRecycledBytes) { in allocPixelRef()