Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 17 of 17) 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/Bluetooth/system/include/hardware/
Dbt_rc.h524 uint32_t num_items, uint16_t charset_id,
532 uint8_t num_items,
537 btrc_status_t rsp_status, uint32_t num_items);
554 uint32_t num_items);
558 uint32_t uid_counter, uint32_t num_items);
615 uint8_t num_items,
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dqueue_unittest.cc901 int num_items = 10; in TEST_F() local
902 for (int i = 0; i < num_items; i++) { in TEST_F()
906 for (int i = 0; i < num_items; i++) { in TEST_F()
915 int num_items = 10; in TEST_F() local
916 for (int i = 0; i < num_items; i++) { in TEST_F()
927 int num_items = 10; in TEST_F() local
928 for (int i = 0; i < num_items; i++) { in TEST_F()
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1444 uint32_t num_items; member
1467 uint32_t num_items; member
1487 uint32_t num_items; member
1497 uint32_t num_items; member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc2196 uint8_t num_items, in get_folder_items_list_rsp() argument
2207 log::verbose("uid_counter {} num_items {}", uid_counter, num_items); in get_folder_items_list_rsp()
2233 for (item_cnt = 0; item_cnt < num_items; item_cnt++) { in get_folder_items_list_rsp()
2394 uint32_t num_items, in set_browsed_player_rsp() argument
2426 avrc_rsp.br_player.num_items = num_items; in set_browsed_player_rsp()
2432 num_items); in set_browsed_player_rsp()
2511 uint32_t num_items) { in change_path_rsp() argument
2520 avrc_rsp.chg_path.num_items = num_items; in change_path_rsp()
2544 uint32_t num_items) { in search_rsp() argument
2553 avrc_rsp.search.num_items = num_items; in search_rsp()
[all …]
/packages/modules/Bluetooth/system/packet/avrcp/
Dget_folder_items.cc88 uint16_t num_items = items_.size(); in Serialize() local
89 AddPayloadOctets2(pkt, base::ByteSwap(num_items)); in Serialize()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_ct.cc402 BE_STREAM_TO_UINT32(change_path_rsp->num_items, p); in avrc_pars_browse_rsp()
405 change_path_rsp->status, change_path_rsp->num_items); in avrc_pars_browse_rsp()
455 BE_STREAM_TO_UINT32(set_br_pl_rsp->num_items, p); in avrc_pars_browse_rsp()
460 set_br_pl_rsp->status, set_br_pl_rsp->num_items, in avrc_pars_browse_rsp()
Davrc_bld_tg.cc868 UINT32_TO_BE_STREAM(p_data, p_rsp->num_items); in avrc_bld_set_browsed_player_rsp()
1129 UINT32_TO_BE_STREAM(p_data, p_rsp->num_items); in avrc_bld_change_path_rsp()
1239 UINT32_TO_BE_STREAM(p_data, p_rsp->num_items); in avrc_bld_get_num_of_item_rsp()
1275 UINT32_TO_BE_STREAM(p_data, p_rsp->num_items); in avrc_bld_search_rsp()
/packages/modules/Bluetooth/system/profile/avrcp/tests/avrcp_device_fuzz/
Davrcp_device_fuzz.cc32 bool success, std::string root_id, uint32_t num_items)>;
/packages/modules/Bluetooth/system/profile/avrcp/
Ddevice.cc1595 std::string root_id, uint32_t num_items) { in SetBrowsedPlayerResponse() argument
1597 num_items); in SetBrowsedPlayerResponse()
1601 Status::INVALID_PLAYER_ID, 0x0000, num_items, 0, ""); in SetBrowsedPlayerResponse()
1606 if (pkt->GetPlayerId() == 0 && num_items == 0) { in SetBrowsedPlayerResponse()
1609 Status::PLAYER_NOT_BROWSABLE, 0x0000, num_items, 0, ""); in SetBrowsedPlayerResponse()
1621 Status::NO_ERROR, 0x0000, num_items, 0, ""); in SetBrowsedPlayerResponse()
Ddevice.h256 std::string root_id, uint32_t num_items);
/packages/modules/Bluetooth/system/include/hardware/avrcp/
Davrcp.h135 bool success, std::string root_id, uint32_t num_items)>;
/packages/modules/StatsD/lib/libkll/proto/
Dkll-quantiles.proto70 // num_items is stored in AggregatorStateProto.num_values.
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.cc248 std::string root_id, uint32_t num_items) { in SetBrowsedPlayer() argument
250 base::BindOnce(cb, success, root_id, num_items)); in SetBrowsedPlayer()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_avrcp_controller.cpp561 uint8_t num_items, in btavrcp_set_browsed_player_callback() argument
563 log::info("items {} depth {}", num_items, depth); in btavrcp_set_browsed_player_callback()
582 addr.get(), (jint)num_items, (jint)depth); in btavrcp_set_browsed_player_callback()
Dcom_android_bluetooth_avrcp_target.cpp713 jint num_items) { in setBrowsedPlayerResponseNative() argument
723 set_browsed_player_cb.Run(success == JNI_TRUE, root, num_items); in setBrowsedPlayerResponseNative()