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

1 2

  /external/chromium_org/third_party/WebKit/Tools/Scripts/
malloc-tree 66 self.totalBytes = bytes
79 return self.totalBytes
82 self.totalBytes = self.totalBytes + bytes
105 byteStr = byteString(self.totalBytes)
108 print(' %s%s %s' % (self.level * ' ', byteString(self.totalBytes), self.name))
110 print('%s %s%s' % (byteString(self.totalBytes), prefix[:-1], self.name))
127 byteStr = byteString(self.totalBytes)
130 print(' %s%s %s' % (self.level * ' ', byteString(self.totalBytes), self.name))
132 print('%s %s%s' % (byteString(self.totalBytes), prefix[:-1], self.name)
    [all...]
  /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 79 private long totalBytes;
112 totalBytes = 0;
130 totalBytes = in.readLong();
143 out.writeLong(totalBytes);
158 totalBytes = total(rxBytes) + total(txBytes);
173 totalBytes = total(rxBytes) + total(txBytes);
233 return totalBytes;
343 totalBytes += entry.rxBytes + entry.txBytes;
463 // TODO: subtract removed values from 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/chromium_org/third_party/WebKit/Source/core/fileapi/
FileReaderLoader.h 94 long long totalBytes() const { return m_totalBytes; }
FileReader.cpp 381 if (m_loader->totalBytes() >= 0)
382 dispatchEvent(ProgressEvent::create(type, true, m_loader->bytesLoaded(), m_loader->totalBytes()));
  /external/chromium_org/third_party/angle/src/compiler/translator/
PoolAlloc.cpp 58 totalBytes(0)
212 totalBytes += numBytes;
PoolAlloc.h 210 size_t totalBytes; // just an interesting statistic
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodesTest.java 102 int totalBytes = hashCode.bits() / 8;
104 for (int bytes = 0; bytes < totalBytes; bytes++) {
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadInfo.java 372 public NetworkState checkCanUseNetwork(long totalBytes) {
386 return checkIsNetworkTypeAllowed(info.getType(), totalBytes);
402 private NetworkState checkIsNetworkTypeAllowed(int networkType, long totalBytes) {
410 return checkSizeAllowedForNetwork(networkType, totalBytes);
437 private NetworkState checkSizeAllowedForNetwork(int networkType, long totalBytes) {
438 if (totalBytes <= 0) {
445 if (maxBytesOverMobile != null && totalBytes > maxBytesOverMobile) {
452 && totalBytes > recommendedMaxBytesOverMobile) {
  /external/chromium_org/third_party/zlib/contrib/minizip/
mztools.c 43 uLong totalBytes = 0;
119 totalBytes += dataSize;
274 *bytesRecovered = totalBytes;
  /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 119 if (totalBytes(advertiseData) > MAX_ADVERTISING_DATA_BYTES ||
120 totalBytes(scanResponse) > MAX_ADVERTISING_DATA_BYTES) {
173 private int totalBytes(AdvertiseData data) {
  /dalvik/hit/src/com/android/hit/
HprofParser.java 536 int totalBytes = numElements * mIdSize;
537 byte[] data = new byte[totalBytes];
549 return mIdSize + 4 + 4 + mIdSize + totalBytes;
559 int totalBytes = numElements * size;
560 byte[] data = new byte[totalBytes];
570 return mIdSize + 4 + 4 + 1 + totalBytes;
  /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));
  /external/chromium_org/ui/file_manager/file_manager/background/js/
file_operation_handler.js 180 item.progressMax = event.status.totalBytes;
195 item.progressMax = event.status.totalBytes;
247 item.progressMax = event.totalBytes;
266 item.progressMax = event.totalBytes;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileDataController.java 148 final long totalBytes = entry.rxBytes + entry.txBytes;
150 usage.usageLevel = totalBytes;
  /external/chromium_org/third_party/skia/tests/
Writer32Test.cpp 166 uint32_t totalBytes = writer->bytesWritten();
168 SkAutoMalloc readStorage(totalBytes);
172 reader.setMemory(readStorage.get(), totalBytes);
  /external/skia/tests/
Writer32Test.cpp 166 uint32_t totalBytes = writer->bytesWritten();
168 SkAutoMalloc readStorage(totalBytes);
172 reader.setMemory(readStorage.get(), totalBytes);
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
MemoryCache.h 165 // - totalBytes: The maximum number of bytes that the cache should consume overall.
166 void setCapacities(size_t minDeadBytes, size_t maxDeadBytes, size_t totalBytes);
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
generic_codec_test.cc 286 float totalBytes, actualBitrate;
318 totalBytes = 0;
342 totalBytesOneSec = _encodeCompleteCallback->EncodedBytes();//totalBytes;
351 totalBytes = _encodeCompleteCallback->EncodedBytes();
352 actualBitrate = (float)(8.0/1000)*(totalBytes / (_frameCnt / _frameRate));
  /frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java 703 final long totalBytes = getTotalBytes(policy.template, start, end);
705 if (policy.isOverLimit(totalBytes)) {
707 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes);
709 enqueueNotification(policy, TYPE_LIMIT, totalBytes);
716 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) {
717 enqueueNotification(policy, TYPE_WARNING, totalBytes);
    [all...]

Completed in 687 milliseconds

1 2