/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 | 68 struct timespec total; // total elapsed time spent waiting in obtainBuffer() local 69 total.tv_sec = 0; in obtainBuffer() 70 total.tv_nsec = 0; in obtainBuffer() 193 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer() 194 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer() 198 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer() 199 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer() 227 total.tv_sec += after.tv_sec - before.tv_sec; in obtainBuffer() 231 total.tv_sec--; in obtainBuffer() 233 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 | 423 long total = 0; in getLengthOfParts() local 431 total += l; in getLengthOfParts() 433 total += EXTRA_BYTES.length; in getLengthOfParts() 434 total += partBoundary.length; in getLengthOfParts() 435 total += EXTRA_BYTES.length; in getLengthOfParts() 436 total += CRLF_BYTES.length; in getLengthOfParts() 437 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/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_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/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_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/base/libs/hwui/ |
D | Caches.cpp | 300 uint32_t total = 0; in dumpMemoryUsage() local 301 total += textureCache.getSize(); in dumpMemoryUsage() 302 total += layerCache.getSize(); in dumpMemoryUsage() 303 total += renderBufferCache.getSize(); in dumpMemoryUsage() 304 total += gradientCache.getSize(); in dumpMemoryUsage() 305 total += pathCache.getSize(); in dumpMemoryUsage() 306 total += tessellationCache.getSize(); in dumpMemoryUsage() 307 total += dropShadowCache.getSize(); in dumpMemoryUsage() 308 total += patchCache.getSize(); in dumpMemoryUsage() 310 total += fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage() [all …]
|
/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/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/docs/html/about/dashboards/ |
D | index.jd | 12 tr .total { 17 tr th.total { 406 $trh.append("<th scope='col' class='total'>Total</th>"); 411 $.each(densityTotals, function(i, total) { 423 var total = 0; 428 total += parseFloat(num); 431 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>"); 437 var $tr = $("<tr><th class='total'>Total</th></tr>"); 438 $.each(densityTotals, function(i, total) { 439 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>");
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 188 public static long total(long[] array) { in total() method in ArrayUtils 189 long total = 0; in total() local 191 total += value; in total() 193 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/java/tests/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 319 float total = 0; in doInBackground() local 321 total += (float)mTiming[i]; in doInBackground() 323 total /= mTiming.length; in doInBackground() 324 Log.e(TAG, "time + " + total); in doInBackground()
|