Home
last modified time | relevance | path

Searched refs:asList (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsSubscriptionStateTest.java62 new HashSet<>(Arrays.asList(PUBLISHER_ID_1)));
68 new HashSet<>(Arrays.asList()), in testNoSubscriptionsParcel()
69 new HashSet<>(Arrays.asList())); in testNoSubscriptionsParcel()
82 new HashSet<>(Arrays.asList(VMS_LAYER)), in testMultipleSubscriptionsParcel()
83 new HashSet<>(Arrays.asList(VMS_ASSOCIATED_LAYER))); in testMultipleSubscriptionsParcel()
96 new HashSet<>(Arrays.asList()), in testNoSubscriptionsEquality()
97 new HashSet<>(Arrays.asList())); in testNoSubscriptionsEquality()
102 new HashSet<>(Arrays.asList()), in testNoSubscriptionsEquality()
103 new HashSet<>(Arrays.asList())); in testNoSubscriptionsEquality()
115 new HashSet<>(Arrays.asList(VMS_LAYER)), in testMultipleSubscriptionsEquality()
[all …]
DVmsLayersAvailabilityTest.java41 private static final Set<Integer> PUBLISHERS_1 = new HashSet<>(Arrays.asList(PUBLISHER_ID_1));
42 private static final Set<Integer> PUBLISHERS_2 = new HashSet<>(Arrays.asList(PUBLISHER_ID_2));
44 new HashSet<>(Arrays.asList(PUBLISHER_ID_1, PUBLISHER_ID_2));
47 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_Y)));
50 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_Z)));
53 new VmsLayerDependency(LAYER_Y, new HashSet<VmsLayer>(Arrays.asList(LAYER_Z)));
56 new VmsLayerDependency(LAYER_Y, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
59 new VmsLayerDependency(LAYER_Z, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
65 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
91 new VmsLayersOffering(new HashSet<>(Arrays.asList(new VmsLayerDependency(LAYER_X))), in testSingleLayerNoDeps()
[all …]
DVmsAvailableLayersTest.java59 new HashSet<>(Arrays.asList(PUBLISHER_ID)));
63 new HashSet<>(Arrays.asList(PUBLISHER_ID)));
67 new VmsAvailableLayers(new HashSet<>(Arrays.asList()), SEQUENCE_NUMBER); in testNoAvailableLayersParcel()
80 new HashSet<>(Arrays.asList( in testMultipleAvailableLayersParcel()
96 new HashSet<>(Arrays.asList()), in testNoAvailableLayerEquality()
101 new HashSet<>(Arrays.asList()), in testNoAvailableLayerEquality()
112 new HashSet<>(Arrays.asList( in testMultipleAvailableLayerEquality()
119 new HashSet<>(Arrays.asList( in testMultipleAvailableLayerEquality()
132 new HashSet<>(Arrays.asList(VMS_ASSOCIATED_LAYER)), in testVerifyNonEqualOnAssociatedLayer()
137 new HashSet<>(Arrays.asList(ANOTHER_VMS_ASSOCIATED_LAYER)), in testVerifyNonEqualOnAssociatedLayer()
[all …]
DVmsLayersOfferingTest.java69 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER)));
74 new HashSet<>(Arrays.asList(ANOTHER_DEPENDENT_VMS_LAYER)));
78 new VmsLayersOffering(new HashSet<>(Arrays.asList()), PUBLISHER_ID); in testNoOfferingParcel()
90 new HashSet<>(Arrays.asList( in testMultipleOfferingParcel()
106 new HashSet<>(Arrays.asList()), PUBLISHER_ID); in testNoOfferingEquality()
110 new HashSet<>(Arrays.asList()), PUBLISHER_ID); in testNoOfferingEquality()
120 … new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY, ANOTHER_VMS_LAYER_DEPENDENCY)), PUBLISHER_ID); in testMultipleOfferingEquality()
124 … new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY, ANOTHER_VMS_LAYER_DEPENDENCY)), PUBLISHER_ID); in testMultipleOfferingEquality()
134 new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY)), PUBLISHER_ID); in testVerifyNonEqualOnPublisherId()
138 new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY)), DIFFERENT_PUBLISHER_ID); in testVerifyNonEqualOnPublisherId()
[all …]
DVmsAssociatedLayerTest.java61 new HashSet<>(Arrays.asList())); in testNoPublishersAssociatedLayerParcel()
73 new HashSet<>(Arrays.asList(PUBLISHER_ID_1, PUBLISHER_ID_2))); in testLayerWithMultiplePublishersParcel()
85 new HashSet<>(Arrays.asList())); in testNoPublishersAssociatedLayerEquality()
90 new HashSet<>(Arrays.asList())); in testNoPublishersAssociatedLayerEquality()
101 new HashSet<>(Arrays.asList(PUBLISHER_ID_1, PUBLISHER_ID_2))); in testLayerWithMultiplePublishersEquality()
106 new HashSet<>(Arrays.asList(PUBLISHER_ID_1, PUBLISHER_ID_2))); in testLayerWithMultiplePublishersEquality()
117 new HashSet<>(Arrays.asList())); in testVerifyNonEqualOnLayer()
122 new HashSet<>(Arrays.asList())); in testVerifyNonEqualOnLayer()
131 new HashSet<>(Arrays.asList(PUBLISHER_ID_1))); in testVerifyNonEqualOnPublisherIds()
136 new HashSet<>(Arrays.asList(PUBLISHER_ID_2))); in testVerifyNonEqualOnPublisherIds()
DVmsLayerDependencyTest.java71 new HashSet<>(Arrays.asList())); in testNoDependendtLayerParcel()
84 … new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER, ANOTHER_DEPENDENT_VMS_LAYER))); in testMultipleDependendtLayerParcel()
97 new HashSet<>(Arrays.asList())); in testNoDependendtLayerEquality()
111 … new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER, ANOTHER_DEPENDENT_VMS_LAYER))); in testMultipleDependendtLayerEquality()
116 … new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER, ANOTHER_DEPENDENT_VMS_LAYER))); in testMultipleDependendtLayerEquality()
126 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER))); in testVerifyNonEqualOnLayer()
131 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER))); in testVerifyNonEqualOnLayer()
140 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER))); in testVerifyNonEqualOnDependentLayer()
145 new HashSet<>(Arrays.asList(ANOTHER_DEPENDENT_VMS_LAYER))); in testVerifyNonEqualOnDependentLayer()
DSlidingWindowTest.java44 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()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java152 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 …]
DAbstractActionHandlerTest.java125 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId)); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
126 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
145 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
169 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
171 mEnv.docs.nextDocuments = Arrays.asList( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
204 Arrays.asList( in testLaunchToDocuments()
209 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments()
217 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1)); in testLaunchToDocuments()
230 Arrays.asList( in testLaunchToDocuments_convertsTreeUriToDocumentUri()
235 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DFileOperationServiceTest.java126 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/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceTest.java93 Arrays.asList(participant1, participant2)); in testSinglePartyEmulation()
101 Arrays.asList(participant1)); in testSinglePartyEmulation()
109 Arrays.asList(participant1, participant2)); in testSinglePartyEmulation()
151 Arrays.asList(participant1, participant2, participant3)); in testDisconnectParticipantViaDisconnectState()
166 Arrays.asList(participant1, participant2, participant3Disconnected)); in testDisconnectParticipantViaDisconnectState()
173 Arrays.asList(participant1, participant2)); in testDisconnectParticipantViaDisconnectState()
215 Arrays.asList(participant1, participant2, participant3)); in testDisconnectParticipantViaRemoval()
224 Arrays.asList(participant1, participant2)); in testDisconnectParticipantViaRemoval()
266 Arrays.asList(participant1, participant2)); in testSinglePartyEmulationEnterOnDisconnectParticipant()
281 Arrays.asList(participant1, participant2Disconnected)); in testSinglePartyEmulationEnterOnDisconnectParticipant()
[all …]
/packages/apps/TV/partner_support/tests/robotests/javatests/com/google/android/tv/partner/support/
DTunerSetupUtilsTest.java39 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/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java81 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList( in getAvailabilityStatus_onlyOneSubscription_notAvailable()
88 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList( in getAvailabilityStatus_twoSubscriptions_isAvailable()
98 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
126 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues()
159 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2, sub3)); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
182 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefChangedToSub2_callbackCalledCorrectly()
195 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefChangedToAlwaysAsk_callbackCalledCorrectly()
212 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1)); in onPreferenceChange_prefBecomesAvailable_onPreferenceChangeCallbackNotNull()
220 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefBecomesAvailable_onPreferenceChangeCallbackNotNull()
232 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceControllerTest.java161 Arrays.asList(createSubInfo(SUBID_1, "sub1"), createSubInfo(SUBID_2, "sub2"))); in refreshUi_multipleSubscriptions_showsPreference()
173 Arrays.asList(createSubInfo(SUBID_1, displayName1), in refreshUi_multipleSubscriptions_populatesEntries()
178 assertThat(Arrays.asList(mListPreference.getEntries())).containsExactly(displayName1, in refreshUi_multipleSubscriptions_populatesEntries()
180 assertThat(Arrays.asList(mListPreference.getEntryValues())).containsExactly( in refreshUi_multipleSubscriptions_populatesEntries()
188 Arrays.asList(createSubInfo(SUBID_1, "sub1"), createSubInfo(SUBID_2, "sub2"), in refreshUi_defaultSelection_fourthPriority_system()
200 Arrays.asList(createSubInfo(SUBID_1, "sub1"), createSubInfo(SUBID_2, "sub2"), in refreshUi_defaultSelection_thirdPriority_sms()
213 Arrays.asList(createSubInfo(SUBID_1, "sub1"), createSubInfo(SUBID_2, "sub2"), in refreshUi_defaultSelection_secondPriority_voice()
227 Arrays.asList(createSubInfo(SUBID_1, "sub1"), createSubInfo(SUBID_2, "sub2"), in refreshUi_defaultSelection_firstPriority_data()
248 Arrays.asList(subInfo, createSubInfo(SUBID_2, "sub2"))); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
269 Arrays.asList(subInfo, createSubInfo(SUBID_2, "sub2"))); in refreshUi_title_thirdPriority_subscriptionCarrierName()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMainActivityRoboTest.java125 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/robotests/src/com/android/car/settings/wifi/
DAccessPointListPreferenceControllerTest.java114 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in refreshUi_notEmpty_visible()
123 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in refreshUi_notEmpty_listCount()
133 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in refreshUi_notSavedAccessPoint_noForgetButton()
144 List<AccessPoint> allAccessPointList = Arrays.asList(mMockAccessPoint1, mMockAccessPoint2); in onUxRestrictionsChanged_switchToSavedApOnly()
146 List<AccessPoint> savedAccessPointList = Arrays.asList(mMockAccessPoint1); in onUxRestrictionsChanged_switchToSavedApOnly()
163 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performClick_noSecurityNotConnectedAccessPoint_connect()
174 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performClick_activeAccessPoint_showDetailsFragment()
186 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performClick_savedAccessPoint_connect()
208 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performButtonClick_savedAccessPoint_forgetsNetwork()
227 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in callChangeListener_newSecureAccessPoint_wifiAdded()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java153 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler()
173 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_correctSummaryAndClickHandler()
193 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummary_twoSubscriptions_correctSummaryAndFragment()
209 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
217 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
237 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
249 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
268 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener()
284 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in addButton_oneSubscription_hasAddClickListener()
294 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in addButton_twoSubscriptions_hasAddClickListener()
[all …]
DSubscriptionUtilTest.java74 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getAvailableSubscriptions_oneSubscription_oneResult()
84 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getAvailableSubscriptions_twoSubscriptions_twoResults()
103 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info1)); in getAvailableSubscriptions_oneSelectableOneDisabledPSim_twoResults()
104 when(mSubMgr.getAllSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getAvailableSubscriptions_oneSelectableOneDisabledPSim_twoResults()
139 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info1)); in getAvailableSubscriptions_oneSelectableTwoDisabledPSimsOneAbsent_twoResults()
140 when(mSubMgr.getAllSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2, info3)); in getAvailableSubscriptions_oneSelectableTwoDisabledPSimsOneAbsent_twoResults()
173 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getActiveSubscriptions_oneSubscription_oneResult()
184 Arrays.asList(info1, info2)); in getActiveSubscriptions_twoSubscriptions_twoResults()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java95 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOnlyOneNumber_showLabel()
105 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel()
119 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOneNumberAndGetNullLabel_showEmptyString()
131 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
145 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
160 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel()
179 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_HasPrimaryNumberButGetNullLabel_showMultipleLabel()
193 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testClickCallActionButton_ContactHasOneNumber_placeCall()
213 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
232 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/
DBaseDvrDataManager.java141 if (DEBUG) Log.d(TAG, "notify " + l + " added " + Arrays.asList(recordedPrograms)); in notifyRecordedProgramsAdded()
149 if (DEBUG) Log.d(TAG, "notify " + l + " changed " + Arrays.asList(recordedPrograms)); in notifyRecordedProgramsChanged()
157 if (DEBUG) Log.d(TAG, "notify " + l + " removed " + Arrays.asList(recordedPrograms)); in notifyRecordedProgramsRemoved()
165 if (DEBUG) Log.d(TAG, "notify " + l + " added " + Arrays.asList(seriesRecordings)); in notifySeriesRecordingAdded()
173 if (DEBUG) Log.d(TAG, "notify " + l + " removed " + Arrays.asList(seriesRecordings)); in notifySeriesRecordingRemoved()
181 if (DEBUG) Log.d(TAG, "notify " + l + " changed " + Arrays.asList(seriesRecordings)); in notifySeriesRecordingChanged()
189 if (DEBUG) Log.d(TAG, "notify " + l + " added " + Arrays.asList(scheduledRecording)); in notifyScheduledRecordingAdded()
197 if (DEBUG) Log.d(TAG, "notify " + l + " removed " + Arrays.asList(scheduledRecording)); in notifyScheduledRecordingRemoved()
208 if (DEBUG) Log.d(TAG, "notify " + l + " changed " + Arrays.asList(scheduledRecording)); in notifyScheduledRecordingStatusChanged()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java80 private static final List<Byte> PAYLOAD_AS_LIST = Arrays.asList(new Byte[]{1, 2, 3, 4});
201 mHalService.takeSupportedProperties(Arrays.asList(otherPropConfig, vmsPropConfig))); in testTakeSupportedProperties()
473 new VmsLayersOffering(new LinkedHashSet<>(Arrays.asList( in testHandleOfferingEvent_MultipleLayersAndDependencies()
474 new VmsLayerDependency(LAYER, new LinkedHashSet<>(Arrays.asList( in testHandleOfferingEvent_MultipleLayersAndDependencies()
556 new VmsAvailableLayers(new LinkedHashSet<>(Arrays.asList( in testHandleAvailabilityRequestEvent_MultipleLayers()
558 new LinkedHashSet<>(Arrays.asList(PUBLISHER_ID, 54321))), in testHandleAvailabilityRequestEvent_MultipleLayers()
682 new VmsAvailableLayers(new LinkedHashSet<>(Arrays.asList( in testOnLayersAvailabilityChanged_MultipleLayers()
684 new LinkedHashSet<>(Arrays.asList(PUBLISHER_ID, 54321))), in testOnLayersAvailabilityChanged_MultipleLayers()
819 new LinkedHashSet<>(Arrays.asList( in testHandleSubscriptionsRequestEvent_MultipleLayersAndAssociatedLayers()
824 new LinkedHashSet<>(Arrays.asList( in testHandleSubscriptionsRequestEvent_MultipleLayersAndAssociatedLayers()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DPictureTakerFactory.java53 Arrays.asList(rootRequestBuilder), true /* ae */, true /* af */) : in create()
58 Arrays.asList(rootRequestBuilder), true /* ae */); in create()
66 Arrays.asList(rootRequestBuilder), false /* ae */, true /* af */) : in create()
71 Arrays.asList(rootRequestBuilder), false /* ae */); in create()
80 Arrays.asList(rootRequestBuilder), true /* ae */, true /* af */) : in create()
85 Arrays.asList(rootRequestBuilder), true /* ae */); in create()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java110 final List<String> expectedCards = Arrays.asList("test_wifi", "test_flashlight", in constructor_hasSavedInstanceState_shouldContainExpectedSavedCards()
122 final List<Integer> expected = Arrays.asList(ContextualCard.CardType.CONDITIONAL, in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
289 final List<String> expectedCards = Arrays.asList(TEST_SLICE_NAME); in onFinishCardLoading_hasSavedCard_shouldOnlyShowSavedCard()
315 final List<String> expectedCards = Arrays.asList(TEST_SLICE_NAME); in onFinishCardLoading_reloadData_hasNewCard_shouldOnlyShowOldCard()
389 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
409 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
429 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
438 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
453 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_twoNonConsecutiveSuggestionCards_shouldNotHaveHalfCards()
474 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java131 sut.importContacts(Arrays.asList( in importFromSim()
163 sut.importContacts(Arrays.asList( in importContactWhichOnlyHasName()
178 sut.importContacts(Arrays.asList( in importContactWhichOnlyHasPhone()
195 sut.importContacts(Arrays.asList( in ignoresEmptyContacts()
336 final List<SimContact> contacts = Arrays.asList( in returnsEmptyMapWhenNoMatchingContactsExist()
362 final List<SimContact> contacts = Arrays.asList( in hasAccountWithMatchingContactsWhenSingleMatchingContactExists()
368 sut.importContacts(Arrays.asList( in hasAccountWithMatchingContactsWhenSingleMatchingContactExists()
400 final List<SimContact> contacts = Arrays.asList( in hasMultipleAccountsWhenMultipleMatchingContactsExist()
407 sut.importContacts(Arrays.asList( in hasMultipleAccountsWhenMultipleMatchingContactsExist()
412 sut.importContacts(Arrays.asList( in hasMultipleAccountsWhenMultipleMatchingContactsExist()
[all …]
/packages/modules/ExtServices/tests/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImplTest.java50 assertThat(mService.onCalculateScores(Collections.emptyList(), Arrays.asList("whatever"), in testOnCalculateScores_emptyActualValues()
56 assertThat(mService.onCalculateScores(Arrays.asList(AutofillValue.forText("whatever")), in testOnCalculateScores_nullUserDataValues()
62 assertThat(mService.onCalculateScores(Arrays.asList(AutofillValue.forText("whatever")), in testOnCalculateScores_emptyUserDataValues()
69 final List<AutofillValue> actualValues = Arrays.asList(forText("A"), forText("b"), in testCalculateScores()
71 final List<String> userDataValues = Arrays.asList("a", "b", "B", "ab", "c", "dude", in testCalculateScores()
73 final List<String> categoryIds = Arrays.asList("cat", "cat", "cat", "cat", "cat", "last4", in testCalculateScores()

12345678910>>...25