/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 129 public long mTotalBytes; field in DownloadThread.DownloadInfoDelta 142 mTotalBytes = info.mTotalBytes; in DownloadInfoDelta() 156 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, mTotalBytes); in buildContentValues() 262 if (mInfoDelta.mTotalBytes == -1) { in run() 263 mInfoDelta.mTotalBytes = mInfoDelta.mCurrentBytes; in run() 444 final boolean hasLength = mInfoDelta.mTotalBytes != -1; in transferData() 481 if (mInfoDelta.mTotalBytes > 0) { in transferData() 483 final long newBytes = mInfoDelta.mTotalBytes - curSize; in transferData() 489 Os.posix_fallocate(outFd, 0, mInfoDelta.mTotalBytes); in transferData() 493 Os.ftruncate(outFd, mInfoDelta.mTotalBytes); in transferData() [all …]
|
D | DownloadInfo.java | 93 info.mTotalBytes = getLong(Downloads.Impl.COLUMN_TOTAL_BYTES); in updateFromDatabase() 228 public long mTotalBytes; field in DownloadInfo 339 return checkCanUseNetwork(mTotalBytes) == NetworkState.OK; in isReadyToDownload() 550 pw.printPair("mTotalBytes", mTotalBytes); in dump()
|
D | DownloadNotifier.java | 214 if (info.mTotalBytes != -1) { in updateWithLocked() 216 total += info.mTotalBytes; in updateWithLocked()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 58 private long mTotalBytes; field in FileCache 121 mTotalBytes += entry.size; in store() 125 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in store() 152 mTotalBytes -= file.size; in lookup() 207 if (cursor.moveToNext()) mTotalBytes = cursor.getLong(0); in initialize() 211 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize() 224 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed() 237 mTotalBytes -= size; in freeSomeSpaceIfNeed()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 78 private long mTotalBytes = 0; field in DownloadCache 159 if (mTotalBytes <= mCapacity) return; in freeSomeSpaceIfNeed() 164 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed() 175 mTotalBytes -= size; in freeSomeSpaceIfNeed() 190 mTotalBytes += size; in insertEntry() 212 mTotalBytes = 0; in initialize() 215 mTotalBytes = cursor.getLong(SUM_INDEX_SUM); in initialize() 220 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | CacheStorageUsageInfo.java | 32 private long mTotalBytes; field in CacheStorageUsageInfo 68 mTotalBytes = blockSize * totalBlocks; in loadStorageInfo() 75 return mTotalBytes; in getTotalBytes() 88 return mTotalBytes - mUsedBytes; in getFreeBytes()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 274 mTransInfo.mTotalBytes)); in customizeViewContent() 293 this, mTransInfo.mTotalBytes)); in customizeViewContent() 312 mTransInfo.mTotalBytes)); in customizeViewContent() 432 if (mTransInfo.mTotalBytes == 0) { in updateProgressbar() 437 mProgressTransfer.setMax(mTransInfo.mTotalBytes); in updateProgressbar() 442 mPercentView.setText(BluetoothOppUtility.formatProgressText(mTransInfo.mTotalBytes, in updateProgressbar()
|
D | BluetoothOppShareInfo.java | 63 public int mTotalBytes; field in BluetoothOppShareInfo 84 mTotalBytes = totalBytes; in BluetoothOppShareInfo()
|
D | BluetoothOppTransferInfo.java | 44 int mTotalBytes; field in BluetoothOppTransferInfo
|
D | BluetoothOppService.java | 599 Log.v(TAG, "TOTAL : " + info.mTotalBytes); in insertShare() 733 info.mTotalBytes = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in updateShare()
|
D | BluetoothOppIncomingFileConfirmActivity.java | 132 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in createView()
|
D | BluetoothOppUtility.java | 78 info.mTotalBytes = cursor.getInt(cursor in queryRecord()
|