/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPMatcherTest.java | 76 DomainNameElement element = new DomainNameElement(Arrays.asList(domains)); in matchDomainNameUsingFQDN() 89 List<String> simImsiList = Arrays.asList(new String[] {"123457890", "123498723"}); in matchDomainNameUsingIMSI() 92 DomainNameElement element = new DomainNameElement(Arrays.asList(domains)); in matchDomainNameUsingIMSI() 117 new RoamingConsortiumElement(Arrays.asList(new Long[] {oi})); in matchRoamingConsortium() 154 Arrays.asList(new String[] {realm}), new ArrayList<EAPMethod>()); in matchNAIRealmWithRealmMatch() 156 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMatch() 175 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithRealmMethodMatch() 177 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMethodMatch() 203 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithExactMatch() 205 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithExactMatch() [all …]
|
D | PasspointEventHandlerTest.java | 70 Arrays.asList(Constants.ANQPElementType.ANQPRoamingConsortium); in requestR1AnqpElement() 72 new HashSet<>(Arrays.asList(Constants.getANQPElementID( in requestR1AnqpElement() 93 Arrays.asList(Constants.ANQPElementType.HSFriendlyName); in requestR2AnqpElement() 96 new HashSet<>(Arrays.asList(Constants.getHS20ElementID( in requestR2AnqpElement() 116 Arrays.asList(Constants.ANQPElementType.ANQPRoamingConsortium, in requestMixAnqpElements() 119 new HashSet<>(Arrays.asList(Constants.getANQPElementID( in requestMixAnqpElements() 122 new HashSet<>(Arrays.asList(Constants.getHS20ElementID( in requestMixAnqpElements()
|
D | DomainMatcherTest.java | 90 Arrays.asList(SECONDARY_DOMAIN1, SECONDARY_DOMAIN2)); in matchNullDomain() 102 Arrays.asList(SECONDARY_DOMAIN1, SECONDARY_DOMAIN2)); in matchTestDomains() 117 Arrays.asList(PRIMARY_DOMAIN)); in matchDomainWithBothPrimaryAndSecondary() 130 Arrays.asList("test.google.com")); in matchDomainWhenSecondaryIsSubdomainOfPrimary() 146 Arrays.asList("google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary() 163 Arrays.asList("google..com")); in matchDomainWithEmptyLabel()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/ |
D | EuiccRulesAuthTableTest.java | 43 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/ |
D | LoggingPrintStreamTest.java | 47 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataCallResponseTest.java | 46 .setAddresses(Arrays.asList( in testParcel() 48 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testParcel() 49 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testParcel() 51 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testParcel() 73 .setAddresses(Arrays.asList( in testEquals() 75 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testEquals() 76 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testEquals() 78 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testEquals() 90 .setAddresses(Arrays.asList( in testEquals() 92 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testEquals() [all …]
|
D | DataConnectionTest.java | 433 .setAddresses(Arrays.asList( in testModemSuggestRetry() 435 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testModemSuggestRetry() 436 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testModemSuggestRetry() 438 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testModemSuggestRetry() 451 .setAddresses(Arrays.asList( in testModemSuggestRetry() 453 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testModemSuggestRetry() 454 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testModemSuggestRetry() 456 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testModemSuggestRetry() 469 .setAddresses(Arrays.asList( in testModemSuggestRetry() 471 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testModemSuggestRetry() [all …]
|
D | TransportManagerTest.java | 81 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 95 networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 121 networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 156 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testHandoverNotNeeded() 167 networkList = new ArrayList<>(Arrays.asList( in testHandoverNotNeeded() 190 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testBackToBackHandoverNeeded() 204 networkList = new ArrayList<>(Arrays.asList( in testBackToBackHandoverNeeded() 226 networkList = new ArrayList<>(Arrays.asList( in testBackToBackHandoverNeeded()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppsQueryHelperTests.java | 41 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/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 121 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(keyEventFilter))); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse() 129 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1))); in testNotifyKeyEvent_withOneValidService_shouldNotifyService() 137 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2))); in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth() 150 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework() 164 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework() 178 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework() 194 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework() 211 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework() 228 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework() 246 mKeyEvent, 0, Arrays.asList(mKeyEventFilter1, mKeyEventFilter2)); in testSetOnKeyResult_firstServiceReturnsTwice_secondShouldBeIgnored() [all …]
|
D | FingerprintGestureDispatcherTest.java | 87 Arrays.asList(mNonGestureCapturingClient)); in testOneNonCapturingService_doesNotCrashOrConsumeGestures() 100 Arrays.asList(mGestureCapturingClient)); in testOneCapturingService_notifiesClientOfActivityChanges() 113 Arrays.asList(mGestureCapturingClient)); in testOneCapturingService_consumesGesturesAndPassesThemAlong() 135 Arrays.asList(mGestureCapturingClient)); in testInvalidKeyCodes_areNotCaptured() 145 Arrays.asList(mGestureCapturingClient)); in testWithCapturingService_registersForFingerprintUpdates() 154 Arrays.asList(mGestureCapturingClient)); in testWhenCapturingServiceStops_unregistersForFingerprintUpdates()
|
/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 128 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration() 130 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration() 132 watchdog.startObservingHealth(observer3, Arrays.asList(APP_A), LONG_DURATION); in testRegistration() 193 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testObserveAlreadyObservedPackage() 200 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testObserveAlreadyObservedPackage() 220 watchdog1.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testPersistence() 221 watchdog1.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testPersistence() 267 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A), SHORT_DURATION); in testNoPackageFailureBeforeThreshold() 268 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testNoPackageFailureBeforeThreshold() 272 watchdog.onPackageFailure(Arrays.asList(new VersionedPackage(APP_A, VERSION_CODE)), in testNoPackageFailureBeforeThreshold() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 57 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | NativeUtilTest.java | 97 Arrays.asList((byte) 's', (byte) 's', (byte) 'i', (byte) 'd', (byte) '_', in testAsciiSsidDecode() 110 Arrays.asList((byte) 0x41, (byte) 0x6e, (byte) 0x64, (byte) 0x72, in testUtf8SsidDecode() 149 Arrays.asList((byte) 0xf5, (byte) 0xe4, (byte) 0xab, (byte) 0x78, in testNonSsidDecode() 162 Arrays.asList((byte) 's', (byte) 's', (byte) 'i', (byte) 'd', (byte) '_', in testSsidEncode() 175 Arrays.asList((byte) 0x00, (byte) 's', (byte) 'i', (byte) 'd', (byte) '_', in testNullCharInSsidEncode() 188 Arrays.asList((byte) 0xf5, (byte) 0xe4, (byte) 0xab, (byte) 0x78, in testNonSsidEncode() 199 Arrays.asList((byte) 0xf5, (byte) 0xe4, (byte) 0xab, (byte) 0x78, (byte) 0x78, in testLargeSsidEncodeFails()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/ |
D | AutofillManagerServiceTest.java | 57 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/core/tests/coretests/src/android/provider/ |
D | DocumentsProviderTest.java | 56 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()
|
D | FontsContractTest.java | 285 List<byte[]> certList = Arrays.asList(wrongCert); in testGetProvider_providerIsNonSystemAppWrongCerts() 287 TestFontsProvider.AUTHORITY, PACKAGE_NAME, "query", Arrays.asList(certList)); in testGetProvider_providerIsNonSystemAppWrongCerts() 296 List<byte[]> certList = Arrays.asList(BYTE_ARRAY); in testGetProvider_providerIsNonSystemAppCorrectCerts() 298 TestFontsProvider.AUTHORITY, PACKAGE_NAME, "query", Arrays.asList(certList)); in testGetProvider_providerIsNonSystemAppCorrectCerts() 310 List<byte[]> certList = Arrays.asList(wrongCert, BYTE_ARRAY); in testGetProvider_providerIsNonSystemAppMoreCerts() 312 TestFontsProvider.AUTHORITY, PACKAGE_NAME, "query", Arrays.asList(certList)); in testGetProvider_providerIsNonSystemAppMoreCerts() 333 List<byte[]> certList = Arrays.asList(BYTE_ARRAY_2, BYTE_ARRAY_COPY); in testGetProvider_providerIsNonSystemAppDuplicateCerts() 335 TestFontsProvider.AUTHORITY, PACKAGE_NAME, "query", Arrays.asList(certList)); in testGetProvider_providerIsNonSystemAppDuplicateCerts() 345 certList.add(Arrays.asList(wrongCert)); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets() 346 certList.add(Arrays.asList(BYTE_ARRAY)); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/ |
D | SingleScanSettingsTest.java | 75 new ArrayList<>(Arrays.asList(mChannelSettings1, mChannelSettings2)); in canSerializeAndDeserialize() 77 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/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 414 .addExpectedNodeWithOrder("N", "Ando;Roid;", Arrays.asList("Ando", "Roid", "")); in testV21SimpleCase1_Parsing() 463 Arrays.asList("", "A;B\\", "C\\;", "D", ":E", "\\\\", "")) in testV21BackslashCase_Parsing() 566 Arrays.asList("Gump", "Forrest", "Hoge", "Pos", "Tao")) in testComplicatedCase_Parsing() 570 Arrays.asList("Gump Shrimp Co.", "Sales Dept.;Manager", "Fish keeper")) in testComplicatedCase_Parsing() 582 Arrays.asList("", "", "100 Waters Edge", "Baytown", in testComplicatedCase_Parsing() 590 Arrays.asList("", "", "42 Plantation St.", "Baytown", in testComplicatedCase_Parsing() 727 Arrays.asList("", "", "Grindelberg 999", "Hamburg", "", "99999", in testAdrMultipleLineV21() 732 Arrays.asList("", "", "Hermann v. Brevern\\ 9999999\\ Packstation 999", in testAdrMultipleLineV21() 743 Arrays.asList("And", "Roid", "", "", "")) in testV30Simple_Parsing() 745 Arrays.asList("Open", "Handset", " Alliance")) in testV30Simple_Parsing() [all …]
|
/frameworks/base/core/java/android/os/ |
D | HwParcel.java | 498 return new ArrayList<Boolean>(Arrays.asList(array)); in readBoolVector() 509 return new ArrayList<Byte>(Arrays.asList(array)); in readInt8Vector() 520 return new ArrayList<Short>(Arrays.asList(array)); in readInt16Vector() 531 return new ArrayList<Integer>(Arrays.asList(array)); in readInt32Vector() 542 return new ArrayList<Long>(Arrays.asList(array)); in readInt64Vector() 553 return new ArrayList<Float>(Arrays.asList(array)); in readFloatVector() 564 return new ArrayList<Double>(Arrays.asList(array)); in readDoubleVector() 573 return new ArrayList<String>(Arrays.asList(readStringVectorAsArray())); in readStringVector() 582 return new ArrayList<NativeHandle>(Arrays.asList(readNativeHandleAsArray())); in readNativeHandleVector()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParser_V21.java | 49 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,
|
D | VCardSourceDetector.java | 45 private static Set<String> APPLE_SIGNS = new HashSet<String>(Arrays.asList( 49 private static Set<String> JAPANESE_MOBILE_PHONE_SIGNS = new HashSet<String>(Arrays.asList( 52 private static Set<String> WINDOWS_MOBILE_PHONE_SIGNS = new HashSet<String>(Arrays.asList( 57 private static Set<String> FOMA_SIGNS = new HashSet<String>(Arrays.asList(
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 513 Arrays.asList(CameraTestUtils.toObject(getAeAvailableAntiBandingModesChecked())); in isAntiBandingOffModeSupported() 542 Arrays.asList(boxedModes).contains(expectValue)); in getAvailableTestPatternModesChecked() 555 final List<Size> sizeList = Arrays.asList(sizes); in getAvailableThumbnailSizesChecked() 591 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked() 612 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(apertures))); in getAvailableAperturesChecked() 630 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked() 638 List<Integer> coupledModes = Arrays.asList(new Integer[] { in getAvailableHotPixelModesChecked() 666 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableFaceDetectModesChecked() 690 Arrays.asList(CameraTestUtils.toObject(getAvailableFaceDetectModesChecked())); in getMaxFaceCountChecked() 723 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableToneMapModesChecked() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MultiSimSettingControllerTest.java | 123 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1, mSubInfo2); in setUp() 132 doReturn(Arrays.asList(mSubInfo1)).when(mSubControllerMock).getSubInfo( in setUp() 134 doReturn(Arrays.asList(mSubInfo2)).when(mSubControllerMock).getSubInfo( in setUp() 136 doReturn(Arrays.asList(mSubInfo3)).when(mSubControllerMock).getSubInfo( in setUp() 138 doReturn(Arrays.asList(mSubInfo4)).when(mSubControllerMock).getSubInfo( in setUp() 166 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testTestSubInfoChangeBeforeAllSubReady() 204 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testSingleActiveDsds() 220 infoList = Arrays.asList(mSubInfo2); in testSingleActiveDsds() 244 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testActivatingSecondSub() 265 infoList = Arrays.asList(mSubInfo1, mSubInfo2); in testActivatingSecondSub() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 92 when(mStorageManagerMock.getWritablePrivateVolumes()).thenReturn(Arrays.asList(testVolume)); in setup() 140 assertEquals(Collections.singletonList(ceFile), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData() 146 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData() 166 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty(systemDir))); in testDestroyUserData_De() 167 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_De() 184 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_Ce() 201 .reconcileUsers(StorageManager.UUID_PRIVATE_INTERNAL, Arrays.asList(u1, u2), in testReconcileUsers() 202 Arrays.asList(dir1, dir2, dir3)); in testReconcileUsers()
|