/frameworks/base/libs/hwui/tests/unit/ |
D | ThreadBaseTests.cpp | 97 struct Counter { in TEST() struct 98 explicit Counter(EventCount* count) : mCount(count) { mCount->construct++; } in TEST() function 100 Counter(const Counter& other) : mCount(other.mCount) { in TEST() function 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/ |
D | BatteryStatsCounterTest.java | 37 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()
|
D | BatteryStatsNoteTest.java | 70 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter(); in testNoteBluetoothScanResultLocked()
|
/frameworks/av/drm/libmediadrm/protos/ |
D | metrics.proto | 45 // 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/ |
D | DrmMetrics.cpp | 268 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/ |
D | buffer_transport_benchmark.cpp | 516 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/ |
D | CCodecBufferChannel.h | 189 struct Counter { struct 190 inline Counter() : value(-1) {} in Counter() argument 194 Mutexed<Counter> mCount; argument
|
D | CCodecBufferChannel.cpp | 76 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/ |
D | HealthStatsBatteryStatsWriter.java | 432 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/ |
D | ValueEnumerator.cpp | 529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local 531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local 531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 529 unsigned Counter = 0; in IncorporateFunctionInfoGlobalBBIDs() local 531 IDMap[&*BB] = ++Counter; in IncorporateFunctionInfoGlobalBBIDs()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1332 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/ |
D | statistics.py | 296 table = collections.Counter(iter(data)).most_common()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-p.txt | 11 Landroid/os/BatteryStats$Counter;-><init>()V
|
D | preloaded-classes | 2716 android.os.BatteryStats$Counter 4571 com.android.internal.os.BatteryStatsImpl$Counter
|
D | boot-image-profile.txt | 20518 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 20525 …Counter;->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 …]
|
D | hiddenapi-greylist-max-o.txt | 52144 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/ |
D | BatteryStats.java | 405 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/ |
D | metrics_constants.proto | 5298 // Counter: number of matches found
|