/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/ |
D | IndexedMapExtensions.kt | 19 inline fun <K, V> IndexedMap<K, V>.allIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in <lambda>() 28 inline fun <K, V> IndexedMap<K, V>.anyIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in anyIndexed() 37 inline fun <K, V, R> IndexedMap<K, V>.firstNotNullOfOrNullIndexed(transform: (Int, K, V) -> R): R? { in firstNotNullOfOrNullIndexed() 46 inline fun <K, V> IndexedMap<K, V>.forEachIndexed(action: (Int, K, V) -> Unit) { in forEachIndexed() 52 inline fun <K, V> IndexedMap<K, V>.forEachReversedIndexed(action: (Int, K, V) -> Unit) { in forEachReversedIndexed() 58 fun <K, V> IndexedMap<K, V>?.getWithDefault(key: K, defaultValue: V): V { in getWithDefault() 64 inline val <K, V> IndexedMap<K, V>.lastIndex: Int 67 inline fun <K, V> IndexedMap<K, V>.noneIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in noneIndexed() 76 inline fun <K, V, R, C : MutableCollection<R>> IndexedMap<K, V>.mapIndexedTo( in mapIndexedTo() 78 transform: (Int, K, V) -> R, in mapIndexedTo() [all …]
|
D | IndexedMap.kt | 22 sealed class IndexedMap<K, V>(internal val map: ArrayMap<K, V>) : 23 Immutable<MutableIndexedMap<K, V>> { 31 @Suppress("ReplaceGetOrSet") operator fun get(key: K): V? = map.get(key) in isEmpty() 37 fun valueAt(index: Int): V = map.valueAt(index) in isEmpty() 39 override fun toMutable(): MutableIndexedMap<K, V> = MutableIndexedMap(this) in isEmpty() 45 class MutableIndexedMap<K, V>(map: ArrayMap<K, V> = ArrayMap()) : IndexedMap<K, V>(map) { in isEmpty() 46 constructor(indexedMap: IndexedMap<K, V>) : this(ArrayMap(indexedMap.map)) in isEmpty() 48 fun put(key: K, value: V): V? = map.put(key, value) in isEmpty() 50 fun remove(key: K): V? = map.remove(key) in isEmpty() 56 fun putAt(index: Int, value: V): V = map.setValueAt(index, value) in isEmpty() [all …]
|
/frameworks/base/services/permission/java/com/android/server/permission/access/collection/ |
D | ArrayMapExtensions.kt | 21 inline fun <K, V> ArrayMap<K, V>.allIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in <lambda>() 30 inline fun <K, V> ArrayMap<K, V>.anyIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in anyIndexed() 39 inline fun <K, V> ArrayMap<K, V>.forEachIndexed(action: (Int, K, V) -> Unit) { in forEachIndexed() 45 inline fun <K, V> ArrayMap<K, V>.forEachReversedIndexed(action: (Int, K, V) -> Unit) { in forEachReversedIndexed() 51 inline fun <K, V> ArrayMap<K, V>.getOrPut(key: K, defaultValue: () -> V): V { in getOrPut() 58 inline val <K, V> ArrayMap<K, V>.lastIndex: Int 62 inline operator fun <K, V> ArrayMap<K, V>.minusAssign(key: K) { in minusAssign() 66 inline fun <K, V> ArrayMap<K, V>.noneIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in noneIndexed() 75 inline fun <K, V> ArrayMap<K, V>.removeAllIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in removeAllIndexed() 86 inline fun <K, V> ArrayMap<K, V>.retainAllIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in retainAllIndexed() [all …]
|
/frameworks/av/media/libmediaplayerservice/fuzzer/corpus/ |
D | 40a46cd4f323d9d5d8508188f21f94ddae5bfae6 | 8 0X�cPHN�Blg�Y_8�y�"�˓ف�,�T�����1T8,���N���Q`�!DS.��!�4I���a@�,�V������2�O�# 9 …,����$1��Q�(����3���� �V��h0,�V���쟡2�G��`Ȅ�M0�-)���˔�c�]�F s��!�,�T�����1T8,����0�A… 12 k�bV�=��TK�Qנ�Ӡ���,�T�����1T8,����D�ԌTQ -�� �����;��6MJ��P`A�,�V���쿡2B�G��A��P0�KC�b*\ ��2-x… 13 …��a!���&,�)�xk����逰,�V���쿡2B�G�X���"�K� 6�t�Q;�[F�s�љg,�T�����1T8<������q��… 15 …R � �����)s`֕t�P�b��W�cԝ�vP,�T�����1T8,����2��Q ,��`��"֛;�T7]ʵ�yA�,�V���쟡2�W�����R��)… 16 …�[��Ԉ�V@,�T�����1T8,����@���a-��)�;D��k��h� )��,�T���6�W��0H��Ii!�Ѡb�xP��_��F t�a��… 17 …V���|��2_�E0��9!d��L7��8[0�V02�1��p,�T�����1T8,����0IS%��":��[�d�낻|����,�V������2… 18 ��!q �U�F�l��1N��yS0l����,�T�����1T�<������� ��`Ƶ �3@��Oϴj�aո,�V������2�O��aŀ���`���…
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | WatchedArrayMap.java | 35 public class WatchedArrayMap<K, V> extends WatchableImpl 36 implements Map<K, V>, Snappable { 39 private final ArrayMap<K, V> mStorage; 149 mStorage = new ArrayMap<K, V>(capacity, identityHashCode); in WatchedArrayMap() 155 public WatchedArrayMap(@Nullable Map<? extends K, ? extends V> map) { in WatchedArrayMap() 156 mStorage = new ArrayMap<K, V>(); in WatchedArrayMap() 165 public WatchedArrayMap(@NonNull ArrayMap<K, V> c) { in WatchedArrayMap() 172 public WatchedArrayMap(@NonNull WatchedArrayMap<K, V> c) { in WatchedArrayMap() 179 public void copyFrom(@NonNull ArrayMap<K, V> src) { in copyFrom() 191 public void copyTo(@NonNull ArrayMap<K, V> dst) { in copyTo() [all …]
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 66 public class LruCache<K, V> { 68 private final LinkedHashMap<K, V> map; 90 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 115 public final V get(K key) { in get() 120 V mapValue; in get() 137 V createdValue = create(key); in get() 169 public final V put(K key, V value) { in put() 174 V previous; in put() 202 V value; in trimToSize() 213 Map.Entry<K, V> toEvict = eldest(); in trimToSize() [all …]
|
D | SparseArrayMap.java | 35 public class SparseArrayMap<K, V> { 36 private final SparseArray<ArrayMap<K, V>> mData = new SparseArray<>(); 45 public V add(int key, @NonNull K mapKey, @Nullable V obj) { in add() 46 ArrayMap<K, V> data = mData.get(key); in add() 85 public V delete(int key, @NonNull K mapKey) { in delete() 86 ArrayMap<K, V> data = mData.get(key); in delete() 105 public V get(int key, @NonNull K mapKey) { in get() 106 ArrayMap<K, V> data = mData.get(key); in get() 118 public V getOrDefault(int key, @NonNull K mapKey, V defaultValue) { in getOrDefault() 120 ArrayMap<K, V> data = mData.get(key); in getOrDefault() [all …]
|
D | Property.java | 29 public abstract class Property<T, V> { 32 private final Class<V> mType; 55 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of() 56 return new ReflectiveProperty<T, V>(hostType, valueType, name); in of() 62 public Property(Class<V> type, String name) { in Property() 85 public void set(T object, V value) { in set() 92 public abstract V get(T object); in get() 104 public Class<V> getType() { in getType()
|
D | MapCollections.java | 35 abstract class MapCollections<K, V> { 77 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 93 public Map.Entry<K, V> next() { in next() 121 public V getValue() { in getValue() 126 return (V)colGetEntry(mIndex, 1); in getValue() 130 public V setValue(V object) { in setValue() 170 final class EntrySet implements Set<Map.Entry<K, V>> { 172 public boolean add(Map.Entry<K, V> object) { in add() 177 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() 179 for (Map.Entry<K, V> entry : collection) { in addAll() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedPooledCache.java | 44 public class UnrefedPooledCache<K, V extends Poolable> implements PooledCache<K, V> { 46 private final LinkedHashMap<K, V> mCache; 47 private final LinkedBlockingQueue<V> mPool; 49 private final LruCache<K, V> mNonPooledCache; 60 mCache = new LinkedHashMap<K, V>(0, 0.75f, true); in UnrefedPooledCache() 61 mPool = new LinkedBlockingQueue<V>(); in UnrefedPooledCache() 72 public V get(K key, boolean incrementRefCount) { in get() 75 V result = mCache.get(key); in get() 88 public V put(K key, V value) { in put() 96 final V prev; in put() [all …]
|
/frameworks/base/services/ |
D | art-wear-profile | 1520 PLandroid/app/usage/UsageStatsManagerInternal;-><init>()V 1521 HSPLandroid/content/pm/PackageManagerInternal;-><init>()V 1524 PLandroid/frameworks/vibrator/IVibratorControlService$Stub;-><init>()V 1525 PLandroid/frameworks/vibrator/IVibratorControlService;-><clinit>()V 1527 PLandroid/hardware/authsecret/IAuthSecret;-><clinit>()V 1532 PLandroid/hardware/health/HealthInfo$1;-><init>()V 1533 PLandroid/hardware/health/HealthInfo;-><clinit>()V 1534 HPLandroid/hardware/health/HealthInfo;-><init>()V 1536 PLandroid/hardware/health/IHealth;-><clinit>()V 1537 PLandroid/hardware/health/IHealthInfoCallback$Stub;-><init>()V [all …]
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | FlagCache.java | 28 public class FlagCache<V> { 29 private final Function<String, HashMap<String, V>> mNewHashMap = k -> new HashMap<>(); 32 final Map<String, Map<String, V>> mCache = new HashMap<>(); 51 Map<String, V> nsCache = mCache.get(namespace); in contains() 64 boolean setIfChanged(String namespace, String name, V value) { in setIfChanged() 66 Map<String, V> nsCache = mCache.computeIfAbsent(namespace, mNewHashMap); in setIfChanged() 67 V curValue = nsCache.get(name); in setIfChanged() 81 V getOrSet(String namespace, String name, V defaultValue) { in getOrSet() 83 Map<String, V> nsCache = mCache.computeIfAbsent(namespace, mNewHashMap); in getOrSet() 84 V value = nsCache.putIfAbsent(name, defaultValue); in getOrSet() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | MostRestrictive.java | 26 final class MostRestrictive<V> extends ResolutionMechanism<V> { 28 private List<PolicyValue<V>> mMostToLeastRestrictive; 30 MostRestrictive(@NonNull List<PolicyValue<V>> mostToLeastRestrictive) { in MostRestrictive() 35 PolicyValue<V> resolve(@NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies) { in resolve() 40 PolicyValue<V> resolve(List<PolicyValue<V>> adminPolicies) { in resolve() 44 for (PolicyValue<V> value : mMostToLeastRestrictive) { in resolve() 54 android.app.admin.MostRestrictive<V> getParcelableResolutionMechanism() { in getParcelableResolutionMechanism() 55 return new android.app.admin.MostRestrictive<V>(mMostToLeastRestrictive); in getParcelableResolutionMechanism()
|
D | PolicyState.java | 38 final class PolicyState<V> { 47 private final PolicyDefinition<V> mPolicyDefinition; 48 private final LinkedHashMap<EnforcingAdmin, PolicyValue<V>> mPoliciesSetByAdmins = 50 private PolicyValue<V> mCurrentResolvedPolicy; 52 PolicyState(@NonNull PolicyDefinition<V> policyDefinition) { in PolicyState() 57 @NonNull PolicyDefinition<V> policyDefinition, in PolicyState() 58 @NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<V>> policiesSetByAdmins, in PolicyState() 59 PolicyValue<V> currentEnforcedPolicy) { in PolicyState() 71 boolean addPolicy(@NonNull EnforcingAdmin admin, @Nullable PolicyValue<V> policy) { in addPolicy() 92 @NonNull EnforcingAdmin admin, @Nullable PolicyValue<V> policy, in addPolicy() [all …]
|
D | DevicePolicyEngine.java | 222 <V> void setLocalPolicy( in setLocalPolicy() 223 @NonNull PolicyDefinition<V> policyDefinition, in setLocalPolicy() 225 @NonNull PolicyValue<V> value, in setLocalPolicy() 232 PolicyState<V> localPolicyState = getLocalPolicyStateLocked(policyDefinition, userId); in setLocalPolicy() 249 PolicyState<V> globalPolicyState = getGlobalPolicyStateLocked(policyDefinition); in setLocalPolicy() 299 private <V> void setNonCoexistableLocalPolicyLocked( in setNonCoexistableLocalPolicyLocked() 300 PolicyDefinition<V> policyDefinition, in setNonCoexistableLocalPolicyLocked() 301 PolicyState<V> localPolicyState, in setNonCoexistableLocalPolicyLocked() 303 @Nullable PolicyValue<V> value, in setNonCoexistableLocalPolicyLocked() 328 <V> void setLocalPolicy( in setLocalPolicy() [all …]
|
/frameworks/base/config/ |
D | boot-profile.txt | 2 Lcom/android/internal/os/ZygoteInit;->preloadClasses()V 3 Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V 4 Landroid/os/Trace;->traceEnd(J)V 8 …$Font;-><init>(Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;IZLjava/lang/String;)V 10 …lback(Landroid/text/FontConfig$Family;Landroid/util/ArrayMap;Ljava/util/Map;Ljava/util/ArrayList;)V 12 Lcom/android/internal/util/Preconditions;->checkArgument(ZLjava/lang/Object;)V 26 …ndroid/graphics/fonts/Font$Builder;-><init>(Ljava/nio/ByteBuffer;Ljava/io/File;Ljava/lang/String;)V 27 Landroid/graphics/fonts/Font$Builder;-><init>(Ljava/nio/ByteBuffer;)V 30 Lcom/android/internal/util/Preconditions;->checkArgument(Z)V 37 Landroid/graphics/fonts/FontStyle;-><init>(II)V [all …]
|
D | boot-image-profile.txt | 19 HSPLandroid/accessibilityservice/AccessibilityServiceInfo;->initFromParcel(Landroid/os/Parcel;)V 24 HSPLandroid/accounts/Account;-><init>(Landroid/os/Parcel;)V 25 HSPLandroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V 26 HSPLandroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 30 HSPLandroid/accounts/Account;->writeToParcel(Landroid/os/Parcel;I)V 31 …/accounts/AccountManagerCallback;Landroid/accounts/Account;Ljava/lang/String;ZLandroid/os/Bundle;)V 32 HSPLandroid/accounts/AccountManager$10;->doWork()V 33 HSPLandroid/accounts/AccountManager$18;->run()V 34 …PLandroid/accounts/AccountManager$1;-><init>(Landroid/accounts/AccountManager;ILjava/lang/String;)V 39 HSPLandroid/accounts/AccountManager$20;-><init>(Landroid/accounts/AccountManager;)V [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | MapUtils.kt | 19 fun <K, V, R> Map<K, V>.mapValuesNotNull(block: (Map.Entry<K, V>) -> R?): Map<K, R> = buildMap { in <lambda>() 24 fun <K, V, R, M : MutableMap<in K, in R>> Map<out K, V>.mapValuesNotNullTo( in mapValuesNotNullTo() 26 block: (Map.Entry<K, V>) -> R?, in mapValuesNotNullTo() 35 fun <K, V> Map<K, V?>.filterValuesNotNull(): Map<K, V> = mapValuesNotNull { it.value } in <lambda>()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-r-loprio.txt | 1 …ndroid/app/IActivityManager$Stub$Proxy;->setActivityController(Landroid/app/IActivityController;Z)V 2 …p/IActivityManager$Stub$Proxy;->updatePersistentConfiguration(Landroid/content/res/Configuration;)V 4 Landroid/app/IInstrumentationWatcher$Stub;-><init>()V 6 Landroid/companion/ICompanionDeviceDiscoveryService$Stub;-><init>()V 11 Landroid/hardware/location/IActivityRecognitionHardwareClient$Stub;-><init>()V 14 Landroid/location/IGeofenceProvider$Stub;-><init>()V 20 Landroid/net/INetworkPolicyListener$Stub;-><init>()V 24 Landroid/service/euicc/IEuiccService$Stub;-><init>()V 26 Landroid/telephony/mbms/IMbmsStreamingSessionCallback$Stub;-><init>()V 27 Landroid/telephony/mbms/IStreamingServiceCallback$Stub;-><init>()V [all …]
|
D | hiddenapi-unsupported.txt | 2 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 4 Landroid/accounts/IAccountAuthenticator$Stub;-><init>()V 6 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 8 Landroid/accounts/IAccountAuthenticatorResponse$Stub;-><init>()V 10 Landroid/accounts/IAccountManager$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 11 Landroid/accounts/IAccountManager$Stub;-><init>()V 13 Landroid/accounts/IAccountManagerResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 15 Landroid/accounts/IAccountManagerResponse$Stub;-><init>()V 21 Landroid/app/backup/IFullBackupRestoreObserver$Stub;-><init>()V 22 Landroid/app/backup/IRestoreObserver$Stub;-><init>()V [all …]
|
/frameworks/base/telephony/common/com/google/android/mms/util/ |
D | AbstractCache.java | 26 public abstract class AbstractCache<K, V> { 33 private final HashMap<K, CacheEntry<V>> mCacheMap; 37 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache() 41 public boolean put(K key, V value) { in put() 56 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() 69 public V get(K key) { in get() 75 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() 88 public V purge(K key) { in purge() 93 CacheEntry<V> v = mCacheMap.remove(key); in purge() 115 private static class CacheEntry<V> { [all …]
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 19 HSPLandroid/accessibilityservice/AccessibilityServiceInfo;->initFromParcel(Landroid/os/Parcel;)V 24 HSPLandroid/accounts/Account;-><init>(Landroid/os/Parcel;)V 25 HSPLandroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V 26 HSPLandroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 30 HSPLandroid/accounts/Account;->writeToParcel(Landroid/os/Parcel;I)V 31 …/accounts/AccountManagerCallback;Landroid/accounts/Account;Ljava/lang/String;ZLandroid/os/Bundle;)V 32 HSPLandroid/accounts/AccountManager$10;->doWork()V 33 HSPLandroid/accounts/AccountManager$18;->run()V 34 …PLandroid/accounts/AccountManager$1;-><init>(Landroid/accounts/AccountManager;ILjava/lang/String;)V 39 HSPLandroid/accounts/AccountManager$20;-><init>(Landroid/accounts/AccountManager;)V [all …]
|
/frameworks/base/core/res/geoid_map_assets/ |
D | geoid-height-disk-tile-3.textpb | 2 …V\222J\251,\225Y\345\252\362IUd\222\253\274\225ZG\252\357%@\357P\263\324e\351\245\351\273\251\245\… 3 …55\3351\016\3020\014\005\320*\367\2772\025\003\023FA@U\322\374\2747z\214\322V\262]{\333\000\000\00…
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BiMap.java | 27 public class BiMap<K, V> { 28 private Map<K, V> mPrimaryMap = new ArrayMap<>(); 29 private Map<V, K> mSecondaryMap = new ArrayMap<>(); 31 public boolean put(K key, V value) { in put() 47 V value = getValue(key); in remove() 55 public boolean removeValue(V value) { in removeValue() 62 public V getValue(K key) { in getValue() 66 public K getKey(V value) { in getKey() 70 public Collection<V> getValues() { in getValues()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 81 public abstract class RegisteredServicesCache<V> { 90 private final XmlSerializerAndParser<V> mSerializerAndParser; 95 private final SparseArray<UserServices<V>> mUserServices = new SparseArray<UserServices<V>>(2); 97 private static class UserServices<V> { 99 final Map<V, Integer> persistentServices = Maps.newHashMap(); 101 Map<V, ServiceInfo<V>> services = null; 109 private UserServices<V> findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() 114 private UserServices<V> findOrCreateUserLocked(int userId, boolean loadFromFileIfNew) { in findOrCreateUserLocked() 115 UserServices<V> services = mUserServices.get(userId); in findOrCreateUserLocked() 117 services = new UserServices<V>(); in findOrCreateUserLocked() [all …]
|