Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/1.0/default/test/
Dbluetooth_address_test.cc125 property_set(PROPERTY_BT_BDADDR_PATH, ""); in TEST_F()
131 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) == 0); in TEST_F()
136 property_set(PROPERTY_BT_BDADDR_PATH, "22"); in TEST_F()
141 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) == 2); in TEST_F()
146 property_set(PROPERTY_BT_BDADDR_PATH, ""); in TEST_F()
151 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) == 0); in TEST_F()
158 property_set(PROPERTY_BT_BDADDR_PATH, PROPERTY_BT_BDADDR_PATH); in TEST_F()
166 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) > 0); in TEST_F()
167 EXPECT_TRUE(strcmp(PROPERTY_BT_BDADDR_PATH, prop) == 0); in TEST_F()
180 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) > 0); in TEST_F()
[all …]
/hardware/interfaces/bluetooth/1.0/default/
Dbluetooth_address.h32 static constexpr char PROPERTY_BT_BDADDR_PATH[] = "ro.bt.bdaddr_path"; variable
Dbluetooth_address.cc50 if (property_get(PROPERTY_BT_BDADDR_PATH, property, NULL)) { in get_local_address()