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

1 2 3

  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 125 int totalBytes = 0;
134 totalBytes = cursor.getInt(
140 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
141 if (totalBytes == 0) {
145 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
154 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
  /external/webkit/Source/WebCore/platform/graphics/android/
MediaPlayerPrivateAndroid.h 80 virtual bool totalBytesKnown() const { return totalBytes() > 0; }
81 virtual unsigned totalBytes() const { return 0; }
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppShareInfo.java 71 int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) {
82 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 80 public boolean isOverLimit(long totalBytes) {
83 totalBytes += 2 * DEFAULT_MTU;
84 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
LoopbackExperiment.java 160 int totalBytes = mSamples * AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
161 Log.i(TAG, "Recording " + totalBytes + " bytes");
164 while (position < totalBytes && mProceed) {
165 bytes = mRecord.read(mBuffer, position, totalBytes - position);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadNotification.java 77 void addItem(String title, long currentBytes, long totalBytes) {
79 if (totalBytes <= 0 || mTotalTotal == -1) {
82 mTotalTotal += totalBytes;
264 Context context, long totalBytes, long currentBytes) {
265 if (totalBytes <= 0) {
268 final int percent = (int) (100 * currentBytes / totalBytes);
  /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;
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 101 public long totalBytes;
  /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/contrib/minizip/
mztools.c 43 uLong totalBytes = 0;
119 totalBytes += dataSize;
274 *bytesRecovered = totalBytes;
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadAdapter.java 136 long totalBytes = mCursor.getLong(mTotalBytesColumnId);
138 if (totalBytes >= 0) {
139 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 305 milliseconds

1 2 3