Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DDeviceStorageStatusCheckerTest.java53 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data"))).thenReturn(54L * 1024); // 54MB in testEnoughDeviceStorage()
54 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data2"))) in testEnoughDeviceStorage()
63 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data"))).thenReturn(48L * 1024); // 48MB in testInEnoughDeviceStorageOn1Partition()
64 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data2"))) in testInEnoughDeviceStorageOn1Partition()
74 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data"))).thenReturn(54L * 1024); // 54MB in testNotEnoughDeviceStorageWithGivenStorageParameter()
75 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data2"))) in testNotEnoughDeviceStorageWithGivenStorageParameter()
85 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data"))) in testEnoughDeviceStorageWithGivenStorageParameter()
87 when(mMockDevice.getPartitionFreeSpace(Mockito.eq("/data2"))) in testEnoughDeviceStorageWithGivenStorageParameter()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceStorageFillerTest.java64 when(mMockDevice.getPartitionFreeSpace("/p")).thenReturn(1L); in testSetUpWriteFile()
68 verify(mMockDevice, times(1)).getPartitionFreeSpace("/p"); in testSetUpWriteFile()
78 when(mMockDevice.getPartitionFreeSpace("/p")).thenReturn(1L); in testSetUpSkip()
81 verify(mMockDevice, times(1)).getPartitionFreeSpace("/p"); in testSetUpSkip()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceStorageStatusChecker.java51 long freeSpace = device.getPartitionFreeSpace(partition) * 1024; in preExecutionCheck()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceStorageFiller.java53 long freeSpace = device.getPartitionFreeSpace(mPartition) * 1024; in setUp()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java953 public long getPartitionFreeSpace(String partition) throws DeviceNotAvailableException; in getPartitionFreeSpace() method
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1750 return getPartitionFreeSpace(externalStorePath); in getExternalStoreFreeSpace()
1755 public long getPartitionFreeSpace(String partition) throws DeviceNotAvailableException { in getPartitionFreeSpace() method in NativeDevice