/packages/services/Car/service/src/com/android/car/ |
D | SetMultimap.java | 34 private Map<K, Set<V>> mMap; field in SetMultimap 38 mMap = new HashMap<>(); in SetMultimap() 43 return Collections.unmodifiableSet(mMap.getOrDefault(key, Collections.emptySet())); in get() 48 return mMap.computeIfAbsent(key, k -> new HashSet<>()).add(value); in put() 53 Set<V> set = mMap.get(key); in containsEntry() 59 Set<V> set = mMap.get(key); in remove() 66 mMap.remove(key); in remove() 73 mMap.clear(); in clear() 78 return Collections.unmodifiableSet(mMap.keySet()); in keySet()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | PathMatcher.java | 73 private HashMap<String, Node> mMap; field in PathMatcher.Node 77 if (mMap == null) { in addChild() 78 mMap = new HashMap<String, Node>(); in addChild() 80 Node node = mMap.get(segment); in addChild() 85 mMap.put(segment, n); in addChild() 90 if (mMap == null) return null; in getChild() 91 return mMap.get(segment); in getChild()
|
/packages/apps/Contacts/src-bind/com/android/contactsbind/experiments/ |
D | Flags.java | 29 private Map<String, Object> mMap; field in Flags 39 mMap = new HashMap<>(); in Flags() 43 return mMap.containsKey(flagName) ? (boolean) mMap.get(flagName) : false; in getBoolean() 47 return mMap.containsKey(flagName) ? ((Integer) mMap.get(flagName)).intValue() : 0; in getInteger()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionExtras.java | 26 HashMap<String, Object> mMap; field in MockSuggestionExtras 30 mMap = new HashMap<String, Object>(); in MockSuggestionExtras() 34 mMap.put(name, value); in put() 40 Object o = mMap.get(columnName); in doGetExtra() 46 return mMap.keySet(); in doGetExtraColumnNames()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | BidirectionalSparseIntArray.java | 26 private final SparseIntArray mMap; field in BidirectionalSparseIntArray 48 mMap = new SparseIntArray(initialCapacity); in BidirectionalSparseIntArray() 53 mMap.put(key, value); in put() 58 return mMap.get(key, defaultValue); in getValue()
|
D | HalServiceBase.java | 79 private final BidirectionalSparseIntArray mMap; field in HalServiceBase.ManagerToHalPropIdMap 91 mMap = map; in ManagerToHalPropIdMap() 95 return mMap.getValue(managerPropId, NOT_SUPPORTED_PROPERTY); in getHalPropId() 99 return mMap.getKey(halPropId, NOT_SUPPORTED_PROPERTY); in getManagerPropId()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarCabinManagerTest.java | 179 HashMap<Integer, VehiclePropValue> mMap = new HashMap<>(); field in CarCabinManagerTest.CabinPropertyHandler 183 mMap.put(value.prop, value); in onPropertySet() 188 VehiclePropValue currentValue = mMap.get(value.prop); in onPropertyGet() 196 if (mMap.get(property) == null) { in onPropertySubscribe() 203 mMap.put(property, dummyValue); in onPropertySubscribe()
|
D | CarHvacManagerTest.java | 217 HashMap<Integer, VehiclePropValue> mMap = new HashMap<>(); field in CarHvacManagerTest.HvacPropertyHandler 221 mMap.put(value.prop, value); in onPropertySet() 226 VehiclePropValue currentValue = mMap.get(value.prop); in onPropertyGet() 234 if (mMap.get(property) == null) { in onPropertySubscribe() 242 mMap.put(property, dummyValue); in onPropertySubscribe()
|
D | CarProjectionManagerTest.java | 160 HashMap<Integer, VehiclePropValue> mMap = new HashMap<>(); field in CarProjectionManagerTest.PropertyHandler 165 mMap.put(value.prop, value); in onPropertySet() 171 VehiclePropValue currentValue = mMap.get(value.prop); in onPropertyGet()
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
D | LruCacheUnitTests.java | 42 private final LruCache<Integer,Integer> mMap; field in LruCacheUnitTests.Accessor 45 mMap = map; in Accessor() 52 mMap.get(i % 2); in run()
|