/packages/modules/Bluetooth/system/stack/test/ |
D | gatt_connection_manager_test.cc | 49 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/ |
D | metrics_state_unittest.cc | 32 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/ |
D | PhysicalLink.java | 52 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/ |
D | DeviceShadowEnvironment.java | 73 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/ |
D | DeviceShadowEnvironmentImpl.java | 216 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/ |
D | BluetoothOppManagerTest.java | 134 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/ |
D | DataItemTests.java | 166 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/ |
D | has_client_test.cc | 3108 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/ |
D | ContactsProvider2Test.java | 2989 String address1 = "address1@email.com"; in testEmailFilterSortOrderWithFeedback() local 2990 insertEmail(rawContactId1, address1); in testEmailFilterSortOrderWithFeedback()
|