Home
last modified time | relevance | path

Searched refs:freeSpace (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DFixedByteArrayOutputStream.java90 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()
DSizeLimitedOutputStream.java200 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/test_framework/com/android/tradefed/targetprep/
DDeviceStorageFiller.java53 long freeSpace = device.getPartitionFreeSpace(mPartition) * 1024; in setUp() local
54 if (freeSpace > mFreeBytesRequested) { in setUp()
56 long bytesToWrite = freeSpace - mFreeBytesRequested; in setUp()
62 mFreeBytesRequested, freeSpace); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceStorageStatusChecker.java51 long freeSpace = device.getPartitionFreeSpace(partition) * 1024; in preExecutionCheck() local
53 "%s bytes left on the partition %s", freeSpace, partition); in preExecutionCheck()
55 if (freeSpace < mMinimalStorage) { in preExecutionCheck()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java976 long freeSpace = device.getExternalStoreFreeSpace(); in checkExternalStoreSpace() local
977 if (freeSpace < mMinExternalStorageKb) { in checkExternalStoreSpace()
980 freeSpace , mMinExternalStorageKb, device.getSerialNumber()), in checkExternalStoreSpace()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1390 Long freeSpace = null; in parseFreeSpaceFromFree() local
1405 freeSpace = freeSpaceFloat.longValue(); in parseFreeSpaceFromFree()
1410 return freeSpace; in parseFreeSpaceFromFree()