Searched refs:total (Results 1 - 25 of 40) sorted by path

12

/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
H A DNBAIO.h176 // 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 DMP4Source.cpp71 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 DAudioBufferProviderSource.cpp84 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 DNBAIO.cpp95 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 DAAC_E_SAMPLES.c149 int total = 0; local
258 total += t2 - t1;
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp60 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 DAudioFlinger.cpp168 // 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 DCursorWindow.java740 int total = 0;
765 total += num;
769 return "# Open Cursors=" + total + s;
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java29 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 DTrafficStats.java263 * 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 DHardwareRenderer.java319 * 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 DScaleGestureDetector.java183 float total = 0;
197 total += major;
221 final float avg = total / sampleCount;
/frameworks/base/core/java/android/webkit/
H A DByteArrayBuilder.java83 int total = 0;
87 total += c.mLength;
89 return total;
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DPart.java395 * 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 DArrayUtils.java145 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 Dcom_android_internal_content_NativeLibraryHelper.cpp148 size_t* total = (size_t*) arg; local
155 *total += uncompLen;
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java263 int total; field in class:DatabaseCursorTest.TestObserver
268 total = total_;
274 if (total == count) {
/frameworks/base/libs/hwui/
H A DCaches.cpp175 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 Dshader_program.cpp1010 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 Dshader_program.h293 // total number of elements in total.
296 int total,
469 // total size.
/frameworks/base/services/java/com/android/server/
H A DDiskStatsService.java92 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 DRandomBlock.java54 int total = 0;
55 while(total < BLOCK_SIZE) {
56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
60 total += result;
H A DThrottleService.java552 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 DActivityManagerService.java1722 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...]

Completed in 1357 milliseconds

12