Home
last modified time | relevance | path

Searched refs:max_page (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/
Dstack_acl_test.cc75 const uint8_t max_page = 3; in TEST_F() local
78 acl_process_extended_features(hci_handle, 1, max_page, 0xf123456789abcde); in TEST_F()
79 acl_process_extended_features(hci_handle, 2, max_page, 0xef123456789abcd); in TEST_F()
80 acl_process_extended_features(hci_handle, 3, max_page, 0xdef123456789abc); in TEST_F()
91 const uint8_t max_page = 255; in TEST_F() local
96 max_page, 0x123456789abcdef); in TEST_F()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_test.cc705 const uint8_t max_page = 3; in TEST_F() local
707 1, max_page, 0xabcdef9876543210); in TEST_F()
709 2, max_page, 0xbcdef9876543210a); in TEST_F()
711 3, max_page, 0xcdef9876543210ab); in TEST_F()
712 ASSERT_EQ(static_cast<int>(max_page) - 1, in TEST_F()
719 const uint8_t max_page = 255; in TEST_F() local
720 for (int page = 1; page < static_cast<int>(max_page) + 1; page++) { in TEST_F()
722 static_cast<uint8_t>(page), max_page, 0xabcdef9876543210); in TEST_F()
724 ASSERT_EQ(static_cast<int>(max_page - 1), in TEST_F()
731 const uint8_t max_page = 0; in TEST_F() local
[all …]
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc931 uint8_t page_num, max_page; in btm_read_remote_ext_features_complete_raw() local
942 STREAM_TO_UINT8(max_page, p); in btm_read_remote_ext_features_complete_raw()
944 if (max_page > HCI_EXT_FEATURES_PAGE_MAX) { in btm_read_remote_ext_features_complete_raw()
945 log::warn("Too many max pages read page={} unknown", max_page); in btm_read_remote_ext_features_complete_raw()
954 if (page_num > max_page) { in btm_read_remote_ext_features_complete_raw()
955 log::warn("num_page={}, max_page={} invalid", page_num, max_page); in btm_read_remote_ext_features_complete_raw()
958 btm_read_remote_ext_features_complete(handle, page_num, max_page, p); in btm_read_remote_ext_features_complete_raw()
962 uint8_t max_page, in btm_read_remote_ext_features_complete() argument
985 if ((page_num < max_page) && (page_num < HCI_EXT_FEATURES_PAGE_MAX)) { in btm_read_remote_ext_features_complete()
996 btm_process_remote_ext_features(p_acl_cb, max_page); in btm_read_remote_ext_features_complete()
/packages/modules/Bluetooth/system/stack/include/
Dacl_hci_link_interface.h54 uint8_t max_page, uint8_t* features);
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_acl.h987 std::function<void(uint16_t handle, uint8_t page_num, uint8_t max_page,
991 void operator()(uint16_t handle, uint8_t page_num, uint8_t max_page, in operator()
993 body(handle, page_num, max_page, features); in operator()
Dmock_stack_acl.cc562 uint8_t max_page, in btm_read_remote_ext_features_complete() argument
566 handle, page_num, max_page, features); in btm_read_remote_ext_features_complete()