/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongMultiStateCounterTest.java | 42 LongMultiStateCounter counter = new LongMultiStateCounter(2); in setStateAndUpdateValue() local 58 LongMultiStateCounter counter = new LongMultiStateCounter(2); in setEnabled() local 86 LongMultiStateCounter counter = new LongMultiStateCounter(2); in updateThenSetState_timestampOutOfOrder() local 108 LongMultiStateCounter counter = new LongMultiStateCounter(2); in disableThenUpdate_timestampOutOfOrder() local 129 LongMultiStateCounter counter = new LongMultiStateCounter(2); in updateThenEnable_timestampOutOfOrder() local 153 LongMultiStateCounter counter = new LongMultiStateCounter(2); in reset() local 172 LongMultiStateCounter counter = new LongMultiStateCounter(2); in parceling() local
|
D | LongArrayMultiStateCounterTest.java | 42 LongArrayMultiStateCounter counter = new LongArrayMultiStateCounter(2, 4); in setStateAndUpdateValue() local 74 LongArrayMultiStateCounter counter = new LongArrayMultiStateCounter(2, 4); in setValue() local 84 LongArrayMultiStateCounter counter = new LongArrayMultiStateCounter(2, 4); in setEnabled() local 112 LongArrayMultiStateCounter counter = new LongArrayMultiStateCounter(2, 4); in reset() local 131 LongArrayMultiStateCounter counter = new LongArrayMultiStateCounter(2, 4); in parceling() local 169 private void updateValue(LongArrayMultiStateCounter counter, long[] values, int timestamp) { in updateValue() 176 private void assertCounts(LongArrayMultiStateCounter counter, int state, long[] expected) { in assertCounts()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SlidingWindowEventCounterTest.java | 41 SlidingWindowEventCounter counter = new SlidingWindowEventCounter(100, 3); in test_returnsTrue_ifEnoughEntriesInWindow() local 50 SlidingWindowEventCounter counter = new SlidingWindowEventCounter(100, 3); in test_returnsTrue_ifMoreThanEnoughEntriesInWindow() local 62 SlidingWindowEventCounter counter = new SlidingWindowEventCounter(100, 3); in test_returnsFalse_ifNotEnoughEntriesInWindow() local 71 SlidingWindowEventCounter counter = new SlidingWindowEventCounter(100, 3); in test_returnsFalse_ifEnoughEntriesButTooFarApart() local
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_LongArrayMultiStateCounter.cpp | 31 battery::LongArrayMultiStateCounter *counter = in native_init() local 37 battery::LongArrayMultiStateCounter *counter = in native_dispose() local 47 battery::LongArrayMultiStateCounter *counter = in native_setEnabled() local 53 battery::LongArrayMultiStateCounter *counter = in native_setState() local 67 battery::LongArrayMultiStateCounter *counter = in native_setValues() local 77 battery::LongArrayMultiStateCounter *counter = in native_updateValues() local 87 battery::LongArrayMultiStateCounter *counter = in native_incrementValues() local 96 battery::LongArrayMultiStateCounter *counter = in native_addCounts() local 104 battery::LongArrayMultiStateCounter *counter = in native_reset() local 110 battery::LongArrayMultiStateCounter *counter = in native_getCounts() local [all …]
|
D | com_android_internal_os_LongMultiStateCounter.cpp | 63 battery::LongMultiStateCounter *counter = new battery::LongMultiStateCounter(stateCount, 0); in native_init() local 123 battery::LongMultiStateCounter *counter = asLongMultiStateCounter(nativePtr); in native_writeToParcel() local 160 auto counter = std::make_unique<battery::LongMultiStateCounter>(stateCount, 0); in native_initFromParcel() local
|
/frameworks/av/media/libaaudio/tests/ |
D | test_monotonic_counter.cpp | 38 MonotonicCounter counter; in TEST() local 54 MonotonicCounter counter; in TEST() local 64 MonotonicCounter counter; in TEST() local 73 MonotonicCounter counter; in TEST() local 82 MonotonicCounter counter; in TEST() local
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetrics.cpp | 95 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local 103 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local 111 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local 119 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local 127 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local 135 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local 143 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local
|
/frameworks/compile/mclinker/unittests/ |
D | FactoriesTest.cpp | 59 int counter = 0; in TEST_F() local 80 int counter = 0; in TEST_F() local 102 int counter = 0; in TEST_F() local 119 int counter = 0; in TEST_F() local 166 int counter = 0; in TEST_F() local 175 int counter = 0; in TEST_F() local 191 int counter = 0; in TEST_F() local
|
/frameworks/libs/systemui/tracinglib/demo/src/com/android/app/tracing/demo/experiments/ |
D | Util.kt | 23 private val counter = AtomicInteger() in <lambda>() constant
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | LongArrayMultiStateCounterPerfTest.java | 129 private void add(long[] counter, long[] delta, long numerator, long denominator) { in add() 144 TestLongArrayMultiStateCounter counter = in javaImplementation() local 159 LongArrayMultiStateCounter counter = new LongArrayMultiStateCounter(2, 4); in nativeImplementation() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | ApiCounterTest.kt | 37 private val counter = ApiCounter(RESET_INTERVAL_MS, MAX_CALLS_PER_INTERVAL) { currentTime } in <lambda>() constant
|
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | KeyedObserverTest.kt | 76 val counter = AtomicInteger() in <lambda>() constant 94 val counter = AtomicInteger() in <lambda>() constant
|
D | ObserverTest.kt | 57 val counter = AtomicInteger() in addObserver_weaklyReferenced() constant
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelSingleUidTimeReader.java | 249 public void addDelta(int uid, LongArrayMultiStateCounter counter, long timestampMs) { in addDelta() 257 public void addDelta(int uid, LongArrayMultiStateCounter counter, long timestampMs, in addDelta() 276 public boolean addDelta(int uid, LongArrayMultiStateCounter counter, long timestampMs, in addDelta() 292 public boolean addDeltaForTest(int uid, LongArrayMultiStateCounter counter, in addDeltaForTest()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphExporter.java | 73 int counter = 0; in exportAsDot() local 88 int counter = 0; in exportAsDot() local
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | AccessibilityTest.java | 156 int[] counter = {0}; in testDialogAccessibility() local 170 private void traverseAccessibilityTree(AccessibilityNodeInfo node, int[] counter) { in traverseAccessibilityTree()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | SystemServiceManagerTest.java | 68 AtomicInteger counter = new AtomicInteger(0); in testDuplicateServices() local
|
/frameworks/av/media/module/bufferpool/2.0/tests/ |
D | allocator.h | 32 int counter = 0; member
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsCounterTest.java | 37 final BatteryStatsImpl.Counter counter = new BatteryStatsImpl.Counter(timeBase); in testCounter() local
|
/frameworks/av/media/libaaudio/src/utility/ |
D | MonotonicCounter.h | 51 void catchUpTo(int64_t counter) { in catchUpTo()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 78 fifo_counter_t counter = *descriptor->readCounterAddress; in AudioEndpoint_validateQueueDescriptor() local 86 fifo_counter_t counter = *descriptor->writeCounterAddress; in AudioEndpoint_validateQueueDescriptor() local
|
/frameworks/base/test-runner/src/android/test/ |
D | SyncBaseInstrumentation.java | 62 int counter = 0; in syncProvider() local
|
/frameworks/base/libs/androidfw/ |
D | ResourceTimer.cpp | 100 bool ResourceTimer::copy(int counter, Timer &dst, bool reset) { in copy() 254 char const *ResourceTimer::toString(ResourceTimer::Counter counter) { in toString()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | AverageFilter.java | 34 private int counter = 0; field in AverageFilter
|
/frameworks/base/core/java/com/android/internal/power/ |
D | EnergyConsumerStats.java | 421 LongMultiStateCounter counter = in updateEntry() local 453 LongMultiStateCounter counter = mAccumulatedMultiStateChargeMicroCoulomb[i]; in setState() local 488 final LongMultiStateCounter counter = mAccumulatedMultiStateChargeMicroCoulomb[bucket]; in getAccumulatedStandardBucketCharge() local 650 final LongMultiStateCounter counter = in dump() local
|