/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 | 176 // total Estimate of the number of frames the provider has available. This is an estimate, 201 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 275 // total Estimate of the number of frames the consumer desires. This is an estimate, 302 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/ |
H A D | MP4Source.cpp | 71 size_t total = 0; local 72 while (total < size) { 74 (uint8_t *)data + total, size - total, &extra); 82 mPosition += total; 86 total += n; 91 mPosition += total; 93 return total;
|
/frameworks/av/media/libnbaio/ |
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;
|
H A D | NBAIO.cpp | 95 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 109 while (accumulator < total) { 110 size_t count = total - accumulator; 131 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument 146 while (accumulator < total) { 147 size_t count = total - accumulator;
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 149 int total = 0; local 258 total += t2 - t1;
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 60 virtual int Length(long long* total, long long* available) { argument 63 *total = -1; 69 if (total) { 70 *total = size;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 168 // IAudioFlinger::createTrack() reports back to client the total size of shared memory area 1666 snprintf(buffer, SIZE, "total writes: %d\n", mNumWrites); 3631 size_t total = 0; local 3649 total += actual; 3652 uint32_t temp = 44 + total * channelCount * sizeof(short) - 8; 3655 temp = total * channelCount * sizeof(short); 4782 // a track is considered presented when the total number of frames written to audio HAL
|
/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 740 int total = 0; 765 total += num; 769 return "# Open Cursors=" + total + s;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 29 import static com.android.internal.util.ArrayUtils.total; 158 totalBytes = total(rxBytes) + total(txBytes); 173 totalBytes = total(rxBytes) + total(txBytes); 230 * Return total bytes represented by this history.
|
H A D | TrafficStats.java | 263 * Get the total number of packets transmitted through the mobile interface. 269 long total = 0; 271 total += getTxPackets(iface); 273 return total; 277 * Get the total number of packets received through the mobile interface. 283 long total = 0; 285 total += getRxPackets(iface); 287 return total; 291 * Get the total number of bytes transmitted through the mobile interface. 297 long total [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 319 * Outputs the total number of frames rendered (used for fps calculations) 1214 float total = (now - getDisplayListStartTime) * 0.000001f; 1216 mProfileData[mProfileCurrentFrame] = total; 1235 float total = (now - drawDisplayListStartTime) * 0.000001f; 1236 mProfileData[mProfileCurrentFrame + 1] = total; 1277 float total = (now - eglSwapBuffersStartTime) * 0.000001f; 1278 mProfileData[mProfileCurrentFrame + 2] = total;
|
H A D | ScaleGestureDetector.java | 183 float total = 0; 197 total += major; 221 final float avg = total / sampleCount;
|
/frameworks/base/core/java/android/webkit/ |
H A D | ByteArrayBuilder.java | 83 int total = 0; 87 total += c.mLength; 89 return total;
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | Part.java | 395 * Return the total sum of all parts and that of the last boundary 398 * @return The total length 412 * @return The total length 423 long total = 0; 431 total += l; 433 total += EXTRA_BYTES.length; 434 total += partBoundary.length; 435 total += EXTRA_BYTES.length; 436 total += CRLF_BYTES.length; 437 return total; [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 145 public static long total(long[] array) { method in class:ArrayUtils 146 long total = 0; 148 total += value; 150 return total;
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 148 size_t* total = (size_t*) arg; local 155 *total += uncompLen;
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseCursorTest.java | 263 int total; field in class:DatabaseCursorTest.TestObserver 268 total = total_; 274 if (total == count) {
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 175 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 206 uint32_t total = 0; local 207 total += textureCache.getSize(); 208 total += layerCache.getSize(); 209 total += gradientCache.getSize(); 210 total += pathCache.getSize(); 211 total += dropShadowCache.getSize(); 212 total += roundRectShapeCache.getSize(); 213 total += circleShapeCache.getSize(); 214 total [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 1010 int total, 1016 if (total % components != 0) { 1019 components, total); 1024 float* data_cpy = new float[total]; 1025 memcpy(data_cpy, data, sizeof(float) * total); 1008 SetAttributeValues(ProgramVar var, const float* data, int total, int components) argument
|
H A D | shader_program.h | 293 // total number of elements in total. 296 int total, 469 // total size.
|
/frameworks/base/services/java/com/android/server/ |
H A D | DiskStatsService.java | 92 long total = statfs.getBlockCount(); 93 if (bsize <= 0 || total <= 0) { 95 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); 102 pw.print(total * bsize / 1024); 103 pw.print("K total = "); 104 pw.print(avail * 100 / total);
|
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 | ThrottleService.java | 552 long total = periodRx + periodTx; 555 ", read =" + incRead + ", written =" + incWrite + ", new total =" + total); 560 checkThrottleAndPostNotification(total); 638 // adding another factor - it must be greater than the total cap/4
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1722 int total = user + system + iowait + irq + softIrq + idle; 1723 if (total == 0) total = 1; 1726 ((user+system+iowait+irq+softIrq) * 100) / total, 1727 (user * 100) / total, 1728 (system * 100) / total, 1729 (iowait * 100) / total, 1730 (irq * 100) / total, 1731 (softIrq * 100) / total); 10501 appendMemBucket(outTag, totalPss, "total", fals [all...] |