Home
last modified time | relevance | path

Searched refs:mMap (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/os/
DBundle.java40 EMPTY.mMap = Collections.unmodifiableMap(new HashMap<String, Object>());
46 /* package */ Map<String, Object> mMap = null; field in Bundle
68 mMap = new HashMap<String, Object>(); in Bundle()
94 mMap = new HashMap<String, Object>(); in Bundle()
105 mMap = new HashMap<String, Object>(capacity); in Bundle()
124 if (b.mMap != null) { in Bundle()
125 mMap = new HashMap<String, Object>(b.mMap); in Bundle()
127 mMap = null; in Bundle()
158 int size = mMap.size(); in getPairValue()
165 Object o = mMap.values().iterator().next(); in getPairValue()
[all …]
DUEventObserver.java47 public HashMap<String,String> mMap = new HashMap<String,String>(); field in UEventObserver.UEvent
60 mMap.put(message.substring(offset, equals), in UEvent()
69 return mMap.get(key); in get()
73 String result = mMap.get(key); in get()
78 return mMap.toString(); in toString()
/frameworks/base/media/java/android/media/
DMediaFormat.java61 private Map<String, Object> mMap; field in MediaFormat
167 mMap = map; in MediaFormat()
174 mMap = new HashMap(); in MediaFormat()
178 return mMap; in getMap()
185 return mMap.containsKey(name); in containsKey()
192 return ((Integer)mMap.get(name)).intValue(); in getInteger()
199 return ((Long)mMap.get(name)).longValue(); in getLong()
206 return ((Float)mMap.get(name)).floatValue(); in getFloat()
213 return (String)mMap.get(name); in getString()
220 return (ByteBuffer)mMap.get(name); in getByteBuffer()
[all …]
/frameworks/ex/common/java/com/android/common/content/
DProjectionMap.java30 private ProjectionMap mMap = new ProjectionMap(); field in ProjectionMap.Builder
33 mMap.putColumn(column, column); in add()
38 mMap.putColumn(alias, expression + " AS " + alias); in add()
51 mMap.putColumn(entry.getKey(), entry.getValue()); in addAll()
57 String[] columns = new String[mMap.size()]; in build()
58 mMap.keySet().toArray(columns); in build()
60 mMap.mColumns = columns; in build()
61 return mMap; in build()
/frameworks/base/services/java/com/android/server/
DProcessMap.java24 final HashMap<String, SparseArray<E>> mMap field in ProcessMap
28 SparseArray<E> uids = mMap.get(name); in get()
34 SparseArray<E> uids = mMap.get(name); in put()
37 mMap.put(name, uids); in put()
44 SparseArray<E> uids = mMap.get(name); in remove()
48 mMap.remove(name); in remove()
54 return mMap; in getMap()
DAttributeCache.java45 private final SparseArray<HashMap<int[], Entry>> mMap field in AttributeCache.Package
103 map = pkg.mMap.get(resId); in get()
126 pkg.mMap.put(resId, map); in get()
/frameworks/base/libs/androidfw/
DAsset.cpp356 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
376 assert(mMap == NULL); in openChunk()
422 assert(mMap == NULL); in openChunk()
425 mMap = dataMap; in openChunk()
462 if (mMap != NULL) { in read()
465 memcpy(buf, (char*)mMap->getDataPtr() + mOffset, count); in read()
528 if (mMap != NULL) { in close()
529 mMap->release(); in close()
530 mMap = NULL; in close()
563 if (mMap != NULL) { in getBuffer()
[all …]
DKeyLayoutMap.cpp156 mMap(map), mTokenizer(tokenizer) { in Parser()
218 mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseKey()
274 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { in parseAxis()
362 mMap->mAxes.add(scanCode, axisInfo); in parseAxis()
DVirtualKeyMap.cpp87 mMap(map), mTokenizer(tokenizer) { in Parser()
129 mMap->mVirtualKeys.push(defn); in parse()
DKeyCharacterMap.cpp669 mMap(map), mTokenizer(tokenizer), mFormat(format), mState(STATE_TOP) { in Parser()
733 if (mMap->mType == KEYBOARD_TYPE_UNKNOWN) { in parse()
740 if (mMap->mType == KEYBOARD_TYPE_OVERLAY) { in parse()
746 if (mMap->mType != KEYBOARD_TYPE_OVERLAY) { in parse()
758 if (mMap->mType != KEYBOARD_TYPE_UNKNOWN) { in parseType()
787 mMap->mType = type; in parseType()
819 mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseMapKey()
851 if (mMap->mKeys.indexOfKey(keyCode) >= 0) { in parseKey()
869 mMap->mKeys.add(keyCode, new Key()); in parseKey()
875 Key* key = mMap->mKeys.valueFor(mKeyCode); in parseKeyProperty()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java60 private Map<String, Object> mMap; // guarded by 'this' field in SharedPreferencesImpl
76 mMap = null; in SharedPreferencesImpl()
125 mMap = map; in loadFromDiskLocked()
129 mMap = new HashMap<String, Object>(); in loadFromDiskLocked()
198 return new HashMap<String, Object>(mMap); in getAll()
205 String v = (String)mMap.get(key); in getString()
213 Set<String> v = (Set<String>) mMap.get(key); in getStringSet()
221 Integer v = (Integer)mMap.get(key); in getInt()
228 Long v = (Long)mMap.get(key); in getLong()
235 Float v = (Float)mMap.get(key); in getFloat()
[all …]
/frameworks/av/camera/
DCameraParameters.cpp169 : mMap() in CameraParameters()
180 size_t size = mMap.size(); in flatten()
184 k = mMap.keyAt(i); in flatten()
185 v = mMap.valueAt(i); in flatten()
202 mMap.clear(); in unflatten()
219 mMap.add(k, v); in unflatten()
224 mMap.add(k, v); in unflatten()
243 mMap.replaceValueFor(String8(key), String8(value)); in set()
262 String8 v = mMap.valueFor(String8(key)); in get()
285 mMap.removeItem(String8(key)); in remove()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmUtils.java131 HashMap<String, String> mMap = new HashMap<String, String>(); field in DrmUtils.ExtendedMetadataParser
174 mMap.put(strKey, strValue); in ExtendedMetadataParser()
185 return mMap.values().iterator(); in iterator()
195 return mMap.keySet().iterator(); in keyIterator()
207 return mMap.get(key); in get()
/frameworks/base/core/java/android/hardware/
DCamera.java1905 private HashMap<String, String> mMap; field in Camera.Parameters
1908 mMap = new HashMap<String, String>(); in Parameters()
1917 Log.e(TAG, "dump: size=" + mMap.size()); in dump()
1918 for (String k : mMap.keySet()) { in dump()
1919 Log.e(TAG, "dump: " + k + "=" + mMap.get(k)); in dump()
1933 for (String k : mMap.keySet()) { in flatten()
1936 flattened.append(mMap.get(k)); in flatten()
1953 mMap.clear(); in unflatten()
1964 mMap.put(k, v); in unflatten()
1969 mMap.remove(key); in remove()
[all …]
/frameworks/native/libs/utils/
DPropertyMap.cpp157 mMap(map), mTokenizer(tokenizer) { in Parser()
204 if (mMap->hasProperty(keyToken)) { in parse()
210 mMap->addProperty(keyToken, valueToken); in parse()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp49 mDeviceId(deviceId), mMap(map) { in NativeKeyCharacterMap()
60 return mMap; in getMap()
65 sp<KeyCharacterMap> mMap; member in android::NativeKeyCharacterMap
/frameworks/base/include/androidfw/
DAsset.h261 FileMap* mMap; // for memory map variable
310 FileMap* mMap; // for memory-mapped input variable
DVirtualKeyMap.h61 VirtualKeyMap* mMap; variable
DKeyLayoutMap.h91 KeyLayoutMap* mMap; variable
DKeyCharacterMap.h192 KeyCharacterMap* mMap; variable
/frameworks/native/include/utils/
DPropertyMap.h85 PropertyMap* mMap; variable
/frameworks/av/include/camera/
DCameraParameters.h662 DefaultKeyedVector<String8,String8> mMap;