Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/test/
Dbta_pan_test.cc113 .p_srv_name = std::string(), in TEST_F()
118 .p_srv_name = std::string(), in TEST_F()
141 .p_srv_name = "TestPanUser", in TEST_F()
145 .p_srv_name = "TestPanNap", in TEST_F()
187 .p_srv_name = std::string(200, 'A'), in TEST_F()
190 ASSERT_EQ(200UL, user_info.p_srv_name.size()); in TEST_F()
193 .p_srv_name = std::string(201, 'A'), in TEST_F()
196 ASSERT_EQ(201UL, nap_info.p_srv_name.size()); in TEST_F()
/packages/modules/Bluetooth/system/bta/pan/
Dbta_pan_api.cc122 if (!user_info.p_srv_name.empty()) { in BTA_PanSetRole()
123 strncpy(data.api_set_role.user_name, user_info.p_srv_name.data(), BTA_SERVICE_NAME_LEN); in BTA_PanSetRole()
129 if (!nap_info.p_srv_name.empty()) { in BTA_PanSetRole()
130 strncpy(data.api_set_role.nap_name, nap_info.p_srv_name.data(), BTA_SERVICE_NAME_LEN); in BTA_PanSetRole()
/packages/modules/Bluetooth/system/bta/include/
Dbta_pan_api.h57 const std::string p_srv_name; /* service name for the PAN role */ member