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.cc126 property_set(PROPERTY_BT_BDADDR_PATH, ""); in TEST_F()
132 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) == 0); in TEST_F()
137 property_set(PROPERTY_BT_BDADDR_PATH, "22"); in TEST_F()
142 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) == 2); in TEST_F()
147 property_set(PROPERTY_BT_BDADDR_PATH, ""); in TEST_F()
152 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) == 0); in TEST_F()
159 property_set(PROPERTY_BT_BDADDR_PATH, PROPERTY_BT_BDADDR_PATH); in TEST_F()
167 EXPECT_TRUE(property_get(PROPERTY_BT_BDADDR_PATH, prop, NULL) > 0); in TEST_F()
168 EXPECT_TRUE(strcmp(PROPERTY_BT_BDADDR_PATH, prop) == 0); in TEST_F()
181 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()