Home
last modified time | relevance | path

Searched refs:mCurrentBytes (Results 1 – 12 of 12) 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()
308 mInfoDelta.mTotalBytes = mInfoDelta.mCurrentBytes; in run()
399 final boolean resuming = mInfoDelta.mCurrentBytes != 0; in executeDownload()
561 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()
637 mInfoDelta.mCurrentBytes += len; in transferData()
647 if (mInfoDelta.mTotalBytes != -1 && mInfoDelta.mCurrentBytes != mInfoDelta.mTotalBytes) { in transferData()
649 + mInfoDelta.mCurrentBytes + " instead of " + mInfoDelta.mTotalBytes); in transferData()
736 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.java1006 downloadCompleted ? info.mTotalBytes : info.mCurrentBytes); in convertToMediaProviderValues()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferTest.java79 private final int mCurrentBytes = 42; field in BluetoothOppTransferTest
126 mCurrentBytes, in setUp()
158 mCurrentBytes, in onShareAdded_checkFirstPendingShare()
252 mCurrentBytes, in eventHandler_handleMessage_MSG_SHARE_COMPLETE_shareAdded()
304 mCurrentBytes, in eventHandler_handleMessage_MSG_SHARE_INTERRUPTED_batchFailed()
336 mCurrentBytes, in eventHandler_handleMessage_MSG_CONNECT_TIMEOUT()
DBluetoothOppShareInfoTest.java80 assertThat(mBluetoothOppShareInfo.mCurrentBytes).isEqualTo(currentBytes); in testConstructor()
DBluetoothOppUtilityTest.java321 assertThat(info.mCurrentBytes).isEqualTo(currentBytesValue); in fillRecord_filledAllProperties()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java65 public long mCurrentBytes; field in BluetoothOppShareInfo
97 mCurrentBytes = currentBytes; in BluetoothOppShareInfo()
DBluetoothOppTransferActivity.java427 + mTransInfo.mCurrentBytes in updateProgressbar()
431 + (int) ((mTransInfo.mCurrentBytes * 100) / mTransInfo.mTotalBytes) in updateProgressbar()
434 (int) ((mTransInfo.mCurrentBytes * 100) / mTransInfo.mTotalBytes)); in updateProgressbar()
441 mTransInfo.mTotalBytes, mTransInfo.mCurrentBytes)); in updateProgressbar()
DBluetoothOppTransferInfo.java46 long mCurrentBytes; field in BluetoothOppTransferInfo
DBluetoothOppService.java323 + info.mCurrentBytes in dump()
880 Log.v(TAG, "CURRENT : " + info.mCurrentBytes); in insertShare()
1035 info.mCurrentBytes = in updateShare()
DBluetoothOppUtility.java119 info.mCurrentBytes = in fillRecord()