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

1 2 3

  /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/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 167 int totalBytes = 0;
176 totalBytes = cursor.getInt(
182 numBytesReceivedSoFar + ", totalBytes: " + totalBytes);
183 if (totalBytes == 0) {
187 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
196 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/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/skia/tests/
Writer32Test.cpp 151 uint32_t totalBytes = writer->size();
153 SkAutoMalloc readStorage(totalBytes);
157 reader.setMemory(readStorage.get(), totalBytes);
  /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;
  /frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java 644 final long totalBytes = getTotalBytes(policy.template, start, end);
646 if (policy.isOverLimit(totalBytes)) {
648 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes);
650 enqueueNotification(policy, TYPE_LIMIT, totalBytes);
657 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) {
658 enqueueNotification(policy, TYPE_WARNING, totalBytes);
727 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) {
    [all...]

Completed in 1608 milliseconds

1 2 3