Home
last modified time | relevance | path

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

12345678910>>...24

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java52 .setAddresses(Arrays.asList( in testParcel()
54 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testParcel()
55 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testParcel()
57 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testParcel()
63 Arrays.asList(new TrafficDescriptor(FAKE_DNN, FAKE_OS_APP_ID))) in testParcel()
83 .setAddresses(Arrays.asList( in testEquals()
85 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testEquals()
86 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testEquals()
88 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testEquals()
92 Arrays.asList(new TrafficDescriptor(FAKE_DNN, FAKE_OS_APP_ID))) in testEquals()
[all …]
DDcControllerTest.java135 .setAddresses(Arrays.asList( in testDataDormant()
137 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testDataDormant()
138 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testDataDormant()
140 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testDataDormant()
168 .setAddresses(Arrays.asList( in testPhysicalLinkStateChanged_defaultApnTypeAndDormant_registrantNotifyResult()
170 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testPhysicalLinkStateChanged_defaultApnTypeAndDormant_registrantNotifyResult()
171 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testPhysicalLinkStateChanged_defaultApnTypeAndDormant_registrantNotifyResult()
173 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testPhysicalLinkStateChanged_defaultApnTypeAndDormant_registrantNotifyResult()
213 .setAddresses(Arrays.asList( in testPhysicalLinkStateChanged_imsApnTypeAndDormant_NoNotifyResult()
215 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testPhysicalLinkStateChanged_imsApnTypeAndDormant_NoNotifyResult()
[all …]
DDataConnectionTest.java315 .setAddresses(Arrays.asList( in setSuccessfulSetupDataResponse()
318 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress("10.0.2.3"), in setSuccessfulSetupDataResponse()
320 .setGatewayAddresses(Arrays.asList( in setSuccessfulSetupDataResponse()
323 .setPcscfAddresses(Arrays.asList( in setSuccessfulSetupDataResponse()
559 doReturn(Arrays.asList(mApnContext)).when(mDefaultDc).getApnContexts(); in setUpDefaultData()
594 .setAddresses(Arrays.asList( in testModemSuggestRetry()
596 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testModemSuggestRetry()
597 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testModemSuggestRetry()
599 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testModemSuggestRetry()
612 .setAddresses(Arrays.asList( in testModemSuggestRetry()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccRulesAuthTableTest.java43 Arrays.asList(new CarrierIdentifier[] {}), in testFindIndex()
47 Arrays.asList( in testFindIndex()
60 Arrays.asList( in testFindIndex()
72 Arrays.asList( in testFindIndex()
106 Arrays.asList( in testFindIndex_AllowAllWithUserConsent()
127 .add(0, Arrays.asList(new CarrierIdentifier[] {}), 0).build(); in testFindIndex_DisallowAll()
153 .add(0, Arrays.asList(new CarrierIdentifier[] {}), 0).build(); in testBuild_TooManyRules()
159 .add(0, Arrays.asList(new CarrierIdentifier[] {}), 0).build(); in testHasPolicyRuleFlag_OutOfBounds()
187 Arrays.asList(new CarrierIdentifier[] {}), in testWriteToParcel()
191 Arrays.asList( in testWriteToParcel()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java47 assertEquals(Arrays.asList(lines), out.lines); in testPrintException()
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); in testPrintObject()
65 assertEquals(Arrays.asList("4" + o, "2"), out.lines); in testPrintlnObject()
70 assertEquals(Arrays.asList("Name: Bob"), out.lines); in testPrintf()
72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); in testPrintf()
86 assertEquals(Arrays.asList("4", "2"), out.lines); in testPrintlnInt()
91 assertEquals(Arrays.asList("Foo", "Bar"), out.lines); in testPrintCharArray()
93 assertEquals(Arrays.asList("Foo", "Bar", "Tee"), out.lines); in testPrintCharArray()
98 assertEquals(Arrays.asList("Foo", "Bar"), out.lines); in testPrintString()
100 assertEquals(Arrays.asList("Foo", "Bar", "Tee"), out.lines); in testPrintString()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DStartProgramListUpdatesFanoutTest.java126 updateHalProgramInfo(true, Arrays.asList(mAmFmInfo, mRdsInfo), null); in testFanout()
128 verifyAidlClientReceivedChunk(mAidlTunerCallbackMocks[i], true, Arrays.asList( in testFanout()
133 updateHalProgramInfo(false, Arrays.asList(mModifiedAmFmInfo), in testFanout()
134 Arrays.asList(mRdsIdentifier)); in testFanout()
137 Arrays.asList(mModifiedAmFmInfo), Arrays.asList(mRdsIdentifier)); in testFanout()
145 Arrays.asList(mModifiedAmFmInfo), null); in testFanout()
157 new HashSet<ProgramSelector.Identifier>(Arrays.asList(mRdsIdentifier)), true, true); in testFiltering()
161 new HashSet<Integer>(Arrays.asList(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)), in testFiltering()
164 new HashSet<Integer>(Arrays.asList(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)), in testFiltering()
185 updateHalProgramInfo(false, Arrays.asList(mRdsInfo), null); in testFiltering()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DRampDownAdapterTest.java58 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrebakedAndPrimitiveSegments_keepsListUnchanged()
72 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoOffSegment_keepsListUnchanged()
88 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoRampDownDuration_keepsOriginalSteps()
104 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown()
108 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown()
121 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDown()
126 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDown()
142 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withRepeatToNonZeroSegment_keepsOriginalSteps()
154 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown()
158 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown()
[all …]
DStepToRampAdapterTest.java56 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndPrebakedAndPrimitiveSegments_returnsOriginalSegments()
72 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampSegments_withPwleDurationLimit_splitsLongRamps()
79 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withPwleDurationLimit_splitsLongRamps()
104 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_keepsListUnchanged()
118 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndNoFrequency_keepsOriginalSteps()
137 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndStepNextToRamp_convertsStepsToRamps()
146 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndStepNextToRamp_convertsStepsToRamps()
167 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withPwleCapabilityAndFrequency_convertsStepsToRamps()
170 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withPwleCapabilityAndFrequency_convertsStepsToRamps()
DDeviceVibrationEffectAdapterTest.java74 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment()
89 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps()
112 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps()
121 VibrationEffect.Composed expected = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps()
139 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsSameAmplitudesAndZeroFreq()
148 VibrationEffect.Composed expected = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsSameAmplitudesAndZeroFreq()
170 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues()
179 VibrationEffect.Composed expected = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues()
/frameworks/base/errorprone/tests/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionCheckerTest.java57 final ParsedRequiresPermission a = build(Arrays.asList(RED, BLUE), Arrays.asList()); in testParser_AllOf()
58 final ParsedRequiresPermission b = build(Arrays.asList(RED), Arrays.asList()); in testParser_AllOf()
65 final ParsedRequiresPermission a = build(Arrays.asList(), Arrays.asList(RED, BLUE)); in testParser_AnyOf()
66 final ParsedRequiresPermission b = build(Arrays.asList(), Arrays.asList(RED)); in testParser_AnyOf()
73 final ParsedRequiresPermission a = build(Arrays.asList(RED, BLUE), Arrays.asList()); in testParser_AnyOf_AllOf()
74 final ParsedRequiresPermission b = build(Arrays.asList(), Arrays.asList(RED)); in testParser_AnyOf_AllOf()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java41 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app2", "sys_app3"), apps); in testQueryAppsSystemAppsOnly()
44 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app2", "sys_app3", "app4"), apps); in testQueryAppsSystemAppsOnly()
50 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps); in testQueryAppsNonLaunchable()
54 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps); in testQueryAppsNonLaunchable()
60 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsInteractAcrossUser()
64 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsInteractAcrossUser()
72 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps); in testQueryApps()
78 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps); in testQueryApps()
85 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsImes()
90 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "app4"), apps); in testQueryAppsImes()
[all …]
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java204 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_singleObserver()
206 Arrays.asList(new VersionedPackage(APP_A, VERSION_CODE)), in testRegistration_singleObserver()
220 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_multiObservers()
221 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration_multiObservers()
223 Arrays.asList(new VersionedPackage(APP_A, VERSION_CODE), in testRegistration_multiObservers()
238 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testUnregistration_singleObserver()
241 Arrays.asList(new VersionedPackage(APP_A, VERSION_CODE)), in testUnregistration_singleObserver()
254 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testUnregistration_multiObservers()
255 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A), SHORT_DURATION); in testUnregistration_multiObservers()
258 Arrays.asList(new VersionedPackage(APP_A, VERSION_CODE)), in testUnregistration_multiObservers()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/integrity/
DCompoundFormulaTest.java45 CompoundFormula.AND, Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2)); in testValidCompoundFormula()
72 Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2))); in testValidateAuxiliaryFormula_unaryConnectors()
80 CompoundFormula.AND, Arrays.asList(ATOMIC_FORMULA_2, ATOMIC_FORMULA_1)); in testParcelUnparcel()
96 Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2))); in testInvalidCompoundFormula_invalidConnector()
108 new CompoundFormula(CompoundFormula.NOT, Arrays.asList(ATOMIC_FORMULA_1)); in testFormulaMatches_notFalse_true()
120 new CompoundFormula(CompoundFormula.NOT, Arrays.asList(ATOMIC_FORMULA_1)); in testFormulaMatches_notTrue_false()
128 CompoundFormula.AND, Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2)); in testFormulaMatches_trueAndTrue_true()
142 CompoundFormula.AND, Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2)); in testFormulaMatches_trueAndFalse_false()
155 CompoundFormula.AND, Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2)); in testFormulaMatches_falseAndTrue_false()
168 CompoundFormula.AND, Arrays.asList(ATOMIC_FORMULA_1, ATOMIC_FORMULA_2)); in testFormulaMatches_falseAndFalse_false()
[all …]
DInstallerAllowedByManifestFormulaTest.java42 .setInstallerCertificates(Arrays.asList("installer_cert1", "random_cert")) in testFormulaMatches_installerAndCertBothInManifest()
55 .setInstallerCertificates(Arrays.asList("installer_cert1", "random_cert")) in testFormulaMatches_installerAndCertDoesNotMatchInManifest()
68 .setInstallerCertificates(Arrays.asList("installer_cert1", "random_cert")) in testFormulaMatches_installerNotInManifest()
81 .setInstallerCertificates(Arrays.asList("installer_cert3", "random_cert")) in testFormulaMatches_certificateDoesNotMatchManifest()
94 .setInstallerCertificates(Arrays.asList("installer_cert3", "random_cert")) in testFormulaMatches_emptyManifest()
104 .setInstallerCertificates(Arrays.asList("installer_cert3", "random_cert")) in testFormulaMatches_certificateNotSpecifiedInManifest()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java127 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(keyEventFilter))); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()
135 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1))); in testNotifyKeyEvent_withOneValidService_shouldNotifyService()
143 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2))); in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
156 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()
170 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()
184 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework()
200 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework()
217 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
234 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
252 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_firstServiceReturnsTwice_secondShouldBeIgnored()
[all …]
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java183 compareResult(Arrays.asList(1, 2, 3, 4), Arrays.asList(1), in testCompareResult()
184 Arrays.asList(2, 3, 4), new ArrayList<>()); in testCompareResult()
185 compareResult(Arrays.asList(1, 2), Arrays.asList(3, 2, 1, 4), in testCompareResult()
186 new ArrayList<>(), Arrays.asList(3, 4)); in testCompareResult()
190 compareResult(Arrays.asList(1, 2, 3, 4), Arrays.asList(2, 3, 4, 5), in testCompareResult()
191 Arrays.asList(1), Arrays.asList(5)); in testCompareResult()
192 compareResult(Arrays.asList(1, 2, 3), Arrays.asList(4, 5, 6), in testCompareResult()
193 Arrays.asList(1, 2, 3), Arrays.asList(4, 5, 6)); in testCompareResult()
196 compareResult(Arrays.asList(1, 2, 3), null, Arrays.asList(1, 2, 3), new ArrayList<>()); in testCompareResult()
197 compareResult(null, Arrays.asList(3, 2, 1), new ArrayList<>(), Arrays.asList(1, 2, 3)); in testCompareResult()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DArrayUtilsTest.java57 collection = new ArrayList<>(Arrays.asList(a, b)); in testUnstableRemoveIf()
63 collection = new ArrayList<>(Arrays.asList(a, null)); in testUnstableRemoveIf()
68 collection = new ArrayList<>(Arrays.asList(null, a)); in testUnstableRemoveIf()
73 collection = new ArrayList<>(Arrays.asList(null, null)); in testUnstableRemoveIf()
77 collection = new ArrayList<>(Arrays.asList(a, b, c)); in testUnstableRemoveIf()
84 collection = new ArrayList<>(Arrays.asList(a, b, null)); in testUnstableRemoveIf()
90 collection = new ArrayList<>(Arrays.asList(a, null, b)); in testUnstableRemoveIf()
96 collection = new ArrayList<>(Arrays.asList(null, a, b)); in testUnstableRemoveIf()
102 collection = new ArrayList<>(Arrays.asList(a, null, null)); in testUnstableRemoveIf()
107 collection = new ArrayList<>(Arrays.asList(null, null, a)); in testUnstableRemoveIf()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/
DAutofillManagerServiceTest.java57 assertThat(result.get("one_is_the_loniest_package")).asList().containsExactly("url"); in testGetWhitelistedCompatModePackages_onePackageOneUrl()
65 assertThat(result.get("one_is_the_loniest_package")).asList() in testGetWhitelistedCompatModePackages_onePackageMultipleUrls()
81 assertThat(result.get("p1")).asList().containsExactly("p1u1"); in testGetWhitelistedCompatModePackages_multiplePackagesMultipleUrls()
83 assertThat(result.get("p3")).asList().containsExactly("p3u1", "p3u2"); in testGetWhitelistedCompatModePackages_multiplePackagesMultipleUrls()
91 assertThat(result.get("p1")).asList().containsExactly("p1u1"); in testGetWhitelistedCompatModePackages_threePackagesOneInvalid()
92 assertThat(result.get("p3")).asList().containsExactly("p3u1", "p3u2"); in testGetWhitelistedCompatModePackages_threePackagesOneInvalid()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DSingleScanSettingsTest.java74 new ArrayList<>(Arrays.asList(mChannelSettings1, mChannelSettings2)); in canSerializeAndDeserialize()
76 new ArrayList<>(Arrays.asList(mHiddenNetwork1, mHiddenNetwork2)); in canSerializeAndDeserialize()
98 new ArrayList<>(Arrays.asList(mChannelSettings1, mChannelSettings2)); in testAsHashMapKey()
100 new ArrayList<>(Arrays.asList(mHiddenNetwork1, mHiddenNetwork2)); in testAsHashMapKey()
105 new ArrayList<>(Arrays.asList(mChannelSettings1, mChannelSettings2)); in testAsHashMapKey()
107 new ArrayList<>(Arrays.asList(mHiddenNetwork1, mHiddenNetwork2)); in testAsHashMapKey()
/frameworks/base/core/tests/coretests/src/android/provider/
DDocumentsProviderTest.java56 final Path expected = new Path(ROOT_ID, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_docUri()
72 final Path expected = new Path(null, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri()
84 mProvider.nextPath = new Path(null, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_throwsOnNonChildDocument()
97 mProvider.nextPath = new Path(ROOT_ID, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_erasesNonNullRootId()
103 assertEquals(Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID), path.getPath()); in testFindDocumentPath_treeUri_erasesNonNullRootId()
110 null, Arrays.asList(ANCESTOR_DOCUMENT_ID, PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_erasesDocsOutsideTree()
115 assertEquals(Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID), path.getPath()); in testFindDocumentPath_treeUri_erasesDocsOutsideTree()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DInflatedSmartRepliesTest.java296 .containsExactlyElementsIn(Arrays.asList(appGenSmartReplies)).inOrder(); in chooseSmartRepliesAndActions_appGenPreferredOverSysGen()
419 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar()
422 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar()
425 List<Integer> leftSuppressed = Arrays.asList(1, 2); in areSuggestionsSimilar_trueForSimilar()
426 List<Integer> rightSuppressed = Arrays.asList(1, 2); in areSuggestionsSimilar_trueForSimilar()
450 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies()
453 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies()
456 List<Integer> leftSuppressed = Arrays.asList(1, 2); in areSuggestionsSimilar_falseForDifferentReplies()
457 List<Integer> rightSuppressed = Arrays.asList(1, 2); in areSuggestionsSimilar_falseForDifferentReplies()
481 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentActions()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluatorTest.java98 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_oneMatch_deny()
116 Arrays.asList( in testEvaluateRules_multipleMatches_deny()
128 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_multipleMatches_deny()
173 Arrays.asList( in testEvaluateRules_validForm_deny()
196 Arrays.asList( in testEvaluateRules_orRules()
219 Arrays.asList( in testEvaluateRules_compoundFormulaWithNot_deny()
251 Arrays.asList( in testEvaluateRules_forceAllow()
263 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_forceAllow()
281 Arrays.asList( in testEvaluateRules_multipleMatches_forceAllow()
293 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_multipleMatches_forceAllow()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyEventLoggerTest.java49 assertThat(eventLogger.getStringArray()).asList() in testAllFields()
60 .setStrings("string1", "string2", "string3").getStringArray()).asList() in testStrings()
66 .asList().containsExactly("string1", "string2", "string3").inOrder(); in testStrings()
71 .asList().containsExactly("string1", "string2", "string3").inOrder(); in testStrings()
74 .setStrings((String) null).getStringArray()).asList() in testStrings()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DScanResultUpdaterTest.java63 sru.update(Arrays.asList(oldResult)); in testGetScanResults_mergeSameBssid()
67 sru.update(Arrays.asList(newResult)); in testGetScanResults_mergeSameBssid()
71 sru.update(Arrays.asList(oldResult)); in testGetScanResults_mergeSameBssid()
87 sru.update(Arrays.asList(newResult, oldResult)); in testGetScanResults_filtersOldScans()
119 sru.update(Arrays.asList(scan1, scan2, scan3)); in testConstructor_maxScanAge_filtersOldScans()
138 sru.update(Arrays.asList(scan1, scan2, scan3)); in testGetScanResults_overridesConstructorMaxScanAge()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParser_V21.java49 Arrays.asList("BEGIN", "END", "LOGO", "PHOTO", "LABEL", "FN", "TITLE", "SOUND",
58 Arrays.asList("DOM", "INTL", "POSTAL", "PARCEL", "HOME", "WORK",
72 Arrays.asList("INLINE", "URL", "CONTENT-ID", "CID")));
85 Arrays.asList(VCardConstants.PARAM_ENCODING_7BIT,

12345678910>>...24