Searched refs:hal_name (Results 1 – 7 of 7) sorted by relevance
109 bt_bdname_t hal_name; in NotifyAdapterNamePropertyChanged() local110 strncpy(reinterpret_cast<char*>(hal_name.name), name.c_str(), in NotifyAdapterNamePropertyChanged()111 std::min(sizeof(hal_name) - 1, name.length())); in NotifyAdapterNamePropertyChanged()112 reinterpret_cast<char*>(hal_name.name)[name.length()] = '\0'; in NotifyAdapterNamePropertyChanged()115 property.len = sizeof(hal_name); in NotifyAdapterNamePropertyChanged()116 property.val = &hal_name; in NotifyAdapterNamePropertyChanged()
64 bt_bdname_t* hal_name = reinterpret_cast<bt_bdname_t*>(property->val); in ParseRemoteDeviceProps() local65 name = reinterpret_cast<char*>(hal_name->name); in ParseRemoteDeviceProps()286 bt_bdname_t hal_name; in SetName() local287 size_t max_name_len = sizeof(hal_name.name); in SetName()296 strncpy(reinterpret_cast<char*>(hal_name.name), name.c_str(), in SetName()301 if (!SetAdapterProperty(BT_PROPERTY_BDNAME, &hal_name, sizeof(hal_name))) { in SetName()553 bt_bdname_t* hal_name = reinterpret_cast<bt_bdname_t*>(property->val); in AdapterPropertiesCallback() local554 std::string name = reinterpret_cast<char*>(hal_name->name); in AdapterPropertiesCallback()
215 bt_bdname_t hal_name; in TEST_F() local218 EXPECT_FALSE(adapter_->SetName(std::string(sizeof(hal_name.name), 'a'))); in TEST_F()
205 # hal_attribute(hal_name)
208 # hal_attribute(hal_name)
209 # hal_attribute(hal_name)