Searched refs:freeSpace (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | FixedByteArrayOutputStream.java | 90 int freeSpace = mBuffer.length - mWritePos; in write() local 91 if (freeSpace >= len) { in write() 96 System.arraycopy(b, off, mBuffer, mWritePos, freeSpace); in write() 98 System.arraycopy(b, off + freeSpace, mBuffer, 0, len - freeSpace); in write()
|
D | SizeLimitedOutputStream.java | 200 long freeSpace = mMaxFileSize - currentSize; in write() local 202 long sizeToWrite = freeSpace > len ? len : freeSpace; in write() 205 freeSpace -= sizeToWrite; in write() 208 if (freeSpace <= 0) { in write()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceSetup.java | 936 long freeSpace = device.getExternalStoreFreeSpace(); in checkExternalStoreSpace() local 937 if (freeSpace < mMinExternalStorageKb) { in checkExternalStoreSpace() 940 freeSpace , mMinExternalStorageKb, device.getSerialNumber()), in checkExternalStoreSpace()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1163 Long freeSpace = null; in parseFreeSpaceFromFree() local 1178 freeSpace = freeSpaceFloat.longValue(); in parseFreeSpaceFromFree() 1183 return freeSpace; in parseFreeSpaceFromFree()
|