Home
last modified time | relevance | path

Searched refs:Collection (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/frameworks/base/media/mca/filterfw/native/base/
Dutilities.h61 template <class Collection>
62 const typename Collection::value_type::second_type*
63 FindOrNull(const Collection& collection, in FindOrNull()
64 const typename Collection::value_type::first_type& key) { in FindOrNull()
65 typename Collection::const_iterator it = collection.find(key); in FindOrNull()
115 template <class Collection>
116 const typename Collection::value_type::second_type
117 FindPtrOrNull(const Collection& collection, in FindPtrOrNull()
118 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
119 typename Collection::const_iterator it = collection.find(key); in FindPtrOrNull()
[all …]
/frameworks/base/media/mca/filterpacks/native/base/
Dutilities.h73 template <class Collection>
74 const typename Collection::value_type::second_type*
75 FindOrNull(const Collection& collection, in FindOrNull()
76 const typename Collection::value_type::first_type& key) { in FindOrNull()
77 typename Collection::const_iterator it = collection.find(key); in FindOrNull()
127 template <class Collection>
128 const typename Collection::value_type::second_type
129 FindPtrOrNull(const Collection& collection, in FindPtrOrNull()
130 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
131 typename Collection::const_iterator it = collection.find(key); in FindPtrOrNull()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DCollection.h43 class Collection : public std::map<Key, Element<Key> *>
52 Collection() in Collection() function
56 ~Collection() in ~Collection()
148 struct Collection<audio_stream_type_t>::collectionSupported {};
150 struct Collection<std::string>::collectionSupported {};
152 struct Collection<audio_source_t>::collectionSupported {};
154 typedef Collection<audio_stream_type_t> StreamCollection;
155 typedef Collection<audio_source_t> InputSourceCollection;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DAbstractCollection.java19 import java.util.Collection;
22 abstract class AbstractCollection<T> implements Collection<T> {
60 public boolean containsAll(Collection<?> collection) { in containsAll()
65 public boolean addAll(Collection<? extends T> collection) { in addAll()
70 public boolean removeAll(Collection<?> collection) { in removeAll()
75 public boolean retainAll(Collection<?> collection) { in retainAll()
DTrackedCollections.java23 import java.util.Collection;
36 private final WeakIdentityHashMap<Collection<?>, CollectionState> mCollections
46 public synchronized void track(Collection<?> collection, String tag) { in track()
100 public synchronized void dump(PrintWriter pw, Predicate<Collection<?>> filter) { in dump()
101 for (Map.Entry<WeakReference<Collection<?>>, CollectionState> entry in dump()
103 Collection<?> key = entry.getKey().get(); in dump()
/frameworks/av/media/libmediahelper/
DTypeConverter.cpp76 SampleRateTraits::Collection samplingRatesFromString( in samplingRatesFromString()
79 SampleRateTraits::Collection samplingRateCollection; in samplingRatesFromString()
84 FormatTraits::Collection formatsFromString( in formatsFromString()
87 FormatTraits::Collection formatCollection; in formatsFromString()
111 ChannelTraits::Collection channelMasksFromString( in channelMasksFromString()
114 ChannelTraits::Collection channelMaskCollection; in channelMasksFromString()
121 InputChannelTraits::Collection inputChannelMasksFromString( in inputChannelMasksFromString()
124 InputChannelTraits::Collection inputChannelMaskCollection; in inputChannelMasksFromString()
130 OutputChannelTraits::Collection outputChannelMasksFromString( in outputChannelMasksFromString()
133 OutputChannelTraits::Collection outputChannelMaskCollection; in outputChannelMasksFromString()
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java22 import java.util.Collection;
46 Collection<AccessControlProfile> getAccessControlProfiles() { in getAccessControlProfiles()
50 Collection<String> getNamespaces() { in getNamespaces()
71 Collection<String> getEntryNames() { in getEntryNames()
75 Collection<AccessControlProfileId> getAccessControlProfileIds(String name) { in getAccessControlProfileIds()
94 Collection<AccessControlProfileId> mAccessControlProfileIds;
96 EntryData(byte[] value, Collection<AccessControlProfileId> accessControlProfileIds) { in EntryData()
125 @NonNull Collection<AccessControlProfileId> accessControlProfileIds, in putEntry()
DCredentialDataRequest.java22 import java.util.Collection;
37 public @NonNull Map<String, Collection<String>> getDeviceSignedEntriesToRequest() { in getDeviceSignedEntriesToRequest()
46 public @NonNull Map<String, Collection<String>> getIssuerSignedEntriesToRequest() { in getIssuerSignedEntriesToRequest()
109 Map<String, Collection<String>> mDeviceSignedEntriesToRequest = new LinkedHashMap<>();
110 Map<String, Collection<String>> mIssuerSignedEntriesToRequest = new LinkedHashMap<>();
136 @NonNull Map<String, Collection<String>> entriesToRequest) { in setDeviceSignedEntriesToRequest()
148 @NonNull Map<String, Collection<String>> entriesToRequest) { in setIssuerSignedEntriesToRequest()
DCredstoreCredentialDataResult.java22 import java.util.Collection;
77 public @NonNull Collection<String> getNamespaces() { in getNamespaces()
82 public @NonNull Collection<String> getEntryNames(@NonNull String namespaceName) { in getEntryNames()
83 Collection<String> ret = mResultData.getEntryNames(namespaceName); in getEntryNames()
91 public @NonNull Collection<String> getRetrievedEntryNames(@NonNull String namespaceName) { in getRetrievedEntryNames()
92 Collection<String> ret = mResultData.getRetrievedEntryNames(namespaceName); in getRetrievedEntryNames()
DCredentialDataResult.java26 import java.util.Collection;
189 @NonNull Collection<String> getNamespaces(); in getNamespaces()
200 @NonNull Collection<String> getEntryNames(@NonNull String namespaceName); in getEntryNames()
212 @NonNull Collection<String> getRetrievedEntryNames(@NonNull String namespaceName); in getRetrievedEntryNames()
DResultData.java26 import java.util.Collection;
156 public abstract @NonNull Collection<String> getNamespaces(); in getNamespaces()
167 public abstract @Nullable Collection<String> getEntryNames(@NonNull String namespaceName); in getEntryNames()
179 public abstract @Nullable Collection<String> getRetrievedEntryNames( in getRetrievedEntryNames()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationCollectionViewModel.java23 import java.util.Collection;
33 private final LiveData<Collection<ComplicationViewModel>> mComplications;
49 private Collection<ComplicationViewModel> convert(Collection<Complication> complications) { in convert()
60 public LiveData<Collection<ComplicationViewModel>> getComplications() { in getComplications()
/frameworks/base/core/java/android/util/
DMapCollections.java22 import java.util.Collection;
177 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
204 public boolean containsAll(Collection<?> collection) { in containsAll()
230 public boolean removeAll(Collection<?> collection) { in removeAll()
235 public boolean retainAll(Collection<?> collection) { in retainAll()
280 public boolean addAll(Collection<? extends K> collection) { in addAll()
295 public boolean containsAll(Collection<?> collection) { in containsAll()
320 public boolean removeAll(Collection<?> collection) { in removeAll()
325 public boolean retainAll(Collection<?> collection) { in retainAll()
360 final class ValuesCollection implements Collection<V> {
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/flicker/
DDesktopModeFlickerScenarios.kt48 transitions: Collection<Transition> in findAll()
49 ): Collection<Transition> { in findAll()
76 transitions: Collection<Transition> in findAll()
77 ): Collection<Transition> { in findAll()
100 transitions: Collection<Transition> in findAll()
101 ): Collection<Transition> { in findAll()
128 transitions: Collection<Transition> in findAll()
129 ): Collection<Transition> { in findAll()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java23 import java.util.Collection;
50 public boolean updateWithRfc822Address(Collection<CharSequence> texts){ in updateWithRfc822Address()
54 public boolean updateWithAddress(Collection<String> addresses) { in updateWithAddress()
58 public boolean updateWithPhoneNumber(Collection<String> numbers) { in updateWithPhoneNumber()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java19 import java.util.Collection;
142 public static <T> Collection<T> checkCollectionElementsNotNull(final Collection<T> value, in checkCollectionElementsNotNull()
171 public static <T> Collection<T> checkCollectionNotEmpty(final Collection<T> value, in checkCollectionNotEmpty()
DInMatcher.java24 import java.util.Collection;
36 protected Collection<T> mValues;
38 public InMatcher(Collection<T> values) { in InMatcher()
71 public static <T> Matcher<T> in(Collection<T> operand) { in in()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardProperty.java22 import java.util.Collection;
65 private Map<String, Collection<String>> mParameterMap =
66 new HashMap<String, Collection<String>>();
93 Collection<String> values; in addParameter()
150 public Map<String, Collection<String>> getParameterMap() { in getParameterMap()
154 public Collection<String> getParameters(String type) { in getParameters()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationHostViewControllerTest.java49 import java.util.Collection;
63 LiveData<Collection<ComplicationViewModel>> mComplicationViewModelLiveData;
93 private ArgumentCaptor<Observer<Collection<ComplicationViewModel>>> mObserverCaptor;
136 final Observer<Collection<ComplicationViewModel>> observer = in testViewModelObservation()
155 final Observer<Collection<ComplicationViewModel>> observer = in testMalformedComplicationAddition()
170 final Observer<Collection<ComplicationViewModel>> observer = in testNewComplicationsBeforeEntryAnimationsFinishSetToInvisible()
184 final Observer<Collection<ComplicationViewModel>> observer = in testNewComplicationsAfterEntryAnimationsFinishNotSetToInvisible()
204 final Observer<Collection<ComplicationViewModel>> observer = in testAnimationsDisabled_ComplicationsNeverSetToInvisible()
216 private Observer<Collection<ComplicationViewModel>> captureComplicationViewModelsObserver() { in captureComplicationViewModelsObserver()
DComplicationCollectionLiveDataTest.java47 import java.util.Collection;
100 private void assertObserverCalledWith(Collection<Complication> targetCollection) { in assertObserverCalledWith()
101 ArgumentCaptor<Collection<Complication>> collectionCaptor = in assertObserverCalledWith()
102 ArgumentCaptor.forClass(Collection.class); in assertObserverCalledWith()
106 final Collection<Complication> collection = collectionCaptor.getValue(); in assertObserverCalledWith()
114 Collection<Complication> complications) { in addComplication()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundActivityStartCallback.java21 import java.util.Collection;
37 boolean isActivityStartAllowed(Collection<IBinder> tokens, int uid, String packageName); in isActivityStartAllowed()
47 boolean canCloseSystemDialogs(Collection<IBinder> tokens, int uid); in canCloseSystemDialogs()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DEvaluator.kt70 fun evaluate(conditions: Collection<Condition>, @ConditionOperand operand: Int): Boolean? { in <lambda>()
73 val values: Collection<Boolean?> = in <lambda>()
93 internal fun evaluate(values: Collection<Boolean?>, @ConditionOperand operand: Int): Boolean? { in <lambda>()
109 values: Collection<Boolean?>, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DFakeSettingsTest.java43 import java.util.Collection;
90 verify(mContentObserver).dispatchChange(anyBoolean(), any(Collection.class), anyInt(), in testRegisterContentObserver()
101 verify(mContentObserver).dispatchChange(anyBoolean(), any(Collection.class), anyInt(), in testRegisterContentObserverAllUsers()
113 anyBoolean(), any(Collection.class), anyInt()); in testUnregisterContentObserver()
125 anyBoolean(), any(Collection.class), anyInt(), anyInt()); in testUnregisterContentObserverAllUsers()
136 verify(mContentObserver).dispatchChange(anyBoolean(), any(Collection.class), anyInt(), in testContentObserverDispatchCorrectUser()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSignalStrengthUpdateRequestTest.java34 import java.util.Collection;
92 Collection<SignalThresholdInfo> infos = List.of(mRssiInfoOnGERAN, mRscpInfoOnUTRAN); in testPublicConstructorWithValidParam()
103 Collection<SignalThresholdInfo> infos = List.of(mRssiInfoOnGERAN, mRscpInfoOnUTRAN); in testParcel()
119 Collection<SignalThresholdInfo> infos1 = List.of(mRssiInfoOnGERAN, mRssiInfoOnCDMA2000); in testEquals()
126 Collection<SignalThresholdInfo> infos2 = List.of(mRssiInfoOnCDMA2000, mRssiInfoOnGERAN); in testEquals()
147 Collection<SignalThresholdInfo> infos = List.of(mRsrpInfoOnEUTRAN, mRsrqInfoEUTRAN); in testMultipleSignalMeasurementTypeOnSameRan()
159 Collection<SignalThresholdInfo> infos = List.of(mRssiInfoOnGERAN, mRssiInfoOnCDMA2000); in testSameSignalMeasurementTypeOnDifferentRan()
189 private void validateBuilderWithInvalidParam(Collection<SignalThresholdInfo> infos) { in validateBuilderWithInvalidParam()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java44 import java.util.Collection;
481 public static EntityConfig createWithHints(@Nullable Collection<String> hints) { in createWithHints()
501 public static EntityConfig create(@Nullable Collection<String> hints, in create()
502 @Nullable Collection<String> includedEntityTypes, in create()
503 @Nullable Collection<String> excludedEntityTypes) { in create()
521 @Nullable Collection<String> entityTypes) { in createWithExplicitEntityList()
536 public Collection<String> resolveEntityListModifications( in resolveEntityListModifications()
537 @NonNull Collection<String> entityTypes) { in resolveEntityListModifications()
552 public Collection<String> getHints() { in getHints()
592 private Collection<String> mIncludedTypes;
[all …]

12345678910>>...24