Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/compile/mclinker/unittests/
DFactoriesTest.cpp59 int counter = 0; in TEST_F() local
63 ASSERT_EQ(counter, *(*data).data); in TEST_F()
66 ++counter; in TEST_F()
80 int counter = 0; in TEST_F() local
84 ASSERT_EQ(counter, *(*data).data); in TEST_F()
87 ++counter; in TEST_F()
102 int counter = 0; in TEST_F() local
106 ASSERT_EQ(counter, *(*data).data); in TEST_F()
109 ++counter; in TEST_F()
119 int counter = 0; in TEST_F() local
[all …]
DHashTableTest.cpp249 int counter = 0; in TEST_F() local
252 ++counter; in TEST_F()
254 EXPECT_EQ(400000, counter); in TEST_F()
271 int counter = 0; in TEST_F() local
275 ++counter; in TEST_F()
277 EXPECT_EQ(1, counter); in TEST_F()
DLinearAllocatorTest.cpp115 int counter = 0; in TEST_F() local
120 pointer->one = counter; in TEST_F()
122 ++counter; in TEST_F()
DRTLinearAllocatorTest.cpp116 int counter = 0; in TEST_F() local
121 pointer->one = counter; in TEST_F()
123 ++counter; in TEST_F()
DBinTreeTest.cpp177 int counter = 0; in TEST_F() local
179 ++counter; in TEST_F()
182 ASSERT_EQ(1, counter); in TEST_F()
249 int counter = 0; in TEST_F() local
251 ++counter; in TEST_F()
254 ASSERT_EQ(1, counter); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListItemFocusablesFarApartTest.java86 int counter = 0; in testPanWhenNextFocusableTooFarDown() local
89 if (counter > 5) fail("couldn't reach next button within " + counter + " downs"); in testPanWhenNextFocusableTooFarDown()
92 … assertFalse("after " + counter + " downs, top button not visible, should not have focus", in testPanWhenNextFocusableTooFarDown()
94 …assertFalse("after " + counter + " downs, neither top button nor botom button visible, nothng with… in testPanWhenNextFocusableTooFarDown()
97 … assertTrue("after " + counter + " downs, top button still visible, should have focus", in testPanWhenNextFocusableTooFarDown()
101 assertEquals("after " + counter + " downs, " + in testPanWhenNextFocusableTooFarDown()
107 counter++; in testPanWhenNextFocusableTooFarDown()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DAverageFilter.java34 private int counter = 0; field in AverageFilter
57 if (counter < NUM_FRAMES && counter >= 0) { in onProcess()
58 temp[counter] = ((Float)inFrameValue.getValue()).floatValue(); in onProcess()
61 counter = (counter + 1) % NUM_FRAMES; in onProcess()
/frameworks/base/test-runner/src/android/test/
DSyncBaseInstrumentation.java56 int counter = 0; in syncProvider() local
59 while (counter < 2) { in syncProvider()
68 counter = 0; in syncProvider()
71 counter++; in syncProvider()
/frameworks/opt/telephony/tools/
Dtdi25 counter="--ei counter $2";
27 echo "counter=$counter"
40 …adb shell am broadcast -a com.android.internal.telephony.$the_DC.action_fail_bringup $counter $fai…
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java96 public void setCounter(HashMap<String, HashMap<String, Integer> > counter) { in setCounter() argument
98 mCounter.putAll(counter); in setCounter()
210 HistogramCounter counter = entry.getValue(); in findTopClasses() local
214 HashMap<String, Double> scoreMap = counter.getClassScores(featureValue); in findTopClasses()
280 HistogramCounter counter = mPredictor.get(featureName); in addSample() local
281 counter.addSample(sampleId, featureValue); in addSample()
294 for (HistogramCounter counter : mPredictor.values()) { in resetPredictor()
295 counter.resetCounter(); in resetPredictor()
360 HashMap<String, HashMap<String, Integer> > counter = in loadClassCounter() local
364 for (HashMap<String, Integer> map : counter.values()) { in loadClassCounter()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dchvr_filter.cpp35 int index, counter; in CombinedHorzVertRingFilter() local
153 for (counter = 0; counter < 5; counter++) in CombinedHorzVertRingFilter()
156 sum = sum - v[counter] + *ptr_n; in CombinedHorzVertRingFilter()
311 for (counter = 0; counter < 5; counter++) in CombinedHorzVertRingFilter()
314 sum = sum - v[counter] + *ptr_n; in CombinedHorzVertRingFilter()
/frameworks/wilhelm/tests/mimeUri/
DslesTestGetPositionUri.cpp151 SLuint16 counter = 0; in TestGetPositionUri() local
272 while ((counter*1000) < durationInMsec) { in TestGetPositionUri()
273 counter++; in TestGetPositionUri()
278 counter); in TestGetPositionUri()
281 fprintf(stderr, "position is %dms %ds after start\n", posInMsec, counter); in TestGetPositionUri()
286 if (((SLint32)posInMsec > (counter*1000 + TIME_TOLERANCE_MS)) || in TestGetPositionUri()
287 ((SLint32)posInMsec < (counter*1000 - TIME_TOLERANCE_MS))) { in TestGetPositionUri()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExprModel.java299 int counter = 0;
306 expr.setId(counter++);
316 expr.setId(counter++);
333 parent.setId(counter++);
360 final int invalidateAnyFlagIndex = counter ++;
362 mInvalidateableFieldLimit = counter;
371 L.d("requirement id for %s is %d", expr, counter);
372 expr.setRequirementId(counter);
375 counter += 2;
379 for (int i = mInvalidateableFieldLimit; i < counter; i++) {
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java73 int counter = 0; in exportAsDot() local
76 if(++counter != inputPorts.size()) dotFile.write(" | "); in exportAsDot()
88 int counter = 0; in exportAsDot() local
91 if(++counter != outputPorts.size()) dotFile.write(" | "); in exportAsDot()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailBringUp.java63 void saveParameters(int counter, int failCause, int suggestedRetryTime) { in saveParameters() argument
64 mCounter = counter; in saveParameters()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapVcardList.java65 VCardEntryCounter counter = new VCardEntryCounter(); in parse() local
71 parser.addInterpreter(counter); in parse()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp182 time_t counter = (time(NULL) / timeDivisor) % modulo + plus + serialNum % modulo; in getExperimentFlag() local
183 bool enable = allow && (counter % modulo < limit); in getExperimentFlag()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp67 static int counter=0; variable
176 counter++; in DecPlayCallback()
180 if (counter % 1000 == 0) { in DecPlayCallback()
184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec); in DecPlayCallback()
/frameworks/compile/mclinker/lib/Core/
DLinker.cpp107 static int counter = 0; in normalize() local
114 mcld::outs() << counter++ << " * " << (*input)->name(); in normalize()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c250 unsigned char counter[AES_BLOCK_SIZE]; in FwdLockFile_DecryptByte() local
251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter); in FwdLockFile_DecryptByte()
252 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys); in FwdLockFile_DecryptByte()
/frameworks/native/libs/gui/
DBufferQueueCore.cpp39 static volatile int32_t counter = 0; in getUniqueName() local
41 android_atomic_inc(&counter)); in getUniqueName()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c150 unsigned char counter[AES_BLOCK_SIZE]; member
820 while ((++pSession->counter[i] == 0) && (++i < AES_BLOCK_SIZE)) in FwdLockConv_IncrementCounter()
850 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys); in FwdLockConv_WriteEncryptedChar()
1142 memcpy(pSession->counter, pSession->pEncryptedSessionKey, AES_BLOCK_SIZE); in FwdLockConv_OpenSession()
/frameworks/opt/telephony/
DREADME.txt33 …a com.android.internal.telephony.dataconnection.action_fail_bringup --ei counter 2 --ei fail_cause…
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_motion.jd355 counter-clockwise direction; that is, an observer looking
357 positive rotation if the device appeared to be rotating counter clockwise. This is the
565 <p>The step counter sensor provides the number of steps taken by the user since the last reboot
566 while the sensor was activated. The step counter has more latency (up to 10 seconds) but more
568 the default step counter sensor:</p>
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1683 int counter = 0; in getTagDefinitionsForTagId() local
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
1691 if (counter == 0) { in getTagDefinitionsForTagId()
1695 return Arrays.copyOfRange(defs, 0, counter); in getTagDefinitionsForTagId()

12