Searched defs:counter (Results 1 - 22 of 22) sorted by relevance

/frameworks/compile/mclinker/unittests/
H A DLinearAllocatorTest.cpp106 int counter = 0;
108 ASSERT_EQ(counter, (*data).one);
109 ++counter;
115 int counter = 0; local
120 pointer->one = counter;
122 ++counter;
127 counter = 0;
129 ASSERT_EQ(counter, (*data).one);
130 ++counter;
H A DRTLinearAllocatorTest.cpp107 int counter = 0;
109 ASSERT_EQ(counter, (*data).one);
110 ++counter;
116 int counter = 0; local
121 pointer->one = counter;
123 ++counter;
128 counter = 0;
130 ASSERT_EQ(counter, (*data).one);
131 ++counter;
H A DFactoriesTest.cpp59 int counter = 0; local
63 ASSERT_EQ(counter, *(*data).data);
66 ++counter;
80 int counter = 0; local
84 ASSERT_EQ(counter, *(*data).data);
87 ++counter;
102 int counter = 0; local
106 ASSERT_EQ(counter, *(*data).data);
109 ++counter;
119 int counter local
166 int counter = 0; local
175 int counter = 0; local
191 int counter = 0; local
[all...]
H A DBinTreeTest.cpp177 int counter = 0; local
179 ++counter;
182 ASSERT_EQ(1, counter);
249 int counter = 0; local
251 ++counter;
254 ASSERT_EQ(1, counter);
H A DHashTableTest.cpp249 int counter = 0; local
252 ++counter;
254 EXPECT_EQ(400000, counter);
271 int counter = 0; local
275 ++counter;
277 EXPECT_EQ(1, counter);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DUnnecessaryCalculationTest.java51 assertEquals(1, obja.counter);
52 assertEquals(1, objb.counter);
53 assertEquals(0, objc.counter);
59 assertEquals(1, obja.counter);
60 assertEquals(1, objb.counter);
61 assertEquals(0, objc.counter);
65 int counter = 0; field in class:UnnecessaryCalculationTest.BasicObjWithCounter
69 counter ++;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DAverageFilter.java34 private int counter = 0; field in class:AverageFilter
57 if (counter < NUM_FRAMES && counter >= 0) {
58 temp[counter] = ((Float)inFrameValue.getValue()).floatValue();
61 counter = (counter + 1) % NUM_FRAMES;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcFailBringUp.java35 // counter with its --ei option name and default value
36 static final String COUNTER = "counter";
63 public void saveParameters(int counter, int failCause, int suggestedRetryTime) { argument
64 mCounter = counter;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp35 int index, counter; local
84 for (br = mbr + 1; br < mbr + 3; br++) /* br is the row counter in blocks */
91 for (bc = mbc; bc < mbc + 2; bc++) /* bc is the column counter in blocks */
153 for (counter = 0; counter < 5; counter++)
156 sum = sum - v[counter] + *ptr_n;
248 for (br = mbr; br < mbr + 2; br++) /* br is the row counter in blocks */
250 for (bc = mbc + 1; bc < mbc + 3; bc++) /* bc is the column counter in blocks */
311 for (counter
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp107 static int counter = 0; local
114 mcld::outs() << counter++ << " * " << (*input)->name();
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java96 public void setCounter(HashMap<String, HashMap<String, Integer> > counter) { argument
98 mCounter.putAll(counter);
210 HistogramCounter counter = entry.getValue();
214 HashMap<String, Double> scoreMap = counter.getClassScores(featureValue);
280 HistogramCounter counter = mPredictor.get(featureName);
281 counter.addSample(sampleId, featureValue);
294 for (HistogramCounter counter : mPredictor.values()) {
295 counter.resetCounter();
360 HashMap<String, HashMap<String, Integer> > counter =
364 for (HashMap<String, Integer> map : counter
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp42 static volatile int32_t counter = 0; local
44 android_atomic_inc(&counter));
48 static std::atomic<uint32_t> counter{0};
50 return id | counter++;
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java218 private void waitForCallbackCallCount(CallCounter counter, int count, String message) { argument
220 counter.waitForCount(count, OPERATION_TIMEOUT);
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp148 SLuint16 counter = 0; local
269 while ((counter*1000) < durationInMsec) {
270 counter++;
275 counter);
278 fprintf(stderr, "position is %dms %ds after start\n", posInMsec, counter);
283 if (((SLint32)posInMsec > (counter*1000 + TIME_TOLERANCE_MS)) ||
284 ((SLint32)posInMsec < (counter*1000 - TIME_TOLERANCE_MS))) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c215 * Calculates the counter, treated as a 16-byte little-endian number, used to generate the keystream
220 * @param[out] pCounter A reference to the counter.
239 * Decrypts the byte at the current file position using AES-128-CTR. In CTR (or "counter") mode,
250 unsigned char counter[AES_BLOCK_SIZE]; local
251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter);
252 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys);
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp67 static int counter=0; variable
176 counter++;
180 if (counter % 1000 == 0) {
184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c150 unsigned char counter[AES_BLOCK_SIZE]; member in struct:FwdLockConv_Session
814 * Increments the counter, treated as a 16-byte little-endian number, by one.
820 while ((++pSession->counter[i] == 0) && (++i < AES_BLOCK_SIZE))
850 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys);
1142 memcpy(pSession->counter, pSession->pEncryptedSessionKey, AES_BLOCK_SIZE);
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java294 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument
1579 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument
1581 counter.increment(nestedViews.estimateMemoryUsage());
/frameworks/base/core/java/android/os/
H A DBatteryStats.java316 * in all states, measured in milli-ampere-milliseconds (mAms). The counter may always
642 * package. The mapping keys are tag names for the alarms, the counter contains
2374 * Return the counter keeping track of the amount of battery discharge while the screen was off,
2376 * a coulomb counter.
2381 * Return the counter keeping track of the amount of battery discharge measured in
2383 * a coulomb counter.
2661 private static boolean controllerActivityHasData(ControllerActivityCounter counter, int which) { argument
2662 if (counter == null) {
2666 if (counter.getIdleTimeCounter().getCountLocked(which) != 0
2667 || counter
2688 dumpControllerActivityLine(PrintWriter pw, int uid, String category, String type, ControllerActivityCounter counter, int which) argument
2710 printControllerActivityIfInteresting(PrintWriter pw, StringBuilder sb, String prefix, String controllerName, ControllerActivityCounter counter, int which) argument
2719 printControllerActivity(PrintWriter pw, StringBuilder sb, String prefix, String controllerName, ControllerActivityCounter counter, int which) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java868 * @param counter a Counter, or null.
870 public static void writeCounterToParcel(Parcel out, Counter counter) { argument
871 if (counter == null) {
877 counter.writeToParcel(out);
904 * Clear state of this counter.
992 * Clear state of this counter.
1238 * A counter meant to accept monotonically increasing values to its {@link #update(long, int)}
1283 * A sequence counter, incremented once for each update of the stats.
1973 for (LongSamplingCounter counter : mTxTimeMillis) {
1974 counter
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 4446 milliseconds