HomeSort by relevance Sort by last modified time
    Searched refs:getAvailableBlocks (Results 1 - 25 of 30) sorted by null

1 2

  /cts/tests/tests/os/src/android/os/cts/
StatFsTest.java 31 assertTrue(stat.getFreeBlocks() >= stat.getAvailableBlocks());
32 assertTrue(stat.getAvailableBlocks() > 0);
48 assertTrue(stat.getFreeBlocks() >= stat.getAvailableBlocks());
49 assertTrue(stat.getAvailableBlocks() > 0);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
StatFsTest.java 23 assertThat(statsFs.getAvailableBlocks(), equalTo(10));
34 assertThat(statsFs.getAvailableBlocks(), equalTo(10));
43 assertThat(statsFs.getAvailableBlocks(), equalTo(0));
54 assertThat(statsFs.getAvailableBlocks(), equalTo(10));
61 assertThat(statsFs.getAvailableBlocks(), equalTo(1));
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java 157 int availableBlocks = fs.getAvailableBlocks();
175 while (fs.getAvailableBlocks() >= remainderSizeBlocks) {
190 long spaceAvailable = fs.getAvailableBlocks() * blockSize;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStatFs.java 39 public int getAvailableBlocks() {
  /frameworks/base/core/java/android/os/
StatFs.java 103 * will want to use {@link #getAvailableBlocks()} instead.
122 public int getAvailableBlocks() {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
CacheStorageUsageInfo.java 65 long availableBlocks = stat.getAvailableBlocks();
  /frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
LowStorageTest.java 82 int noOfBlockToFill = stat.getAvailableBlocks();
123 long availableBlocks = stat.getAvailableBlocks();
  /frameworks/base/services/java/com/android/server/
DiskStatsService.java 91 long avail = statfs.getAvailableBlocks();
DeviceStorageMonitorService.java 160 mFreeMem = (long) mDataFileStats.getAvailableBlocks() *
182 mFreeSystem = (long) mSystemFileStats.getAvailableBlocks() *
189 mFreeCache = (long) mCacheFileStats.getAvailableBlocks() *
DropBoxManagerService.java 721 int available = mStatFs.getAvailableBlocks();
  /packages/apps/Camera/src/com/android/camera/
Storage.java 155 return stat.getAvailableBlocks() * (long) stat.getBlockSize();
  /packages/apps/LegacyCamera/src/com/android/camera/
Storage.java 123 return stat.getAvailableBlocks() * (long) stat.getBlockSize();
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiveFileInfo.java 133 if (stat.getBlockSize() * ((long)stat.getAvailableBlocks() - 4) < length) {
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 144 return (long)(mFs.getAvailableBlocks()) * mFs.getBlockSize();
  /packages/apps/Gallery2/src/com/android/camera/
Storage.java 164 return stat.getAvailableBlocks() * (long) stat.getBlockSize();
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageCache.java 608 return (long) stats.getBlockSize() * (long) stats.getAvailableBlocks();
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
GalleryUtils.java 391 return stat.getAvailableBlocks() * (long) stat.getBlockSize() > size;
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
StorageManager.java 259 long availableBlocks = (long) stat.getAvailableBlocks() - 4;
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 785 final long availInternalSize = (long) internalStats.getAvailableBlocks()
811 availSdMb = sdStats.getAvailableBlocks() * blocksToMb;
    [all...]
  /packages/apps/SoundRecorder/src/com/android/soundrecorder/
SoundRecorder.java 122 long blocks = fs.getAvailableBlocks();
181 return fs.getAvailableBlocks() > 1;
  /packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java 533 long remaining = (long) stat.getAvailableBlocks()
MenuHelper.java     [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageManagerTests.java 324 sdSize = (long) sdStats.getAvailableBlocks() * (long) sdStats.getBlockSize();
333 long iSize = (long) intStats.getAvailableBlocks() * (long) intStats.getBlockSize();
    [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 

Completed in 7975 milliseconds

1 2