/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
H A D | LocaleUtilsTest.java | 49 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageEmptyLanguageList() 65 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterDoesNotMatchAnything() 76 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageEmptySource() 88 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 99 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 111 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 124 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 137 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 155 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguage() 170 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguage() [all …]
|
H A D | InputMethodUtilsTest.java | 52 import java.util.ArrayList; 263 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 288 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 313 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 338 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 359 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 382 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 405 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 1032 ArrayList<InputMethodInfo> preinstalledImes = new ArrayList<>(); in getImesWithDefaultVoiceIme() 1049 ArrayList<InputMethodInfo> preinstalledImes = new ArrayList<>(); in getImesWithoutDefaultVoiceIme() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | QosCallbackTrackerTest.java | 159 ArrayList<QosBearerFilter> qosFilters1 = new ArrayList<>(); in testAddFilterBeforeUpdateSessions() 163 ArrayList<QosBearerSession> qosSessions = new ArrayList<>(); in testAddFilterBeforeUpdateSessions() 172 ArrayList<QosBearerFilter> qosFilters2 = new ArrayList<>(); in testAddFilterBeforeUpdateSessions() 189 ArrayList<QosBearerFilter> qosFilters1 = new ArrayList<>(); in testAddFilterAfterUpdateSessions() 193 ArrayList<QosBearerSession> qosSessions = new ArrayList<>(); in testAddFilterAfterUpdateSessions() 197 ArrayList<QosBearerFilter> qosFilters2 = new ArrayList<>(); in testAddFilterAfterUpdateSessions() 223 ArrayList<QosBearerFilter> qosFilters1 = new ArrayList<>(); in testRemoveFilter() 239 ArrayList<QosBearerFilter> qosFilters2 = new ArrayList<>(); in testRemoveFilter() 256 ArrayList<QosBearerFilter> qosFilters1 = new ArrayList<>(); in testSessionLost() 265 ArrayList<QosBearerFilter> qosFilters2 = new ArrayList<>(); in testSessionLost() [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
H A D | BackgroundRestrictedAlarmsTest.java | 34 import java.util.ArrayList; 40 private SparseArray<ArrayList<Alarm>> addPendingAlarm( in addPendingAlarm() 42 ArrayList<Alarm> uidAlarms = all.get(uid); in addPendingAlarm() 44 all.put(uid, uidAlarms = new ArrayList<>()); in addPendingAlarm() 68 private static String toString(ArrayList<Alarm> alarms) { in toString() 83 SparseArray<ArrayList<Alarm>> pending, ArrayList<Alarm> alarmsToDeliver) { in runCheckAllPendingAlarms() 93 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 107 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 121 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_nonremove() 153 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_complex() [all …]
|
/aosp12/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
H A D | ONSNetworkScanCtlrTest.java | 47 import java.util.ArrayList; 90 ArrayList<String> mccMncs = new ArrayList<>(); in testStartFastNetworkScan() 93 new ArrayList<Integer>()); in testStartFastNetworkScan() 94 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartFastNetworkScan() 118 ArrayList<String> mccMncs = new ArrayList<>(); in testStartFastNetworkScanFail() 121 new ArrayList<Integer>()); in testStartFastNetworkScanFail() 122 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartFastNetworkScanFail() 142 ArrayList<String> mccMncs = new ArrayList<>(); in testStartFastNetworkScanWithMultipleNetworks() 146 new ArrayList<Integer>()); in testStartFastNetworkScanWithMultipleNetworks() 147 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartFastNetworkScanWithMultipleNetworks() [all …]
|
H A D | ONSProfileSelectorTest.java | 45 import java.util.ArrayList; 156 ArrayList<String> mccMncs = new ArrayList<>(); in testStartProfileSelectionWithNoOpportunisticSub() 160 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionWithNoOpportunisticSub() 219 ArrayList<String> mccMncs = new ArrayList<>(); in testStartProfileSelectionSuccess() 223 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionSuccess() 301 ArrayList<String> mccMncs = new ArrayList<>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() 305 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() 307 ArrayList<String> mccMncs_2 = new ArrayList<>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() 366 ArrayList<String> mccMncs = new ArrayList<>(); in testStartProfileSelectionWithActivePrimarySimOnESim() 370 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionWithActivePrimarySimOnESim() [all …]
|
H A D | OpportunisticNetworkServiceTest.java | 46 import java.util.ArrayList; 113 ArrayList<String> mccMncs = new ArrayList<>(); in testHandleSimStateChange() 116 new ArrayList<Integer>()); in testHandleSimStateChange() 130 ArrayList<SubscriptionInfo> subscriptionInfos = new ArrayList<SubscriptionInfo>(); in testHandleSimStateChange() 154 ArrayList<String> mccMncs = new ArrayList<>(); in testSystemPreferredDataWhileCarrierAppIsActive() 157 new ArrayList<Integer>()); in testSystemPreferredDataWhileCarrierAppIsActive() 171 ArrayList<SubscriptionInfo> subscriptionInfos = new ArrayList<SubscriptionInfo>(); in testSystemPreferredDataWhileCarrierAppIsActive() 245 ArrayList<String> mccMncs = new ArrayList<>(); in testUpdateAvailableNetworksWithInvalidArguments() 249 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testUpdateAvailableNetworksWithInvalidArguments() 272 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testUpdateAvailableNetworksWithSuccess() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
H A D | EmergencyNumberTest.java | 23 import java.util.ArrayList; 34 new ArrayList<String>(), in testEmergencyNumberUnspecified() 85 new ArrayList<String>(), in testEmergencyNumberSpecificService() 144 new ArrayList<String>(), in testEmergencyNumberMultipleServices() 212 new ArrayList<String>(), in testEmergencyNumberDisplayPriority() 223 new ArrayList<String>(), in testEmergencyNumberDisplayPriority() 234 new ArrayList<String>(), in testEmergencyNumberDisplayPriority() 251 new ArrayList<String>(), 260 new ArrayList<String>(), 274 new ArrayList<String>(), [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | HwParcel.java | 31 import java.util.ArrayList; 494 public final ArrayList<Boolean> readBoolVector() { in readBoolVector() 505 public final ArrayList<Byte> readInt8Vector() { in readInt8Vector() 508 return new ArrayList<Byte>(Arrays.asList(array)); in readInt8Vector() 516 public final ArrayList<Short> readInt16Vector() { in readInt16Vector() 527 public final ArrayList<Integer> readInt32Vector() { in readInt32Vector() 538 public final ArrayList<Long> readInt64Vector() { in readInt64Vector() 541 return new ArrayList<Long>(Arrays.asList(array)); in readInt64Vector() 549 public final ArrayList<Float> readFloatVector() { in readFloatVector() 560 public final ArrayList<Double> readDoubleVector() { in readDoubleVector() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CarrierRestrictionRulesTest.java | 56 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderAllowedAndExcludedCarriers() 60 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderAllowedAndExcludedCarriers() 77 ArrayList<CarrierIdentifier> emptyCarriers = new ArrayList<>(); in testBuilderEmptyLists() 90 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderWildCharacter() 94 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderWildCharacter() 112 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderDefaultAllowed() 197 ArrayList<CarrierIdentifier> list = new ArrayList<>(); in testTestCarrierId_allCarriersAllowed() 235 ArrayList<CarrierIdentifier> list = new ArrayList<>(); in testTestCarrierId_defaultNotAllowed() 275 ArrayList<CarrierIdentifier> list = new ArrayList<>(); in testTestCarrierId_defaultAllowed() 306 ArrayList<CarrierIdentifier> list = new ArrayList<>(); in testTestCarrierId_OneValidCardMustBePresentPolicy_CardPresent() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/ |
H A D | AvailableNetworkInfo.java | 24 import java.util.ArrayList; 73 private ArrayList<String> mMccMncs; 88 private ArrayList<Integer> mBands; 181 mMccMncs = new ArrayList<>(); in AvailableNetworkInfo() 183 mBands = new ArrayList<>(); in AvailableNetworkInfo() 185 mRadioAccessSpecifiers = new ArrayList<>(); in AvailableNetworkInfo() 201 mMccMncs = new ArrayList<String>(mccMncs); in AvailableNetworkInfo() 202 mBands = new ArrayList<Integer>(bands); in AvailableNetworkInfo() 275 private ArrayList<String> mMccMncs = new ArrayList<>(); 276 private ArrayList<Integer> mBands = new ArrayList<>(); [all …]
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | TagClustering.java | 23 import java.util.ArrayList; 31 private ArrayList<ArrayList<Path>> mClusters; 41 final TreeMap<String, ArrayList<Path>> map = in run() 42 new TreeMap<String, ArrayList<Path>>(); in run() 43 final ArrayList<Path> untagged = new ArrayList<Path>(); in run() 57 ArrayList<Path> list = map.get(key); in run() 59 list = new ArrayList<Path>(); in run() 68 mClusters = new ArrayList<ArrayList<Path>>(); in run() 71 for (Map.Entry<String, ArrayList<Path>> entry : map.entrySet()) { in run() 87 public ArrayList<Path> getCluster(int index) { in getCluster()
|
H A D | ClusterAlbum.java | 19 import java.util.ArrayList; 24 private ArrayList<Path> mPaths = new ArrayList<Path>(); 47 void setMediaItems(ArrayList<Path> paths) { in setMediaItems() 51 ArrayList<Path> getMediaItems() { in getMediaItems() 70 public ArrayList<MediaItem> getMediaItem(int start, int count) { in getMediaItem() 74 public static ArrayList<MediaItem> getMediaItemFromPath( in getMediaItemFromPath() 75 ArrayList<Path> paths, int start, int count, in getMediaItemFromPath() 78 return new ArrayList<MediaItem>(); in getMediaItemFromPath() 81 ArrayList<Path> subset = new ArrayList<Path>(paths.subList(start, end)); in getMediaItemFromPath() 90 ArrayList<MediaItem> result = new ArrayList<MediaItem>(end - start); in getMediaItemFromPath()
|
H A D | LocationClustering.java | 28 import java.util.ArrayList; 41 private ArrayList<ArrayList<SmallItem>> mClusters; 42 private ArrayList<String> mNames; 85 final ArrayList<SmallItem> withLatLong = new ArrayList<SmallItem>(); in run() 86 final ArrayList<SmallItem> withoutLatLong = new ArrayList<SmallItem>(); in run() 87 final ArrayList<Point> points = new ArrayList<Point>(); in run() 99 ArrayList<ArrayList<SmallItem>> clusters = new ArrayList<ArrayList<SmallItem>>(); in run() 119 mNames = new ArrayList<String>(); in run() 121 mClusters = new ArrayList<ArrayList<SmallItem>>(); in run() 187 public ArrayList<Path> getCluster(int index) { in getCluster() [all …]
|
H A D | SecureAlbum.java | 30 import java.util.ArrayList; 42 private ArrayList<Path> mAllItems = new ArrayList<Path>(); 44 private ArrayList<Boolean> mAllItemTypes = new ArrayList<Boolean>(); 45 private ArrayList<Path> mExistingItems = new ArrayList<Path>(); 87 public ArrayList<MediaItem> getMediaItem(int start, int count) { in getMediaItem() 90 return new ArrayList<MediaItem>(); in getMediaItem() 95 ArrayList<Path> subset = new ArrayList<Path>(mExistingItems.subList(start, end)); in getMediaItem() 106 ArrayList<MediaItem> result = new ArrayList<MediaItem>(end - start); in getMediaItem() 134 ArrayList<Integer> ids = new ArrayList<Integer>(); in queryExistingIds() 169 ArrayList<Integer> imageIds = queryExistingIds( in updateExistingItems() [all …]
|
/aosp12/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
H A D | HidlTestJava.java | 818 ArrayList<byte[]> in = new ArrayList<byte[]>(); in client() 972 ArrayList<Byte> bytes = new ArrayList<Byte>(); in client() 1048 ArrayList<Integer> data4K = new ArrayList<>(1024); in client() 1101 ArrayList<byte[]> in = new ArrayList<byte[]>(); in client() 1120 ArrayList<byte[]> in = new ArrayList<byte[]>(); in client() 1146 ArrayList<boolean[]> in = new ArrayList<boolean[]>(); in client() 1164 ArrayList<double[]> in = new ArrayList<double[]>(); in client() 1314 ArrayList<byte[]> out = new ArrayList<byte[]>(); in someMethodTakingAVectorOfArray() 1370 ArrayList<Boolean> out = new ArrayList<Boolean>(); in someBoolVectorMethod() 1414 ArrayList<Integer> out = new ArrayList<Integer>(); in mapThisVector() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/content/om/ |
H A D | OverlayConfig.java | 35 import java.util.ArrayList; 106 final ArrayList<OverlayPartition> partitions; in OverlayConfig() 108 partitions = new ArrayList<>( in OverlayConfig() 121 final ArrayList<ParsedConfiguration> overlays = new ArrayList<>(); in OverlayConfig() 155 final ArrayList<ParsedConfiguration> partitionConfigs = new ArrayList<>(); in OverlayConfig() 282 private ArrayList<Configuration> getSortedOverlays() { in getSortedOverlays() 283 final ArrayList<Configuration> sortedOverlays = new ArrayList<>(); in getSortedOverlays() 294 final ArrayList<ParsedOverlayInfo> overlays = new ArrayList<>(); in getOverlayPackageInfos() 310 public final ArrayList<String> overlayPaths = new ArrayList<>(); 331 final ArrayList<IdmapInvocation> idmapInvocations = new ArrayList<>(); in getImmutableFrameworkOverlayIdmapInvocations() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageProperty.java | 37 import java.util.ArrayList; 79 final ArrayMap<String, ArrayMap<String, ArrayList<Property>>> propertyMap; in queryProperty() 96 final ArrayMap<String, ArrayList<Property>> packagePropertyMap = in queryProperty() 104 final List<Property> result = new ArrayList<>(mapSize); in queryProperty() 138 ArrayMap<String, ArrayMap<String, ArrayList<Property>>> returnCollection = in addComponentProperties() 170 ArrayList<Property> packageProperties = propertyMap.get(packageName); in addProperties() 172 packageProperties = new ArrayList<>(properties.size()); in addProperties() 210 ArrayMap<String, ArrayList<Property>> propertyMap = in removeProperties() 216 ArrayList<Property> packageProperties = propertyMap.get(packageName); in removeProperties() 239 final ArrayMap<String, ArrayList<Property>> packagePropertyMap = in getProperty() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
H A D | BackupUtilsTest.java | 69 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_targetIsNull_returnsFalse() 84 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_systemApplication_returnsTrue() 124 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse() 141 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse() 158 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_disallowsUnsignedApps_targetSignatureNull_returnsFalse() 188 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_disallowsUnsignedApps_bothSignaturesEmpty_returnsFalse() 207 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_equalSignatures_returnsTrue() 229 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_extraSignatureInTarget_returnsTrue() 250 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_extraSignatureInStored_returnsFalse() 272 ArrayList<byte[]> storedSigHashes = new ArrayList<>(); in signaturesMatch_oneNonMatchingSignature_returnsFalse() [all …]
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | NetworkRanker.java | 42 import java.util.ArrayList; 131 @NonNull ArrayList<T> rejected) { in applyYieldToBadWifiPolicy() 144 final ArrayList<T> acceptedYielders = new ArrayList<>(accepted); in applyYieldToBadWifiPolicy() 145 final ArrayList<T> rejectedWithBadWiFis = new ArrayList<>(rejected); in applyYieldToBadWifiPolicy() 151 final ArrayList<T> acceptedWithYielders = new ArrayList<>(accepted); in applyYieldToBadWifiPolicy() 166 final ArrayList<T> accepted = in getBestNetworkByPolicy() 167 new ArrayList<>(candidates.size() /* initialCapacity */); in getBestNetworkByPolicy() 168 final ArrayList<T> rejected = in getBestNetworkByPolicy() 253 candidates = new ArrayList<>(accepted); in getBestNetworkByPolicy() 267 candidates = new ArrayList<>(accepted); in getBestNetworkByPolicy() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | BaseLoaderResults.java | 42 import java.util.ArrayList; 80 ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); in bindWorkspace() 81 ArrayList<LauncherAppWidgetInfo> appWidgets = new ArrayList<>(); in bindWorkspace() 83 ArrayList<FixedContainerItems> extraItems = new ArrayList<>(); in bindWorkspace() 143 private final ArrayList<ItemInfo> mWorkspaceItems; 153 ArrayList<ItemInfo> workspaceItems, in WorkspaceBinder() 155 ArrayList<FixedContainerItems> extraItems, in WorkspaceBinder() 172 ArrayList<ItemInfo> currentWorkspaceItems = new ArrayList<>(); in bind() 173 ArrayList<ItemInfo> otherWorkspaceItems = new ArrayList<>(); in bind() 174 ArrayList<LauncherAppWidgetInfo> currentAppWidgets = new ArrayList<>(); in bind() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | RampDownAdapterTest.java | 33 import java.util.ArrayList; 58 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrebakedAndPrimitiveSegments_keepsListUnchanged() 62 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); 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() 121 List<VibrationEffectSegment> segments = new ArrayList<>(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() 173 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withRepeatToLongZeroSegment_splitAndAppendRampDown() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | ArrayUtilsTest.java | 23 import java.util.ArrayList; 42 ArrayList<Object> collection = null; in testUnstableRemoveIf() 45 collection = new ArrayList<>(); in testUnstableRemoveIf() 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() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DefaultItemAnimator.java | 44 private ArrayList<ViewHolder> mPendingRemovals = new ArrayList<>(); 46 private ArrayList<MoveInfo> mPendingMoves = new ArrayList<>(); 47 private ArrayList<ChangeInfo> mPendingChanges = new ArrayList<>(); 49 ArrayList<ArrayList<ViewHolder>> mAdditionsList = new ArrayList<>(); 50 ArrayList<ArrayList<MoveInfo>> mMovesList = new ArrayList<>(); 51 ArrayList<ArrayList<ChangeInfo>> mChangesList = new ArrayList<>(); 53 ArrayList<ViewHolder> mAddAnimations = new ArrayList<>(); 54 ArrayList<ViewHolder> mMoveAnimations = new ArrayList<>(); 55 ArrayList<ViewHolder> mRemoveAnimations = new ArrayList<>(); 56 ArrayList<ViewHolder> mChangeAnimations = new ArrayList<>(); [all …]
|
/aosp12/art/test/902-hello-transformation/src/art/ |
H A D | Redefinition.java | 19 import java.util.ArrayList; 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 67 ArrayList<byte[]> class_files = new ArrayList<>(); in doMultiClassRedefinition() 68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() 102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition()
|