Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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()
/packages/modules/Bluetooth/system/btcore/src/
Dproperty.cc72 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals()
108 return property_new_((void*)name, sizeof(bt_bdname_t), BT_PROPERTY_BDNAME); in property_new_name()
161 return property->type == BT_PROPERTY_BDNAME; in property_is_name()
236 if (type == BT_PROPERTY_BDNAME) { in property_new_()
/packages/modules/Bluetooth/system/test/headless/
Dproperty.h32 CASE_RETURN_TEXT(BT_PROPERTY_BDNAME); in bt_property_type_text()
134 type = BT_PROPERTY_BDNAME; in name_t()
149 type = BT_PROPERTY_BDNAME; in bdaddr_t()
Dproperty.cc36 {BT_PROPERTY_BDNAME,
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterPropertiesTest.java138 eq(AbstractionLayer.BT_PROPERTY_BDNAME), argumentName.capture()); in setName_shortName_isEqual()
161 eq(AbstractionLayer.BT_PROPERTY_BDNAME), argumentName.capture()); in setName_tooLongName_isTruncated()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAbstractionLayer.java31 static final int BT_PROPERTY_BDNAME = 0x01; field in AbstractionLayer
DAdapterProperties.java347 AbstractionLayer.BT_PROPERTY_BDNAME, in setName()
984 case AbstractionLayer.BT_PROPERTY_BDNAME: in adapterPropertyChangedCallback()
DRemoteDevices.java883 case AbstractionLayer.BT_PROPERTY_BDNAME: in devicePropertyChangedCallback()
DAdapterService.java701 mNativeInterface.getAdapterProperty(AbstractionLayer.BT_PROPERTY_BDNAME); in init()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_core.cc332 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_BDNAME, in btif_in_get_adapter_properties()
378 BTIF_STORAGE_FILL_PROPERTY(&remote_properties[num_props], BT_PROPERTY_BDNAME, in btif_in_get_remote_device_properties()
599 case BT_PROPERTY_BDNAME: { in btif_set_adapter_property()
Dbtif_storage.cc141 case BT_PROPERTY_BDNAME: { in prop2cfg()
245 case BT_PROPERTY_BDNAME: { in cfg2prop()
1003 btif_storage_get_adapter_prop(BT_PROPERTY_BDNAME, &name, sizeof(name), in btif_storage_load_bonded_devices()
1062 btif_storage_get_remote_prop(p_remote_addr, BT_PROPERTY_BDNAME, &name, in btif_storage_load_bonded_devices()
1397 property.type = BT_PROPERTY_BDNAME; in btif_storage_get_stored_remote_name()
Dbtif_dm.cc491 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in get_cached_remote_name()
698 BT_PROPERTY_BDNAME, static_cast<int>(strlen((char*)bd_name)), bd_name}); in btif_update_remote_properties()
1457 BT_PROPERTY_BDNAME, static_cast<int>(strlen((char*)bdname.name)), in btif_dm_search_devices_evt()
1990 BT_PROPERTY_BDNAME, in btif_on_gatt_results()
2048 bt_property_t{BT_PROPERTY_BDNAME, in btif_on_name_read()
2131 prop.type = BT_PROPERTY_BDNAME; in BTIF_dm_enable()
3018 case BT_PROPERTY_BDNAME: { in btif_dm_get_adapter_property()
Dbtif_util.cc123 CASE_RETURN_STRING(BT_PROPERTY_BDNAME); in dump_property_type()
Dbluetooth.cc526 (type != BT_PROPERTY_BDNAME)) in get_adapter_property()
537 case BT_PROPERTY_BDNAME: in set_adapter_property()
Dbtif_hh.cc1197 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in btif_hh_upstreams_evt()
/packages/modules/Bluetooth/system/gd/discovery/device/
Dbt_property_unittest.cc164 case BT_PROPERTY_BDNAME: { in fill_property()
285 case BT_PROPERTY_BDNAME: in verify_property()
494 fill_property(BT_PROPERTY_BDNAME, properties); in fill_properties()
529 .type = BT_PROPERTY_BDNAME, in TEST_F()
Dbt_property.cc30 CASE_RETURN_TEXT(BT_PROPERTY_BDNAME); in bt_property_type_text()
63 case BT_PROPERTY_BDNAME: in bt_property_text()
Dbt_property.h134 : BtPropertyVectorWithPad<uint8_t>(BT_PROPERTY_BDNAME, bd_name, kBdNameLength, kBdNameDelim) { in BdName()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_dm_test.cc198 ASSERT_EQ(BT_PROPERTY_BDNAME, in TEST_F_WITH_FLAGS()
Dbtif_core_test.cc368 std::make_pair(BT_PROPERTY_BDNAME, "BT_PROPERTY_BDNAME"), in TEST_F()
/packages/modules/Bluetooth/system/btcore/test/
Dproperty_test.cc100 EXPECT_EQ(BT_PROPERTY_BDNAME, property->type); in TEST_F()
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth.h273 BT_PROPERTY_BDNAME = 0x1, enumerator
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_sec.cc140 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in BTM_GetRemoteDeviceName()
/packages/modules/Bluetooth/system/device/src/
Dinterop.cc238 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, in interop_match_addr_or_name()