/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsBrokerServiceTest.java | 34 import static java.util.Arrays.asList; 239 mBrokerService.setProviderOfferings(mClientToken1, providerId, asList( in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 241 mBrokerService.setSubscriptions(mClientToken1, asList( in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 340 () -> mBrokerService.setSubscriptions(new Binder(), asList())); in testSetSubscriptions_UnknownClient() 347 mBrokerService.setSubscriptions(mClientToken1, asList( in testSetSubscriptions() 362 mBrokerService.setSubscriptions(mClientToken1, asList( in testSetSubscriptions_MultipleClients() 365 mBrokerService.setSubscriptions(mClientToken2, asList( in testSetSubscriptions_MultipleClients() 380 mBrokerService.setSubscriptions(mClientToken1, asList( in testSetSubscriptions_OverwriteSubscription() 383 mBrokerService.setSubscriptions(mClientToken1, asList( in testSetSubscriptions_OverwriteSubscription() 398 mBrokerService.setSubscriptions(mClientToken1, asList( in testSetSubscriptions_OverwriteSubscription_MultipleClients() [all …]
|
D | VmsLayerAvailabilityTest.java | 44 new HashSet<>(Arrays.asList(PUBLISHER_ID_1, PUBLISHER_ID_2)); 109 new HashSet<>(Arrays.asList( in testChainOfDependenciesSatisfied() 129 new HashSet<>(Arrays.asList(X_DEPENDS_ON_Y, Y_DEPENDS_ON_Z)), in testChainOfDependenciesSatisfiedTwoOfferings() 148 new VmsLayersOffering(new HashSet<>(Arrays.asList(X_DEPENDS_ON_Y, Y_DEPENDS_ON_Z)), in testChainOfDependenciesNotSatisfied() 167 new HashSet<>(Arrays.asList( in testOneOfMultipleDependencySatisfied() 185 Arrays.asList(X_DEPENDS_ON_Y, Y_DEPENDS_ON_Z, Z_DEPENDS_ON_X)), in testCyclicDependency() 204 new HashSet<>(Arrays.asList(X_DEPENDS_ON_Y, Z_DEPENDS_ON_NOTHING)), in testAlmostCyclicDependency() 208 new VmsLayersOffering(new HashSet<>(Arrays.asList(Y_DEPENDS_ON_Z, Z_DEPENDS_ON_X)), in testAlmostCyclicDependency() 226 Arrays.asList(X_DEPENDS_ON_Y, Z_DEPENDS_ON_NOTHING)), in testCyclicDependencyAndLayerWithoutDependency()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 152 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_SetsCorrectClipData() 154 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri, in testStartDrag_SetsCorrectClipData() 167 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_SetsCorrectClipData_NullParent() 169 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri, in testStartDrag_SetsCorrectClipData_NullParent() 182 Arrays.asList(TestEnv.FILE_APK), in testStartDrag_BuildsCorrectShadow_SingleDoc() 184 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri), in testStartDrag_BuildsCorrectShadow_SingleDoc() 197 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_BuildsCorrectShadow_MultipleDocs() 199 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri, in testStartDrag_BuildsCorrectShadow_MultipleDocs() 214 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate() 216 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FOLDER_1.derivedUri, in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate() [all …]
|
D | UserIdManagerTest.java | 71 initializeUserIdManager(currentUser, Arrays.asList(systemUser)); in testGetUserIds_systemUser_currentUserIsSystemUser() 79 initializeUserIdManager(currentUser, Arrays.asList(systemUser, managedUser1)); in testGetUserIds_systemUserAndManagedUser_currentUserIsSystemUser() 88 initializeUserIdManager(currentUser, Arrays.asList(systemUser, managedUser1)); in testGetUserIds_systemUserAndManagedUser_currentUserIsManagedUser() 97 initializeUserIdManager(currentUser, Arrays.asList(managedUser1, systemUser)); in testGetUserIds_managedUserAndSystemUser_currentUserIsSystemUser() 107 initializeUserIdManager(currentUser, Arrays.asList(nonManagedUser1, nonManagedUser2)); in testGetUserIds_NormalUser1AndNormalUser2_currentUserIsNormalUser2() 117 initializeUserIdManager(currentUser, Arrays.asList(nonManagedUser1, managedUser1)); in testGetUserIds_NormalUserAndManagedUser_currentUserIsNormalUser() 127 initializeUserIdManager(currentUser, Arrays.asList(nonManagedUser1, managedUser1)); in testGetUserIds_NormalUserAndManagedUser_currentUserIsManagedUser() 135 when(mockUserManager.getUserProfiles()).thenReturn(Arrays.asList(systemUser, managedUser1)); in testGetUserIds_deviceNotSupported() 149 Arrays.asList(systemUser, managedUser1)); in testGetUserIds_deviceWithoutPermission() 159 initializeUserIdManager(currentUser, Arrays.asList(systemUser, managedUser1)); in testGetUserIds_systemUserAndManagedUser_returnCachedList() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPMatcherTest.java | 72 DomainNameElement element = new DomainNameElement(Arrays.asList(domains)); in matchDomainNameUsingFQDN() 88 DomainNameElement element = new DomainNameElement(Arrays.asList(domains)); in matchDomainNameUsingIMSI() 113 new RoamingConsortiumElement(Arrays.asList(new Long[] {oi})); in matchRoamingConsortium() 150 Arrays.asList(new String[] {realm}), new ArrayList<EAPMethod>()); in matchNAIRealmWithRealmMatch() 152 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMatch() 171 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithRealmMethodMatch() 173 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMethodMatch() 199 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithExactMatch() 201 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithExactMatch() 226 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithEAPMethodMismatch() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/ |
D | FileOperationServiceTest.java | 126 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsCopyJobs() 127 startService(createCopyIntent(Arrays.asList(GAMMA_DOC), DELTA_DOC)); in testRunsCopyJobs() 140 startService(createCopyIntent(Arrays.asList(GAMMA_DOC), DELTA_DOC)); in testRunsCopyJobs_AfterExceptionInJobCreation() 149 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsCopyJobs_AfterFailure() 150 startService(createCopyIntent(Arrays.asList(GAMMA_DOC), DELTA_DOC)); in testRunsCopyJobs_AfterFailure() 159 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsCopyJobs_notRunsDeleteJobs() 160 startService(createDeleteIntent(Arrays.asList(GAMMA_DOC))); in testRunsCopyJobs_notRunsDeleteJobs() 167 startService(createDeleteIntent(Arrays.asList(ALPHA_DOC))); in testRunsDeleteJobs() 174 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsDeleteJobs_NotRunsCopyJobs() 175 startService(createDeleteIntent(Arrays.asList(GAMMA_DOC))); in testRunsDeleteJobs_NotRunsCopyJobs() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | DefaultSubscriptionControllerTest.java | 94 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList( in getAvailabilityStatus_onlyOneSubscription_notAvailable() 101 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList( in getAvailabilityStatus_twoSubscriptions_isAvailable() 125 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 126 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 155 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 156 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 190 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2, sub3)); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues() 192 Arrays.asList(sub1, sub2, sub3)); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues() 216 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefChangedToSub2_callbackCalledCorrectly() 229 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefChangedToAlwaysAsk_callbackCalledCorrectly() [all …]
|
D | NetworkSelectSettingsTest.java | 92 Arrays.asList(createLteCellInfo(true, 123, "123", "232", "CarrierA"), in setUp() 119 List<CellInfo> testList = Arrays.asList( in doAggregation_hasDuplicateItemsDiffCellIdCase1_removeSamePlmnRatItem() 123 List<CellInfo> expected = Arrays.asList( in doAggregation_hasDuplicateItemsDiffCellIdCase1_removeSamePlmnRatItem() 131 List<CellInfo> testList = Arrays.asList( in doAggregation_hasDuplicateItemsDiffCellIdCase2_removeSamePlmnRatItem() 136 List<CellInfo> expected = Arrays.asList( in doAggregation_hasDuplicateItemsDiffCellIdCase2_removeSamePlmnRatItem() 145 List<CellInfo> testList = Arrays.asList( in doAggregation_hasDuplicateItemsDiffMccMncCase1_removeSamePlmnRatItem() 149 List<CellInfo> expected = Arrays.asList( in doAggregation_hasDuplicateItemsDiffMccMncCase1_removeSamePlmnRatItem() 157 List<CellInfo> testList = Arrays.asList( in doAggregation_hasDuplicateItemsDiffMccMncCase2_removeSamePlmnRatItem() 162 List<CellInfo> expected = Arrays.asList( in doAggregation_hasDuplicateItemsDiffMccMncCase2_removeSamePlmnRatItem()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | ImsConferenceTest.java | 106 Arrays.asList(participant1, participant2)); in testPropertyPropagation() 148 Arrays.asList(participant1, participant2)); in testSinglePartyEmulation() 156 Arrays.asList(participant1)); in testSinglePartyEmulation() 164 Arrays.asList(participant1, participant2)); in testSinglePartyEmulation() 206 Arrays.asList(participant1, participant2, participant3)); in testDisconnectParticipantViaDisconnectState() 221 Arrays.asList(participant1, participant2, participant3Disconnected)); in testDisconnectParticipantViaDisconnectState() 228 Arrays.asList(participant1, participant2)); in testDisconnectParticipantViaDisconnectState() 270 Arrays.asList(participant1, participant2, participant3)); in testDisconnectParticipantViaRemoval() 279 Arrays.asList(participant1, participant2)); in testDisconnectParticipantViaRemoval() 321 Arrays.asList(participant1, participant2)); in testSinglePartyEmulationEnterOnDisconnectParticipant() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | ClusterHalServiceTest.java | 95 mClusterHalService.takeProperties(Arrays.asList( in setUp() 121 mClusterHalService.takeProperties(Arrays.asList()); in testTakeProperties_noProperties() 128 mClusterHalService.takeProperties(Arrays.asList( in testTakeProperties_doNotTakePartialProperties() 138 mClusterHalService.takeProperties(Arrays.asList( in testTakeProperties_coreProperties() 149 mClusterHalService.takeProperties(Arrays.asList( in testTakeProperties_fullProperties() 185 mClusterHalService.onHalEvents(Arrays.asList( in testOnSwitchUi() 195 mClusterHalService.onHalEvents(Arrays.asList( in testOnSwitchUi_noListener() 203 mClusterHalService.takeProperties(Arrays.asList()); in testOnSwitchUi_noProperties() 205 mClusterHalService.onHalEvents(Arrays.asList( in testOnSwitchUi_noProperties() 213 mClusterHalService.onHalEvents(Arrays.asList( in testOnDisplayState() [all …]
|
/packages/apps/TV/partner_support/tests/robotests/javatests/com/google/android/tv/partner/support/ |
D | TunerSetupUtilsTest.java | 39 List<String> channelNumbers1 = Arrays.asList("1.1", "1.2", "2.3"); in getMatchCount_allMatch() 41 TunerSetupUtils.parseChannelNumbers(Arrays.asList("1.1", "1.2", "2.3")); in getMatchCount_allMatch() 48 List<String> channelNumbers1 = Arrays.asList("1.1", "1.2", "2.3"); in getMatchCount_someMatch() 50 TunerSetupUtils.parseChannelNumbers(Arrays.asList("1.0", "1.1", "2")); in getMatchCount_someMatch() 57 List<String> channelNumbers1 = Arrays.asList("1.1", "1.2", "2.3"); in getMatchCount_noMatch() 59 TunerSetupUtils.parseChannelNumbers(Arrays.asList("1.0", "1.3", "3")); in getMatchCount_noMatch() 93 Arrays.asList("22", "1"), Arrays.asList("22", "1"))) in matchChannelNumber_match_majorAndMinorNumbers() 109 Arrays.asList("22", "1"), Collections.singletonList("22"))) in matchChannelNumber_match_differentSize() 117 Arrays.asList("22", "1"), Collections.singletonList("11"))) in matchChannelNumber_notMatch()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupMutingTest.java | 177 .that(info.deviceAddressesToMute).asList().isEmpty(); in carMuteChanged_withNoGroupMuted_forSingleZone_setsEmptyMutedDevices() 194 .that(info.deviceAddressesToUnmute).asList().containsExactly(PRIMARY_MEDIA_ADDRESS, in carMuteChanged_withNoGroupMuted_forSingleZone_setsAllDeviceUnMuted() 212 .that(info.deviceAddressesToMute).asList().containsExactly(PRIMARY_MEDIA_ADDRESS); in carMuteChanged_withMusicGroupMuted_forSingleZone_setsMusicDeviceToMuted() 229 .that(info.deviceAddressesToUnmute).asList().containsExactly( in carMuteChanged_withMusicGroupMuted_forSingleZone_setOtherDeviceToUnMuted() 247 .that(info.deviceAddressesToMute).asList().containsExactly(PRIMARY_MEDIA_ADDRESS, in carMuteChanged_withAllGroupsMuted_forSingleZone_setsAllDevicesMuted() 265 .that(info.deviceAddressesToUnmute).asList().isEmpty(); in carMuteChanged_withAllGroupsMuted_forSingleZone_setsUnMutedDevicesToEmpty() 298 .that(info.deviceAddressesToUnmute).asList().hasSize(1); in carMuteChanged_withNoGroupsMuted_forMultiZones_setsAllZonesDevicesUnMuted() 319 .that(info.deviceAddressesToMute).asList().containsExactly(SECONDARY_ADDRESS); in carMuteChanged_withOneZoneMuted_forMultiZones_setsOnlyOneZoneMuted() 337 .that(info.deviceAddressesToMute).asList().hasSize(1); in setRestrictMuting_isMutingRestrictedTrue_mutesNonCriticalVolumeGroups() 356 .that(info.deviceAddressesToUnmute).asList().containsExactly( in setRestrictMuting_isMutingRestrictedTrue_leavesCriticalGroupsAsIs() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 152 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler() 153 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler() 174 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler() 192 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler() 193 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler() 220 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummary_twoSubscriptions_correctSummaryAndFragment() 237 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 238 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 246 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 268 Arrays.asList(sub1)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | NetworkProviderCallsSmsControllerTest.java | 180 Arrays.asList(mSubscriptionInfo1)); in getSummary_invalidSubId_returnUnavailable() 182 Arrays.asList(mSubscriptionInfo1)); in getSummary_invalidSubId_returnUnavailable() 201 Arrays.asList(mSubscriptionInfo1, mSubscriptionInfo2)); in getSummary_oneIsInvalidSubIdTwoIsValidSubId_returnOneIsUnavailable() 203 Arrays.asList(mSubscriptionInfo1, mSubscriptionInfo2)); in getSummary_oneIsInvalidSubIdTwoIsValidSubId_returnOneIsUnavailable() 224 Arrays.asList(mSubscriptionInfo1)); in getSummary_oneSubscription_returnDisplayName() 226 Arrays.asList(mSubscriptionInfo1)); in getSummary_oneSubscription_returnDisplayName() 238 Arrays.asList(mSubscriptionInfo1, mSubscriptionInfo2)); in getSummary_allSubscriptionsHaveNoPreferredStatus_returnDisplayName() 240 Arrays.asList(mSubscriptionInfo1, mSubscriptionInfo2)); in getSummary_allSubscriptionsHaveNoPreferredStatus_returnDisplayName() 259 Arrays.asList(mSubscriptionInfo1, mSubscriptionInfo2)); in getSummary_oneSubscriptionsIsCallPreferredTwoIsSmsPreferred_returnStatus() 261 Arrays.asList(mSubscriptionInfo1, mSubscriptionInfo2)); in getSummary_oneSubscriptionsIsCallPreferredTwoIsSmsPreferred_returnStatus() [all …]
|
D | SubscriptionUtilTest.java | 84 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getAvailableSubscriptions_oneSubscription_oneResult() 96 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getAvailableSubscriptions_twoSubscriptions_twoResults() 119 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getActiveSubscriptions_oneSubscription_oneResult() 132 Arrays.asList(info1, info2)); in getActiveSubscriptions_twoSubscriptions_twoResults() 150 Arrays.asList(info1, info2)); in getUniqueDisplayNames_uniqueCarriers_originalUsed() 180 Arrays.asList(info1, info2)); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed() 209 Arrays.asList(info1, info2)); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed() 237 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getUniqueDisplayNames_phoneNumberBlocked_subscriptoinIdFallback() 270 Arrays.asList(info1, info2, info3)); in getUniqueDisplayNames_phoneNumberIdentical_subscriptoinIdFallback() 300 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info1)); in getUniqueDisplayName_onlyOneSubscription_correctNameReturned() [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 128 assertThat(manager1.getActiveAppTypes()).asList().isEmpty(); in testFocusChange() 142 assertThat(manager1.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 143 assertThat(manager2.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 154 assertThat(manager1.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 155 assertThat(manager2.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 165 assertThat(manager1.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 166 assertThat(manager2.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 179 assertThat(manager1.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 180 assertThat(manager2.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() 190 assertThat(manager1.getActiveAppTypes()).asList().containsExactly(expectedFocus).inOrder(); in testFocusChange() [all …]
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastDatabaseHelperTest.java | 67 assertFalse(Arrays.asList(columns).contains(CellBroadcasts.SLOT_INDEX)); in dataBaseHelper_create() 68 assertFalse(Arrays.asList(columns).contains(CellBroadcasts.LOCATION_CHECK_TIME)); in dataBaseHelper_create() 69 assertFalse(Arrays.asList(columns).contains(CellBroadcasts.MESSAGE_DISPLAYED)); in dataBaseHelper_create() 70 assertFalse(Arrays.asList(columns).contains(CellBroadcasts.DATA_CODING_SCHEME)); in dataBaseHelper_create() 71 assertFalse(Arrays.asList(columns).contains("etws_is_primary")); in dataBaseHelper_create() 86 assertTrue(Arrays.asList(upgradedColumns).contains(CellBroadcasts.SLOT_INDEX)); in databaseHelperOnUpgrade_V1ToV4() 87 assertTrue(Arrays.asList(upgradedColumns).contains(CellBroadcasts.LOCATION_CHECK_TIME)); in databaseHelperOnUpgrade_V1ToV4() 88 assertTrue(Arrays.asList(upgradedColumns).contains(CellBroadcasts.MESSAGE_DISPLAYED)); in databaseHelperOnUpgrade_V1ToV4() 89 assertTrue(Arrays.asList(upgradedColumns).contains(CellBroadcasts.DATA_CODING_SCHEME)); in databaseHelperOnUpgrade_V1ToV4() 90 assertTrue(Arrays.asList(upgradedColumns).contains("etws_is_primary")); in databaseHelperOnUpgrade_V1ToV4()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeSessionPskTest.java | 109 Arrays.asList(TUNNEL_MODE_INBOUND_TS), in testIkeSessionSetupAndChildSessionSetupWithTunnelMode() 110 Arrays.asList(TUNNEL_MODE_OUTBOUND_TS), in testIkeSessionSetupAndChildSessionSetupWithTunnelMode() 111 Arrays.asList(EXPECTED_INTERNAL_LINK_ADDR)); in testIkeSessionSetupAndChildSessionSetupWithTunnelMode() 131 Arrays.asList(TUNNEL_MODE_INBOUND_TS), in testIkeSessionSetupAndChildSessionSetupWithTunnelMode() 132 Arrays.asList(TUNNEL_MODE_OUTBOUND_TS), in testIkeSessionSetupAndChildSessionSetupWithTunnelMode() 216 Arrays.asList(TUNNEL_MODE_INBOUND_TS), in testIkeSessionSetupAndChildSessionSetupWithAesCmac() 217 Arrays.asList(TUNNEL_MODE_OUTBOUND_TS), in testIkeSessionSetupAndChildSessionSetupWithAesCmac() 218 Arrays.asList(EXPECTED_INTERNAL_LINK_ADDR)); in testIkeSessionSetupAndChildSessionSetupWithAesCmac() 286 Arrays.asList(TUNNEL_MODE_INBOUND_TS_V6), in testIkeSessionSetupAndChildSessionSetupWithTunnelModeV6() 287 Arrays.asList(TUNNEL_MODE_OUTBOUND_TS_V6), in testIkeSessionSetupAndChildSessionSetupWithTunnelModeV6() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | MainActivityRoboTest.java | 125 List<TvTrackInfo> tracks = Arrays.asList( in testFindBestCaptionTrack_bestTrackMatch() 130 List<String> preferredLanguages = Arrays.asList("DE", "FR"); in testFindBestCaptionTrack_bestTrackMatch() 140 List<TvTrackInfo> tracks = Arrays.asList( in testFindBestCaptionTrack_selectedLanguageMatch() 145 List<String> preferredLanguages = Arrays.asList("DE", "FR"); in testFindBestCaptionTrack_selectedLanguageMatch() 155 List<TvTrackInfo> tracks = Arrays.asList( in testFindBestCaptionTrack_preferredLanguageMatch() 160 List<String> preferredLanguages = Arrays.asList("DE", "FR"); in testFindBestCaptionTrack_preferredLanguageMatch() 170 List<TvTrackInfo> tracks = Arrays.asList( in testFindBestCaptionTrack_higherPriorityPreferredLanguageMatch() 175 List<String> preferredLanguages = Arrays.asList("FR", "EN"); in testFindBestCaptionTrack_higherPriorityPreferredLanguageMatch() 185 List<TvTrackInfo> tracks = Arrays.asList( in testFindBestCaptionTrack_noMatch() 190 List<String> preferredLanguages = Arrays.asList("DE", "IT"); in testFindBestCaptionTrack_noMatch() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceControllerTest.java | 196 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(createSubInfo(SUBID_1, "sub1"), in refreshUi_multipleSubscriptions_showsPreference() 210 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList( in refreshUi_multipleSubscriptions_populatesEntries() 217 assertThat(Arrays.asList(mPreference.getEntries())).containsExactly(displayName1, in refreshUi_multipleSubscriptions_populatesEntries() 219 assertThat(Arrays.asList(mPreference.getEntryValues())).containsExactly( in refreshUi_multipleSubscriptions_populatesEntries() 226 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList( in refreshUi_defaultSelection_fourthPriority_system() 240 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(createSubInfo(SUBID_1, "sub1"), in refreshUi_defaultSelection_thirdPriority_sms() 255 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(createSubInfo(SUBID_1, "sub1"), in refreshUi_defaultSelection_secondPriority_voice() 271 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(createSubInfo(SUBID_1, "sub1"), in refreshUi_defaultSelection_firstPriority_data() 294 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(subInfo, in refreshUi_title_fourthPriority_subscriptionNetworkIds() 318 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(subInfo, in refreshUi_title_thirdPriority_subscriptionCarrierName() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | NativeUtilTest.java | 99 Arrays.asList((byte) 's', (byte) 's', (byte) 'i', (byte) 'd', (byte) '_', in testAsciiSsidDecode() 112 Arrays.asList((byte) 0x41, (byte) 0x6e, (byte) 0x64, (byte) 0x72, in testUtf8SsidDecode() 151 Arrays.asList((byte) 0xf5, (byte) 0xe4, (byte) 0xab, (byte) 0x78, in testNonSsidDecode() 164 Arrays.asList((byte) 's', (byte) 's', (byte) 'i', (byte) 'd', (byte) '_', in testSsidEncode() 177 Arrays.asList((byte) 0x00, (byte) 's', (byte) 'i', (byte) 'd', (byte) '_', in testNullCharInSsidEncode() 190 Arrays.asList((byte) 0xf5, (byte) 0xe4, (byte) 0xab, (byte) 0x78, in testNonSsidEncode() 201 Arrays.asList((byte) 0xf5, (byte) 0xe4, (byte) 0xab, (byte) 0x78, (byte) 0x78, in testLargeSsidEncodeFails()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTest.java | 376 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in emptyScanResults() 409 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in verifyMinimumRssiThreshold() 443 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in verifyMinimumTimeGapWhenConnected() 453 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, true, false, mWifiInfo)), in verifyMinimumTimeGapWhenConnected() 492 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in verifyNoMinimumTimeGapWhenDisconnected() 503 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in verifyNoMinimumTimeGapWhenDisconnected() 542 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in lowRssi5GNetworkIsNotSufficient() 559 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, true, false, mWifiInfo)), in lowRssi5GNetworkIsNotSufficient() 597 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, false, true, mWifiInfo)), in noInternetAccessNetworkIsNotSufficient() 621 Arrays.asList(new ClientModeManagerState(TEST_IFACE_NAME, true, false, mWifiInfo)), in noInternetAccessNetworkIsNotSufficient() [all …]
|
D | NetworkSuggestionNominatorTest.java | 124 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForNoMatch() 167 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForOneMatch() 209 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() 254 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForMultipleMatch() 299 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins() 348 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForMultipleMatchHighPriorityFromEachPriorityGroupWins() 394 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions() 449 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins() 493 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager() 551 Arrays.asList(scanDetails), false, false, false, in testSelectNetworkSuggestionForOneMatchForExistingNetwork() [all …]
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | ClientPlaylistTest.java | 93 return Arrays.asList( in data() 130 Arrays.asList(playlistUri, externalVolumePlaylistUri), in testAdd() 144 assertMembers(Arrays.asList( in testAdd() 154 assertMembers(Arrays.asList( in testAdd() 171 Arrays.asList(playlistUri, externalVolumePlaylistUri), in testMove() 179 assertMembers(Arrays.asList( in testMove() 188 assertMembers(Arrays.asList( in testMove() 200 assertMembers(Arrays.asList( in testMove() 210 assertMembers(Arrays.asList( in testMove() 227 Arrays.asList(playlistUri, externalVolumePlaylistUri), in testRemove() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SlidingWindowTest.java | 44 final List<Integer> elements = Arrays.asList(3, 4); in testAdd() 51 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); in testAddOverflow() 52 final List<Integer> expectedElements = Arrays.asList(6, 7, 8, 9, 10); in testAddOverflow() 59 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); in testStream() 60 final List<Integer> expectedElements = Arrays.asList(6, 7, 8, 9, 10); in testStream() 69 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); in testCount()
|