Home
last modified time | relevance | path

Searched refs:expectedList (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCsipDeviceManagerTest.java189 List<CachedBluetoothDevice> expectedList = new ArrayList<>(); in getGroupDevicesFromAllOfDevicesList_validGroupId_returnGroupDevices() local
190 expectedList.add(mCachedDevice1); in getGroupDevicesFromAllOfDevicesList_validGroupId_returnGroupDevices()
191 expectedList.add(mCachedDevice2); in getGroupDevicesFromAllOfDevicesList_validGroupId_returnGroupDevices()
194 .isEqualTo(expectedList); in getGroupDevicesFromAllOfDevicesList_validGroupId_returnGroupDevices()
268 List<CachedBluetoothDevice> expectedList = new ArrayList<>(); in addMemberDevicesIntoMainDevice_noPreferredDevice_returnFalseAndNoChangeList() local
270 expectedList.add(item); in addMemberDevicesIntoMainDevice_noPreferredDevice_returnFalseAndNoChangeList()
275 for (CachedBluetoothDevice expectedItem : expectedList) { in addMemberDevicesIntoMainDevice_noPreferredDevice_returnFalseAndNoChangeList()
286 List<CachedBluetoothDevice> expectedList = new ArrayList<>(); in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndNoOtherInList_noChangeList() local
288 expectedList.add(item); in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndNoOtherInList_noChangeList()
293 for (CachedBluetoothDevice expectedItem : expectedList) { in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndNoOtherInList_noChangeList()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java259 List<Account> expectedList = Arrays.asList(account); in testSharedAccountsInsertFindDelete() local
260 assertEquals(expectedList, sharedAccounts); in testSharedAccountsInsertFindDelete()
337 List<Account> expectedList = Arrays.asList(accountNotInDe); in testFindCeAccountsNotInDe() local
338 assertEquals(expectedList, ceAccounts); in testFindCeAccountsNotInDe()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java4138 IncomingSms[] expectedList = new IncomingSms[] {mIncomingSms1}; in addIncomingSms_emptyProto() local
4139 assertProtoArrayEquals(expectedList, mPersistAtomsStorage.getIncomingSms(0L)); in addIncomingSms_emptyProto()
4153 IncomingSms[] expectedList = new IncomingSms[] {mIncomingSms1, mIncomingSms2}; in addIncomingSms_withExistingEntries() local
4154 assertProtoArrayEqualsIgnoringOrder(expectedList, mPersistAtomsStorage.getIncomingSms(0L)); in addIncomingSms_withExistingEntries()
4179 OutgoingSms[] expectedList = new OutgoingSms[] {mOutgoingSms1}; in addOutgoingSms_emptyProto() local
4180 assertProtoArrayEquals(expectedList, mPersistAtomsStorage.getOutgoingSms(0L)); in addOutgoingSms_emptyProto()
4194 OutgoingSms[] expectedList = new OutgoingSms[] {mOutgoingSms1, mOutgoingSms2}; in addOutgoingSms_withExistingEntries() local
4195 assertProtoArrayEqualsIgnoringOrder(expectedList, mPersistAtomsStorage.getOutgoingSms(0L)); in addOutgoingSms_withExistingEntries()
4220 OutgoingShortCodeSms[] expectedList = new OutgoingShortCodeSms[] {mOutgoingShortCodeSms1}; in addOutgoingShortCodeSms_emptyProto() local
4221 assertProtoArrayEquals(expectedList, in addOutgoingShortCodeSms_emptyProto()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DPerformUnifiedRestoreTaskTest.java267 List<String> expectedList = Arrays.asList("a", "b", "c"); in testCreateVToUList_listIsNotNull_returnCorrectList() local
272 assertEquals(list, expectedList); in testCreateVToUList_listIsNotNull_returnCorrectList()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java767 List<ScoredNetwork> expectedList = Collections.singletonList(SCORED_NETWORK); in testCurrentNetworkScoreCacheFilter_scoreFiltered() local
768 assertEquals(expectedList, actualList); in testCurrentNetworkScoreCacheFilter_scoreFiltered()
825 List<ScoredNetwork> expectedList = Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testScanResultsScoreCacheFilter_scoresFiltered() local
826 assertEquals(expectedList, actualList); in testScanResultsScoreCacheFilter_scoresFiltered()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueModernImplTest.java1850 final ArrayList<?> expectedList = (ArrayList<?>) expectedValue; in assertBundleEquals() local
1852 assertEquals(errMsg, expectedList.size(), actualList.size()); in assertBundleEquals()
1853 for (int i = 0; i < expectedList.size(); ++i) { in assertBundleEquals()
1854 assertEquals(errMsg, expectedList.get(i), actualList.get(i)); in assertBundleEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2899 final List<Integer> expectedList = in assertContainsInAnyOrder() local
2901 if (!actualList.containsAll(expectedList)) { in assertContainsInAnyOrder()
2904 if (!expectedList.containsAll(actualList)) { in assertContainsInAnyOrder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java1774 private void verifyBuiltList(Collection<NotificationEntry> expectedList) { in verifyBuiltList() argument
1776 assertThat(mBuildListCaptor.getValue()).containsExactly(expectedList.toArray()); in verifyBuiltList()