/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsSubscriptionStateTest.java | 62 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 …]
|
D | VmsLayersAvailabilityTest.java | 41 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 …]
|
D | VmsAvailableLayersTest.java | 59 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 …]
|
D | VmsLayersOfferingTest.java | 69 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 …]
|
D | VmsAssociatedLayerTest.java | 61 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()
|
D | VmsLayerDependencyTest.java | 71 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()
|
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()
|
/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 | AbstractActionHandlerTest.java | 125 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/ |
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/TV/partner_support/tests/robotests/javatests/com/google/android/tv/partner/support/ |
D | TunerSetupUtilsTest.java | 37 List<String> channelNumbers1 = Arrays.asList("1.1", "1.2", "2.3"); in getMatchCount_allMatch() 39 TunerSetupUtils.parseChannelNumbers(Arrays.asList("1.1", "1.2", "2.3")); in getMatchCount_allMatch() 46 List<String> channelNumbers1 = Arrays.asList("1.1", "1.2", "2.3"); in getMatchCount_someMatch() 48 TunerSetupUtils.parseChannelNumbers(Arrays.asList("1.0", "1.1", "2")); in getMatchCount_someMatch() 55 List<String> channelNumbers1 = Arrays.asList("1.1", "1.2", "2.3"); in getMatchCount_noMatch() 57 TunerSetupUtils.parseChannelNumbers(Arrays.asList("1.0", "1.3", "3")); in getMatchCount_noMatch() 91 Arrays.asList("22", "1"), Arrays.asList("22", "1"))) in matchChannelNumber_match_majorAndMinorNumbers() 107 Arrays.asList("22", "1"), Collections.singletonList("22"))) in matchChannelNumber_match_differentSize() 115 Arrays.asList("22", "1"), Collections.singletonList("11"))) in matchChannelNumber_notMatch()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | DefaultSubscriptionControllerTest.java | 81 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/ |
D | ResetNetworkSubscriptionPreferenceControllerTest.java | 161 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/services/Telephony/tests/src/com/android/services/telephony/ |
D | ImsConferenceTest.java | 98 Arrays.asList(participant1, participant2)); in testSinglePartyEmulation() 106 Arrays.asList(participant1)); in testSinglePartyEmulation() 114 Arrays.asList(participant1, participant2)); in testSinglePartyEmulation() 160 Arrays.asList(participant1, participant2)); in testSinglePartyEmulationWithPreDisconnectParticipantUpdate() 168 Arrays.asList(participant1)); in testSinglePartyEmulationWithPreDisconnectParticipantUpdate() 175 Arrays.asList()); in testSinglePartyEmulationWithPreDisconnectParticipantUpdate() 208 Arrays.asList(participant1, participant2)); in testNoSinglePartyEmulationWithSimCallManager() 213 Arrays.asList(participant1)); in testNoSinglePartyEmulationWithSimCallManager() 218 Arrays.asList(participant1, participant2)); in testNoSinglePartyEmulationWithSimCallManager() 245 Arrays.asList(participant1, participant2)); in testNormalConference() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 152 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler() 172 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_correctSummaryAndClickHandler() 192 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummary_twoSubscriptions_correctSummaryAndFragment() 208 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 216 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 236 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 248 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 267 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener() 283 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in addButton_oneSubscription_hasAddClickListener() 293 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in addButton_twoSubscriptions_hasAddClickListener() [all …]
|
D | SubscriptionUtilTest.java | 75 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getAvailableSubscriptions_oneSubscription_oneResult() 85 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getAvailableSubscriptions_twoSubscriptions_twoResults() 104 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info1)); in getAvailableSubscriptions_oneSelectableOneDisabledPSim_twoResults() 105 when(mSubMgr.getAllSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getAvailableSubscriptions_oneSelectableOneDisabledPSim_twoResults() 140 when(mSubMgr.getSelectableSubscriptionInfoList()).thenReturn(Arrays.asList(info1)); in getAvailableSubscriptions_oneSelectableTwoDisabledPSimsOneAbsent_twoResults() 141 when(mSubMgr.getAllSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2, info3)); in getAvailableSubscriptions_oneSelectableTwoDisabledPSimsOneAbsent_twoResults() 174 when(mSubMgr.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(Arrays.asList(info)); in getActiveSubscriptions_oneSubscription_oneResult() 185 Arrays.asList(info1, info2)); in getActiveSubscriptions_twoSubscriptions_twoResults()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 65 private static final List<Byte> PAYLOAD_AS_LIST = Arrays.asList(new Byte[]{1, 2, 3, 4}); 178 mHalService.takeSupportedProperties(Arrays.asList(otherPropConfig, vmsPropConfig))); in testTakeSupportedProperties() 450 new VmsLayersOffering(new LinkedHashSet<>(Arrays.asList( in testHandleOfferingEvent_MultipleLayersAndDependencies() 451 new VmsLayerDependency(LAYER, new LinkedHashSet<>(Arrays.asList( in testHandleOfferingEvent_MultipleLayersAndDependencies() 533 new VmsAvailableLayers(new LinkedHashSet<>(Arrays.asList( in testHandleAvailabilityRequestEvent_MultipleLayers() 535 new LinkedHashSet<>(Arrays.asList(PUBLISHER_ID, 54321))), in testHandleAvailabilityRequestEvent_MultipleLayers() 653 new VmsAvailableLayers(new LinkedHashSet<>(Arrays.asList( in testOnLayersAvailabilityChanged_MultipleLayers() 655 new LinkedHashSet<>(Arrays.asList(PUBLISHER_ID, 54321))), in testOnLayersAvailabilityChanged_MultipleLayers() 790 new LinkedHashSet<>(Arrays.asList( in testHandleSubscriptionsRequestEvent_MultipleLayersAndAssociatedLayers() 795 new LinkedHashSet<>(Arrays.asList( in testHandleSubscriptionsRequestEvent_MultipleLayersAndAssociatedLayers() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | AccessPointListPreferenceControllerTest.java | 114 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in refreshUi_notEmpty_visible() 123 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in refreshUi_notEmpty_listCount() 132 List<AccessPoint> allAccessPointList = Arrays.asList(mMockAccessPoint1, mMockAccessPoint2); in onUxRestrictionsChanged_switchToSavedApOnly() 134 List<AccessPoint> savedAccessPointList = Arrays.asList(mMockAccessPoint1); in onUxRestrictionsChanged_switchToSavedApOnly() 151 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performClick_noSecurityNotConnectedAccessPoint_connect() 162 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performClick_activeAccessPoint_showDetailsFragment() 174 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performClick_savedAccessPoint_connect() 198 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in performButtonClick_savedAccessPoint_wrongPassword_forgetsNetwork() 217 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in callChangeListener_newSecureAccessPoint_wifiAdded() 237 List<AccessPoint> accessPointList = Arrays.asList(mMockAccessPoint1); in callChangeListener_newSecureAccessPoint_wifiEnabled()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolderTest.java | 92 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOnlyOneNumber_showLabel() 102 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel() 116 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOneNumberAndGetNullLabel_showEmptyString() 128 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel() 142 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel() 157 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel() 176 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testLabel_HasPrimaryNumberButGetNullLabel_showMultipleLabel() 190 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testClickCallActionButton_ContactHasOneNumber_placeCall() 210 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog() 229 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber1, phoneNumber2)); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | BaseDvrDataManager.java | 141 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/apps/Contacts/tests/src/com/android/contacts/database/ |
D | SimContactDaoTests.java | 131 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/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 110 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/modules/ExtServices/tests/src/android/ext/services/autofill/ |
D | AutofillFieldClassificationServiceImplTest.java | 50 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()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 510 List<String> list1 = Arrays.asList(); in testAll() 511 List<String> list2 = Arrays.asList("foo"); in testAll() 512 List<String> list3 = Arrays.asList("bar", "baz"); in testAll() 513 List<String> list4 = Arrays.asList("foo", "bar", "baz"); in testAll() 524 List<String> list1 = Arrays.asList(); in testAny() 525 List<String> list2 = Arrays.asList("foo"); in testAny() 526 List<String> list3 = Arrays.asList("bar", "baz"); in testAny() 527 List<String> list4 = Arrays.asList("foo", "bar", "baz"); in testAny() 538 List<String> list1 = Arrays.asList(); in testFindAll() 539 List<String> list2 = Arrays.asList("foo"); in testFindAll() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ConvergedImageCaptureCommand.java | 153 session.submitRequest(Arrays.asList(idleBuilder.build()), in waitForAFConvergence() 156 session.submitRequest(Arrays.asList(triggerBuilder.build()), in waitForAFConvergence() 176 session.submitRequest(Arrays.asList(idleBuilder.build()), in waitForAEConvergence() 179 session.submitRequest(Arrays.asList(triggerBuilder.build()), in waitForAEConvergence() 233 session.submitRequest(Arrays.asList(repeatingBuilder.build()), in resetRepeating() 240 session.submitRequest(Arrays.asList(triggerCancelBuilder.build()), in resetRepeating() 258 session.submitRequest(Arrays.asList(hackAETriggerCancelBuilder.build()), in resetRepeating()
|