Searched refs:getPartitionFreeSpace (Results 1 – 6 of 6) sorted by relevance
53 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()
64 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()
51 long freeSpace = device.getPartitionFreeSpace(partition) * 1024; in preExecutionCheck()
53 long freeSpace = device.getPartitionFreeSpace(mPartition) * 1024; in setUp()
953 public long getPartitionFreeSpace(String partition) throws DeviceNotAvailableException; in getPartitionFreeSpace() method
1750 return getPartitionFreeSpace(externalStorePath); in getExternalStoreFreeSpace()1755 public long getPartitionFreeSpace(String partition) throws DeviceNotAvailableException { in getPartitionFreeSpace() method in NativeDevice