Searched refs:currentBytes (Results 1 – 13 of 13) sorted by relevance
89 currentBytes = 0, in testSingleJob()102 currentBytes = 4 in testSingleJob()113 currentBytes = 10 in testSingleJob()132 currentBytes = 0, in testMultipleJobs()141 currentBytes = 0, in testMultipleJobs()154 currentBytes = 4 in testMultipleJobs()165 currentBytes = 10 in testMultipleJobs()176 currentBytes = 30 in testMultipleJobs()187 currentBytes = 40 in testMultipleJobs()
120 var currentBytes = 0L in <lambda>() variable131 if (jobProgress.requiredBytes != -1L && jobProgress.currentBytes != -1L) { in <lambda>()133 currentBytes += jobProgress.currentBytes in <lambda>()141 mTotalProgress = (MAX_PROGRESS * currentBytes / requiredBytes).toInt() in <lambda>()
26 var currentBytes: Long = -1, variable in com.android.documentsui.testing.MutableJobProgress31 JobProgress(id, state, msg, hasFailures, currentBytes, requiredBytes, msRemaining)
110 int currentBytes = 42; in startThenStop_startsAndStopsClientThread() local126 currentBytes, in startThenStop_startsAndStopsClientThread()178 int currentBytes = 42; in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError() local194 currentBytes, in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError()
151 int currentBytes = 42; in addShare_updatesShareInfo() local167 currentBytes, in addShare_updatesShareInfo()264 int currentBytes = 42; in onPut_returnsObexHttpOk() local280 currentBytes, in onPut_returnsObexHttpOk()
31 @JvmField val currentBytes: Long = -1, constant in com.android.documentsui.services.JobProgress46 writeLong(currentBytes) in writeToParcel()
83 long currentBytes, in BluetoothOppShareInfo() argument97 mCurrentBytes = currentBytes; in BluetoothOppShareInfo()
344 public static String formatProgressText(long totalBytes, long currentBytes) { in formatProgressText() argument349 percent = currentBytes / (double) totalBytes; in formatProgressText()
88 assertEquals(HAM_BYTES.length + FRUITY_BYTES.length, progress.currentBytes); in runCopyFilesTest()109 assertEquals(FRUITY_BYTES.length, progress.currentBytes); in runCopyVirtualTypedFileTest()131 assertEquals(0, progress.currentBytes); in runCopyVirtualNonTypedFileTest()156 assertEquals(-1, progress.currentBytes); in runCopyEmptyDirTest()
66 assertEquals(-1, progress.currentBytes); in testCopy_BackendSideVirtualTypedFile_Fallback()
759 final long currentBytes = mInfoDelta.mCurrentBytes; in updateProgress() local763 final long sampleSpeed = ((currentBytes - mSpeedSampleBytes) * 1000) in updateProgress()778 mSpeedSampleBytes = currentBytes; in updateProgress()781 final long bytesDelta = currentBytes - mLastUpdateBytes; in updateProgress()790 mLastUpdateBytes = currentBytes; in updateProgress()
315 final long currentBytes = cursor.getLong(UpdateQuery.CURRENT_BYTES); in updateWithLocked() local319 current += currentBytes; in updateWithLocked()
82 currentBytes = 4, in testJobPanelAppearsOnClick()