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

1 2

  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppShareInfo.java 73 int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) {
84 mTotalBytes = totalBytes;
BluetoothOppTransferAdapter.java 102 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES));
112 mContext, totalBytes));
115 mContext, totalBytes));
BluetoothOppUtility.java 248 public static String formatProgressText(long totalBytes, long currentBytes) {
249 if (totalBytes <= 0) {
252 long progress = currentBytes * 100 / totalBytes;
  /frameworks/base/core/java/android/net/
NetworkPolicy.java 104 public boolean isOverWarning(long totalBytes) {
105 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes;
112 public boolean isOverLimit(long totalBytes) {
115 totalBytes += 2 * DEFAULT_MTU;
116 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes;
NetworkStatsHistory.java 81 private long totalBytes;
114 totalBytes = 0;
132 totalBytes = in.readLong();
145 out.writeLong(totalBytes);
160 totalBytes = total(rxBytes) + total(txBytes);
175 totalBytes = total(rxBytes) + total(txBytes);
235 return totalBytes;
345 totalBytes += entry.rxBytes + entry.txBytes;
465 // TODO: subtract removed values from totalBytes
  /external/skia/tests/
SwizzlerTest.cpp 29 const size_t totalBytes = imageInfo.getSafeSize(rowBytes) + offset;
32 SkAutoTDeleteArray<uint8_t> storage(SkNEW_ARRAY(uint8_t, totalBytes));
33 memset(storage.get(), 0, totalBytes);
Writer32Test.cpp 166 size_t totalBytes = writer->bytesWritten();
168 SkAutoMalloc readStorage(totalBytes);
172 reader.setMemory(readStorage.get(), totalBytes);
CodexTest.cpp 180 size_t totalBytes = scaledInfo.getSafeSize(rowBytes);
181 SkAutoTMalloc<SkPMColor> pixels(totalBytes);
  /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/
StorageVolumePreference.java 71 final long totalBytes = path.getTotalSpace();
72 final long usedBytes = totalBytes - freeBytes;
75 final String total = Formatter.formatFileSize(context, totalBytes);
77 mUsedPercent = (int) ((usedBytes * 100) / totalBytes);
PublicVolumeSettings.java 140 final long totalBytes = file.getTotalSpace();
142 final long usedBytes = totalBytes - freeBytes;
148 Formatter.formatFileSize(context, totalBytes)));
149 mSummary.setPercent((int) ((usedBytes * 100) / totalBytes));
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 174 int totalBytes = 0;
183 totalBytes = cursor.getInt(
189 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
190 if (totalBytes == 0) {
194 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
203 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
  /external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
OGGLoader.java 176 int totalBytes = numSamples * streamHdr.getChannels() * 2;
181 // System.out.println("Bytes Calculated: " + totalBytes);
186 return Math.min(totalBytes, dataBytesTotal);
198 int totalBytes = getOggTotalBytes(Integer.MAX_VALUE);
200 return (float)totalBytes / bytesPerSec;
  /external/libvncserver/libvncserver/
stats.c 381 double totalBytes=0.0;
406 totalBytes += bytes;
424 totalBytes += bytes;
429 savings = 100.0 - ((totalBytes/totalBytesIfRaw)*100.0);
431 "TOTALS", totalRects, totalBytes,totalBytesIfRaw, savings);
434 totalBytes=0.0;
452 totalBytes += bytes;
469 totalBytes += bytes;
474 savings = 100.0 - ((totalBytes/totalBytesIfRaw)*100.0);
476 "TOTALS", totalRects, totalBytes,totalBytesIfRaw, savings)
    [all...]
  /external/skia/src/codec/
SkCodec_libbmp.cpp 151 uint32_t totalBytes;
168 totalBytes = get_int(hBuffer.get(), 2);
187 totalBytes = 0;
497 if (totalBytes <= offset && kRLE_BitmapInputFormat == inputFormat) {
501 const size_t RLEBytes = totalBytes - offset;
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadInfo.java 384 public NetworkState checkCanUseNetwork(long totalBytes) {
398 return checkIsNetworkTypeAllowed(info.getType(), totalBytes);
414 private NetworkState checkIsNetworkTypeAllowed(int networkType, long totalBytes) {
422 return checkSizeAllowedForNetwork(networkType, totalBytes);
449 private NetworkState checkSizeAllowedForNetwork(int networkType, long totalBytes) {
450 if (totalBytes <= 0) {
457 if (maxBytesOverMobile != null && totalBytes > maxBytesOverMobile) {
464 && totalBytes > recommendedMaxBytesOverMobile) {
  /external/zlib/src/contrib/minizip/
mztools.c 43 uLong totalBytes = 0;
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
  /frameworks/base/core/java/android/bluetooth/le/
BluetoothLeAdvertiser.java 121 if (totalBytes(advertiseData, isConnectable) > MAX_ADVERTISING_DATA_BYTES ||
122 totalBytes(scanResponse, false) > MAX_ADVERTISING_DATA_BYTES) {
174 private int totalBytes(AdvertiseData data, boolean isFlagsIncluded) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
ManageCachePage.java 368 long totalBytes = mCacheStorageInfo.getTotalBytes();
374 if (totalBytes == 0) {
382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes));
384 (int) (expectedBytes * PROGRESS_BAR_MAX / totalBytes));
  /build/tools/signtos/
SignTos.java 238 int totalBytes = 0;
244 totalBytes += bytesRead;
  /libcore/luni/src/main/java/java/util/zip/
ZipOutputStream.java 568 final long totalBytes = crc.tbytes + byteCount;
569 if ((totalBytes > Zip64.MAX_ZIP_ENTRY_AND_ARCHIVE_SIZE) && !currentEntryNeedsZip64) {
570 throw new IOException("Zip entry size (" + totalBytes +
  /frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java     [all...]
  /frameworks/base/packages/Shell/src/com/android/shell/
BugreportReceiver.java 220 int totalBytes = Streams.copy(is, zos);
221 Log.v(TAG, "size of original bugreport: " + totalBytes + " bytes");
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileDataControllerImpl.java 154 final long totalBytes = entry.rxBytes + entry.txBytes;
156 usage.usageLevel = totalBytes;
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodeTest.java 373 int totalBytes = hashCode.bits() / 8;
375 for (int bytes = 0; bytes < totalBytes; bytes++) {

Completed in 783 milliseconds

1 2