Searched refs:freeSpace (Results 1 – 6 of 6) 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/test_framework/com/android/tradefed/targetprep/ |
D | DeviceStorageFiller.java | 53 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/ |
D | DeviceStorageStatusChecker.java | 51 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/ |
D | DeviceSetup.java | 976 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/ |
D | NativeDevice.java | 1390 Long freeSpace = null; in parseFreeSpaceFromFree() local 1405 freeSpace = freeSpaceFloat.longValue(); in parseFreeSpaceFromFree() 1410 return freeSpace; in parseFreeSpaceFromFree()
|