/frameworks/base/media/mca/filterpacks/native/base/ |
D | utilities.h | 73 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/ |
D | utilities.h | 61 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/com/android/net/module/util/ |
D | CollectionUtils.java | 24 import java.util.Collection; 45 public static <T> boolean isEmpty(@Nullable Collection<T> collection) { in isEmpty() 53 public static int[] toIntArray(@NonNull Collection<Integer> list) { in toIntArray() 67 public static long[] toLongArray(@NonNull Collection<Long> list) { in toLongArray() 81 public static <T> boolean all(@NonNull Collection<T> elem, @NonNull Predicate<T> predicate) { in all() 93 public static <T> boolean any(@NonNull Collection<T> elem, @NonNull Predicate<T> predicate) { in any() 101 public static <T> int indexOf(@NonNull Collection<T> elem, @NonNull Predicate<T> predicate) { in indexOf() 173 @NonNull public static <T> ArrayList<T> filter(@NonNull final Collection<T> source, in filter() 204 public static <T> boolean containsAny(Collection<T> haystack, Collection<? extends T> needles) { in containsAny() 218 public static <T> boolean containsAll(Collection<T> haystack, Collection<? extends T> needles) { in containsAll()
|
D | LinkPropertiesUtils.java | 28 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/av/media/libmediahelper/ |
D | TypeConverter.cpp | 76 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/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | AbstractCollection.java | 19 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()
|
D | TrackedCollections.java | 23 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/base/identity/java/android/security/identity/ |
D | PersonalizationData.java | 21 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()
|
D | CredentialDataRequest.java | 22 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()
|
D | CredstoreCredentialDataResult.java | 22 import java.util.Collection; 72 public @NonNull Collection<String> getNamespaces() { in getNamespaces() 77 public @NonNull Collection<String> getEntryNames(@NonNull String namespaceName) { in getEntryNames() 78 Collection<String> ret = mResultData.getEntryNames(namespaceName); in getEntryNames() 86 public @NonNull Collection<String> getRetrievedEntryNames(@NonNull String namespaceName) { in getRetrievedEntryNames() 87 Collection<String> ret = mResultData.getRetrievedEntryNames(namespaceName); in getRetrievedEntryNames()
|
D | ResultData.java | 26 import java.util.Collection; 152 public abstract @NonNull Collection<String> getNamespaces(); in getNamespaces() 163 public abstract @Nullable Collection<String> getEntryNames(@NonNull String namespaceName); in getEntryNames() 175 public abstract @Nullable Collection<String> getRetrievedEntryNames( in getRetrievedEntryNames()
|
D | CredstoreWritableIdentityCredential.java | 28 import java.util.Collection; 51 public Collection<X509Certificate> getCredentialKeyCertificateChain(@NonNull byte[] challenge) { in getCredentialKeyCertificateChain() 56 Collection<? extends Certificate> certs = null; in getCredentialKeyCertificateChain() 87 Collection<AccessControlProfile> accessControlProfiles = in personalize() 115 Collection<String> namespaces = personalizationData.getNamespaces(); in personalize() 126 Collection<String> entryNames = nsd.getEntryNames(); in personalize() 133 Collection<AccessControlProfileId> acpIds = in personalize()
|
D | CredentialDataResult.java | 26 import java.util.Collection; 165 @NonNull Collection<String> getNamespaces(); in getNamespaces() 176 @NonNull Collection<String> getEntryNames(@NonNull String namespaceName); in getEntryNames() 188 @NonNull Collection<String> getRetrievedEntryNames(@NonNull String namespaceName); in getRetrievedEntryNames()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Collection.h | 43 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/packages/SystemUI/src/com/android/systemui/dreams/complication/ |
D | ComplicationCollectionViewModel.java | 23 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/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/ |
D | ComplicationCollectionLiveDataTest.java | 39 import java.util.Collection; 62 final Observer<Collection<Complication>> observer = Mockito.mock(Observer.class); in testLifecycle() 85 void verifyUpdate(Observer<Collection<Complication>> observer, in verifyUpdate() 86 Collection<Complication> targetCollection) { in verifyUpdate() 87 ArgumentCaptor<Collection<Complication>> collectionCaptor = in verifyUpdate() 88 ArgumentCaptor.forClass(Collection.class); in verifyUpdate() 92 final Collection collection = collectionCaptor.getValue(); in verifyUpdate()
|
D | ComplicationHostViewControllerTest.java | 49 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()
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 22 import java.util.Collection; 176 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() 203 public boolean containsAll(Collection<?> collection) { in containsAll() 229 public boolean removeAll(Collection<?> collection) { in removeAll() 234 public boolean retainAll(Collection<?> collection) { in retainAll() 279 public boolean addAll(Collection<? extends K> collection) { in addAll() 294 public boolean containsAll(Collection<?> collection) { in containsAll() 319 public boolean removeAll(Collection<?> collection) { in removeAll() 324 public boolean retainAll(Collection<?> collection) { in retainAll() 359 final class ValuesCollection implements Collection<V> { [all …]
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | DataUsageStatUpdater.java | 23 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/ |
D | Preconditions.java | 19 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()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardProperty.java | 22 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/services/core/java/com/android/server/wm/ |
D | BackgroundActivityStartCallback.java | 21 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/core/java/android/view/textclassifier/ |
D | TextClassifier.java | 44 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 …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SignalStrengthUpdateRequestTest.java | 34 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/packages/SystemUI/tests/src/com/android/systemui/util/settings/ |
D | FakeSettingsTest.java | 43 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()
|