/frameworks/opt/telephony/tools/ |
H A D | tdi | 25 counter="--ei counter $2"; 27 echo "counter=$counter" 40 adb shell am broadcast -a com.android.internal.telephony.$the_DC.action_fail_bringup $counter $fail_cause $suggested_retry_time
|
/frameworks/compile/mclinker/unittests/ |
H A D | FactoriesTest.cpp | 59 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 D | LinearAllocatorTest.cpp | 106 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 D | RTLinearAllocatorTest.cpp | 107 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 D | HashTableTest.cpp | 249 int counter = 0; local 252 ++counter; 254 EXPECT_EQ(400000, counter); 271 int counter = 0; local 275 ++counter; 277 EXPECT_EQ(1, counter);
|
H A D | BinTreeTest.cpp | 177 int counter = 0; local 179 ++counter; 182 ASSERT_EQ(1, counter); 249 int counter = 0; local 251 ++counter; 254 ASSERT_EQ(1, counter);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | UnnecessaryCalculationTest.java | 51 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/tools/layoutlib/bridge/src/com/android/internal/util/ |
H A D | VirtualRefBasePtr_Delegate.java | 38 long counter = sRefCount.get(ptr); 39 sRefCount.put(ptr, ++counter); 44 long counter = sRefCount.get(ptr); 46 if (counter > 1) { 47 sRefCount.put(ptr, --counter);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BluetoothPowerCalculator.java | 40 final BatteryStats.ControllerActivityCounter counter = u.getBluetoothControllerActivity(); 41 if (counter == null) { 45 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); 46 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(statsType); 47 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); 49 double powerMah = counter.getPowerCounter().getCountLocked(statsType) 69 final BatteryStats.ControllerActivityCounter counter = 72 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); 73 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); 74 final long rxTimeMs = counter [all...] |
H A D | WifiPowerCalculator.java | 43 final BatteryStats.ControllerActivityCounter counter = u.getWifiControllerActivity(); 44 if (counter == null) { 48 final long idleTime = counter.getIdleTimeCounter().getCountLocked(statsType); 49 final long txTime = counter.getTxTimeCounters()[0].getCountLocked(statsType); 50 final long rxTime = counter.getRxTimeCounter().getCountLocked(statsType); 77 final BatteryStats.ControllerActivityCounter counter = stats.getWifiControllerActivity(); 79 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); 80 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); 81 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(statsType); 86 double powerDrainMah = counter [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListItemFocusablesFarApartTest.java | 86 int counter = 0; 89 if (counter > 5) fail("couldn't reach next button within " + counter + " downs"); 92 assertFalse("after " + counter + " downs, top button not visible, should not have focus", 94 assertFalse("after " + counter + " downs, neither top button nor botom button visible, nothng within first list " + 97 assertTrue("after " + counter + " downs, top button still visible, should have focus", 101 assertEquals("after " + counter + " downs, " + 107 counter++;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | AverageFilter.java | 34 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/base/services/retaildemo/java/com/android/server/retaildemo/ |
H A D | PreloadAppsInstaller.java | 70 AppInstallCounter counter = new AppInstallCounter(mContext, userId); 72 counter.setExpectedAppsCount(0); 83 installExistingPackage(packageName, userId, counter); 89 installPackage(file, userId, counter); 97 counter.setExpectedAppsCount(expectedCount); 101 AppInstallCounter counter) { 110 counter.appInstallFinished(); 114 private void installPackage(File file, final int userId, AppInstallCounter counter) argument 128 // Don't notify the counter for now, we'll do it in installExistingPackage 132 installExistingPackage(basePackageName, UserHandle.USER_SYSTEM, counter); 100 installExistingPackage(String packageName, int userId, AppInstallCounter counter) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | SyncBaseInstrumentation.java | 62 int counter = 0; 65 while (counter < 2) { 74 counter = 0; 77 counter++;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcFailBringUp.java | 35 // 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 D | chvr_filter.cpp | 35 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphExporter.java | 73 int counter = 0; 76 if(++counter != inputPorts.size()) dotFile.write(" | "); 88 int counter = 0; 91 if(++counter != outputPorts.size()) dotFile.write(" | ");
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
H A D | HistogramPredictor.java | 96 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/wilhelm/tests/mimeUri/ |
H A D | slesTestGetPositionUri.cpp | 148 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/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ExprModel.java | 309 int counter = 0; 316 expr.setId(counter++); 326 expr.setId(counter++); 343 parent.setId(counter++); 360 fieldAccessExpr.setId(counter++); 381 mInvalidateAnyFlagIndex = counter ++; 383 mInvalidateableFieldLimit = counter; 392 L.d("requirement id for %s is %d", expr, counter); 393 expr.setRequirementId(counter); 396 counter [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | HealthStatsBatteryStatsWriter.java | 169 for (final BatteryStats.LongCounter counter: controller.getTxTimeCounters()) { 170 sum += counter.getCountLocked(STATS_SINCE_UNPLUGGED); 188 for (final BatteryStats.LongCounter counter: controller.getTxTimeCounters()) { 189 sum += counter.getCountLocked(STATS_SINCE_UNPLUGGED); 207 for (final BatteryStats.LongCounter counter: controller.getTxTimeCounters()) { 208 sum += counter.getCountLocked(STATS_SINCE_UNPLUGGED); 434 final BatteryStats.Counter counter = entry.getValue(); 435 if (counter != null) { 437 entry.getKey(), counter.getCountLocked(STATS_SINCE_UNPLUGGED));
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 158 // calculate initial counter value based on serial number 179 // MINOR: use modulo for counter and time, so that their sum does not 182 time_t counter = (time(NULL) / timeDivisor) % modulo + plus + serialNum % modulo; 183 bool enable = allow && (counter % modulo < limit);
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 42 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/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 67 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/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 107 static int counter = 0; local 114 mcld::outs() << counter++ << " * " << (*input)->name();
|