OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StatFs
(Results
1 - 25
of
39
) sorted by null
1
2
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
StatFsTest.java
10
import android.os.
StatFs
;
19
StatFs
statsFs = new
StatFs
("/tmp");
30
StatFs
statsFs = new
StatFs
("/tmp");
40
StatFs
statsFs = new
StatFs
("/tmp");
50
StatFs
statsFs = new
StatFs
("/tmp");
/cts/libs/deviceutil/src/android/cts/util/
SystemUtil.java
22
import android.os.
StatFs
;
26
StatFs
statFs
= new
StatFs
(context.getFilesDir().getAbsolutePath());
27
return (long)
statFs
.getAvailableBlocks() *
statFs
.getBlockSize();
/cts/tests/tests/os/src/android/os/cts/
StatFsTest.java
22
import android.os.
StatFs
;
27
StatFs
stat = new
StatFs
(path.getPath());
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
CacheStorageUsageInfo.java
20
import android.os.
StatFs
;
63
StatFs
stat = new
StatFs
(path);
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
LowStorageTest.java
24
import android.os.
StatFs
;
52
StatFs
stat = new
StatFs
(path.getPath());
80
StatFs
stat = new
StatFs
(path.getPath());
122
StatFs
stat = new
StatFs
(path.getPath());
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStatFs.java
6
import android.os.
StatFs
;
12
@Implements(
StatFs
.class)
/frameworks/base/core/java/android/database/sqlite/
SQLiteGlobal.java
20
import android.os.
StatFs
;
64
sDefaultPageSize = new
StatFs
("/data").getBlockSize();
/frameworks/base/core/java/android/os/
StatFs.java
27
public class
StatFs
{
31
* Construct a new
StatFs
for looking at the stats of the filesystem at
38
public
StatFs
(String path) {
/frameworks/base/services/java/com/android/server/
DiskStatsService.java
23
import android.os.
StatFs
;
89
StatFs
statfs
= new
StatFs
(path.getPath());
local
90
long bsize =
statfs
.getBlockSize();
91
long avail =
statfs
.getAvailableBlocks();
92
long total =
statfs
.getBlockCount();
DeviceStorageMonitorService.java
36
import android.os.
StatFs
;
92
private
StatFs
mDataFileStats;
93
private
StatFs
mSystemFileStats;
94
private
StatFs
mCacheFileStats;
319
//create
StatFs
object
320
mDataFileStats = new
StatFs
(DATA_PATH.getAbsolutePath());
321
mSystemFileStats = new
StatFs
(SYSTEM_PATH.getAbsolutePath());
322
mCacheFileStats = new
StatFs
(CACHE_PATH.getAbsolutePath());
DropBoxManagerService.java
33
import android.os.
StatFs
;
92
private
StatFs
mStatFs = null;
591
mStatFs = new
StatFs
(mDropBoxDir.getPath());
593
} catch (IllegalArgumentException e) { //
StatFs
throws this on error
594
throw new IOException("Can't
statfs
: " + mDropBoxDir);
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java
25
import android.os.
StatFs
;
155
StatFs
fs = new
StatFs
(CACHE_DIR);
/packages/apps/Camera/src/com/android/camera/
Storage.java
26
import android.os.
StatFs
;
154
StatFs
stat = new
StatFs
(DIRECTORY);
/packages/apps/LegacyCamera/src/com/android/camera/
Storage.java
24
import android.os.
StatFs
;
122
StatFs
stat = new
StatFs
(DIRECTORY);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiveFileInfo.java
46
import android.os.
StatFs
;
112
StatFs
stat = null;
122
stat = new
StatFs
(base.getPath());
/packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java
26
import android.os.
StatFs
;
135
// For convenience, we provide a DiskInfo implementation that uses
StatFs
.
137
private
StatFs
mFs;
140
mFs = new
StatFs
(path);
/frameworks/base/core/tests/coretests/src/android/content/pm/
AppCacheTest.java
26
import android.os.
StatFs
;
112
long getFreeStorageBlks(
StatFs
st) {
117
long getFreeStorageSize(
StatFs
st) {
125
StatFs
st = new
StatFs
("/data");
143
StatFs
st = new
StatFs
("/data");
282
StatFs
st = new
StatFs
(dataDir);
643
StatFs
st = new StatFs("/data")
[
all
...]
/packages/apps/Camera2/src/com/android/camera/
Storage.java
29
import android.os.
StatFs
;
214
StatFs
stat = new
StatFs
(DIRECTORY);
/frameworks/support/v4/java/android/support/v4/content/
ContextCompat.java
24
import android.os.
StatFs
;
132
* most available space, as measured by {@link
StatFs
}.
191
* most available space, as measured by {@link
StatFs
}.
251
* most available space, as measured by {@link
StatFs
}.
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageCache.java
28
import android.os.
StatFs
;
657
final
StatFs
stats = new
StatFs
(path.getPath());
/packages/apps/Gallery2/src/com/android/gallery3d/util/
GalleryUtils.java
32
import android.os.
StatFs
;
395
StatFs
stat = new
StatFs
(path);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
StorageManager.java
29
import android.os.
StatFs
;
257
StatFs
stat = new
StatFs
(root.getPath());
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java
41
import android.os.
StatFs
;
792
final
StatFs
internalStats = new
StatFs
(Environment.getDataDirectory().getPath());
817
final
StatFs
sdStats = new
StatFs
(Environment.getExternalStorageDirectory().getPath());
[
all
...]
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
SoundRecorder.java
40
import android.os.
StatFs
;
121
StatFs
fs = new
StatFs
(mSDCardDirectory.getAbsolutePath());
179
StatFs
fs = new
StatFs
(mSDCardDirectory.getAbsolutePath());
/packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java
46
import android.os.
StatFs
;
532
StatFs
stat = new
StatFs
(storageDirectory);
Completed in 362 milliseconds
1
2