Searched refs:total (Results 1 - 25 of 98) sorted by relevance

1234

/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DEntityDeletionOrUpdateAdapter.java85 int total = 0;
88 total += stmt.executeUpdateDelete();
90 return total;
105 int total = 0;
108 total += stmt.executeUpdateDelete();
110 return total;
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
H A DUtils.java34 int total = classes.length;
35 assert requests.length == total;
36 assert resets.length == total;
40 for (int i = 0; i < total; i++) {
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A Drasterize.rs38 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];
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java33 public long total; field in class:AppItem
46 total = parcel.readLong();
57 dest.writeLong(total);
69 comparison = Long.compare(another.total, total);
/frameworks/base/cmds/incident_helper/tests/
H A DProcrankParser_test.cpp81 ProcrankProto::Process* total = expected.mutable_summary()->mutable_total(); local
82 total->set_pss(1201993);
83 total->set_uss(935300);
84 total->set_swap(88164);
85 total->set_pswap(31069);
86 total->set_uswap(27612);
87 total->set_zswap(6826);
88 total->set_cmdline("TOTAL");
91 ->set_raw_text("6828K physical used for 31076K in swap (524284K total swap)");
93 ->set_raw_text("3843972K total, 28142
125 ProcrankProto::Process* total = expected.mutable_summary()->mutable_total(); local
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcontrast.cpp34 float total = 0; local
41 total += lumArray[i];
43 const float avg = total / numPixels;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DResult.java34 // Get total execution time
36 float total = 0.0f;
38 total += time;
40 return total;
/frameworks/base/services/core/java/com/android/server/
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;
/frameworks/base/core/java/android/net/
H A DTrafficStats.java472 long total = 0;
474 total += addIfSupported(getTxPackets(iface));
476 return total;
489 long total = 0;
491 total += addIfSupported(getRxPackets(iface));
493 return total;
506 long total = 0;
508 total += addIfSupported(getTxBytes(iface));
510 return total;
523 long total
[all...]
/frameworks/base/libs/hwui/
H A DCaches.cpp162 uint32_t total = 0; local
163 log.appendFormat("Current memory usage / total memory usage (bytes):\n");
177 log.appendFormat(" Layers total %8d (numLayers = %zu)\n", memused,
179 total += memused;
200 total += textureCache.getSize();
201 total += renderBufferCache.getSize();
202 total += gradientCache.getSize();
203 total += pathCache.getSize();
204 total += tessellationCache.getSize();
205 total
[all...]
H A DShadowTessellator.h49 // The total number of rays starting from the centroid of shadow area, in order
53 // The total number of all the vertices representing the shadow.
57 // The total number of indices used for drawing the shadow geometry as triangle strips.
88 static void checkOverflow(int used, int total, const char* bufferName);
H A DShadowTessellator.cpp185 void ShadowTessellator::checkOverflow(int used, int total, const char* bufferName) { argument
186 LOG_ALWAYS_FATAL_IF(used > total, "Error: %s overflow!!! used %d, total %d", bufferName, used,
187 total);
/frameworks/base/tests/JankBench/scripts/external/
H A Dstatistics.py125 If optional argument ``start`` is given, it is added to the total.
167 total = partials[None]
168 assert not _isfinite(total)
172 total = sum(Fraction(n, d) for d, n in sorted(partials.items()))
173 return (T, total, count)
331 T, total, count = _sum(data)
333 return _convert(total/n, T)
503 T, total, count = _sum((x-c)**2 for x in data)
508 total -= total2**2/len(data)
509 assert not total <
[all...]
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntryImpl.h97 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/support/gridlayout/src/androidTest/java/androidx/gridlayout/widget/
H A DGridLayoutTest.java82 int total = mGridView.getWidth();
85 assertTrue("test sanity", total > 0);
95 int total = mGridView.getWidth();
98 assertTrue("test sanity", total > 0);
108 int total = mGridView.getWidth();
111 assertTrue("test sanity", total > 0);
125 assertEquals(total, left);
133 int total = mGridView.getHeight();
136 assertTrue("test sanity", total > 0);
138 assertTrue("total heigh
[all...]
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp64 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, size_t block) argument
114 while (accumulator < total) {
115 size_t count = total - accumulator;
H A DAudioBufferProviderSource.cpp82 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, size_t block) argument
91 ALOG_ASSERT(accumulator <= total);
92 size_t count = total - accumulator;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorfulnessFilter.java67 float total = 0;
73 total += value;
78 float value = hueHistogram[c] / total;
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
/frameworks/base/cmds/incident_helper/src/parsers/
H A DProcrankParser.cpp37 string zram, ram, total; local
61 total = line;
81 if (!total.empty()) {
82 record = parseRecord(total);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestQueue.java163 long total = mCurrentFrameNumber;
165 total += b.getNumberOfRequests();
167 return total - 1;
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DCollectorThread.java85 static int total = 0; field in class:CollectorThread
139 System.out.println("Jank Percentage: " + (100 * janks/ (double) total) + "%");
141 total = 0;
/frameworks/base/core/proto/android/os/
H A Dcpuinfo.proto36 optional int32 total = 1; // total number of cpu tasks
47 optional int32 total = 1;
/frameworks/base/core/tests/coretests/src/android/util/
H A DTokenBucketTest.java132 int total = 0;
133 while (total < want) {
137 total += tb.get(tb.available());
140 assertDuration(total * delta, SystemClock.elapsedRealtime() - start);

Completed in 701 milliseconds

1234