/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
PrivateStorageInfo.java | 33 public final long freeBytes; 36 public PrivateStorageInfo(long freeBytes, long totalBytes) { 37 this.freeBytes = freeBytes;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
VolumeSizesLoaderTest.java | 27 assertThat(storageInfo.freeBytes).isEqualTo(1000L);
|
CachedStorageValuesHelperTest.java | 99 assertThat(info.freeBytes).isEqualTo(1000L);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreference.java | 76 final long freeBytes = path.getFreeSpace(); 77 final long usedBytes = totalBytes - freeBytes; 86 if (freeBytes < mStorageManager.getStorageLowBytes(path)) {
|
PublicVolumeSettings.java | 169 final long freeBytes = file.getFreeSpace(); 170 final long usedBytes = totalBytes - freeBytes;
|
PrivateVolumeSettings.java | 252 final long freeBytes = mVolume.getPath().getFreeSpace(); 253 final long usedBytes = mTotalSize - freeBytes; 255 if (LOGV) Log.v(TAG, "update() freeBytes: " + freeBytes + " usedBytes: " + usedBytes); [all...] |
StorageDashboardFragment.java | 127 long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes;
|
StorageSettings.java | 535 double privateUsedBytes = info.totalBytes - info.freeBytes; 538 Formatter.formatFileSize(mContext, info.freeBytes)));
|
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/ |
CacheQuotaServiceImpl.java | 123 long freeBytes = 0; 125 freeBytes = Environment.getDataDirectory().getUsableSpace(); 128 freeBytes = vol.getPath().getUsableSpace(); 130 return Math.round(freeBytes * CACHE_RESERVE_RATIO);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
CachedStorageValuesHelper.java | 71 final long freeBytes = mSharedPreferences.getLong(FREE_BYTES_KEY, -1); 73 if (freeBytes < 0 || totalBytes < 0) { 77 return new PrivateStorageInfo(freeBytes, totalBytes); 137 .putLong(FREE_BYTES_KEY, storageInfo.freeBytes)
|
/prebuilts/go/darwin-x86/test/ |
finprofiled.go | 58 bytes := p.AllocBytes - p.FreeBytes
|
/prebuilts/go/linux-x86/test/ |
finprofiled.go | 58 bytes := p.AllocBytes - p.FreeBytes
|
/external/icu/icu4c/source/test/cintltst/ |
ucsdetst.c | 86 static void freeBytes(char *bytes) 156 freeBytes(bytes); 219 freeBytes(leBytes); 220 freeBytes(beBytes); 274 freeBytes(bWindows); 275 freeBytes(bISO); 346 freeBytes(bytes); 510 freeBytes(bytes); 511 freeBytes(bytes_r); 588 freeBytes(bytes) [all...] |
/external/icu/icu4c/source/test/intltest/ |
csdetest.cpp | 152 static void freeBytes(char *bytes) 237 freeBytes(bytes); 351 freeBytes(bytes); 417 freeBytes(leBytes); 418 freeBytes(beBytes); 483 freeBytes(bytes); 530 freeBytes(bWindows); 531 freeBytes(bISO); 677 freeBytes(bytes); 678 freeBytes(bytes_r) [all...] |
/external/webrtc/webrtc/base/ |
unixfilesystem.cc | 507 int64_t* freebytes) { 511 ASSERT(NULL != freebytes); 531 *freebytes = static_cast<int64_t>(vfs.f_bsize) * vfs.f_bavail; 533 *freebytes = static_cast<int64_t>(vfs.f_frsize) * vfs.f_bavail;
|
fileutils.h | 237 virtual bool GetDiskFreeSpace(const Pathname& path, int64_t* freebytes) = 0; 382 static bool GetDiskFreeSpace(const Pathname& path, int64_t* freebytes) { 383 return EnsureDefaultFilesystem()->GetDiskFreeSpace(path, freebytes);
|
fileutils_mock.h | 240 bool GetDiskFreeSpace(const Pathname& path, int64_t* freebytes) {
|
unixfilesystem.h | 110 bool GetDiskFreeSpace(const Pathname& path, int64_t* freebytes) override;
|
/prebuilts/go/darwin-x86/src/runtime/ |
mprof.go | 397 AllocBytes, FreeBytes int64 // number of bytes allocated, freed 402 // InUseBytes returns the number of bytes in use (AllocBytes - FreeBytes). 403 func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes } 429 // where r.AllocBytes > 0 but r.AllocBytes == r.FreeBytes. 488 r.FreeBytes = int64(mp.free_bytes)
|
/prebuilts/go/linux-x86/src/runtime/ |
mprof.go | 397 AllocBytes, FreeBytes int64 // number of bytes allocated, freed 402 // InUseBytes returns the number of bytes in use (AllocBytes - FreeBytes). 403 func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes } 429 // where r.AllocBytes > 0 but r.AllocBytes == r.FreeBytes. 488 r.FreeBytes = int64(mp.free_bytes)
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ManageCachePage.java | 371 long freeBytes = mCacheStorageInfo.getFreeBytes(); 386 Formatter.formatFileSize(activity, freeBytes));
|
/hardware/interfaces/contexthub/1.0/ |
types.hal | 175 uint32_t freeBytes; // Free capacity in bytes
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
AutomaticStorageManagementJobService.java | 125 return info.freeBytes < lowStorageThreshold;
|
/prebuilts/go/darwin-x86/src/runtime/pprof/ |
pprof.go | 514 total.FreeBytes += r.FreeBytes
|
/prebuilts/go/linux-x86/src/runtime/pprof/ |
pprof.go | 514 total.FreeBytes += r.FreeBytes
|