Home
last modified time | relevance | path

Searched refs:hal_name (Results 1 – 8 of 8) sorted by relevance

/system/bt/service/hal/
Dfake_bluetooth_interface.cc111 bt_bdname_t hal_name; in NotifyAdapterNamePropertyChanged() local
112 strncpy(reinterpret_cast<char*>(hal_name.name), name.c_str(), in NotifyAdapterNamePropertyChanged()
113 std::min(sizeof(hal_name) - 1, name.length())); in NotifyAdapterNamePropertyChanged()
114 reinterpret_cast<char*>(hal_name.name)[name.length()] = '\0'; in NotifyAdapterNamePropertyChanged()
117 property.len = sizeof(hal_name); in NotifyAdapterNamePropertyChanged()
118 property.val = &hal_name; in NotifyAdapterNamePropertyChanged()
/system/bt/service/
Dadapter.cc65 bt_bdname_t* hal_name = reinterpret_cast<bt_bdname_t*>(property->val); in ParseRemoteDeviceProps() local
66 name = reinterpret_cast<char*>(hal_name->name); in ParseRemoteDeviceProps()
287 bt_bdname_t hal_name; in SetName() local
288 size_t max_name_len = sizeof(hal_name.name); in SetName()
297 strncpy(reinterpret_cast<char*>(hal_name.name), name.c_str(), in SetName()
302 if (!SetAdapterProperty(BT_PROPERTY_BDNAME, &hal_name, sizeof(hal_name))) { in SetName()
554 bt_bdname_t* hal_name = reinterpret_cast<bt_bdname_t*>(property->val); in AdapterPropertiesCallback() local
555 if (hal_name) { in AdapterPropertiesCallback()
556 std::string name = reinterpret_cast<char*>(hal_name->name); in AdapterPropertiesCallback()
/system/bt/service/test/
Dadapter_unittest.cc215 bt_bdname_t hal_name; in TEST_F() local
218 EXPECT_FALSE(adapter_->SetName(std::string(sizeof(hal_name.name), 'a'))); in TEST_F()
/system/sepolicy/prebuilts/api/28.0/public/
Dte_macros205 # hal_attribute(hal_name)
/system/sepolicy/prebuilts/api/29.0/public/
Dte_macros208 # hal_attribute(hal_name)
/system/sepolicy/prebuilts/api/30.0/public/
Dte_macros209 # hal_attribute(hal_name)
/system/sepolicy/prebuilts/api/31.0/public/
Dte_macros225 # hal_attribute(hal_name)
/system/sepolicy/public/
Dte_macros225 # hal_attribute(hal_name)