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

1 2 3

  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 126 int totalBytes = 0;
135 totalBytes = cursor.getInt(
141 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
142 if (totalBytes == 0) {
146 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
155 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
  /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));
  /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;
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
MediaPlayerPrivateAndroid.h 80 virtual bool totalBytesKnown() const { return totalBytes() > 0; }
81 virtual unsigned totalBytes() const { return 0; }
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadNotification.java 84 void addItem(String title, long currentBytes, long totalBytes) {
86 if (totalBytes <= 0 || mTotalTotal == -1) {
89 mTotalTotal += totalBytes;
280 Context context, long totalBytes, long currentBytes) {
281 if (totalBytes <= 0) {
284 final int percent = (int) (100 * currentBytes / 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/webkit/Source/WebCore/fileapi/
FileReaderLoader.h 77 unsigned totalBytes() const { return m_totalBytes; }
  /external/webkit/Source/WebCore/platform/graphics/avfoundation/
MediaPlayerPrivateAVFoundationObjC.h 99 virtual unsigned totalBytes() const;
  /external/webkit/Source/WebCore/platform/graphics/wince/
MediaPlayerPrivateWinCE.h 74 unsigned totalBytes() const;
  /external/webkit/Source/WebKit/chromium/public/
WebMediaPlayer.h 133 virtual unsigned long long totalBytes() const = 0;
  /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++) {
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/
PoolAlloc.cpp 80 totalBytes(0)
234 totalBytes += numBytes;
  /external/webkit/Source/WebCore/platform/graphics/qt/
MediaPlayerPrivatePhonon.h 108 unsigned totalBytes() const;
MediaPlayerPrivateQt.h 84 unsigned totalBytes() const;
  /external/webkit/Source/WebKit/mac/Plugins/
WebNetscapePluginStream.mm 507 int32_t totalBytes = [m_deliveryData.get() length];
510 while (totalBytesDelivered < totalBytes) {
524 deliveryBytes = min(deliveryBytes, totalBytes - totalBytesDelivered);
541 if (totalBytesDelivered < totalBytes) {
542 NSMutableData *newDeliveryData = [[NSMutableData alloc] initWithCapacity:totalBytes - totalBytesDelivered];
543 [newDeliveryData appendBytes:(char *)[m_deliveryData.get() bytes] + totalBytesDelivered length:totalBytes - totalBytesDelivered];
  /external/zlib/src/contrib/minizip/
mztools.c 43 uLong totalBytes = 0;
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadAdapter.java 143 long totalBytes = mCursor.getLong(mTotalBytesColumnId);
145 if (totalBytes >= 0) {
146 sizeText = Formatter.formatFileSize(mContext, totalBytes);
  /external/webkit/Source/WebCore/plugins/
PluginStream.cpp 333 int32_t totalBytes = m_deliveryData->size();
338 while (totalBytesDelivered < totalBytes) {
355 deliveryBytes = min(deliveryBytes, totalBytes - totalBytesDelivered);
377 if (totalBytesDelivered < totalBytes) {
378 int remainingBytes = totalBytes - totalBytesDelivered;
  /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;
  /external/webkit/Source/WebCore/loader/cache/
MemoryCache.h 123 // - totalBytes: The maximum number of bytes that the cache should consume overall.
124 void setCapacities(unsigned minDeadBytes, unsigned maxDeadBytes, unsigned totalBytes);
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
MediaPlayerPrivateGStreamer.h 92 unsigned totalBytes() const;
  /external/webkit/Source/WebCore/platform/graphics/win/
MediaPlayerPrivateQuickTimeWin.h 111 unsigned totalBytes() const;
  /external/webkit/Source/WebKit/chromium/src/
WebMediaPlayerClientImpl.h 112 virtual unsigned totalBytes() const;
  /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));

Completed in 586 milliseconds

1 2 3