/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | contrast.cpp | 34 float total = 0; local 41 total += lumArray[i]; 43 const float avg = total / numPixels;
|
/frameworks/base/core/java/android/net/ |
H A D | TrafficStats.java | 295 long total = 0; 297 total += getTxPackets(iface); 299 return total; 312 long total = 0; 314 total += getRxPackets(iface); 316 return total; 329 long total = 0; 331 total += getTxBytes(iface); 333 return total; 346 long total [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | RandomBlock.java | 54 int total = 0; 55 while(total < BLOCK_SIZE) { 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); 60 total += result;
|
H A D | DiskStatsService.java | 91 long total = statfs.getBlockCount(); 92 if (bsize <= 0 || total <= 0) { 94 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); 101 pw.print(total * bsize / 1024); 102 pw.print("K total = "); 103 pw.print(avail * 100 / total);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffEntryImpl.h | 97 uint32_t total = getActualSize(); 98 WORD_ALIGN(total) 99 return (total <= OFFSET_SIZE) ? 0 : total; 104 uint32_t total = sizeof(T) * mCount; 107 total <<= 1; 109 return total; 196 uint32_t total = 0; local 198 total += mData[i]->getSize(); 200 return total; [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 78 while (accumulator < total) { 79 size_t count = total - accumulator; 100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument 115 while (accumulator < total) { 116 size_t count = total - accumulator;
|
H A D | AudioBufferProviderSource.cpp | 84 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, argument 94 ALOG_ASSERT(accumulator <= total); 95 size_t count = total - accumulator;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorfulnessFilter.java | 67 float total = 0; 73 total += value; 78 float value = hueHistogram[c] / total;
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 46 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
|
H A D | NBAIO.h | 186 // total Estimate of the number of frames the provider has available. This is an estimate, 211 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 228 // Returns NO_ERROR if a timestamp is available. The timestamp includes the total number 290 // total Estimate of the number of frames the consumer desires. This is an estimate, 317 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
|
/frameworks/av/media/libstagefright/ |
H A D | ClockEstimator.cpp | 160 LinearFit total; local 161 total.combine(mHead); 162 total.combine(mMain); 163 total.combine(mTail); 164 return total.interpolate(x);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | Part.java | 401 * Return the total sum of all parts and that of the last boundary 404 * @return The total length 418 * @return The total length 429 long total = 0; 437 total += l; 439 total += EXTRA_BYTES.length; 440 total += partBoundary.length; 441 total += EXTRA_BYTES.length; 442 total += CRLF_BYTES.length; 443 return total; [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestQueue.java | 142 long total = mCurrentFrameNumber; 144 total += b.getNumberOfRequests(); 146 return total - 1;
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 74 struct timespec total; // total elapsed time spent waiting local 75 total.tv_sec = 0; 76 total.tv_nsec = 0; 77 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting 199 if (!measure || requested->tv_sec < total.tv_sec || 200 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { 204 remaining.tv_sec = requested->tv_sec - total.tv_sec; 205 if ((remaining.tv_nsec = requested->tv_nsec - total 378 struct timespec total; // total elapsed time spent waiting local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 268 uint32_t total = 0; local 269 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 285 log.appendFormat(" Layers total %8d (numLayers = %zu)\n", 287 total += memused; 306 log.appendFormat(" FontRenderer %d total %8d / %8d\n", i, sizeA8 + sizeRGBA, 313 total += textureCache.getSize(); 314 total += renderBufferCache.getSize(); 315 total += gradientCache.getSize(); 316 total += pathCache.getSize(); 317 total [all...] |
H A D | ShadowTessellator.h | 47 // The total number of rays starting from the centroid of shadow area, in order 51 // The total number of all the vertices representing the shadow. 55 // The total number of indices used for drawing the shadow geometry as triangle strips. 107 static void checkOverflow(int used, int total, const char* bufferName);
|
H A D | ShadowTessellator.cpp | 274 void ShadowTessellator::checkOverflow(int used, int total, const char* bufferName) { argument 275 LOG_ALWAYS_FATAL_IF(used > total, "Error: %s overflow!!! used %d, total %d", 276 bufferName, used, total);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationCoreTestRunner.java | 152 long total = runtime.totalMemory(); 154 long used = total - free; 156 Log.d(TAG, "Total memory : " + total);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 58 size_t total = 0; local 76 total += rec.size; 78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 155 uint32_t total = calculateIfdSize(size); local 156 WORD_ALIGN(total); 158 total += mEntries[i]->getSize(); 160 return total; 356 uint32_t total = 0; local 358 total += byteCounts[i]; 360 return total;
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 149 int total = 0; local 258 total += t2 - t1;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 203 public static long total(long[] array) { method in class:ArrayUtils 204 long total = 0; 206 total += value; 208 return total;
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 319 float total = 0; 321 total += (float)mTiming[i]; 323 total /= mTiming.length; 324 Log.e(TAG, "time + " + total);
|
/frameworks/rs/ |
H A D | rsElement.cpp | 76 size_t total = 0; local 78 total += mFields[ct].e->mBits * mFields[ct].arraySize; 80 return total; 88 size_t total = 0; local 90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; 92 return total;
|
/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 744 int total = 0; 769 total += num; 773 return "# Open Cursors=" + total + s;
|