Searched refs:remainingBytes (Results 1 – 3 of 3) sorted by relevance
89 long remainingBytes = fetchRemainingBytes(TEN_MEGABYTES); in onCreate() local90 if (remainingBytes == 0) { in onCreate()108 (long) Math.ceil(remainingBytes in onCreate()139 long remainingBytes = extras.getLong(BYTES_TO_KILL); in onNewIntent() local140 Log.d(TAG, "Bytes to kill: " + remainingBytes); in onNewIntent()141 if (remainingBytes == 0) { in onNewIntent()157 writeToDisk(remainingBytes); in onNewIntent()269 private long writeToFos(FileOutputStream fos, long remainingBytes) { in writeToFos() argument271 while (remainingBytes != 0) { in writeToFos()274 Math.min(Runtime.getRuntime().freeMemory(), remainingBytes)); in writeToFos()[all …]
258 long remainingBytes = readForegroundBytesFromActivityDump(packageName); in overuseDiskIo() local260 sendBytesToKillApp(remainingBytes, packageName); in overuseDiskIo()262 remainingBytes = readForegroundBytesFromActivityDump(packageName); in overuseDiskIo()265 .that(remainingBytes).isEqualTo(0); in overuseDiskIo()326 private void sendBytesToKillApp(long remainingBytes, String appPkg) throws Exception { in sendBytesToKillApp() argument329 appPkg, ACTIVITY_CLASS, remainingBytes); in sendBytesToKillApp()
2786 int remainingBytes = srcBuffer.remaining(); in imageCopy() local2787 if (srcRowByteCount > remainingBytes) { in imageCopy()2788 srcRowByteCount = remainingBytes; in imageCopy()2790 remainingBytes = dstBuffer.remaining(); in imageCopy()2791 if (dstRowByteCount > remainingBytes) { in imageCopy()2792 dstRowByteCount = remainingBytes; in imageCopy()