Searched refs:freeSpace (Results 1 – 5 of 5) 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 | DeviceStorageFiller.java | 52 long freeSpace = device.getPartitionFreeSpace(mPartition) * 1024; in setUp() local 53 if (freeSpace > mFreeBytesRequested) { in setUp() 55 long bytesToWrite = freeSpace - mFreeBytesRequested; in setUp() 61 mFreeBytesRequested, freeSpace); in setUp()
|
D | DeviceSetup.java | 959 long freeSpace = device.getExternalStoreFreeSpace(); in checkExternalStoreSpace() local 960 if (freeSpace < mMinExternalStorageKb) { in checkExternalStoreSpace() 963 freeSpace , mMinExternalStorageKb, device.getSerialNumber()), in checkExternalStoreSpace()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1306 Long freeSpace = null; in parseFreeSpaceFromFree() local 1321 freeSpace = freeSpaceFloat.longValue(); in parseFreeSpaceFromFree() 1326 return freeSpace; in parseFreeSpaceFromFree()
|