/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 152 public long mTotalBytes; field in DownloadThread.DownloadInfoDelta 173 mTotalBytes = info.mTotalBytes; in DownloadInfoDelta() 187 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, mTotalBytes); in buildContentValues() 316 if (mInfoDelta.mTotalBytes == -1) { in run() 317 mInfoDelta.mTotalBytes = mInfoDelta.mCurrentBytes; in run() 365 && !mInfo.isMeteredAllowed(mInfoDelta.mTotalBytes)) { in run() 534 final boolean hasLength = mInfoDelta.mTotalBytes != -1; in transferData() 580 if (mInfoDelta.mTotalBytes > 0 && mStorage.isAllocationSupported(outFd)) { in transferData() 581 mStorage.allocateBytes(outFd, mInfoDelta.mTotalBytes); in transferData() 657 if (mInfoDelta.mTotalBytes != -1 && mInfoDelta.mCurrentBytes != mInfoDelta.mTotalBytes) { in transferData() [all …]
|
D | Helpers.java | 180 builder.setRequiredNetworkType(info.getRequiredNetworkType(info.mTotalBytes)); in scheduleJob() 190 if (info.mTotalBytes > 0) { in scheduleJob() 194 builder.setEstimatedNetworkBytes(info.mTotalBytes - info.mCurrentBytes, in scheduleJob() 197 builder.setEstimatedNetworkBytes(info.mTotalBytes, JobInfo.NETWORK_BYTES_UNKNOWN); in scheduleJob()
|
D | DownloadInfo.java | 85 info.mTotalBytes = getLong(Downloads.Impl.COLUMN_TOTAL_BYTES); in updateFromDatabase() 174 public long mTotalBytes; field in DownloadInfo 428 pw.printPair("mTotalBytes", mTotalBytes); in dump()
|
D | DownloadProvider.java | 1048 downloadCompleted ? info.mTotalBytes : info.mCurrentBytes); in convertToMediaProviderValues()
|
/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/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 266 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in customizeViewContent() 285 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in customizeViewContent() 307 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in customizeViewContent() 407 if (mTransInfo.mTotalBytes != 0) { in updateProgressbar() 410 + mTransInfo.mTotalBytes + " (" + (int) ((mTransInfo.mCurrentBytes * 100) in updateProgressbar() 411 / mTransInfo.mTotalBytes) + "%)"); in updateProgressbar() 414 (int) ((mTransInfo.mCurrentBytes * 100) / mTransInfo.mTotalBytes)); in updateProgressbar() 419 mPercentView.setText(BluetoothOppUtility.formatProgressText(mTransInfo.mTotalBytes, in updateProgressbar()
|
D | BluetoothOppShareInfo.java | 63 public long mTotalBytes; field in BluetoothOppShareInfo 84 mTotalBytes = totalBytes; in BluetoothOppShareInfo()
|
D | BluetoothOppTransferInfo.java | 44 long mTotalBytes; field in BluetoothOppTransferInfo
|
D | BluetoothOppService.java | 275 + info.mTotalBytes); in dump() 752 Log.v(TAG, "TOTAL : " + info.mTotalBytes); in insertShare() 888 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in updateShare()
|
D | BluetoothOppIncomingFileConfirmActivity.java | 135 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in createView()
|
D | BluetoothOppUtility.java | 102 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in fillRecord()
|
D | BluetoothOppNotification.java | 595 .setSubText(Formatter.formatFileSize(mContext, info.mTotalBytes)) in updateIncomingFileConfirmNotification()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | StorageSummaryDonutPreferenceController.java | 39 private long mTotalBytes; field in StorageSummaryDonutPreferenceController 71 Formatter.formatShortFileSize(mContext, mTotalBytes))); in updateState() 72 summary.setPercent(mUsedBytes, mTotalBytes); in updateState() 101 mTotalBytes = total; in updateBytes()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageSummaryDonutPreferenceController.java | 39 private long mTotalBytes; field in StorageSummaryDonutPreferenceController 71 Formatter.formatShortFileSize(mContext, mTotalBytes))); in updateState() 72 summary.setPercent(mUsedBytes, mTotalBytes); in updateState() 101 mTotalBytes = total; in updateBytes()
|