Home
last modified time | relevance | path

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

123

/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() function
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/services/tests/powerstatstests/src/com/android/server/power/stats/
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()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTimer.h37 enum class Counter { enum
43 static const int counterSize = static_cast<int>(Counter::LastCounter) + 1;
44 static char const *toString(Counter);
47 ResourceTimer(Counter);
180 static inline std::vector<unsigned int>::size_type toIndex(Counter c) { in toIndex()
209 Counter api_;
/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()
135 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
143 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics()
/frameworks/native/services/stats/
DStatsAidl.cpp43 using ::android::expresslog::Counter;
97 Counter::logIncrement(g_AtomErrorMetricName); in reportVendorAtom()
104 Counter::logIncrement(g_AtomErrorMetricName); in reportVendorAtom()
115 Counter::logIncrement(g_AtomErrorMetricName); in reportVendorAtom()
236 Counter::logIncrement(g_AtomErrorMetricName); in reportVendorAtom()
253 Counter::logIncrement(g_AtomErrorMetricName); in reportVendorAtom()
265 Counter::logIncrement(g_AtomErrorMetricName); in reportVendorAtom()
/frameworks/proto_logging/stats/express/catalog/
Daccessibility.cfg4 description: "Counter indicating the FAB was dragged to the Dismiss target"
14 description: "Counter indicating the FAB was dragged to the Edit target"
24 …description: "Counter indicating the qs shortcut was chosen as a shortcut type for selected featur…
36 …description: "Counter indicating the qs shortcut was removed from the chosen shortcut types for se…
Dbluetooth.cfg17 description: "Counter on how many times CVSD codec is used for HFP."
27 description: "Counter on how many times mSbc codec is used for HFP."
37 description: "Counter on how many times AptX codec is used for HFP."
47 description: "Counter on how many times LC3 codec is used for HFP."
Dvibrator.cfg4 display_name: "Counter of performHapticFeedback(KEYBOARD_*) per uid"
16 display_name: "Counter of ignored vibration parameter responses"
28 display_name: "Counter of slow vibration parameter requests before a vibration"
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorFrameworkStatsLogger.java27 import com.android.modules.expresslog.Counter;
180 Counter.logIncrementWithUid("vibrator.value_vibration_param_request_timeout", uid); in logVibrationParamRequestTimeout()
185 Counter.logIncrement("vibrator.value_vibration_param_response_ignored"); in logVibrationParamResponseIgnored()
201 Counter.logIncrementWithUid("vibrator.value_perform_haptic_feedback_keyboard", uid); in logPerformHapticsFeedbackIfKeyboard()
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleProcessCpuThreadReader.java23 import com.android.modules.expresslog.Counter;
122 Counter.logIncrement("cpu.value_process_tracking_start_failure_count"); in startTrackingThreadCpuTimes()
129 Counter.logIncrement( in startTrackingThreadCpuTimes()
/frameworks/libs/modules-utils/java/com/android/modules/expresslog/
DCounter.java22 public final class Counter { class
25 private Counter() {} in Counter() method in Counter
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobNotificationCoordinator.java36 import com.android.modules.expresslog.Counter;
125 Counter.logIncrementWithUid( in enqueueNotification()
129 Counter.logIncrementWithUid( in enqueueNotification()
135 Counter.logIncrementWithUid( in enqueueNotification()
139 Counter.logIncrementWithUid( in enqueueNotification()
147 Counter.logIncrementWithUid( in enqueueNotification()
DJobServiceContext.java69 import com.android.modules.expresslog.Counter;
845 Counter.logIncrementWithUid( in doUpdateEstimatedNetworkBytes()
855 Counter.logIncrementWithUid( in doUpdateEstimatedNetworkBytes()
860 Counter.logIncrementWithUid( in doUpdateEstimatedNetworkBytes()
869 Counter.logIncrementWithUid( in doUpdateEstimatedNetworkBytes()
874 Counter.logIncrementWithUid( in doUpdateEstimatedNetworkBytes()
892 Counter.logIncrementWithUid( in doUpdateTransferredNetworkBytes()
902 Counter.logIncrementWithUid( in doUpdateTransferredNetworkBytes()
907 Counter.logIncrementWithUid( in doUpdateTransferredNetworkBytes()
916 Counter.logIncrementWithUid( in doUpdateTransferredNetworkBytes()
[all …]
/frameworks/base/libs/androidfw/
DResourceTimer.cpp67 ResourceTimer::ResourceTimer(Counter api) in ResourceTimer()
254 char const *ResourceTimer::toString(ResourceTimer::Counter counter) { in toString()
256 case Counter::GetResourceValue: in toString()
258 case Counter::RetrieveAttributes: in toString()
/frameworks/av/media/libstagefright/tests/mediacodec/
DMediaCodecTest.cpp111 class Counter { class
113 Counter() = default;
114 explicit Counter(int32_t initCount) : mCount(initCount) {} in Counter() function in android::Counter
115 ~Counter() = default;
215 Counter counter{kInit}; in TEST()
248 Counter threadExitCounter; in TEST()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DMovableElementTest.kt59 private fun Counter(modifier: Modifier = Modifier) { in Counter() method
66 MovableElement(key, modifier) { content { Counter() } } in SceneScope()
73 Box(Modifier.element(TestElements.Foo).size(50.dp)) { Counter() } in modifierElementIsDuplicatedDuringTransitions()
75 toSceneContent = { Box(Modifier.element(TestElements.Foo).size(100.dp)) { Counter() } }, in modifierElementIsDuplicatedDuringTransitions()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaSampleReaderBenchmark.cpp77 benchmark::Counter(frameCount, benchmark::Counter::kIsRate); in ReadMediaSamples()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl2.java34 import com.android.modules.expresslog.Counter;
420 Counter.logIncrement("webview.value_on_webview_provider_changed_counter"); in onWebViewProviderChanged()
422 Counter.logIncrement( in onWebViewProviderChanged()
493 Counter.logIncrement("webview.value_find_preferred_webview_package_counter"); in findPreferredWebViewPackage()
524 Counter.logIncrement("webview.value_default_webview_package_invalid_counter"); in findPreferredWebViewPackage()
531 Counter.logIncrement("webview.value_webview_not_usable_for_all_users_counter"); in findPreferredWebViewPackage()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp95 report.counters["Rendering RAM"] = Counter{static_cast<double>(cpuUsage + gpuUsage), in outputBenchmarkReport()
96 Counter::kDefaults, Counter::kIs1024}; in outputBenchmarkReport()
/frameworks/base/services/core/java/com/android/server/am/
DDropboxRateLimiter.java26 import com.android.modules.expresslog.Counter;
165 Counter.logIncrement( in maybeRemoveExpiredRecords()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h278 struct Counter { struct
279 inline Counter() : value(-1) {} in Counter() function
283 Mutexed<Counter> mCount; argument
/frameworks/base/services/companion/java/com/android/server/companion/virtual/camera/
DVirtualCameraController.java39 import com.android.modules.expresslog.Counter;
106 Counter.logIncrementWithUid( in registerCamera()
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java48 import com.android.modules.expresslog.Counter;
281 Counter.logIncrementWithUid( in createService()
289 Counter.logIncrementWithUid( in createService()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DTimeController.java34 import com.android.modules.expresslog.Counter;
162 Counter.logIncrement( in evaluateStateLocked()
237 Counter.logIncrement( in checkExpiredDeadlinesAndResetAlarm()

123