OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getAvailableBlocks
(Results
1 - 25
of
48
) 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/v1/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));
/cts/common/device-side/util/src/com/android/compatibility/common/util/
SystemUtil.java
27
return (long)statFs.
getAvailableBlocks
() * statFs.getBlockSize();
/frameworks/base/core/java/android/os/
StatFs.java
103
* will want to use {@link #
getAvailableBlocks
()} instead.
122
public int
getAvailableBlocks
() {
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java
159
int availableBlocks = fs.
getAvailableBlocks
();
177
while (fs.
getAvailableBlocks
() >= remainderSizeBlocks) {
192
long spaceAvailable = fs.
getAvailableBlocks
() * blockSize;
/cts/libs/deviceutil/src/android/cts/util/
SystemUtil.java
32
return (long)statFs.
getAvailableBlocks
() * statFs.getBlockSize();
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStatFs.java
39
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/core/java/com/android/server/
DiskStatsService.java
95
long avail = statfs.
getAvailableBlocks
();
DropBoxManagerService.java
772
int available = mStatFs.
getAvailableBlocks
();
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
ImportTask.java
115
return stat.
getAvailableBlocks
() * (long) stat.getBlockSize() > size;
/frameworks/base/services/core/java/com/android/server/storage/
DeviceStorageMonitorService.java
167
mFreeMem = (long) mDataFileStats.
getAvailableBlocks
() *
189
mFreeSystem = (long) mSystemFileStats.
getAvailableBlocks
() *
196
mFreeCache = (long) mCacheFileStats.
getAvailableBlocks
() *
/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) {
/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/
ExternalStorageHelper.java
151
long availableBlocks = stat.
getAvailableBlocks
();
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
673
return (long) stats.getBlockSize() * (long) stats.
getAvailableBlocks
();
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
673
return (long) stats.getBlockSize() * (long) stats.
getAvailableBlocks
();
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java
673
return (long) stats.getBlockSize() * (long) stats.
getAvailableBlocks
();
/packages/apps/Camera2/src/com/android/camera/
Storage.java
510
return stat.
getAvailableBlocks
() * (long) stat.getBlockSize();
/packages/apps/Gallery2/src/com/android/gallery3d/util/
GalleryUtils.java
396
return stat.
getAvailableBlocks
() * (long) stat.getBlockSize() > size;
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
SoundRecorder.java
123
long blocks = fs.
getAvailableBlocks
();
182
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
332
sdSize = (long) sdStats.
getAvailableBlocks
() * (long) sdStats.getBlockSize();
341
long iSize = (long) intStats.
getAvailableBlocks
() * (long) intStats.getBlockSize();
[
all
...]
Completed in 1280 milliseconds
1
2