Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 19 of 19) 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() function
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.cpp95 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
103 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
111 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
119 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
127 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
136 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
144 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.h218 struct Counter { struct
219 inline Counter() : value(-1) {} in Counter() argument
223 Mutexed<Counter> mCount; argument
DCCodecBufferChannel.cpp87 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in QueueGuard()
100 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in ~QueueGuard()
109 Mutexed<Counter>::Locked count(mCount); in start()
117 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/
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/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local
531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py296 table = collections.Counter(iter(data)).most_common()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1338 public static class Counter extends BatteryStats.Counter implements TimeBaseObs { class in BatteryStatsImpl
1343 public Counter(TimeBase timeBase, Parcel in) { in Counter() method in BatteryStatsImpl.Counter
1349 public Counter(TimeBase timeBase) { in Counter() method in BatteryStatsImpl.Counter
1372 public static void writeCounterToParcel(Parcel out, @Nullable Counter counter) { in writeCounterToParcel()
1388 public static @Nullable Counter readCounterFromParcel(TimeBase timeBase, Parcel in) { in readCounterFromParcel()
1392 return new Counter(timeBase, in); in readCounterFromParcel()
6611 Counter mBluetoothScanResultCounter;
6612 Counter mBluetoothScanResultBgCounter;
6621 Counter[] mUserActivityCounters;
6702 Counter mJobsDeferredEventCount;
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java427 public static abstract class Counter { class in BatteryStats
430 public Counter() {} in Counter() method in BatteryStats.Counter
807 public abstract Counter getBluetoothScanResultCounter(); in getBluetoothScanResultCounter()
808 public abstract Counter getBluetoothScanResultBgCounter(); in getBluetoothScanResultBgCounter()
1108 public abstract ArrayMap<String, ? extends Counter> getWakeupAlarmStats(); in getWakeupAlarmStats()
4414 final ArrayMap<String, ? extends Counter> alarms = ps.getWakeupAlarmStats(); in dumpCheckinLocked()
6137 final ArrayMap<String, ? extends Counter> alarms = ps.getWakeupAlarmStats(); in dumpLocked()
7687 final ArrayMap<String, ? extends Counter> alarms = ps.getWakeupAlarmStats(); in dumpProtoAppsLocked()
/frameworks/base/config/
Dboot-profile.txt147 Lcom/android/internal/os/BatteryStatsImpl$Counter;-><init>(Lcom/android/internal/os/BatteryStatsImp…
148 Landroid/os/BatteryStats$Counter;-><init>()V
149 Lcom/android/internal/os/BatteryStatsImpl$Counter;->readSummaryFromParcelLocked(Landroid/os/Parcel;…
228 Lcom/android/internal/os/BatteryStatsImpl$Counter;->writeSummaryFromParcelLocked(Landroid/os/Parcel…
Dboot-image-profile.txt28293 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;-><init>(Lcom/android/internal/os/BatteryStats…
28294 HPLcom/android/internal/os/BatteryStatsImpl$Counter;->addAtomic(I)V
28295 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->detach()V
28296 HPLcom/android/internal/os/BatteryStatsImpl$Counter;->getCountLocked(I)I
28297 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->onTimeStarted(JJJ)V
28298 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->onTimeStopped(JJJ)V
28299 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->readSummaryFromParcelLocked(Landroid/os/Parc…
28300 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->reset(Z)Z
28301 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->stepAtomic()V
28302 HSPLcom/android/internal/os/BatteryStatsImpl$Counter;->writeSummaryFromParcelLocked(Landroid/os/Par…
[all …]
Dpreloaded-classes4553 android.os.BatteryStats$Counter
8262 com.android.internal.os.BatteryStatsImpl$Counter
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5298 // Counter: number of matches found