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

1 2 3

  /frameworks/base/core/java/android/app/usage/
ExternalStorageStats.java 31 /** {@hide} */ public long totalBytes;
46 return totalBytes;
105 this.totalBytes = in.readLong();
119 dest.writeLong(totalBytes);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
PrivateStorageInfo.java 34 public final long totalBytes;
36 public PrivateStorageInfo(long freeBytes, long totalBytes) {
38 this.totalBytes = totalBytes;
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
StorageStatsSource.java 66 public long totalBytes;
75 long totalBytes, long audioBytes, long videoBytes, long imageBytes, long appBytes) {
76 this.totalBytes = totalBytes;
89 totalBytes = stats.getTotalBytes();
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageVolumePreference.java 51 public StorageVolumePreference(Context context, VolumeInfo volume, int color, long totalBytes) {
73 if (totalBytes <= 0) {
74 totalBytes = path.getTotalSpace();
77 final long usedBytes = totalBytes - freeBytes;
80 final String total = Formatter.formatFileSize(context, totalBytes);
82 if (totalBytes > 0) {
83 mUsedPercent = (int) ((usedBytes * 100) / totalBytes);
StorageSummaryPreference.java 40 public void setPercent(long usedBytes, long totalBytes) {
41 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes),
PublicVolumeSettings.java 168 final long totalBytes = file.getTotalSpace();
170 final long usedBytes = totalBytes - freeBytes;
176 Formatter.formatFileSize(context, totalBytes)));
177 mSummary.setPercent(usedBytes, totalBytes);
StorageDashboardFragment.java 121 long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes;
122 mSummaryController.updateBytes(privateUsedBytes, mStorageInfo.totalBytes);
125 mPreferenceController.setTotalSize(mStorageInfo.totalBytes);
130 userController.setTotalSize(mStorageInfo.totalBytes);
  /libcore/ojluni/src/main/java/sun/misc/
CharacterDecoder.java 153 int totalBytes = 0;
164 totalBytes += bytesPerAtom();
168 totalBytes += bytesPerAtom();
171 totalBytes += (length - i);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppShareInfo.java 73 long totalBytes, long currentBytes, long timestamp, boolean mediaScanned) {
84 mTotalBytes = totalBytes;
BluetoothOppTransferAdapter.java 102 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES));
112 mContext, totalBytes));
115 mContext, totalBytes));
  /prebuilts/go/darwin-x86/test/
finprofiled.go 56 var totalBytes int64
62 totalBytes += bytes
66 if want := N*int64(unsafe.Sizeof(int32(0))) - 2*tinyBlockSize; totalBytes < want {
67 println("got", totalBytes, "want >=", want)
  /prebuilts/go/linux-x86/test/
finprofiled.go 56 var totalBytes int64
62 totalBytes += bytes
66 if want := N*int64(unsafe.Sizeof(int32(0))) - 2*tinyBlockSize; totalBytes < want {
67 println("got", totalBytes, "want >=", want)
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DumpDatabaseAction.java 65 int totalBytes = 0;
74 totalBytes += bytesRead;
97 ", copy size: " + totalBytes);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
StorageSummaryDonutPreference.java 62 public void setPercent(long usedBytes, long totalBytes) {
63 if (totalBytes == 0) {
67 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes),
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 176 int totalBytes = 0;
185 totalBytes = cursor.getInt(
191 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
192 if (totalBytes == 0) {
196 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
205 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
  /frameworks/base/core/java/android/net/
NetworkPolicy.java 114 public boolean isOverWarning(long totalBytes) {
115 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes;
122 public boolean isOverLimit(long totalBytes) {
125 totalBytes += 2 * DEFAULT_MTU;
126 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes;
  /external/skia/tests/
SwizzlerTest.cpp 32 const size_t totalBytes = imageInfo.getSafeSize(rowBytes) + offset;
35 std::unique_ptr<uint8_t[]> storage(new uint8_t[totalBytes]);
36 memset(storage.get(), 0, totalBytes);
YUVTest.cpp 59 size_t totalBytes =
63 SkAutoMalloc storage(totalBytes);
  /frameworks/base/core/java/android/bluetooth/le/
BluetoothLeAdvertiser.java 120 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES ||
121 totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
356 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
360 if (totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
378 if (totalBytes(advertiseData, isConnectable) > maxData) {
382 if (totalBytes(scanResponse, false) > maxData) {
386 if (totalBytes(periodicData, false) > maxData) {
472 private int totalBytes(AdvertiseData data, boolean isFlagsIncluded) {
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
VolumeSizesLoaderTest.java 28 assertThat(storageInfo.totalBytes).isEqualTo(10000L);
  /external/libvncserver/libvncserver/
stats.c 385 double totalBytes=0.0;
410 totalBytes += bytes;
428 totalBytes += bytes;
433 savings = 100.0 - ((totalBytes/totalBytesIfRaw)*100.0);
435 "TOTALS", totalRects, totalBytes,totalBytesIfRaw, savings);
438 totalBytes=0.0;
456 totalBytes += bytes;
473 totalBytes += bytes;
478 savings = 100.0 - ((totalBytes/totalBytesIfRaw)*100.0);
480 "TOTALS", totalRects, totalBytes,totalBytesIfRaw, savings)
    [all...]
  /external/swiftshader/src/OpenGL/compiler/
PoolAlloc.cpp 65 totalBytes(0)
219 totalBytes += numBytes;
  /external/zlib/src/contrib/minizip/
mztools.c 43 uLong totalBytes = 0;
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
  /external/lzma/CPP/7zip/UI/Common/
HashCalc.cpp 212 UInt64 totalBytes = 0;
233 totalBytes = dirItems.TotalSize;
260 RINOK(callback->SetTotal(totalBytes));
  /external/skia/src/codec/
SkBmpCodec.cpp 145 uint32_t totalBytes;
161 totalBytes = get_int(hBuffer.get(), 2);
180 totalBytes = 0;
549 if (totalBytes <= offset) {
556 // require that RLE Bmps have a valid number of totalBytes, and
557 // Icos skip the header that contains totalBytes.

Completed in 1406 milliseconds

1 2 3