/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 295 long total = 0; in getMobileTxPackets() local 297 total += getTxPackets(iface); in getMobileTxPackets() 299 return total; in getMobileTxPackets() 312 long total = 0; in getMobileRxPackets() local 314 total += getRxPackets(iface); in getMobileRxPackets() 316 return total; in getMobileRxPackets() 329 long total = 0; in getMobileTxBytes() local 331 total += getTxBytes(iface); in getMobileTxBytes() 333 return total; in getMobileTxBytes() 346 long total = 0; in getMobileRxBytes() local [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffEntryImpl.h | 97 uint32_t total = getActualSize(); in getSize() local 98 WORD_ALIGN(total) in getSize() 99 return (total <= OFFSET_SIZE) ? 0 : total; in getSize() 104 uint32_t total = sizeof(T) * mCount; in getActualSize() local 107 total <<= 1; in getActualSize() 109 return total; in getActualSize() 196 uint32_t total = 0; in getActualSize() local 198 total += mData[i]->getSize(); in getActualSize() 200 return total; in getActualSize()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RandomBlock.java | 54 int total = 0; in fromStream() local 55 while(total < BLOCK_SIZE) { in fromStream() 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); in fromStream() 60 total += result; in fromStream()
|
D | DiskStatsService.java | 91 long total = statfs.getBlockCount(); in reportFreeSpace() local 92 if (bsize <= 0 || total <= 0) { in reportFreeSpace() 94 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); in reportFreeSpace() 101 pw.print(total * bsize / 1024); in reportFreeSpace() 103 pw.print(avail * 100 / total); in reportFreeSpace()
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 74 struct timespec total; // total elapsed time spent waiting in obtainBuffer() local 75 total.tv_sec = 0; in obtainBuffer() 76 total.tv_nsec = 0; in obtainBuffer() 199 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer() 200 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer() 204 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer() 205 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer() 233 total.tv_sec += after.tv_sec - before.tv_sec; in obtainBuffer() 237 total.tv_sec--; in obtainBuffer() 239 if ((total.tv_nsec += deltaNs) >= 1000000000) { in obtainBuffer() [all …]
|
/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) in writeVia() argument 78 while (accumulator < total) { in writeVia() 79 size_t count = total - accumulator; in writeVia() 100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, in readVia() argument 115 while (accumulator < total) { in readVia() 116 size_t count = total - accumulator; in readVia()
|
D | AudioBufferProviderSource.cpp | 84 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, in readVia() argument 94 ALOG_ASSERT(accumulator <= total); in readVia() 95 size_t count = total - accumulator; in readVia()
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
D | Part.java | 429 long total = 0; in getLengthOfParts() local 437 total += l; in getLengthOfParts() 439 total += EXTRA_BYTES.length; in getLengthOfParts() 440 total += partBoundary.length; in getLengthOfParts() 441 total += EXTRA_BYTES.length; in getLengthOfParts() 442 total += CRLF_BYTES.length; in getLengthOfParts() 443 return total; in getLengthOfParts()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | contrast.cpp | 34 float total = 0; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local 41 total += lumArray[i]; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() 43 const float avg = total / numPixels; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
|
/frameworks/base/libs/hwui/ |
D | Caches.cpp | 268 uint32_t total = 0; in dumpMemoryUsage() local 287 total += memused; in dumpMemoryUsage() 313 total += textureCache.getSize(); in dumpMemoryUsage() 314 total += renderBufferCache.getSize(); in dumpMemoryUsage() 315 total += gradientCache.getSize(); in dumpMemoryUsage() 316 total += pathCache.getSize(); in dumpMemoryUsage() 317 total += tessellationCache.getSize(); in dumpMemoryUsage() 318 total += dropShadowCache.getSize(); in dumpMemoryUsage() 319 total += patchCache.getSize(); in dumpMemoryUsage() 321 total += fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | fp_mad.rs | 11 float total = 0; 35 float total = 0; 59 float total = 0; 74 float total = 0; 89 float total = 0; 130 float total = 0;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | fp_mad.rs | 11 float total = 0; 35 float total = 0; 59 float total = 0; 74 float total = 0; 89 float total = 0; 130 float total = 0;
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | fp_mad.rs | 11 float total = 0; 35 float total = 0; 59 float total = 0; 74 float total = 0; 89 float total = 0; 130 float total = 0;
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | fp_mad.rs | 11 float total = 0; 35 float total = 0; 59 float total = 0; 74 float total = 0; 89 float total = 0; 130 float total = 0;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | fp_mad.rs | 11 float total = 0; 35 float total = 0; 59 float total = 0; 74 float total = 0; 89 float total = 0; 130 float total = 0;
|
/frameworks/av/media/libstagefright/ |
D | ClockEstimator.cpp | 160 LinearFit total; in estimate() local 161 total.combine(mHead); in estimate() 162 total.combine(mMain); in estimate() 163 total.combine(mTail); in estimate() 164 return total.interpolate(x); in estimate()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ColorfulnessFilter.java | 67 float total = 0; in onProcess() local 73 total += value; in onProcess() 78 float value = hueHistogram[c] / total; in onProcess()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestQueue.java | 142 long total = mCurrentFrameNumber; in calculateLastFrame() local 144 total += b.getNumberOfRequests(); in calculateLastFrame() 146 return total - 1; in calculateLastFrame()
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 155 uint32_t total = calculateIfdSize(size); in getSize() local 156 WORD_ALIGN(total); in getSize() 158 total += mEntries[i]->getSize(); in getSize() 160 return total; in getSize() 356 uint32_t total = 0; in getStripSize() local 358 total += byteCounts[i]; in getStripSize() 360 return total; in getStripSize()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 58 size_t total = 0; in dump() local 76 total += rec.size; in dump() 78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f); in dump()
|
/frameworks/base/docs/html/about/dashboards/ |
D | index.jd | 12 tr .total { 17 tr th.total { 416 $trh.append("<th scope='col' class='total'>Total</th>"); 421 $.each(densityTotals, function(i, total) { 433 var total = 0; 438 total += parseFloat(num); 441 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>"); 447 var $tr = $("<tr><th class='total'>Total</th></tr>"); 448 $.each(densityTotals, function(i, total) { 449 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>");
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationCoreTestRunner.java | 152 long total = runtime.totalMemory(); in getAndroidTestRunner() 154 long used = total - free; in getAndroidTestRunner() 156 Log.d(TAG, "Total memory : " + total); in getAndroidTestRunner()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 203 public static long total(long[] array) { in total() method in ArrayUtils 204 long total = 0; in total() local 206 total += value; in total() 208 return total; in total()
|
/frameworks/av/include/media/nbaio/ |
D | NBAIO.h | 211 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 317 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
|
/frameworks/rs/ |
D | rsElement.cpp | 76 size_t total = 0; in getSizeBits() local 78 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits() 80 return total; in getSizeBits() 88 size_t total = 0; in getSizeBitsUnpadded() local 90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; in getSizeBitsUnpadded() 92 return total; in getSizeBitsUnpadded()
|