Home
last modified time | relevance | path

Searched refs:max_data_size (Results 1 – 3 of 3) sorted by relevance

/system/bt/hci/src/
Dpacket_fragmenter.cc87 uint16_t max_data_size = in fragment_and_dispatch_acl() local
92 uint16_t max_packet_size = max_data_size + HCI_ACL_PREAMBLE_SIZE; in fragment_and_dispatch_acl()
105 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch_acl()
110 packet->offset += max_data_size; in fragment_and_dispatch_acl()
111 remaining_length -= max_data_size; in fragment_and_dispatch_acl()
137 uint16_t max_data_size = controller->get_iso_data_size(); in fragment_and_dispatch_iso() local
138 uint16_t max_packet_size = max_data_size + HCI_ISO_PREAMBLE_SIZE; in fragment_and_dispatch_iso()
157 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch_iso()
162 packet->offset += max_data_size; in fragment_and_dispatch_iso()
163 remaining_length -= max_data_size; in fragment_and_dispatch_iso()
/system/core/fastboot/
Dudp_test.cpp428 size_t max_data_size = max_packet_size - 4; in TEST_F() local
429 std::string data(max_data_size * 3, '\0'); in TEST_F()
433 std::string chunks[] = {data.substr(0, max_data_size), in TEST_F()
434 data.substr(max_data_size, max_data_size), in TEST_F()
435 data.substr(max_data_size * 2, max_data_size)}; in TEST_F()
/system/bt/stack/test/
Dble_advertiser_test.cc544 const int max_data_size = 1650; in TEST_F() local
545 std::vector<uint8_t> data(max_data_size); in TEST_F()
546 for (int i = 0; i < max_data_size; i++) data[i] = i; in TEST_F()