Home
last modified time | relevance | path

Searched refs:mCurrentBytes (Results 1 – 11 of 11) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java154 public long mCurrentBytes; field in DownloadThread.DownloadInfoDelta
175 mCurrentBytes = info.mCurrentBytes; in DownloadInfoDelta()
189 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, mCurrentBytes); in buildContentValues()
316 mInfoDelta.mTotalBytes = mInfoDelta.mCurrentBytes; in run()
407 final boolean resuming = mInfoDelta.mCurrentBytes != 0; in executeDownload()
584 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()
660 mInfoDelta.mCurrentBytes += len; in transferData()
670 if (mInfoDelta.mTotalBytes != -1 && mInfoDelta.mCurrentBytes != mInfoDelta.mTotalBytes) { in transferData()
672 + mInfoDelta.mCurrentBytes + " instead of " + mInfoDelta.mTotalBytes); in transferData()
759 final long currentBytes = mInfoDelta.mCurrentBytes; in updateProgress()
[all …]
DDownloadInfo.java86 info.mCurrentBytes = getLong(Downloads.Impl.COLUMN_CURRENT_BYTES); in updateFromDatabase()
175 public long mCurrentBytes; field in DownloadInfo
427 pw.printPair("mCurrentBytes", mCurrentBytes); in dump()
DHelpers.java203 if (info.mCurrentBytes > 0 && !TextUtils.isEmpty(info.mETag)) { in scheduleJob()
207 if (info.mTotalBytes > info.mCurrentBytes) { in scheduleJob()
208 remainingBytes = info.mTotalBytes - info.mCurrentBytes; in scheduleJob()
DDownloadProvider.java1007 downloadCompleted ? info.mTotalBytes : info.mCurrentBytes); in convertToMediaProviderValues()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java65 public long mCurrentBytes; field in BluetoothOppShareInfo
97 mCurrentBytes = currentBytes; in BluetoothOppShareInfo()
DBluetoothOppTransferActivity.java426 + mTransInfo.mCurrentBytes in updateProgressbar()
430 + (int) ((mTransInfo.mCurrentBytes * 100) / mTransInfo.mTotalBytes) in updateProgressbar()
433 (int) ((mTransInfo.mCurrentBytes * 100) / mTransInfo.mTotalBytes)); in updateProgressbar()
440 mTransInfo.mTotalBytes, mTransInfo.mCurrentBytes)); in updateProgressbar()
DBluetoothOppTransferInfo.java46 long mCurrentBytes; field in BluetoothOppTransferInfo
DBluetoothOppService.java312 + info.mCurrentBytes in dump()
859 Log.v(TAG, "CURRENT : " + info.mCurrentBytes); in insertShare()
1014 info.mCurrentBytes = in updateShare()
DBluetoothOppUtility.java124 info.mCurrentBytes = in fillRecord()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppShareInfoTest.java69 assertThat(mBluetoothOppShareInfo.mCurrentBytes).isEqualTo(42); in testConstructor()
DBluetoothOppUtilityTest.java322 assertThat(info.mCurrentBytes).isEqualTo(currentBytesValue); in fillRecord_filledAllProperties()