Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DThreadBaseTests.cpp97 struct Counter { in TEST() struct
98 explicit Counter(EventCount* count) : mCount(count) { mCount->construct++; } in TEST() argument
100 Counter(const Counter& other) : mCount(other.mCount) { in TEST() argument
104 Counter(Counter&& other) : mCount(other.mCount) { in TEST() argument
109 Counter& operator=(const Counter& other) { in TEST() argument
115 Counter& operator=(Counter&& other) { in TEST() argument
122 ~Counter() { in TEST() argument
131 Counter counter{&count}; in TEST()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCounterTest.java37 final BatteryStatsImpl.Counter counter = new BatteryStatsImpl.Counter(timeBase); in testCounter()
77 final BatteryStatsImpl.Counter origCounter = new BatteryStatsImpl.Counter(timeBase); in testParceling()
88 final BatteryStatsImpl.Counter summaryCounter = new BatteryStatsImpl.Counter(timeBase); in testParceling()
111 final BatteryStatsImpl.Counter fullParcelCounter in testParceling()
112 = new BatteryStatsImpl.Counter(timeBase, fullParcel); in testParceling()
DBatteryStatsNoteTest.java70 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter(); in testNoteBluetoothScanResultLocked()
/frameworks/av/drm/libmediadrm/protos/
Dmetrics.proto45 // The Counter message is used to store a count value with an associated
47 message Counter { message
76 repeated Counter open_session_counter = 1;
80 repeated Counter close_session_counter = 2;
89 repeated Counter get_provisioning_request_counter = 5;
92 repeated Counter provide_provisioning_response_counter = 6;
95 repeated Counter key_status_change_counter = 7;
98 repeated Counter event_callback_counter = 8;
101 repeated Counter get_device_unique_id_counter = 9;
/frameworks/av/drm/libmediadrm/
DDrmMetrics.cpp268 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
276 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
284 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
292 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
300 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
309 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
317 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp516 state.counters["gain_buffer_us"] = ::benchmark::Counter( in BENCHMARK_DEFINE_F()
517 total_gain_buffer_us / iterations, ::benchmark::Counter::kAvgThreads); in BENCHMARK_DEFINE_F()
518 state.counters["post_buffer_us"] = ::benchmark::Counter( in BENCHMARK_DEFINE_F()
519 total_post_buffer_us / iterations, ::benchmark::Counter::kAvgThreads); in BENCHMARK_DEFINE_F()
520 state.counters["producer_us"] = ::benchmark::Counter( in BENCHMARK_DEFINE_F()
522 ::benchmark::Counter::kAvgThreads); in BENCHMARK_DEFINE_F()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h189 struct Counter { struct
190 inline Counter() : value(-1) {} in Counter() function
194 Mutexed<Counter> mCount; argument
DCCodecBufferChannel.cpp76 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in QueueGuard()
89 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in ~QueueGuard()
98 Mutexed<Counter>::Locked count(mCount); in start()
106 Mutexed<Counter>::Locked count(mCount); in stop()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java432 for (final Map.Entry<String,? extends BatteryStats.Counter> entry: in writePkg()
434 final BatteryStats.Counter counter = entry.getValue(); in writePkg()
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local
531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local
531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local
531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1332 public static class Counter extends BatteryStats.Counter implements TimeBaseObs { class in BatteryStatsImpl
1337 public Counter(TimeBase timeBase, Parcel in) { in Counter() method in BatteryStatsImpl.Counter
1343 public Counter(TimeBase timeBase) { in Counter() method in BatteryStatsImpl.Counter
1366 public static void writeCounterToParcel(Parcel out, @Nullable Counter counter) { in writeCounterToParcel()
1382 public static @Nullable Counter readCounterFromParcel(TimeBase timeBase, Parcel in) { in readCounterFromParcel()
1386 return new Counter(timeBase, in); in readCounterFromParcel()
6585 Counter mBluetoothScanResultCounter;
6586 Counter mBluetoothScanResultBgCounter;
6595 Counter[] mUserActivityCounters;
6676 Counter mJobsDeferredEventCount;
[all …]
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py296 table = collections.Counter(iter(data)).most_common()
/frameworks/base/config/
Dhiddenapi-greylist-max-p.txt11 Landroid/os/BatteryStats$Counter;-><init>()V
Dpreloaded-classes2716 android.os.BatteryStats$Counter
4571 com.android.internal.os.BatteryStatsImpl$Counter
Dboot-image-profile.txt20518 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;-><init>(Lcom/android/internal/os/BatteryStats…
20519 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;-><init>(Lcom/android/internal/os/BatteryStats…
20520 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->addAtomic(I)V
20521 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->detach()V
20522 HPLcom/android/internal/os/BatteryStatsImpl$Counter;->getCountLocked(I)I
20523 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->onTimeStarted(JJJ)V
20524 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->onTimeStopped(JJJ)V
20525Counter;->readCounterFromParcel(Lcom/android/internal/os/BatteryStatsImpl$TimeBase;Landroid/os/Par…
20526 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->readSummaryFromParcelLocked(Landroid/os/Parc…
20527 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->reset(Z)Z
[all …]
Dhiddenapi-greylist-max-o.txt52144 Landroid/os/BatteryStats$Counter;
52145 Landroid/os/BatteryStats$Counter;->logState(Landroid/util/Printer;Ljava/lang/String;)V
52400 Landroid/os/BatteryStats$Uid;->getBluetoothScanResultBgCounter()Landroid/os/BatteryStats$Counter;
52401 Landroid/os/BatteryStats$Uid;->getBluetoothScanResultCounter()Landroid/os/BatteryStats$Counter;
94246 Lcom/android/internal/os/BatteryStatsImpl$Counter;
94247 Lcom/android/internal/os/BatteryStatsImpl$Counter;-><init>(Lcom/android/internal/os/BatteryStatsImp…
94248 Lcom/android/internal/os/BatteryStatsImpl$Counter;-><init>(Lcom/android/internal/os/BatteryStatsImp…
94249 Lcom/android/internal/os/BatteryStatsImpl$Counter;->addAtomic(I)V
94250 Lcom/android/internal/os/BatteryStatsImpl$Counter;->detach()V
94251 Lcom/android/internal/os/BatteryStatsImpl$Counter;->getCountLocked(I)I
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java405 public static abstract class Counter { class in BatteryStats
772 public abstract Counter getBluetoothScanResultCounter(); in getBluetoothScanResultCounter()
773 public abstract Counter getBluetoothScanResultBgCounter(); in getBluetoothScanResultBgCounter()
1059 public abstract ArrayMap<String, ? extends Counter> getWakeupAlarmStats(); in getWakeupAlarmStats()
4381 final ArrayMap<String, ? extends Counter> alarms = ps.getWakeupAlarmStats(); in dumpCheckinLocked()
6104 final ArrayMap<String, ? extends Counter> alarms = ps.getWakeupAlarmStats(); in dumpLocked()
7657 final ArrayMap<String, ? extends Counter> alarms = ps.getWakeupAlarmStats(); in dumpProtoAppsLocked()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5298 // Counter: number of matches found