Home
last modified time | relevance | path

Searched refs:bytesWritten (Results 1 – 25 of 28) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStatsEntry.java204 && record.foreground_wchar == foreground.bytesWritten in representsSameMetrics()
209 && record.background_wchar == background.bytesWritten in representsSameMetrics()
241 public final long bytesWritten; field in IoStatsEntry.Metrics
260 public Metrics(long bytesRead, long bytesWritten, long bytesReadFromStorage, in Metrics() argument
263 this.bytesWritten = bytesWritten; in Metrics()
277 dest.writeLong(bytesWritten); in writeToParcel()
289 jsonWriter.name("bytesWritten").value(bytesWritten); in writeToJson()
298 bytesWritten = in.readLong(); in Metrics()
309 bytesWritten = in.getLong("bytesWritten"); in Metrics()
326 bytesWritten - other.bytesWritten, in delta()
[all …]
DIoStats.java146 long bytesWritten = 0; in getForegroundTotals() local
153 bytesWritten += stats.foreground.bytesWritten; in getForegroundTotals()
160 bytesWritten, in getForegroundTotals()
172 long bytesWritten = 0; in getBackgroundTotals() local
179 bytesWritten += stats.background.bytesWritten; in getBackgroundTotals()
186 bytesWritten, in getBackgroundTotals()
201 foreground.bytesWritten + background.bytesWritten, in getTotals()
DUidIoRecord.java76 foreground_wchar - other.foreground.bytesWritten, in delta()
81 background_wchar - other.background.bytesWritten, in delta()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java367 int bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length); in run() local
368 if (bytesWritten <= 0) { in run()
380 mTsStreamWriter.writeToFile(dataBuffer, bytesWritten); in run()
384 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
388 int bytesToCopyInFirstPass = bytesWritten; in run()
394 if (bytesToCopyInFirstPass < bytesWritten) { in run()
400 bytesWritten - bytesToCopyInFirstPass); in run()
402 mBytesFetched += bytesWritten; in run()
DFileTsStreamer.java464 int bytesWritten = mSource.read(dataBuffer); in run() local
465 if (bytesWritten <= 0) { in run()
476 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
480 int bytesToCopyInFirstPass = bytesWritten; in run()
486 if (bytesToCopyInFirstPass < bytesWritten) { in run()
492 bytesWritten - bytesToCopyInFirstPass); in run()
494 mBytesFetched += bytesWritten; in run()
DTsStreamWriter.java126 public void writeToFile(byte[] buffer, int bytesWritten) { in writeToFile() argument
135 mFileOutputStream.write(buffer, 0, bytesWritten); in writeToFile()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java244 long bytesWritten = writePatchedDataToStream(newSize, patchData, outputStream); in writePatchToStream() local
246 if (bytesWritten != newSize) { in writePatchToStream()
248 "output size mismatch (expected %d but wrote %d)", newSize, bytesWritten)); in writePatchToStream()
250 return bytesWritten; in writePatchToStream()
322 long bytesWritten = writePatchedDataToStream(newSize, patchData, sessionOutputStream); in writePatchedDataToSession() local
325 if (bytesWritten != newSize) { in writePatchedDataToSession()
328 bytesWritten)); in writePatchedDataToSession()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java1299 int maxChunkSize, bytesToWrite, bytesWritten = 0, listSize; in sendMessageListingRsp() local
1462 while (bytesWritten < outBytes.length && !mIsAborted) { in sendMessageListingRsp()
1463 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); in sendMessageListingRsp()
1464 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendMessageListingRsp()
1465 bytesWritten += bytesToWrite; in sendMessageListingRsp()
1490 if (bytesWritten != outBytes.length && !mIsAborted) { in sendMessageListingRsp()
1573 int maxChunkSize, bytesToWrite, bytesWritten = 0; in sendConvoListingRsp() local
1695 while (bytesWritten < outBytes.length && !mIsAborted) { in sendConvoListingRsp()
1696 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); in sendConvoListingRsp()
1697 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendConvoListingRsp()
[all …]
DBluetoothMnsObexClient.java433 int maxChunkSize, bytesToWrite, bytesWritten = 0; in sendEventHandler() local
504 while (bytesWritten < eventBytes.length) { in sendEventHandler()
505 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); in sendEventHandler()
506 outputStream.write(eventBytes, bytesWritten, bytesToWrite); in sendEventHandler()
507 bytesWritten += bytesToWrite; in sendEventHandler()
510 if (bytesWritten == eventBytes.length) { in sendEventHandler()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java313 int bytesWritten = 0; in sendResponse() local
318 while (bytesWritten < bytes.length) { in sendResponse()
319 bytesToWrite = Math.min(maxChunkSize, bytes.length - bytesWritten); in sendResponse()
320 outStream.write(bytes, bytesWritten, bytesToWrite); in sendResponse()
321 bytesWritten += bytesToWrite; in sendResponse()
335 if (bytesWritten != bytes.length) { in sendResponse()
/packages/modules/StatsD/statsd/src/external/
DPerfetto.cpp116 size_t bytesWritten = fwrite(cfgProto.data(), 1, cfgProto.size(), writePipeStream); in CollectPerfettoTraceAndUploadToDropbox() local
118 if (bytesWritten != cfgProto.size() || cfgProto.size() == 0) { in CollectPerfettoTraceAndUploadToDropbox()
119 ALOGE("fwrite() failed (ret: %zd) while calling the Perfetto client: %s", bytesWritten, in CollectPerfettoTraceAndUploadToDropbox()
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java74 int bytesWritten = 0; in saveDepth() local
81 bytesWritten += byteCount; in saveDepth()
90 bytesWritten, file, (t1 - t0) * 0.001)); in saveDepth()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DIoStatsTrackerTest.java106 assertEquals(10, sample0.foreground.bytesWritten); in testUserMetricsChange()
107 assertEquals(0, sample0.background.bytesWritten); in testUserMetricsChange()
136 assertEquals(0, sample0.background.bytesWritten); in testUpdateNoIoProcessActive()
189 assertEquals(0, sample0.background.bytesWritten); in testUpdateIoHappens()
DCarStorageMonitoringTest.java374 assertThat(entry.foreground.bytesWritten).isEqualTo(181736102); in testUidIoStatEntry()
379 assertThat(entry.background.bytesWritten).isEqualTo(0); in testUidIoStatEntry()
389 assertThat(entry.foreground.bytesWritten).isEqualTo(196802); in testUidIoStatEntry()
394 assertThat(entry.background.bytesWritten).isEqualTo(2048); in testUidIoStatEntry()
507 assertThat(delta21.foreground.bytesWritten).isEqualTo(100); in testUidIoStatEntryDelta()
513 assertThat(delta21.background.bytesWritten).isEqualTo(300); in testUidIoStatEntryDelta()
613 assertThat(foregroundTotals.bytesWritten).isEqualTo(200); in testUidIoStatsTotals()
620 assertThat(backgroundTotals.bytesWritten).isEqualTo(80); in testUidIoStatsTotals()
626 assertThat(overallTotals.bytesWritten).isEqualTo(280); in testUidIoStatsTotals()
/packages/modules/adb/
Dtest_device.py1485 bytesWritten = sock.send(b"a" * size)
1486 self.assertEqual(size, bytesWritten)
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt882 field TIRAMISU_0 long bytesWritten;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2358 field @Deprecated public final long bytesWritten;
/packages/services/Car/car-lib/api/
Dsystem-current.txt2358 field @Deprecated public final long bytesWritten;
Dtest-current.txt2439 field @Deprecated public final long bytesWritten;
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12