/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | LocaleUtilsTest.java | 27 import java.util.ArrayList; 36 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterByLanguageEmptyLanguageList() 45 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageEmptyLanguageList() 52 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterDoesNotMatchAnything() 61 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterDoesNotMatchAnything() 68 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterByLanguageEmptySource() 72 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageEmptySource() 82 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 84 final ArrayList<Locale> dest = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() 91 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterByLanguageNullAvailableLocales() [all …]
|
D | InputMethodUtilsTest.java | 51 import java.util.ArrayList; 176 final ArrayList<InputMethodInfo> originalList = getSamplePreinstalledImes("en-rUS"); in testParcelable() 257 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 271 final ArrayList<InputMethodSubtype> result = in testGetImplicitlyApplicableSubtypesLocked() 282 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 295 final ArrayList<InputMethodSubtype> result = in testGetImplicitlyApplicableSubtypesLocked() 307 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 319 final ArrayList<InputMethodSubtype> result = in testGetImplicitlyApplicableSubtypesLocked() 332 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() 344 final ArrayList<InputMethodSubtype> result = in testGetImplicitlyApplicableSubtypesLocked() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | QosCallbackTrackerTest.java | 55 import java.util.ArrayList; 113 replaceInstance(NetworkAgent.class, "mPreConnectedQueue", mNetworkAgent, new ArrayList()); in setUp() 145 ArrayList<LinkAddress> localAddresses = new ArrayList<>(); in createIpv4QosFilter() 151 localAddresses, new ArrayList<>(), localPort, null, in createIpv4QosFilter() 166 ArrayList<LinkAddress> localAddresses = new ArrayList<>(); in createIpv4QosFilter() 171 ArrayList<LinkAddress> remoteAddresses = new ArrayList<>(); in createIpv4QosFilter() 189 ArrayList<QosBearerFilter> qosFilters1 = new ArrayList<>(); in testAddFilterBeforeUpdateSessions() 193 ArrayList<QosBearerSession> qosSessions = new ArrayList<>(); in testAddFilterBeforeUpdateSessions() 203 ArrayList<QosBearerFilter> qosFilters2 = new ArrayList<>(); in testAddFilterBeforeUpdateSessions() 219 ArrayList<QosBearerFilter> qosFilters1 = new ArrayList<>(); in testAddFilterAfterUpdateSessions() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | BackgroundRestrictedAlarmsTest.java | 34 import java.util.ArrayList; 40 private SparseArray<ArrayList<Alarm>> addPendingAlarm( in addPendingAlarm() 41 SparseArray<ArrayList<Alarm>> all, int uid, String name, boolean removeIt) { in addPendingAlarm() 42 ArrayList<Alarm> uidAlarms = all.get(uid); in addPendingAlarm() 44 all.put(uid, uidAlarms = new ArrayList<>()); in addPendingAlarm() 52 private static String toString(SparseArray<ArrayList<Alarm>> pendingAlarms) { in toString() 68 private static String toString(ArrayList<Alarm> alarms) { in toString() 83 SparseArray<ArrayList<Alarm>> pending, ArrayList<Alarm> alarmsToDeliver) { in runCheckAllPendingAlarms() 91 SparseArray<ArrayList<Alarm>> pending = new SparseArray<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 93 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | FdnUtilsTest.java | 26 import java.util.ArrayList; 30 private ArrayList<AdnRecord> initializeFdnList() { in initializeFdnList() 31 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in initializeFdnList() 48 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in fdnListIsEmpty_returnsFalse() 54 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnListHasOnlyDefaultRecords_returnsFalse() 61 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnListHasRecordWithEmptyNumberStr_returnsFalse() 70 ArrayList<AdnRecord> fdnList = initializeFdnList(); in dialStrInFdnList_returnsTrue() 79 ArrayList<AdnRecord> fdnList = initializeFdnList(); in dialStrNotInFdnList_returnsFalse() 88 ArrayList<AdnRecord> fdnList = initializeFdnList(); in dialStrIsNull_returnsFalse() 97 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnEntryFirstSubStringOfDialStr_returnsTrue() [all …]
|
D | CarrierRestrictionRulesTest.java | 30 import java.util.ArrayList; 61 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderAllowedAndExcludedCarriers() 65 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderAllowedAndExcludedCarriers() 82 ArrayList<CarrierIdentifier> emptyCarriers = new ArrayList<>(); in testBuilderEmptyLists() 95 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderWildCharacter() 99 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderWildCharacter() 117 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderDefaultAllowed() 121 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderDefaultAllowed() 140 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderAllCarriersAllowed() 141 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderAllCarriersAllowed() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTest.java | 23 import java.util.ArrayList; 34 new ArrayList<String>(), in testEmergencyNumberUnspecified() 85 new ArrayList<String>(), in testEmergencyNumberSpecificService() 126 List<Integer> sourcesToVerify = new ArrayList<Integer>(); in testEmergencyNumberSpecificService() 144 new ArrayList<String>(), in testEmergencyNumberMultipleServices() 176 List<Integer> categoriesToVerify = new ArrayList<Integer>(); in testEmergencyNumberMultipleServices() 195 List<Integer> sourcesToVerify = new ArrayList<Integer>(); in testEmergencyNumberMultipleServices() 212 new ArrayList<String>(), in testEmergencyNumberDisplayPriority() 223 new ArrayList<String>(), in testEmergencyNumberDisplayPriority() 234 new ArrayList<String>(), in testEmergencyNumberDisplayPriority() [all …]
|
/frameworks/base/core/java/android/os/ |
D | HwParcel.java | 31 import java.util.ArrayList; 208 public final void writeBoolVector(ArrayList<Boolean> val) { in writeBoolVector() 222 public final void writeInt8Vector(ArrayList<Byte> val) { in writeInt8Vector() 236 public final void writeInt16Vector(ArrayList<Short> val) { in writeInt16Vector() 250 public final void writeInt32Vector(ArrayList<Integer> val) { in writeInt32Vector() 264 public final void writeInt64Vector(ArrayList<Long> val) { in writeInt64Vector() 278 public final void writeFloatVector(ArrayList<Float> val) { in writeFloatVector() 292 public final void writeDoubleVector(ArrayList<Double> val) { in writeDoubleVector() 306 public final void writeStringVector(ArrayList<String> val) { in writeStringVector() 314 public final void writeNativeHandleVector(@NonNull ArrayList<NativeHandle> val) { in writeNativeHandleVector() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PendingPackageBroadcasts.java | 28 import java.util.ArrayList; 41 final SparseArray<ArrayMap<String, ArrayList<String>>> mUidMap; 49 final ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in hasPackage() 54 public void put(int userId, String packageName, ArrayList<String> components) { in put() 56 ArrayMap<String, ArrayList<String>> packages = getOrAllocate(userId); in put() 64 ArrayList<String> components = getOrAllocate(userId, packageName); in addComponent() 74 ArrayList<String> components = getOrAllocate(userId, packageName); in addComponents() 86 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in remove() 100 public SparseArray<ArrayMap<String, ArrayList<String>>> copiedMap() { in copiedMap() 102 SparseArray<ArrayMap<String, ArrayList<String>>> copy = new SparseArray<>(); in copiedMap() [all …]
|
D | PackageProperty.java | 37 import java.util.ArrayList; 53 private ArrayMap<String, ArrayMap<String, ArrayList<Property>>> mApplicationProperties; 54 private ArrayMap<String, ArrayMap<String, ArrayList<Property>>> mActivityProperties; 55 private ArrayMap<String, ArrayMap<String, ArrayList<Property>>> mProviderProperties; 56 private ArrayMap<String, ArrayMap<String, ArrayList<Property>>> mReceiverProperties; 57 private ArrayMap<String, ArrayMap<String, ArrayList<Property>>> mServiceProperties; 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() 135 ArrayMap<String, ArrayMap<String, ArrayList<Property>>> addComponentProperties( in addComponentProperties() [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | Learner.java | 19 import java.util.ArrayList; 25 private final ArrayList<Instance> mInstances = new ArrayList<Instance>(); 41 ArrayList<Instance> getInstances() { in getInstances() 51 ArrayList<Instance> instances = mInstances; in removeInstance() 68 final ArrayList<Instance> toDelete = new ArrayList<Instance>(); in removeInstances() 69 final ArrayList<Instance> instances = mInstances; in removeInstances() 83 abstract ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector); in classify()
|
D | GestureStore.java | 29 import java.util.ArrayList; 82 private final HashMap<String, ArrayList<Gesture>> mNamedGestures = 83 new HashMap<String, ArrayList<Gesture>>(); 136 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() 152 ArrayList<Gesture> gestures = mNamedGestures.get(entryName); in addGesture() 154 gestures = new ArrayList<Gesture>(); in addGesture() 171 ArrayList<Gesture> gestures = mNamedGestures.get(entryName); in removeGesture() 205 public ArrayList<Gesture> getGestures(String entryName) { in getGestures() 206 ArrayList<Gesture> gestures = mNamedGestures.get(entryName); in getGestures() 208 return new ArrayList<Gesture>(gestures); in getGestures() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | AvailableNetworkInfo.java | 27 import java.util.ArrayList; 83 private ArrayList<String> mMccMncs; 97 private ArrayList<Integer> mBands; 108 private ArrayList<RadioAccessSpecifier> mRadioAccessSpecifiers; 185 mMccMncs = new ArrayList<>(); in AvailableNetworkInfo() 187 mBands = new ArrayList<>(); in AvailableNetworkInfo() 189 mRadioAccessSpecifiers = new ArrayList<>(); in AvailableNetworkInfo() 196 new ArrayList<RadioAccessSpecifier>()); in AvailableNetworkInfo() 205 mMccMncs = new ArrayList<String>(mccMncs); in AvailableNetworkInfo() 206 mBands = new ArrayList<Integer>(bands); in AvailableNetworkInfo() [all …]
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | RampDownAdapterTest.java | 32 import java.util.ArrayList; 50 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrebakedAndPrimitiveSegments_keepsListUnchanged() 54 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); in testPrebakedAndPrimitiveSegments_keepsListUnchanged() 64 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoOffSegment_keepsListUnchanged() 68 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); in testRampAndStepSegments_withNoOffSegment_keepsListUnchanged() 80 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoRampDownDuration_keepsOriginalSteps() 87 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); in testRampAndStepSegments_withNoRampDownDuration_keepsOriginalSteps() 96 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown() 110 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDownWithRemainingOffSegment() 129 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withZeroSegmentBeforeRepeat_fixesRepeat() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 43 import java.util.ArrayList; 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() [all …]
|
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/ |
D | DeviceStateInfoTest.java | 41 import java.util.ArrayList; 77 final ArrayList<DeviceState> supportedStates = new ArrayList<>( in create() 91 final ArrayList<DeviceState> supportedStates = new ArrayList<>( in equals() 104 new ArrayList<>(List.of(DEVICE_STATE_0, DEVICE_STATE_2)), baseState, currentState); in equals() 110 final ArrayList<DeviceState> supportedStates = new ArrayList<>( in diff_sameObject() 121 final DeviceStateInfo info = new DeviceStateInfo(new ArrayList<>(List.of(DEVICE_STATE_1)), in diff_differentSupportedStates() 124 new ArrayList<>(List.of(DEVICE_STATE_2)), DEVICE_STATE_0, DEVICE_STATE_0); in diff_differentSupportedStates() 133 final DeviceStateInfo info = new DeviceStateInfo(new ArrayList<>(List.of(DEVICE_STATE_1)), in diff_differentNonOverrideState() 136 new ArrayList<>(List.of(DEVICE_STATE_1)), DEVICE_STATE_2, DEVICE_STATE_0); in diff_differentNonOverrideState() 145 final DeviceStateInfo info = new DeviceStateInfo(new ArrayList<>(List.of(DEVICE_STATE_1)), in diff_differentState() [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillEventHistory.java | 39 import java.util.ArrayList; 107 mEvents = new ArrayList<>(1); in addEvent() 338 @Nullable private final ArrayList<AutofillId> mChangedFieldIds; 339 @Nullable private final ArrayList<String> mChangedDatasetIds; 341 @Nullable private final ArrayList<AutofillId> mManuallyFilledFieldIds; 342 @Nullable private final ArrayList<ArrayList<String>> mManuallyFilledDatasetIds; 533 final ArrayList<String> datasetIds = mManuallyFilledDatasetIds.get(i); in getManuallyEnteredField() 595 @Nullable ArrayList<AutofillId> changedFieldIds, in Event() 596 @Nullable ArrayList<String> changedDatasetIds, in Event() 597 @Nullable ArrayList<AutofillId> manuallyFilledFieldIds, in Event() [all …]
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Lists.java | 21 import java.util.ArrayList; 40 public static <E> ArrayList<E> newArrayList() { in newArrayList() 41 return new ArrayList<E>(); in newArrayList() 63 public static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList() 65 ArrayList<E> list = new ArrayList<E>(capacity); in newArrayList()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DelayedMessageBuffer.java | 20 import java.util.ArrayList; 29 private final ArrayList<HdmiCecMessage> mBuffer = new ArrayList<>(); 88 ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer); in processAllMessages() 107 ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer); in processMessagesForDevice() 137 ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer); in processActiveSource()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionManager.java | 30 import java.util.ArrayList; 79 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>> 81 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>(); 83 private static ArrayList<ViewGroup> sPendingTransitions = new ArrayList<ViewGroup>(); 220 private static ArrayMap<ViewGroup, ArrayList<Transition>> getRunningTransitions() { in getRunningTransitions() 221 WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>> runningTransitions = in getRunningTransitions() 224 ArrayMap<ViewGroup, ArrayList<Transition>> transitions = runningTransitions.get(); in getRunningTransitions() 229 ArrayMap<ViewGroup, ArrayList<Transition>> transitions = new ArrayMap<>(); in getRunningTransitions() 283 ArrayList<Transition> runningTransitions = getRunningTransitions().get(mSceneRoot); in onViewDetachedFromWindow() 302 final ArrayMap<ViewGroup, ArrayList<Transition>> runningTransitions = in onPreDraw() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DefaultItemAnimator.java | 29 import java.util.ArrayList; 44 private ArrayList<ViewHolder> mPendingRemovals = new ArrayList<>(); 45 private ArrayList<ViewHolder> mPendingAdditions = 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<>(); [all …]
|
/frameworks/base/telephony/common/com/google/android/mms/ |
D | ContentType.java | 23 import java.util.ArrayList; 82 private static final ArrayList<String> sSupportedContentTypes = new ArrayList<String>(); 83 private static final ArrayList<String> sSupportedImageTypes = new ArrayList<String>(); 84 private static final ArrayList<String> sSupportedAudioTypes = new ArrayList<String>(); 85 private static final ArrayList<String> sSupportedVideoTypes = new ArrayList<String>(); 228 public static ArrayList<String> getImageTypes() { in getImageTypes() 229 return (ArrayList<String>) sSupportedImageTypes.clone(); in getImageTypes() 234 public static ArrayList<String> getAudioTypes() { in getAudioTypes() 235 return (ArrayList<String>) sSupportedAudioTypes.clone(); in getAudioTypes() 240 public static ArrayList<String> getVideoTypes() { in getVideoTypes() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | RankingBuilder.java | 29 import java.util.ArrayList; 47 private ArrayList<String> mAdditionalPeople = null; 48 private ArrayList<SnoozeCriterion> mSnoozeCriteria = null; 54 private ArrayList<Notification.Action> mSmartActions = new ArrayList<>(); 55 private ArrayList<CharSequence> mSmartReplies = new ArrayList<>(); 164 public RankingBuilder setAdditionalPeople(ArrayList<String> additionalPeople) { in setAdditionalPeople() 170 ArrayList<SnoozeCriterion> snoozeCriteria) { in setSnoozeCriteria() 245 public RankingBuilder setSmartActions(@NonNull ArrayList<Notification.Action> smartActions) { in setSmartActions() 251 mSmartActions = new ArrayList<>(Arrays.asList(smartActions)); in setSmartActions() 255 public RankingBuilder setSmartReplies(@NonNull ArrayList<CharSequence> smartReplies) { in setSmartReplies() [all …]
|
/frameworks/base/media/java/android/media/ |
D | CallbackUtil.java | 29 import java.util.ArrayList; 66 @NonNull T listener, @Nullable ArrayList<ListenerInfo<T>> listeners) { in getListenerInfo() 86 @Nullable ArrayList<ListenerInfo<T>> listeners) { in hasListener() 98 @Nullable ArrayList<ListenerInfo<T>> listeners) { in removeListener() 126 static <T, S> Pair<ArrayList<ListenerInfo<T>>, S> addListener(String methodName, in addListener() 129 @Nullable ArrayList<ListenerInfo<T>> listeners, in addListener() 142 listeners = new ArrayList<>(); in addListener() 177 static <T, S> Pair<ArrayList<ListenerInfo<T>>, S> removeListener(String methodName, in removeListener() 179 @Nullable ArrayList<ListenerInfo<T>> listeners, in removeListener() 208 @Nullable ArrayList<ListenerInfo<T>> listeners, in callListeners() [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | SubtypeUtils.java | 32 import java.util.ArrayList; 65 private static ArrayList<InputMethodSubtype> sCachedResult; 96 static ArrayList<InputMethodSubtype> getSubtypes(InputMethodInfo imi) { in getSubtypes() 97 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() 126 static ArrayList<InputMethodSubtype> getImplicitlyApplicableSubtypes( in getImplicitlyApplicableSubtypes() 132 return new ArrayList<>(sCachedResult); in getImplicitlyApplicableSubtypes() 139 final ArrayList<InputMethodSubtype> result = in getImplicitlyApplicableSubtypes() 145 sCachedResult = new ArrayList<>(result); in getImplicitlyApplicableSubtypes() 150 private static ArrayList<InputMethodSubtype> getImplicitlyApplicableSubtypesImpl( in getImplicitlyApplicableSubtypesImpl() 154 if (TextUtils.isEmpty(systemLocale)) return new ArrayList<>(); in getImplicitlyApplicableSubtypesImpl() [all …]
|