OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:L2capSdu
(Results
1 - 6
of
6
) sorted by null
/system/bt/vendor_libs/test_vendor_lib/include/
l2cap_sdu.h
48
// will be creating an L2CAP packet from a stream of
L2capSdu
60
class
L2capSdu
{
62
// Returns a completed
L2capSdu
object.
63
L2capSdu
(std::vector<uint8_t> create_from);
65
static
L2capSdu
L2capSduBuilder(std::vector<uint8_t> create_from);
67
// TODO: Remove this when the move to
L2capSdu
* is done
68
L2capSdu
& operator=(
L2capSdu
obj1) {
112
static bool is_complete_l2cap(const
L2capSdu
& sdu);
116
static bool is_starting_sdu(const
L2capSdu
& sdu)
[
all
...]
l2cap_packet.h
37
const std::vector<
L2capSdu
>& sdu_packet);
46
// Returns a fragmented vector of
L2capSdu
objects if successful
47
// Returns an empty vector of
L2capSdu
objects if unsuccessful
48
std::vector<
L2capSdu
> fragment(uint16_t maximum_sdu_size, uint8_t txseq,
/system/bt/vendor_libs/test_vendor_lib/test/
l2cap_test.cc
43
L2capSdu
update_fcs(vector<uint8_t> sdu) {
46
return
L2capSdu
::L2capSduBuilder(sdu);
62
vector<
L2capSdu
> test_packet;
66
test_packet.push_back(
L2capSdu
(good_sdu[0]));
67
test_packet.push_back(
L2capSdu
(good_sdu[1]));
68
test_packet.push_back(
L2capSdu
(good_sdu[2]));
80
test_packet.push_back(
L2capSdu
(l2cap_test_packet_1));
81
test_packet.push_back(
L2capSdu
(l2cap_test_packet_2));
82
test_packet.push_back(
L2capSdu
(l2cap_test_packet_3));
83
test_packet.push_back(
L2capSdu
(l2cap_test_packet_4))
[
all
...]
l2cap_sdu_test.cc
25
L2capSdu
packet_1(l2cap_test_packet_1);
26
L2capSdu
packet_2(l2cap_test_packet_2);
27
L2capSdu
packet_3(l2cap_test_packet_3);
28
L2capSdu
packet_4(l2cap_test_packet_4);
29
L2capSdu
packet_5(l2cap_test_packet_5);
30
L2capSdu
packet_6(l2cap_test_packet_6);
31
L2capSdu
packet_7(l2cap_test_packet_7);
32
L2capSdu
packet_8(l2cap_test_packet_8);
33
L2capSdu
packet_9(l2cap_test_packet_9);
/system/bt/vendor_libs/test_vendor_lib/src/
l2cap_sdu.cc
28
const uint16_t
L2capSdu
::lfsr_table_[256] = {
60
L2capSdu
::
L2capSdu
(std::vector<uint8_t> create_from) {
64
L2capSdu
L2capSdu
::L2capSduBuilder(std::vector<uint8_t> create_from) {
65
L2capSdu
packet(std::move(create_from));
77
std::vector<uint8_t>::const_iterator
L2capSdu
::get_payload_begin(
82
std::vector<uint8_t>::const_iterator
L2capSdu
::get_payload_end() const {
86
uint16_t
L2capSdu
::convert_from_little_endian(
95
uint16_t
L2capSdu
::calculate_fcs() const
[
all
...]
l2cap_packet.cc
37
const std::vector<
L2capSdu
>& sdu_packets) {
48
if (sdu_packets.size() == 1 && !
L2capSdu
::is_complete_l2cap(sdu_packets[0])) {
62
//
L2capSdu
objects and these checks will be moved there instead.
98
!
L2capSdu
::is_starting_sdu(sdu_packets[i])) {
103
if (i != 0 &&
L2capSdu
::is_starting_sdu(sdu_packets[i])) {
115
!
L2capSdu
::is_ending_sdu(sdu_packets[i])) {
124
if (
L2capSdu
::is_starting_sdu(sdu_packets[i])) {
183
std::vector<
L2capSdu
> L2capPacket::fragment(uint16_t maximum_sdu_size,
186
std::vector<
L2capSdu
> sdu;
207
sdu.push_back(
L2capSdu
::L2capSduBuilder(current_sdu))
[
all
...]
Completed in 407 milliseconds