Home
last modified time | relevance | path

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

12345678910>>...13

/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/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/libs/net/common/framework/android/net/util/
DLinkPropertiesUtils.java28 import java.util.Collection;
49 public CompareResult(@Nullable Collection<T> oldItems, @Nullable Collection<T> newItems) { in CompareResult()
91 public CompareOrUpdateResult(Collection<T> oldItems, Collection<T> newItems, in CompareOrUpdateResult()
158 final Collection<InetAddress> leftAddresses = left.getAddresses(); in isIdenticalAddresses()
159 final Collection<InetAddress> rightAddresses = right.getAddresses(); in isIdenticalAddresses()
173 final Collection<InetAddress> leftDnses = left.getDnsServers(); in isIdenticalDnses()
174 final Collection<InetAddress> rightDnses = right.getDnsServers(); in isIdenticalDnses()
220 final Collection<RouteInfo> leftRoutes = left.getRoutes(); in isIdenticalRoutes()
221 final Collection<RouteInfo> rightRoutes = right.getRoutes(); in isIdenticalRoutes()
/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;
34 private final WeakIdentityHashMap<Collection<?>, CollectionState> mCollections
40 public synchronized void track(Collection<?> collection, String tag) { in track()
94 public synchronized void dump(PrintWriter pw, Predicate<Collection<?>> filter) { in dump()
95 for (Map.Entry<WeakReference<Collection<?>>, CollectionState> entry in dump()
97 Collection<?> key = entry.getKey().get(); in dump()
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java21 import java.util.Collection;
45 Collection<AccessControlProfile> getAccessControlProfiles() { in getAccessControlProfiles()
49 Collection<String> getNamespaces() { in getNamespaces()
70 Collection<String> getEntryNames() { in getEntryNames()
74 Collection<AccessControlProfileId> getAccessControlProfileIds(String name) { in getAccessControlProfileIds()
93 Collection<AccessControlProfileId> mAccessControlProfileIds;
95 EntryData(byte[] value, Collection<AccessControlProfileId> accessControlProfileIds) { in EntryData()
124 @NonNull Collection<AccessControlProfileId> accessControlProfileIds, in putEntry()
DCredstoreWritableIdentityCredential.java28 import java.util.Collection;
51 public Collection<X509Certificate> getCredentialKeyCertificateChain(@NonNull byte[] challenge) { in getCredentialKeyCertificateChain()
56 Collection<? extends Certificate> certs = null; in getCredentialKeyCertificateChain()
80 Collection<AccessControlProfile> accessControlProfiles = in personalize()
108 Collection<String> namespaces = personalizationData.getNamespaces(); in personalize()
119 Collection<String> entryNames = nsd.getEntryNames(); in personalize()
126 Collection<AccessControlProfileId> acpIds = in personalize()
DResultData.java26 import java.util.Collection;
149 public abstract @NonNull Collection<String> getNamespaces(); in getNamespaces()
160 public abstract @Nullable Collection<String> getEntryNames(@NonNull String namespaceName); in getEntryNames()
172 public abstract @Nullable Collection<String> getRetrievedEntryNames( in getRetrievedEntryNames()
DIdentityCredential.java26 import java.util.Collection;
102 public @NonNull abstract Collection<X509Certificate> getCredentialKeyCertificateChain(); in getCredentialKeyCertificateChain()
255 @NonNull Map<String, Collection<String>> entriesToRequest, in getEntries()
296 public @NonNull abstract Collection<X509Certificate> getAuthKeysNeedingCertification(); in getAuthKeysNeedingCertification()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DCollection.h43 class Collection : public std::map<Key, Element<Key> *>
52 Collection() in Collection() function
144 struct Collection<audio_stream_type_t>::collectionSupported {};
146 struct Collection<std::string>::collectionSupported {};
148 struct Collection<audio_source_t>::collectionSupported {};
150 typedef Collection<audio_stream_type_t> StreamCollection;
151 typedef Collection<audio_source_t> InputSourceCollection;
/frameworks/base/core/java/android/util/
DMapCollections.java20 import java.util.Collection;
174 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
201 public boolean containsAll(Collection<?> collection) { in containsAll()
227 public boolean removeAll(Collection<?> collection) { in removeAll()
232 public boolean retainAll(Collection<?> collection) { in retainAll()
277 public boolean addAll(Collection<? extends K> collection) { in addAll()
292 public boolean containsAll(Collection<?> collection) { in containsAll()
317 public boolean removeAll(Collection<?> collection) { in removeAll()
322 public boolean retainAll(Collection<?> collection) { in retainAll()
357 final class ValuesCollection implements Collection<V> {
[all …]
/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/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/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/base/core/java/android/view/textclassifier/
DTextClassifier.java44 import java.util.Collection;
463 public static EntityConfig createWithHints(@Nullable Collection<String> hints) { in createWithHints()
483 public static EntityConfig create(@Nullable Collection<String> hints, in create()
484 @Nullable Collection<String> includedEntityTypes, in create()
485 @Nullable Collection<String> excludedEntityTypes) { in create()
503 @Nullable Collection<String> entityTypes) { in createWithExplicitEntityList()
518 public Collection<String> resolveEntityListModifications( in resolveEntityListModifications()
519 @NonNull Collection<String> entityTypes) { in resolveEntityListModifications()
534 public Collection<String> getHints() { in getHints()
574 private Collection<String> mIncludedTypes;
[all …]
/frameworks/av/media/libmediahelper/include/media/
DTypeConverter.h39 typedef std::vector<Type> Collection; typedef
40 static void add(Collection &collection, Type value) in add()
49 typedef SortedVector<Type> Collection; typedef
50 static void add(Collection &collection, Type value) in add()
59 typedef std::set<Type> Collection; typedef
60 static void add(Collection &collection, Type value) in add()
86 static void collectionFromString(const std::string &str, typename Traits::Collection &collection,
108 typename Traits::Collection &collection,
156 typename Traits::Collection &collection, in collectionFromString()
237 SampleRateTraits::Collection samplingRatesFromString(
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHolder.java23 import java.util.Collection;
45 private final Collection<Long> mJpegSurfaceIds;
61 private final Collection<Long> mJpegSurfaceIds;
73 boolean repeating, Collection<Long> jpegSurfaceIds) { in Builder()
162 int numPreviewTargets, Collection<Long> jpegSurfaceIds) { in RequestHolder()
211 public Collection<Surface> getHolderTargets() { in getHolderTargets()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java23 import java.util.Collection;
79 public Collection<WifiP2pGroup> getGroupList() { in getGroupList()
137 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
162 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
200 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in contains()
212 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in toString()
226 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in writeToParcel()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java30 import java.util.Collection;
54 private static final Collection<ProcessError> mAsyncErrors =
100 final Collection<ProcessError> errProcs = runOneActivity(app); in testRunAllActivities()
142 public Collection<ProcessError> runOneActivity(ResolveInfo app) { in runOneActivity()
152 final Collection<ProcessError> preErrProcs = in runOneActivity()
179 final Collection<ProcessError> errProcs = in runOneActivity()
268 static String reportWrappedListContents(Collection<ProcessError> errList) { in reportWrappedListContents()
282 private static String reportListContents(Collection<ProcessErrorStateInfo> errList) { in reportListContents()
325 public static Collection<ProcessError> fromCollection(Collection<ProcessErrorStateInfo> in) in fromCollection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTimeLimitedMotionEventBuffer.java21 import java.util.Collection;
123 public boolean containsAll(Collection<?> c) { in containsAll()
128 public boolean addAll(Collection<? extends MotionEvent> collection) { in addAll()
135 public boolean addAll(int index, Collection<? extends MotionEvent> elements) { in addAll()
140 public boolean removeAll(Collection<?> c) { in removeAll()
145 public boolean retainAll(Collection<?> c) { in retainAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakDetectorTest.java34 import java.util.Collection;
51 private Collection<?> mCollection;
61 BiConsumer<? super Collection<?>, String> tracker) { in trackCollectionWith() argument
103 Collection<Object> col1 = new ArrayList<>(); in testDump()
119 Collection<Object> col1 = new ArrayList<>(); in testDisabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupEvaluator.java21 import java.util.Collection;
46 public ScanResult findViableNetwork(Collection<ScanResult> scanResults, in findViableNetwork()
47 Collection<ScanResultMatchInfo> networks) { in findViableNetwork()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java25 import java.util.Collection;
120 public int waitForAnyOfStates(Collection<Integer> states, final long timeoutMs) { in waitForAnyOfStates()
180 public void appendStateNames(StringBuilder s, Collection<Integer> states) { in appendStateNames()
212 private Collection<Integer> checkStateCollectionInRange(Collection<Integer> states) { in checkStateCollectionInRange()
/frameworks/base/location/java/android/location/
DGpsMeasurementsEvent.java26 import java.util.Collection;
56 private final Collection<GpsMeasurement> mReadOnlyMeasurements;
89 Collection<GpsMeasurement> measurementCollection = Arrays.asList(measurements); in GpsMeasurementsEvent()
102 public Collection<GpsMeasurement> getMeasurements() { in getMeasurements()

12345678910>>...13