Home
last modified time | relevance | path

Searched refs:address1 (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/
Dgatt_connection_manager_test.cc49 RawAddress address1{{0x01, 0x01, 0x01, 0x01, 0x01, 0x01}}; variable
119 EXPECT_CALL(*localAcceptlistMock, AcceptlistAdd(address1)) in TEST_F()
123 EXPECT_TRUE(background_connect_add(CLIENT1, address1)); in TEST_F()
127 std::set<tAPP_ID> apps = get_apps_connecting_to(address1); in TEST_F()
132 EXPECT_CALL(*localAcceptlistMock, AcceptlistRemove(address1)).Times(1); in TEST_F()
134 EXPECT_TRUE(background_connect_remove(CLIENT1, address1)); in TEST_F()
136 EXPECT_EQ(get_apps_connecting_to(address1).size(), 0UL); in TEST_F()
145 EXPECT_CALL(*localAcceptlistMock, AcceptlistAdd(address1)) in TEST_F()
148 EXPECT_TRUE(background_connect_add(CLIENT1, address1)); in TEST_F()
149 EXPECT_TRUE(background_connect_add(CLIENT1, address1)); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/metrics/
Dmetrics_state_unittest.cc32 const hci::Address address1 = hci::Address({0x11, 0x22, 0x33, 0x44, 0x55, 0x66}); variable
83 address1, in TEST()
90 address1, in TEST()
99 ASSERT_EQ(remote_address, address1); in TEST()
110 address1, in TEST()
117 address1, in TEST()
126 ASSERT_EQ(remote_address, address1); in TEST()
139 address1, in TEST()
155 address1, in TEST()
164 ASSERT_EQ(remote_address, address1); in TEST()
[all …]
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/connection/
DPhysicalLink.java52 public PhysicalLink(String address1, String address2) { in PhysicalLink() argument
53 this(address1, in PhysicalLink()
54 DeviceShadowEnvironmentImpl.getBlueletImpl(address1).getRfcommDelegate().mCallback, in PhysicalLink()
63 PhysicalLink(String address1, RfcommDelegate.Callback callback1, in PhysicalLink() argument
69 mCallbacks.put(address1, callback1); in PhysicalLink()
166 public RfcommSocketConnection(String address1, String address2) { in RfcommSocketConnection() argument
168 mIncomingDataMap.put(address1, new LinkedBlockingQueue<Integer>()); in RfcommSocketConnection()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/
DDeviceShadowEnvironment.java73 public static void putNear(String address1, String address2) { in putNear() argument
74 DeviceShadowEnvironmentImpl.setDistance(address1, address2, Distance.NEAR); in putNear()
77 public static void setDistance(String address1, String address2, Distance distance) { in setDistance() argument
78 DeviceShadowEnvironmentImpl.setDistance(address1, address2, distance); in setDistance()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/
DDeviceShadowEnvironmentImpl.java216 public static void setDistance(String address1, String address2, final Distance distance) { in setDistance() argument
217 final DeviceletImpl device1 = getDeviceletImpl(address1); in setDistance()
225 address1, in setDistance()
232 if (device2.updateDistance(address1, distance)) { in setDistance()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppManagerTest.java134 String address1 = "AA:BB:CC:DD:EE:FF"; in isAcceptedList_inAcceptList_returnsTrue() local
137 bluetoothOppManager.addToAcceptlist(address1); in isAcceptedList_inAcceptList_returnsTrue()
139 assertThat(bluetoothOppManager.isAcceptlisted(address1)).isTrue(); in isAcceptedList_inAcceptList_returnsTrue()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java166 final String address1 = "address 1"; in testDataItemCollapsing_im() local
176 mValues1.put(Im.DATA, address1); in testDataItemCollapsing_im()
177 mValues2.put(Im.DATA, address1); in testDataItemCollapsing_im()
178 mValues3.put(Im.DATA, address1); in testDataItemCollapsing_im()
196 assertEquals(address1, ((ImDataItem) dataList.get(0)).getData()); in testDataItemCollapsing_im()
197 assertEquals(address1, ((ImDataItem) dataList.get(1)).getData()); in testDataItemCollapsing_im()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client_test.cc3108 auto address1 = GetTestAddress(1); in TEST_F() local
3112 {address1, address2}, in TEST_F()
3128 auto address1 = GetTestAddress(1); in TEST_F() local
3132 {address1, address2}, in TEST_F()
3135 {address1}, in TEST_F()
3159 auto address1 = GetTestAddress(1); in TEST_F() local
3164 {address1, address3}, in TEST_F()
3173 wrapper.SetCompleted(address1); in TEST_F()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2989 String address1 = "address1@email.com"; in testEmailFilterSortOrderWithFeedback() local
2990 insertEmail(rawContactId1, address1); in testEmailFilterSortOrderWithFeedback()