/frameworks/base/services/ |
D | art-profile | 2 PLandroid/hardware/authsecret/V1_0/IAuthSecret$Proxy;->primaryUserCredential(Ljava/util/ArrayList;)V 14 …iometricsFingerprintClientCallback$Stub;->onTransact(ILandroid/os/HwParcel;Landroid/os/HwParcel;I)V 19 …ardware/health/V1_0/HealthInfo;->readEmbeddedFromParcel(Landroid/os/HwParcel;Landroid/os/HwBlob;J)V 20 …hardware/health/V2_0/DiskStats;->readEmbeddedFromParcel(Landroid/os/HwParcel;Landroid/os/HwBlob;J)V 21 …ardware/health/V2_0/HealthInfo;->readEmbeddedFromParcel(Landroid/os/HwParcel;Landroid/os/HwBlob;J)V 24 …ealth/V2_0/IHealth$Proxy;->getCapacity(Landroid/hardware/health/V2_0/IHealth$getCapacityCallback;)V 25 …/IHealth$Proxy;->getChargeCounter(Landroid/hardware/health/V2_0/IHealth$getChargeCounterCallback;)V 26 …Health$Proxy;->getCurrentAverage(Landroid/hardware/health/V2_0/IHealth$getCurrentAverageCallback;)V 27 …/IHealth$Proxy;->getEnergyCounter(Landroid/hardware/health/V2_0/IHealth$getEnergyCounterCallback;)V 33 …re/health/V2_0/IHealthInfoCallback$Stub;->onTransact(ILandroid/os/HwParcel;Landroid/os/HwParcel;I)V [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | ViewPool.java | 27 public class ViewPool<V, T> { 30 public interface ViewPoolConsumer<V, T> { 31 public V createView(Context context); in createView() 32 public void onReturnViewToPool(V v); in onReturnViewToPool() 33 public void onPickUpViewFromPool(V v, T prepareData, boolean isNewView); in onPickUpViewFromPool() 34 public boolean hasPreferredData(V v, T preferredData); in hasPreferredData() 38 ViewPoolConsumer<V, T> mViewCreator; 39 LinkedList<V> mPool = new LinkedList<V>(); 42 public ViewPool(Context context, ViewPoolConsumer<V, T> viewCreator) { in ViewPool() argument 48 void returnViewToPool(V v) { in returnViewToPool() [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 …]
|
D | PooledCache.java | 19 public interface PooledCache<K, V> { 21 V get(K key, boolean incrementRefCount); in get() 22 V put(K key, V value); in put() 23 void offer(V scrapValue); in offer() 24 V poll(); in poll()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | LruCache.java | 66 public class LruCache<K, V> { 67 private final LinkedHashMap<K, V> map; 89 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() 199 V value; in trimToSize() 214 Map.Entry<K, V> toEvict = null; in trimToSize() [all …]
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 16 HSPLandroid/accessibilityservice/AccessibilityServiceInfo$1;-><init>()V 19 …rvice/AccessibilityServiceInfo;-><init>(Landroid/content/pm/ResolveInfo;Landroid/content/Context;)V 25 HSPLandroid/accessibilityservice/AccessibilityServiceInfo;->initFromParcel(Landroid/os/Parcel;)V 28 HSPLandroid/accessibilityservice/AccessibilityServiceInfo;->writeToParcel(Landroid/os/Parcel;I)V 29 HSPLandroid/accounts/Account$1;-><init>()V 34 HSPLandroid/accounts/Account;-><init>(Landroid/os/Parcel;)V 35 HSPLandroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V 36 HSPLandroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 43 HSPLandroid/accounts/Account;->writeToParcel(Landroid/os/Parcel;I)V 44 HPLandroid/accounts/AccountAndUser;-><init>(Landroid/accounts/Account;I)V [all …]
|
D | hiddenapi-greylist.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 …]
|
D | hiddenapi-greylist-max-o.txt | 8 …ssibilityButtonController;-><init>(Landroid/accessibilityservice/IAccessibilityServiceConnection;)V 9 …ssibilityservice/AccessibilityButtonController;->dispatchAccessibilityButtonAvailabilityChanged(Z)V 10 Landroid/accessibilityservice/AccessibilityButtonController;->dispatchAccessibilityButtonClicked()V 15 Landroid/accessibilityservice/AccessibilityService$Callbacks;->init(ILandroid/os/IBinder;)V 16 …/accessibilityservice/AccessibilityService$Callbacks;->onAccessibilityButtonAvailabilityChanged(Z)V 17 Landroid/accessibilityservice/AccessibilityService$Callbacks;->onAccessibilityButtonClicked()V 18 …ssibilityService$Callbacks;->onAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V 19 …oid/accessibilityservice/AccessibilityService$Callbacks;->onFingerprintCapturingGesturesChanged(Z)V 20 Landroid/accessibilityservice/AccessibilityService$Callbacks;->onFingerprintGesture(I)V 22 Landroid/accessibilityservice/AccessibilityService$Callbacks;->onInterrupt()V [all …]
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 64 public class LruCache<K, V> { 66 private final LinkedHashMap<K, V> map; 88 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 113 public final V get(K key) { in get() 118 V mapValue; in get() 135 V createdValue = create(key); in get() 167 public final V put(K key, V value) { in put() 172 V previous; in put() 200 V value; in trimToSize() 211 Map.Entry<K, V> toEvict = map.eldest(); in trimToSize() [all …]
|
D | Property.java | 28 public abstract class Property<T, V> { 31 private final Class<V> mType; 54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of() 55 return new ReflectiveProperty<T, V>(hostType, valueType, name); in of() 61 public Property(Class<V> type, String name) { in Property() 84 public void set(T object, V value) { in set() 91 public abstract V get(T object); in get() 103 public Class<V> getType() { in getType()
|
D | MapCollections.java | 32 abstract class MapCollections<K, V> { 74 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 90 public Map.Entry<K, V> next() { in next() 118 public V getValue() { in getValue() 123 return (V)colGetEntry(mIndex, 1); in getValue() 127 public V setValue(V object) { in setValue() 167 final class EntrySet implements Set<Map.Entry<K, V>> { 169 public boolean add(Map.Entry<K, V> object) { in add() 174 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() 176 for (Map.Entry<K, V> entry : collection) { in addAll() [all …]
|
D | ArrayMap.java | 52 public final class ArrayMap<K, V> implements Map<K, V> { 114 MapCollections<K, V> mCollections; 315 public ArrayMap(ArrayMap<K, V> map) { in ArrayMap() 445 public V get(Object key) { in get() 447 return index >= 0 ? (V)mArray[(index<<1)+1] : null; in get() 481 public V valueAt(int index) { in valueAt() 487 return (V)mArray[(index << 1) + 1]; in valueAt() 502 public V setValueAt(int index, V value) { in setValueAt() 509 V old = (V)mArray[index]; in setValueAt() 531 public V put(K key, V value) { in put() [all …]
|
/frameworks/base/telephony/common/com/google/android/mms/util/ |
D | AbstractCache.java | 25 public abstract class AbstractCache<K, V> { 32 private final HashMap<K, CacheEntry<V>> mCacheMap; 36 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache() 40 public boolean put(K key, V value) { in put() 55 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() 68 public V get(K key) { in get() 74 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() 87 public V purge(K key) { in purge() 92 CacheEntry<V> v = mCacheMap.remove(key); in purge() 114 private static class CacheEntry<V> { [all …]
|
/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 …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | ArrayMapWithHistoryTest.java | 115 private static <K, V> void putAndCompareReturnValue(ArrayMapWithHistory<K, V> historyMap, in putAndCompareReturnValue() 116 ArrayMap<K, V> arrayMap, K key, V value) { in putAndCompareReturnValue() 120 private static class Entry<K, V> { 122 public final V value; 124 Entry(K key, V value) { in Entry() 130 private static <K, V> Entry<K, V> entry(K key, V value) { in entry() 135 private static <K, V> void compareGetAndSizeForKeys(ArrayMapWithHistory<K, V> historyMap, in compareGetAndSizeForKeys() 136 ArrayMap<K, V> arrayMap, Entry<K, V>... expectedEntries) { in compareGetAndSizeForKeys() 137 for (Entry<K, V> expectedEntry : expectedEntries) { in compareGetAndSizeForKeys()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | ArrayMapWithHistory.java | 42 public final class ArrayMapWithHistory<K, V> { 49 private ArrayMap<K, ReferenceWithHistory<V>> mMap; 65 public V put(@Nullable K key, @Nullable V value) { in put() 70 ReferenceWithHistory<V> valueHolder = mMap.get(key); in put() 85 public V get(@Nullable Object key) { in get() 90 ReferenceWithHistory<V> valueHolder = mMap.get(key); in get() 121 public V valueAt(int index) { in valueAt() 126 ReferenceWithHistory<V> valueHolder = mMap.valueAt(index); in valueAt() 143 ReferenceWithHistory<V> value = mMap.valueAt(i); in dump() 169 ReferenceWithHistory<V> valueHolder = mMap.get(key); in getHistoryCountForKeyForTests()
|
D | ReferenceWithHistory.java | 51 public final class ReferenceWithHistory<V> { 57 private LinkedList<V> mValues; 71 public V get() { in get() 77 public V set(@Nullable V newValue) { in set() 82 V previous = get(); in set() 99 for (V value : mValues) { in dump()
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Maps.java | 34 public static <K, V> HashMap<K, V> newHashMap() { in newHashMap() 35 return new HashMap<K, V>(); in newHashMap() 41 public static <K, V> ArrayMap<K, V> newArrayMap() { in newArrayMap() 42 return new ArrayMap<K, V>(); in newArrayMap()
|
/frameworks/base/test-runner/src/android/test/ |
D | SimpleCache.java | 23 abstract class SimpleCache<K, V> { 24 private Map<K, V> map = new HashMap<K, V>(); 26 protected abstract V load(K key); in load() 28 final V get(K key) { in get() 32 V value = load(key); in get()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | TaskKeyLruCache.java | 33 public class TaskKeyLruCache<V> extends TaskKeyCache<V> { 39 private final LruCache<Integer, V> mCache; 48 mCache = new LruCache<Integer, V>(cacheSize) { in TaskKeyLruCache() 51 protected void entryRemoved(boolean evicted, Integer taskId, V oldV, V newV) { in TaskKeyLruCache() 82 protected V getCacheEntry(int id) { in getCacheEntry() 87 protected void putCacheEntry(int id, V value) { in putCacheEntry()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.cpp | 30 static bool isIntOrIntVectorValue(const std::pair<const Value*, unsigned> &V) { in isIntOrIntVectorValue() argument 31 return V.first->getType()->isIntOrIntVectorTy(); in isIntOrIntVectorValue() 133 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() 134 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() 137 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID() 157 const Value *V = I->first; in print() local 158 if (V->hasName()) in print() 159 OS << "Value: " << V->getName(); in print() 162 V->dump(); in print() 164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):"; in print() [all …]
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 30 static bool isIntOrIntVectorValue(const std::pair<const Value*, unsigned> &V) { in isIntOrIntVectorValue() argument 31 return V.first->getType()->isIntOrIntVectorTy(); in isIntOrIntVectorValue() 133 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() 134 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() 137 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID() 157 const Value *V = I->first; in print() local 158 if (V->hasName()) in print() 159 OS << "Value: " << V->getName(); in print() 162 V->dump(); in print() 164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):"; in print() [all …]
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 30 static bool isIntOrIntVectorValue(const std::pair<const Value*, unsigned> &V) { in isIntOrIntVectorValue() argument 31 return V.first->getType()->isIntOrIntVectorTy(); in isIntOrIntVectorValue() 133 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() 134 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() 137 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID() 157 const Value *V = I->first; in print() local 158 if (V->hasName()) in print() 159 OS << "Value: " << V->getName(); in print() 162 V->dump(); in print() 164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):"; in print() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | TypeConverter.java | 25 public abstract class TypeConverter<T, V> { 27 private Class<V> mToClass; 29 public TypeConverter(Class<T> fromClass, Class<V> toClass) { in TypeConverter() 39 Class<V> getTargetType() { in getTargetType() 55 public abstract V convert(T value); in convert()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXUtils.cpp | 268 image.mPlane[image.V].mOffset = ystride * params.nSliceHeight; in DescribeDefaultColorFormat() 269 image.mPlane[image.V].mColInc = 1; in DescribeDefaultColorFormat() 270 image.mPlane[image.V].mRowInc = cstride; in DescribeDefaultColorFormat() 271 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat() 272 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat() 274 image.mPlane[image.U].mOffset = image.mPlane[image.V].mOffset in DescribeDefaultColorFormat() 294 image.mPlane[image.V].mOffset = image.mPlane[image.U].mOffset in DescribeDefaultColorFormat() 296 image.mPlane[image.V].mColInc = 1; in DescribeDefaultColorFormat() 297 image.mPlane[image.V].mRowInc = params.nStride / 2; in DescribeDefaultColorFormat() 298 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat() [all …]
|