Home
last modified time | relevance | path

Searched refs:currentBytes (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppShareInfoTest.java45 private int currentBytes = 42; field in BluetoothOppShareInfoTest
64 currentBytes, in setUp()
80 assertThat(mBluetoothOppShareInfo.mCurrentBytes).isEqualTo(currentBytes); in testConstructor()
DBluetoothOppObexClientSessionTest.java102 int currentBytes = 42; in startThenStop_startsAndStopsClientThread() local
118 currentBytes, in startThenStop_startsAndStopsClientThread()
170 int currentBytes = 42; in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError() local
186 currentBytes, in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError()
DBluetoothOppObexServerSessionTest.java143 int currentBytes = 42; in addShare_updatesShareInfo() local
159 currentBytes, in addShare_updatesShareInfo()
256 int currentBytes = 42; in onPut_returnsObexHttpOk() local
272 currentBytes, in onPut_returnsObexHttpOk()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java83 long currentBytes, in BluetoothOppShareInfo() argument
97 mCurrentBytes = currentBytes; in BluetoothOppShareInfo()
DBluetoothOppUtility.java337 public static String formatProgressText(long totalBytes, long currentBytes) { in formatProgressText() argument
342 percent = currentBytes / (double) totalBytes; in formatProgressText()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java736 final long currentBytes = mInfoDelta.mCurrentBytes; in updateProgress() local
740 final long sampleSpeed = ((currentBytes - mSpeedSampleBytes) * 1000) in updateProgress()
755 mSpeedSampleBytes = currentBytes; in updateProgress()
758 final long bytesDelta = currentBytes - mLastUpdateBytes; in updateProgress()
767 mLastUpdateBytes = currentBytes; in updateProgress()
DDownloadNotifier.java315 final long currentBytes = cursor.getLong(UpdateQuery.CURRENT_BYTES); in updateWithLocked() local
319 current += currentBytes; in updateWithLocked()