/packages/modules/StatsD/lib/libkll/tests/ |
D | compactor_stack_test.cpp | 36 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 …]
|
D | sampler_test.cpp | 290 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/ |
D | bt_rc.h | 524 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/ |
D | queue_unittest.cc | 901 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/ |
D | avrc_defs.h | 1444 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/ |
D | btif_rc.cc | 2196 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/ |
D | get_folder_items.cc | 88 uint16_t num_items = items_.size(); in Serialize() local 89 AddPayloadOctets2(pkt, base::ByteSwap(num_items)); in Serialize()
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_pars_ct.cc | 402 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()
|
D | avrc_bld_tg.cc | 868 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/ |
D | avrcp_device_fuzz.cc | 32 bool success, std::string root_id, uint32_t num_items)>;
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | device.cc | 1595 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()
|
D | device.h | 256 std::string root_id, uint32_t num_items);
|
/packages/modules/Bluetooth/system/include/hardware/avrcp/ |
D | avrcp.h | 135 bool success, std::string root_id, uint32_t num_items)>;
|
/packages/modules/StatsD/lib/libkll/proto/ |
D | kll-quantiles.proto | 70 // num_items is stored in AggregatorStateProto.num_values.
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 248 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/ |
D | com_android_bluetooth_avrcp_controller.cpp | 561 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()
|
D | com_android_bluetooth_avrcp_target.cpp | 713 jint num_items) { in setBrowsedPlayerResponseNative() argument 723 set_browsed_player_cb.Run(success == JNI_TRUE, root, num_items); in setBrowsedPlayerResponseNative()
|