Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/lib/libkll/tests/
Dcompactor_stack_test.cpp36 int num_items; member
42 for (int num_items = 1; num_items < 1000; num_items += std::ceil(std::log(1 + num_items))) { in GenCompactorsTestParams() local
44 testcases.push_back({num_items, capacity}); in GenCompactorsTestParams()
69 for (int i = 0; i < params.num_items; i++) { in TEST_P()
72 EXPECT_EQ(compactor_stack.num_stored_items(), params.num_items / sampler.capacity()); in TEST_P()
75 params.num_items % sampler.capacity()); in TEST_P()
77 EXPECT_EQ(0, params.num_items % sampler.capacity()); in TEST_P()
93 int remaining_num_items = params.num_items; in TEST_P()
100 EXPECT_EQ(compactor_stack.num_stored_items(), params.num_items / sampler.capacity()); in TEST_P()
103 params.num_items % sampler.capacity()); in TEST_P()
[all …]
Dsampler_test.cpp290 const int num_items = GetParam(); in TEST_P() local
293 int num_repetitions = 2 * num_items * std::ceil(std::log(1 + num_items)); in TEST_P()
297 while (sampler.capacity() <= num_items) { in TEST_P()
300 for (int j = 0; j < num_items; j++) { in TEST_P()
304 EXPECT_EQ(sampler.sampled_item_and_weight().value().second, num_items); in TEST_P()
307 for (int i = 0; i < num_items; i++) { in TEST_P()
/packages/modules/StatsD/lib/libkll/proto/
Dkll-quantiles.proto70 // num_items is stored in AggregatorStateProto.num_values.
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_controller.cpp631 uint8_t num_items, in btavrcp_set_browsed_player_callback() argument
633 ALOGI("%s items %d depth %d", __func__, num_items, depth); in btavrcp_set_browsed_player_callback()
652 addr.get(), (jint)num_items, (jint)depth); in btavrcp_set_browsed_player_callback()
Dcom_android_bluetooth_avrcp_target.cpp692 jstring root_id, jint num_items) { in setBrowsedPlayerResponseNative() argument
702 set_browsed_player_cb.Run(success == JNI_TRUE, root, num_items); in setBrowsedPlayerResponseNative()