Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 25 of 188) sorted by relevance

12345678

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSlidingWindowEventCounterTest.java41 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
/aosp12/frameworks/av/drm/libmediadrm/
H A DDrmMetrics.cpp95 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
136 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local
144 DrmFrameworkMetrics::Counter *counter = in GetSerializedMetrics() local
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
H A DIntCounterTest.java45 IntCounter counter = new IntCounter(); in testEmpty() local
54 IntCounter counter = new IntCounter(); in testAddToCounter() local
79 IntCounter counter = new IntCounter(-5, 100); in testAddToClampedCounter() local
/aosp12/system/extras/simpleperf/
H A Drecord_lib_test.cpp39 TEST(counter, add_event) { in TEST() argument
56 for (auto& counter : counters) { in TEST() local
64 TEST(counter, different_targets) { in TEST() argument
90 TEST(counter, start_stop_multiple_times) { in TEST() argument
119 TEST(counter, no_change_after_stop) { in TEST() argument
/aosp12/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp59 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
/aosp12/frameworks/layoutlib/bridge/src/com/android/internal/util/
H A DVirtualRefBasePtr_Delegate.java38 long counter = sRefCount.get(ptr); in nIncStrong() local
44 long counter = sRefCount.get(ptr); in nDecStrong() local
/aosp12/art/runtime/gc/
H A Dtask_processor_test.cc32 RecursiveTask(TaskProcessor* task_processor, Atomic<size_t>* counter, size_t max_recursion) in RecursiveTask()
71 Atomic<size_t> counter(0); in TEST_F() local
105 TestOrderTask(uint64_t expected_time, size_t expected_counter, size_t* counter) in TestOrderTask()
124 size_t counter = 0; in TEST_F() local
/aosp12/system/core/trusty/coverage/
H A Dcoverage_test.cpp60 auto counter = record_->TotalEdgeCounts(); in TEST_F() local
86 auto counter = record_->TotalEdgeCounts(); in TEST_F() local
/aosp12/packages/modules/NeuralNetworks/common/random/
H A Dphilox_random.h135 PhiloxRandom(ResultType counter, Key key) : counter_(counter), key_(key) {} in PhiloxRandom()
159 ResultType counter = counter_; in operator() local
222 PHILOX_DEVICE_INLINE static ResultType ComputeSingleRound(const ResultType& counter, in ComputeSingleRound()
H A Dguarded_philox_random.cc33 void GuardedPhiloxRandom::Init(random::PhiloxRandom::ResultType counter, in Init()
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/wifi_hal_ctrl/
H A Dwifi_hal_ctrl.c42 static int counter = 0; in wifihal_ctrl_open2() local
181 int counter = 0, res; in wifihal_ctrl_request() local
/aosp12/packages/modules/Connectivity/Tethering/bpf_progs/
H A Doffload.c75 #define COUNT_AND_RETURN(counter, ret) do { \ in DEFINE_BPF_MAP_GRW() argument
82 #define TC_DROP(counter) COUNT_AND_RETURN(counter, TC_ACT_SHOT) argument
83 #define TC_PUNT(counter) COUNT_AND_RETURN(counter, TC_ACT_OK) argument
85 #define XDP_DROP(counter) COUNT_AND_RETURN(counter, XDP_DROP) argument
86 #define XDP_PUNT(counter) COUNT_AND_RETURN(counter, XDP_PASS) argument
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java73 int counter = 0; in exportAsDot() local
88 int counter = 0; in exportAsDot() local
/aosp12/packages/services/Car/service/src/com/android/car/stats/
H A DVmsClientLogger.java89 AtomicLong counter; in logConnectionState() local
98 AtomicLong counter; in getConnectionStateCount() local
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
H A DCachedSupplierTest.java33 final AtomicInteger counter = new AtomicInteger(); in testSimple() local
/aosp12/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
H A Diio_utils.h280 int *counter) in build_channel_array()
596 int *counter, char *sensor, int en) in enable_se()
631 struct iio_channel_info **ci_array, int *counter, in enable_accel_se()
638 struct iio_channel_info **ci_array, int *counter, in enable_anglvel_se()
645 struct iio_channel_info **ci_array, int *counter, in enable_quaternion_se()
/aosp12/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
H A Diio_utils.h280 int *counter) in build_channel_array()
596 int *counter, char *sensor, int en) in enable_se()
631 struct iio_channel_info **ci_array, int *counter, in enable_accel_se()
638 struct iio_channel_info **ci_array, int *counter, in enable_anglvel_se()
645 struct iio_channel_info **ci_array, int *counter, in enable_quaternion_se()
/aosp12/bionic/tests/
H A Dpty_test.cpp89 uint32_t counter = 0; in PtyReader_28979140() local
154 uint32_t counter = 0; in TEST() local
/aosp12/frameworks/av/media/libaaudio/src/client/
H A DAudioEndpoint.cpp85 fifo_counter_t counter = *descriptor->readCounterAddress; in AudioEndpoint_validateQueueDescriptor() local
93 fifo_counter_t counter = *descriptor->writeCounterAddress; in AudioEndpoint_validateQueueDescriptor() local
/aosp12/frameworks/av/media/bufferpool/2.0/tests/
H A Dallocator.h32 int counter = 0; member
/aosp12/art/test/674-hotness-compiled/src/
H A DMain.java33 int counter = getHotnessCounter(Main.class, "$noinline$hotnessCount"); in main() local
/aosp12/art/test/135-MirandaDispatch/src/
H A DMain.java20 static int counter = 0; field in Main
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsCounterTest.java37 final BatteryStatsImpl.Counter counter = new BatteryStatsImpl.Counter(timeBase); in testCounter() local
/aosp12/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/src/main/java/com/example/simpleperf/simpleperfexampleofkotlin/
H A DSleepActivity.kt16 var counter = 0 regex
/aosp12/art/test/2007-virtual-structural-finalizable/src-art/art/
H A DTest2007.java30 public static volatile int counter = 0; field in Test2007

12345678