/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CarrierCapability.java | 19 import java.util.Arrays; 26 Arrays.asList( 98 Arrays.asList( 149 Arrays.asList( 163 Arrays.asList( 178 Arrays.asList(
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 37 import java.util.Arrays; 50 MoreAsserts.assertEmpty(Arrays.asList(spec.getBlockModes())); in testDefaults() 60 MoreAsserts.assertEmpty(Arrays.asList(spec.getEncryptionPaddings())); in testDefaults() 65 MoreAsserts.assertEmpty(Arrays.asList(spec.getSignaturePaddings())); in testDefaults() 111 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getBlockModes()), in testSettersReflectedInGetters() 114 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters() 122 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getEncryptionPaddings()), in testSettersReflectedInGetters() 128 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getSignaturePaddings()), in testSettersReflectedInGetters() 222 assertEquals(Arrays.asList(originalBlockModes), Arrays.asList(spec.getBlockModes())); in testImmutabilityViaSetterParams() 224 assertEquals(Arrays.asList(originalBlockModes), Arrays.asList(spec.getBlockModes())); in testImmutabilityViaSetterParams() [all …]
|
D | KeyGenParameterSpecTest.java | 41 import java.util.Arrays; 65 MoreAsserts.assertEmpty(Arrays.asList(spec.getBlockModes())); in testDefaults() 79 MoreAsserts.assertEmpty(Arrays.asList(spec.getEncryptionPaddings())); in testDefaults() 85 MoreAsserts.assertEmpty(Arrays.asList(spec.getSignaturePaddings())); in testDefaults() 153 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getBlockModes()), in testSettersReflectedInGetters() 160 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters() 168 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getEncryptionPaddings()), in testSettersReflectedInGetters() 175 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getSignaturePaddings()), in testSettersReflectedInGetters() 292 assertEquals(Arrays.asList(originalBlockModes), Arrays.asList(spec.getBlockModes())); in testImmutabilityViaSetterParams() 294 assertEquals(Arrays.asList(originalBlockModes), Arrays.asList(spec.getBlockModes())); in testImmutabilityViaSetterParams() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PersistableBundleTest.java | 30 import java.util.Arrays; 62 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream() 65 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream() 68 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream() 71 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream() 74 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream() 78 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream() 81 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | GetByDocumentIdRequestCtsTest.java | 26 import java.util.Arrays; 32 List<String> expectedPropertyPaths1 = Arrays.asList("path1", "path2"); in testBuildRequest() 33 List<String> expectedPropertyPaths2 = Arrays.asList("path3", "path4"); in testBuildRequest() 36 Arrays.asList(new PropertyPath("path1"), new PropertyPath("path2")); in testBuildRequest() 38 Arrays.asList(new PropertyPath("path3"), new PropertyPath("path4")); in testBuildRequest() 43 .addIds(Arrays.asList("uri3", "uri4")) in testBuildRequest()
|
D | SetSchemaResponseCtsTest.java | 26 import java.util.Arrays; 90 .addDeletedTypes(Arrays.asList("delete1")) in testPluralAdds() 91 .addIncompatibleTypes(Arrays.asList("incompatible1")) in testPluralAdds() 92 .addMigratedTypes(Arrays.asList("migrated1")) in testPluralAdds() 93 .addMigrationFailures(Arrays.asList(failure1)); in testPluralAdds() 108 builder.addDeletedTypes(Arrays.asList("delete2", "deleted3", "deleted4")) in testPluralAdds() 109 .addIncompatibleTypes(Arrays.asList("incompatible2")) in testPluralAdds() 110 .addMigratedTypes(Arrays.asList("migrated2", "migrate3")) in testPluralAdds() 111 .addMigrationFailures(Arrays.asList(failure2)) in testPluralAdds()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DynamicParameterizedAnnotation.java | 20 import java.util.Arrays; 33 mAnnotations = Arrays.stream(annotations).filter(Objects::nonNull) in DynamicParameterizedAnnotation() 58 return Objects.equals(mName, that.mName) && Arrays.equals(mAnnotations, in equals() 65 result = 31 * result + Arrays.hashCode(mAnnotations); in hashCode() 72 + Arrays.toString(mAnnotations) + ")"; in toString()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | SecondaryProfileOwnerUserRestrictionsTest.java | 20 import java.util.Arrays; 88 assertRestrictions(new HashSet<>(Arrays.asList(DO_GLOBAL_RESTRICTIONS))); in testHasGlobalRestrictions() 99 expected.addAll(Arrays.asList(DO_GLOBAL_RESTRICTIONS)); in testHasBothGlobalAndLocalRestrictions() 102 expected.addAll(Arrays.asList(ALLOWED)); in testHasBothGlobalAndLocalRestrictions() 113 assertRestrictions(new HashSet<>(Arrays.asList(ALLOWED))); in testLocalRestrictionsOnly() 124 final HashSet<String> expected = new HashSet<>(Arrays.asList(ALLOWED_BUT_LEAKY)); in testDefaultAndLeakyRestrictions()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmMockTest.java | 30 import java.util.Arrays; 119 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); in testByteArrayProperties() 252 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequest() 256 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequest() 285 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequestNoOptionalParameters() 289 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequestNoOptionalParameters() 317 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequestOffline() 321 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequestOffline() 347 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequestRelease() 370 assertTrue(Arrays.equals(testResponse, md.getPropertyByteArray("mock-response"))); in testProvideKeyResponse() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ImageReaderArgs.java | 21 import java.util.Arrays; 87 return (Arrays.equals(mOutputSizes, other.mOutputSizes) && in equals() 88 Arrays.equals(mOutputFormats, other.mOutputFormats) && in equals() 100 return Objects.hash(Arrays.hashCode(mOutputSizes), Arrays.hashCode(mOutputFormats), in hashCode() 108 "outputSizes: %s, ", Arrays.toString(mOutputSizes))); in toString() 110 "outputFormats: %s, ", Arrays.toString(mOutputFormats))); in toString()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | CreateItemsRequestTest.java | 25 import java.util.Arrays; 36 entriesToRequest.put("org.test.ns", Arrays.asList("xyz", "abc")); in basicRequest() 54 entriesToRequest.put("org.test.ns1", Arrays.asList("foo", "bar")); in multipleNamespaces() 55 entriesToRequest.put("org.test.ns2", Arrays.asList("xyz", "abc")); in multipleNamespaces() 76 entriesToRequest.put("org.test.ns1", Arrays.asList("foo", "bar")); in noDocType()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 30 import java.util.Arrays; 204 return Arrays.toString((boolean[]) value); in getValueString() 206 return Arrays.toString((byte[]) value); in getValueString() 208 return Arrays.toString((char[]) value); in getValueString() 210 return Arrays.toString((double[]) value); in getValueString() 212 return Arrays.toString((float[]) value); in getValueString() 214 return Arrays.toString((int[]) value); in getValueString() 216 return Arrays.toString((long[]) value); in getValueString() 218 return Arrays.toString((short[]) value); in getValueString() 220 return Arrays.toString((Object[]) value); in getValueString()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | TransitionVerifier.java | 30 import java.util.Arrays; 53 expectedTransitions.addAll(Arrays.asList(expectedSubsequentEvents)); in assertLaunchSequence() 59 ? Arrays.asList( in getLaunchSequence() 65 : Arrays.asList( in getLaunchSequence() 142 Arrays.asList(LifecycleConstants.ON_CREATE, LifecycleConstants.ON_START)); in assertLaunchAndStopSequence() 149 Arrays.asList( in assertLaunchAndStopSequence() 154 Arrays.asList(LifecycleConstants.ON_PAUSE, LifecycleConstants.ON_STOP)); in assertLaunchAndStopSequence() 165 Arrays.asList( in assertLaunchAndPauseSequence() 179 Arrays.asList(LifecycleConstants.ON_RESTART, LifecycleConstants.ON_START); in assertRestartSequence() 190 Arrays.asList( in assertRestartAndResumeSequence() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | Settings_ConfigTest.java | 51 import java.util.Arrays; 124 deleteProperties(NAMESPACE1, Arrays.asList(KEY1, KEY2)); in cleanUp() 125 deleteProperties(NAMESPACE2, Arrays.asList(KEY1, KEY2)); in cleanUp() 147 .getStrings(EMPTY_NAMESPACE, Arrays.asList(KEY1)); in testGetStrings_empty() 158 String result = Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_sameNamespace() 170 String result = Settings.Config.getStrings(NAMESPACE2, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_differentNamespace() 181 String result = Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_multipleNamespaces() 184 result = Settings.Config.getStrings(NAMESPACE2, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_multipleNamespaces() 196 String result = Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_overrideValue() 233 assertNull(Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1)); in testSetAndGetStrings_sameNamespace() [all …]
|
/cts/tests/tests/mediacujtest/largetest/src/android/media/cujlargetest/cts/ |
D | CtsMediaLargeFormPlaybackTest.java | 37 import java.util.Arrays; 82 final List<Object[]> exhaustiveArgsList = new ArrayList<>(Arrays.asList(new Object[][]{ in input() 120 List<String> videoInput = Arrays.asList( in prepare_5minAudioList() 131 List<String> videoInput = Arrays.asList( in prepareVP9_640x480_5minVideoList() 142 List<String> videoInput = Arrays.asList( in prepare_30minAudioList() 151 List<String> videoInput = Arrays.asList( in prepareAvc_1080p_30minVideoList() 160 List<String> videoInput = Arrays.asList( in prepareVp9_Local_DASH_3minVideoList() 169 List<String> videoInput = Arrays.asList( in prepareHevc_720p_30secVideoListForSpeedChangeTest()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | AssertHelpers.java | 22 import java.util.Arrays; 64 String leftString = Arrays.toString(left); in assertArrayNotGreater() 65 String rightString = Arrays.toString(right); in assertArrayNotGreater() 88 message, value[i], lowerBound, i, Arrays.toString(value)), in assertArrayWithinLowerBound() 104 message, value[i], upperBound, i, Arrays.toString(value)), in assertArrayWithinUpperBound() 132 assertCollectionContainsAnyOf(message, buildList(actual), Arrays.asList(checkVals)); in assertArrayContains() 144 assertCollectionContainsAnyOf(message, buildList(actual), Arrays.asList(checkVals)); in assertArrayContains() 200 return new ArrayList<T>(Arrays.asList(array)); in buildList()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/ |
D | AppCompatStateStatsTests.java | 44 import java.util.Arrays; 123 Arrays.asList(NOT_LETTERBOXED)); in testResizableActivityDeviceStateClosedToOpened() 130 Arrays.asList(NOT_LETTERBOXED, LETTERBOXED_FOR_SIZE_COMPAT_MODE), in testNonResizablePortraitActivityDeviceStateClosedToOpened() 131 Arrays.asList(LETTERBOXED_FOR_FIXED_ORIENTATION, LETTERBOXED_FOR_SIZE_COMPAT_MODE)); in testNonResizablePortraitActivityDeviceStateClosedToOpened() 138 Arrays.asList(LETTERBOXED_FOR_ASPECT_RATIO, LETTERBOXED_FOR_SIZE_COMPAT_MODE), in testMinAspectRatioPortraitActivityDeviceStateClosedToOpened() 139 Arrays.asList(LETTERBOXED_FOR_FIXED_ORIENTATION, LETTERBOXED_FOR_SIZE_COMPAT_MODE)); in testMinAspectRatioPortraitActivityDeviceStateClosedToOpened() 147 Arrays.asList(NOT_LETTERBOXED, LETTERBOXED_FOR_ASPECT_RATIO), in testResizableActivityThenMinAspectRatioPortraitActivity() 148 Arrays.asList(NOT_LETTERBOXED, LETTERBOXED_FOR_FIXED_ORIENTATION)); in testResizableActivityThenMinAspectRatioPortraitActivity() 156 Arrays.asList(LETTERBOXED_FOR_ASPECT_RATIO, NOT_LETTERBOXED), in testMinAspectRatioPortraitActivityThenResizableActivity() 157 Arrays.asList(LETTERBOXED_FOR_FIXED_ORIENTATION, NOT_LETTERBOXED)); in testMinAspectRatioPortraitActivityThenResizableActivity() [all …]
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WatchUidRunner.java | 35 import java.util.Arrays; 146 + " uid " + mUid + " but next report was " + Arrays.toString(line); in expect() 153 + " uid " + mUid + " but next report was " + Arrays.toString(line); in expect() 158 Log.d(TAG, "Got expected: " + Arrays.toString(line)); in expect() 189 Log.d(TAG, "Waited for: " + Arrays.toString(line)); in waitFor() 195 Log.d(TAG, "Waited for: " + Arrays.toString(line)); in waitFor() 200 Log.d(TAG, "Waited for: " + Arrays.toString(line)); in waitFor() 205 Log.d(TAG, "Waited for: " + Arrays.toString(line)); in waitFor() 212 Log.d(TAG, "Waited for: " + Arrays.toString(line)); in waitFor() 217 + Arrays.toString(line)); in waitFor() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/passpoint/cts/ |
D | HomeSpTest.java | 26 import java.util.Arrays; 41 assertTrue(Arrays.equals(ois, profileOis)); in testAnyOis() 53 assertTrue(Arrays.equals(ois, profileOis)); in testAllOis() 61 final Collection<String> homePartners = Arrays.asList("other-provider1", "other-provider2"); in testOtherHomePartners()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/ |
D | UiccTransactionEventReceiver.java | 27 import java.util.Arrays; 40 if (Arrays.equals(transactionData, transactionData1)) { in onReceive() 42 } else if (Arrays.equals(transactionData, transactionData2)) { in onReceive() 44 } else if (Arrays.equals(transactionData, transactionData3)) { in onReceive()
|
/cts/tests/tests/mediacujtest/smalltest/src/android/media/cujsmalltest/cts/ |
D | CtsMediaShortFormPlaybackTest.java | 45 import java.util.Arrays; 103 final List<Object[]> exhaustiveArgsList = new ArrayList<>(Arrays.asList(new Object[][]{ in input() 171 List<String> videoInput = Arrays.asList( in prepareHevc_720p_15secVideoList() 199 List<String> videoInput = Arrays.asList( in prepareHevc_480p_5secVideoList() 211 List<String> videoInput = Arrays.asList( in prepareAvc_1080p_5secVideoList() 222 List<String> videoInput = Arrays.asList( in prepareAvc_360x640_5secVideoList() 234 List<String> videoInput = Arrays.asList( in prepareHevc_480p_15secVideoListForScrollTest() 244 List<String> videoInput = Arrays.asList( in prepare_Aac_2ch_44khz_Aac_1ch_44khz_5secVideoList() 253 List<String> videoInput = Arrays.asList( in prepare_Srt_Subtitles_Eng_French_5secVideoList() 262 List<String> videoInput = Arrays.asList( in prepare_Ssa_Subtitles_Eng_French_5secVideoList() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecyclePipTests.java | 45 import java.util.Arrays; 103 Arrays.asList(ON_PAUSE, ON_RESUME); in testPipOnLaunch() 105 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipOnLaunch() 107 Arrays.asList(expectedSequence, extraCycleSequence), "activityEnteringPipOnTop"); in testPipOnLaunch() 109 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), "launchAndEnterPip"); in testPipOnLaunch() 136 Arrays.asList(ON_STOP, ON_DESTROY), "finishPip"); in testDestroyPip() 190 Arrays.asList(ON_STOP), "launchIntoPip"); in testIntoPipSameTask() 287 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipAboveSplitScreen() 292 Arrays.asList(ON_PAUSE, ON_RESUME); in testPipAboveSplitScreen() 294 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipAboveSplitScreen() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | TestUtils.java | 22 import java.util.Arrays; 61 return Arrays.equals(mMac, lhs.mMac); in equals() 66 return Arrays.hashCode(mMac); in hashCode()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DisplayStateManager.java | 25 import java.util.Arrays; 64 mUserDisabledHdrTypes = Arrays.copyOf(disabledHdrTypes, disabledHdrTypes.length); in DisplayState() 73 && Arrays.equals(mUserDisabledHdrTypes, that.mUserDisabledHdrTypes); in equals() 79 result = 31 * result + Arrays.hashCode(mUserDisabledHdrTypes); in hashCode()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioProfileTest.java | 26 import java.util.Arrays; 69 Arrays.equals(srcProf.getChannelMasks(), targetProf.getChannelMasks())); in testParcelableWriteToParcelCreate() 71 Arrays.equals(srcProf.getChannelIndexMasks(), targetProf.getChannelIndexMasks())); in testParcelableWriteToParcelCreate() 73 Arrays.equals(srcProf.getSampleRates(), targetProf.getSampleRates())); in testParcelableWriteToParcelCreate()
|