Home
last modified time | relevance | path

Searched refs:BT_PROPERTY_BDNAME (Results 1 – 15 of 15) sorted by relevance

/system/bt/test/suite/adapter/
Dadapter_unittest.cc75 EXPECT_EQ(bt_interface()->get_adapter_property(BT_PROPERTY_BDNAME), in TEST_F()
80 bt_property_t* name_property = GetProperty(BT_PROPERTY_BDNAME); in TEST_F()
93 EXPECT_TRUE(GetProperty(BT_PROPERTY_BDNAME)) in TEST_F()
95 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name)) in TEST_F()
97 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name in TEST_F()
105 property_equals(GetProperty(BT_PROPERTY_BDNAME), old_name_property)) in TEST_F()
107 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name in TEST_F()
/system/bt/btcore/src/
Dproperty.cc67 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals()
103 return property_new_((void*)name, sizeof(bt_bdname_t), BT_PROPERTY_BDNAME); in property_new_name()
156 return property->type == BT_PROPERTY_BDNAME; in property_is_name()
223 if (type == BT_PROPERTY_BDNAME) { in property_new_()
/system/bt/tools/bdtool/
Dbdtool.c161 error = bt_interface->get_adapter_property(BT_PROPERTY_BDNAME), in main()
167 bt_property_t* property = adapter_get_property(BT_PROPERTY_BDNAME); in main()
189 error = bt_interface->get_adapter_property(BT_PROPERTY_BDNAME), in main()
Dadapter.c193 case BT_PROPERTY_BDNAME: { in parse_properties()
/system/bt/service/
Dlogging_helpers.cc106 CASE_RETURN_TEXT(BT_PROPERTY_BDNAME); in BtPropertyText()
Dadapter.cc60 case BT_PROPERTY_BDNAME: { in ParseRemoteDeviceProps()
302 if (!SetAdapterProperty(BT_PROPERTY_BDNAME, &hal_name, sizeof(hal_name))) { in SetName()
553 case BT_PROPERTY_BDNAME: { in AdapterPropertiesCallback()
/system/bt/service/hal/
Dfake_bluetooth_interface.cc119 property.type = BT_PROPERTY_BDNAME; in NotifyAdapterNamePropertyChanged()
/system/bt/btif/src/
Dbtif_core.cc416 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_BDNAME, in btif_in_get_adapter_properties()
473 BTIF_STORAGE_FILL_PROPERTY(&remote_properties[num_props], BT_PROPERTY_BDNAME, in btif_in_get_remote_device_properties()
661 case BT_PROPERTY_BDNAME: { in btif_set_adapter_property()
Dbtif_storage.cc205 case BT_PROPERTY_BDNAME: { in prop2cfg()
301 case BT_PROPERTY_BDNAME: { in cfg2prop()
946 BTIF_STORAGE_GET_ADAPTER_PROP(status, BT_PROPERTY_BDNAME, &name, in btif_storage_load_bonded_devices()
1006 BTIF_STORAGE_GET_REMOTE_PROP(p_remote_addr, BT_PROPERTY_BDNAME, &name, in btif_storage_load_bonded_devices()
1786 property.type = BT_PROPERTY_BDNAME; in btif_storage_get_stored_remote_name()
Dbtif_util.cc128 CASE_RETURN_STR(BT_PROPERTY_BDNAME) in dump_property_type()
Dbtif_dm.cc361 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in check_cached_remote_name()
526 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], BT_PROPERTY_BDNAME, in btif_update_remote_properties()
1126 properties[0].type = BT_PROPERTY_BDNAME; in btif_dm_search_devices_evt()
1184 BT_PROPERTY_BDNAME, in btif_dm_search_devices_evt()
1408 prop[1].type = BT_PROPERTY_BDNAME; in btif_dm_search_services_evt()
1452 prop.type = BT_PROPERTY_BDNAME; in BTIF_dm_enable()
2157 case BT_PROPERTY_BDNAME: { in btif_dm_get_adapter_property()
Dbluetooth.cc223 (type != BT_PROPERTY_BDNAME) && (type != BT_PROPERTY_CLASS_OF_DEVICE)) in get_adapter_property()
234 case BT_PROPERTY_BDNAME: in set_adapter_property()
Dbtif_hh.cc970 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in btif_hh_upstreams_evt()
/system/bt/btcore/test/
Dproperty_test.cc98 EXPECT_EQ(BT_PROPERTY_BDNAME, property->type); in TEST_F()
/system/bt/include/hardware/
Dbluetooth.h229 BT_PROPERTY_BDNAME = 0x1, enumerator