/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rs | 38 static int total; 57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z) 59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z) 61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) + 64 p1[total] = f1.xy; 65 p2[total] = f2.xy; 66 p3[total] = f3.xy; 67 d12[total] = p1[total] - p2[total]; 68 d23[total] = p2[total] - p3[total]; 69 d31[total] = p3[total] - p1[total]; [all …]
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 394 long total = 0; in getMobileTxPackets() local 396 total += getTxPackets(iface); in getMobileTxPackets() 398 return total; in getMobileTxPackets() 411 long total = 0; in getMobileRxPackets() local 413 total += getRxPackets(iface); in getMobileRxPackets() 415 return total; in getMobileRxPackets() 428 long total = 0; in getMobileTxBytes() local 430 total += getTxBytes(iface); in getMobileTxBytes() 432 return total; in getMobileTxBytes() 445 long total = 0; in getMobileRxBytes() local [all …]
|
/frameworks/base/libs/hwui/ |
D | Caches.cpp | 164 uint32_t total = 0; in dumpMemoryUsage() local 183 total += memused; in dumpMemoryUsage() 204 total += textureCache.getSize(); in dumpMemoryUsage() 205 total += renderBufferCache.getSize(); in dumpMemoryUsage() 206 total += gradientCache.getSize(); in dumpMemoryUsage() 207 total += pathCache.getSize(); in dumpMemoryUsage() 208 total += tessellationCache.getSize(); in dumpMemoryUsage() 209 total += dropShadowCache.getSize(); in dumpMemoryUsage() 210 total += patchCache.getSize(); in dumpMemoryUsage() 211 total += fontRenderer.getSize(); in dumpMemoryUsage() [all …]
|
D | ShadowTessellator.cpp | 185 void ShadowTessellator::checkOverflow(int used, int total, const char* bufferName) { in checkOverflow() argument 186 LOG_ALWAYS_FATAL_IF(used > total, "Error: %s overflow!!! used %d, total %d", in checkOverflow() 187 bufferName, used, total); in checkOverflow()
|
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/ |
D | GridLayoutTest.java | 73 int total = mGridView.getWidth(); in testUseDefaultMargin() local 76 assertTrue("test sanity", total > 0); in testUseDefaultMargin() 86 int total = mGridView.getWidth(); in testImplicitFillHorizontal() local 89 assertTrue("test sanity", total > 0); in testImplicitFillHorizontal() 99 int total = mGridView.getWidth(); in testMakeViewGone() local 102 assertTrue("test sanity", total > 0); in testMakeViewGone() 116 assertEquals(total, left); in testMakeViewGone() 124 int total = mGridView.getHeight(); in testWrapContentInOtherDirection() local 127 assertTrue("test sanity", total > 0); in testWrapContentInOtherDirection() 130 total < ((ViewGroup) mGridView.getParent()).getHeight()); in testWrapContentInOtherDirection()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | AppItem.java | 33 public long total; field in AppItem 46 total = parcel.readLong(); in AppItem() 57 dest.writeLong(total); in writeToParcel() 69 comparison = Long.compare(another.total, total); in compareTo()
|
/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 | 155 long total = statfs.getBlockCount(); in reportFreeSpace() local 156 if (bsize <= 0 || total <= 0) { in reportFreeSpace() 158 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); in reportFreeSpace() 165 proto.write(DiskStatsFreeSpaceProto.TOTAL_SPACE, total * bsize / 1024); in reportFreeSpace() 172 pw.print(total * bsize / 1024); in reportFreeSpace() 174 pw.print(avail * 100 / total); in reportFreeSpace()
|
/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, size_t block) in readVia() argument 114 while (accumulator < total) { in readVia() 115 size_t count = total - accumulator; in readVia()
|
D | AudioBufferProviderSource.cpp | 82 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, size_t block) in readVia() argument 91 ALOG_ASSERT(accumulator <= total); in readVia() 92 size_t count = total - accumulator; in readVia()
|
/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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | Result.java | 36 float total = 0.0f; in getTotalTime() local 38 total += time; in getTotalTime() 40 return total; in getTotalTime()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 115 struct timespec total; // total elapsed time spent waiting in obtainBuffer() local 116 total.tv_sec = 0; in obtainBuffer() 117 total.tv_nsec = 0; in obtainBuffer() 252 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer() 253 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer() 257 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer() 258 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer() 287 total.tv_sec += after.tv_sec - before.tv_sec; in obtainBuffer() 291 total.tv_sec--; in obtainBuffer() 293 if ((total.tv_nsec += deltaNs) >= 1000000000) { in obtainBuffer() [all …]
|
/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/tests/coretests/src/android/util/ |
D | TokenBucketTest.java | 132 int total = 0; in testBurst() local 133 while (total < want) { in testBurst() 137 total += tb.get(tb.available()); in testBurst() 140 assertDuration(total * delta, SystemClock.elapsedRealtime() - start); in testBurst()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestQueue.java | 140 long total = mCurrentFrameNumber; in calculateLastFrame() local 142 total += b.getNumberOfRequests(); in calculateLastFrame() 144 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/base/test-runner/src/android/test/ |
D | InstrumentationCoreTestRunner.java | 147 long total = runtime.totalMemory(); in getAndroidTestRunner() 149 long used = total - free; in getAndroidTestRunner() 151 Log.d(TAG, "Total memory : " + total); in getAndroidTestRunner()
|
/frameworks/native/cmds/bugreportz/ |
D | readme.md | 11 - `PROGRESS:<progress>/<total>` as `dumpstate` progresses (where `<progress>` is the current 12 progress units out of a max of `<total>`).
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 57 size_t total = 0; in dump() local 79 total += rec.size; in dump() 81 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0); in dump()
|
/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()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | SingleSupportFragmentTestBase.java | 105 int total = 0; in waitForScrollIdle() local 108 if ((total += 100) >= WAIT_FOR_SCROLL_IDLE_TIMEOUT_MS) { in waitForScrollIdle()
|
D | SingleFragmentTestBase.java | 102 int total = 0; in waitForScrollIdle() local 105 if ((total += 100) >= WAIT_FOR_SCROLL_IDLE_TIMEOUT_MS) { in waitForScrollIdle()
|
/frameworks/rs/tests/lldb/ |
D | run_tests.py | 661 total = 0 669 total += 1 683 assert passes + failures == total, 'Invalid test results status' 691 log.log_and_print('{0} of {1} passed'.format(passes, total)) 692 if total: 693 log.log_and_print('{0}% rate'.format((passes*100)/total)) 695 results.attrib['tests'] = str(total)
|