/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_slice_group_map.c | 59 u32 *map, 65 u32 *map, 71 u32 *map, 79 u32 *map, 86 u32 *map, 92 u32 *map, 121 u32 *map, in DecodeInterleavedMap() argument 133 ASSERT(map); in DecodeInterleavedMap() 145 map[i+j] = group; in DecodeInterleavedMap() 175 u32 *map, in DecodeDispersedMap() argument [all …]
|
/frameworks/base/packages/InputDevices/res/raw/ |
D | keyboard_layout_english_us_dvorak.kcm | 23 map key 12 LEFT_BRACKET 24 map key 13 RIGHT_BRACKET 25 map key 16 APOSTROPHE 26 map key 17 COMMA 27 map key 18 PERIOD 28 map key 19 P 29 map key 20 Y 30 map key 21 F 31 map key 22 G 32 map key 23 C [all …]
|
D | keyboard_layout_english_us_colemak.kcm | 23 map key 18 F 24 map key 19 P 25 map key 20 G 26 map key 21 J 27 map key 22 L 28 map key 23 U 29 map key 24 Y 30 map key 25 SEMICOLON 31 map key 31 R 32 map key 32 S [all …]
|
D | keyboard_layout_belgian.kcm | 21 map key 12 SLASH 22 map key 13 MINUS 23 map key 16 A 24 map key 17 Z 25 map key 30 Q 26 map key 39 M 27 map key 44 W 28 map key 50 COMMA 29 map key 51 SEMICOLON 30 map key 53 EQUALS [all …]
|
/frameworks/base/docs/html/ |
D | jd_tag_helpers.js | 32 for (var tag in r.map) { 34 …allRes[tag] = allRes[tag].concat(r.map[tag].map(function(i){ return ALL_RESOURCES[i + offset]; })); 52 var map = {}; 59 map[key] = dictForKey; 61 return map; 83 {map:ABOUT_BY_TAG,arr:ABOUT_RESOURCES}, property 84 {map:DESIGN_BY_TAG,arr:DESIGN_RESOURCES}, property 85 {map:DISTRIBUTE_BY_TAG,arr:DISTRIBUTE_RESOURCES}, property 86 {map:GOOGLE_BY_TAG,arr:GOOGLE_RESOURCES}, property 87 {map:GUIDE_BY_TAG,arr:GUIDE_RESOURCES}, property [all …]
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 48 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap() argument 49 mDeviceId(deviceId), mMap(map) { in NativeKeyCharacterMap() 71 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, in android_view_KeyCharacterMap_create() local 73 if (!map) { in android_view_KeyCharacterMap_create() 78 reinterpret_cast<jlong>(map)); in android_view_KeyCharacterMap_create() 97 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel() local 98 return reinterpret_cast<jlong>(map); in nativeReadFromParcel() 102 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel() local 105 parcel->writeInt32(map->getDeviceId()); in nativeWriteToParcel() 106 map->getMap()->writeToParcel(parcel); in nativeWriteToParcel() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
D | SessionMap.h | 53 map.add(key, value); in addValue() 78 return map.size(); in getSize() 92 if (map.size() > index) { in getValueAt() 93 value = map.valueAt(index); in getValueAt() 107 map.removeItem(key); in removeValue() 126 map = objectCopy.map; 131 KeyedVector<int, TValue> map; 152 int size = map.size(); in destroyMap() 155 deleteValue(map.valueAt(i)); in destroyMap() 157 map.clear(); in destroyMap() [all …]
|
/frameworks/base/tools/validatekeymaps/ |
D | Main.cpp | 81 sp<KeyLayoutMap> map; in validateFile() local 82 status_t status = KeyLayoutMap::load(String8(filename), &map); in validateFile() 91 sp<KeyCharacterMap> map; in validateFile() local 93 KeyCharacterMap::FORMAT_ANY, &map); in validateFile() 102 PropertyMap* map; in validateFile() local 103 status_t status = PropertyMap::load(String8(filename), &map); in validateFile() 108 delete map; in validateFile() 113 VirtualKeyMap* map; in validateFile() local 114 status_t status = VirtualKeyMap::load(String8(filename), &map); in validateFile() 119 delete map; in validateFile()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeUtils.java | 57 static <T> String toString(Map<T, byte[]> map) { in toString() argument 58 if (map == null) { in toString() 61 if (map.isEmpty()) { in toString() 66 Iterator<Map.Entry<T, byte[]>> it = map.entrySet().iterator(); in toString() 70 buffer.append(key).append("=").append(Arrays.toString(map.get(key))); in toString() 106 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals() argument 107 if (map == otherMap) { in equals() 110 if (map == null || otherMap == null) { in equals() 113 if (map.size() != otherMap.size()) { in equals() 116 Set<T> keys = map.keySet(); in equals() [all …]
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | LruCache.java | 30 private final LinkedHashMap<K, V> map; field in LruCache 52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 84 mapValue = map.get(key); in get() 106 mapValue = map.put(key, createdValue); in get() 110 map.put(key, mapValue); in get() 140 previous = map.put(key, value); in put() 166 if (size < 0 || (map.isEmpty() && size != 0)) { in trimToSize() 171 if (size <= maxSize || map.isEmpty()) { in trimToSize() 175 Map.Entry<K, V> toEvict = map.entrySet().iterator().next(); in trimToSize() 178 map.remove(key); in trimToSize() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 77 final HashMap<Long, Long> map = new HashMap<Long, Long>(); in testFuzz() local 84 map.put(key, value); in testFuzz() 87 if (r.nextBoolean() && map.size() > 0) { in testFuzz() 88 final int index = r.nextInt(map.size()); in testFuzz() 89 final long key = getKeyAtIndex(map, index); in testFuzz() 90 map.remove(key); in testFuzz() 95 Log.d(TAG, "verifying a map with " + map.size() + " entries"); in testFuzz() 97 for (Map.Entry<Long, Long> e : map.entrySet()) { in testFuzz() 104 private static <E> E getKeyAtIndex(Map<E, ?> map, int index) { in getKeyAtIndex() argument 105 final Iterator<E> keys = map.keySet().iterator(); in getKeyAtIndex()
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | LruCache.java | 67 private final LinkedHashMap<K, V> map; field in LruCache 89 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 122 mapValue = map.get(key); in get() 144 mapValue = map.put(key, createdValue); in get() 148 map.put(key, mapValue); in get() 178 previous = map.put(key, value); in put() 201 if (size < 0 || (map.isEmpty() && size != 0)) { in trimToSize() 215 for (Map.Entry<K, V> entry : map.entrySet()) { in trimToSize() 226 map.remove(key); in trimToSize() 247 previous = map.remove(key); in remove() [all …]
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 63 private final LinkedHashMap<K, V> map; field in LruCache 85 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 117 mapValue = map.get(key); in get() 139 mapValue = map.put(key, createdValue); in get() 143 map.put(key, mapValue); in get() 173 previous = map.put(key, value); in put() 199 if (size < 0 || (map.isEmpty() && size != 0)) { in trimToSize() 208 Map.Entry<K, V> toEvict = map.eldest(); in trimToSize() 215 map.remove(key); in trimToSize() 236 previous = map.remove(key); in remove() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 106 private void populateSettings(Bundle snapshot, Map<String, Class<?>> map) { in populateSettings() argument 108 for (Map.Entry<String, Class<?>> entry : map.entrySet()) { in populateSettings() 113 if (map == sSecureSettingToTypeMap) { in populateSettings() 115 } else if (map == sSystemSettingToTypeMap) { in populateSettings() 123 if (map == sSecureSettingToTypeMap) { in populateSettings() 125 } else if (map == sSystemSettingToTypeMap) { in populateSettings() 133 if (map == sSecureSettingToTypeMap) { in populateSettings() 135 } else if (map == sSystemSettingToTypeMap) { in populateSettings() 143 if (map == sSecureSettingToTypeMap) { in populateSettings() 145 } else if (map == sSystemSettingToTypeMap) { in populateSettings()
|
D | ProviderMap.java | 133 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId); in removeProviderByName() local 135 map.remove(name); in removeProviderByName() 136 if (map.size() == 0) { in removeProviderByName() 152 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId); in removeProviderByClass() local 154 map.remove(name); in removeProviderByClass() 155 if (map.size() == 0) { in removeProviderByClass() 163 final HashMap<String, ContentProviderRecord> map = mProvidersByNamePerUser.get(userId); in getProvidersByName() local 164 if (map == null) { in getProvidersByName() 169 return map; in getProvidersByName() 175 final HashMap<ComponentName, ContentProviderRecord> map in getProvidersByClass() local [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 101 HashMap<int[], Entry> map = null; in get() local 104 map = pkg.mMap.get(resId); in get() 105 if (map != null) { in get() 106 ent = map.get(styleable); in get() 126 if (map == null) { in get() 127 map = new HashMap<int[], Entry>(); in get() 128 pkg.mMap.put(resId, map); in get() 134 map.put(styleable, ent); in get()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 54 ContentValues map = new ContentValues(); in testProvider() local 55 map.put("address", "+15045551337"); in testProvider() 56 map.put("read", 0); in testProvider() 61 map.put("body", "Test " + i + " !"); in testProvider() 62 map.put("date", dates[i]); in testProvider() 63 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); in testProvider()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileObserverTest.java | 47 Map<String, Object> map = Maps.newHashMap(); in onEvent() local 49 map.put("event", event); in onEvent() 50 map.put("path", path); in onEvent() 52 events.add(map); in onEvent() 113 Map map = it.next(); in waitForEvent() local 114 ….i("FileObserverTest", "event: " + getEventString((Integer)map.get("event")) + " path: " + map.get… in waitForEvent()
|
/frameworks/native/libs/input/ |
D | VirtualKeyMap.cpp | 57 VirtualKeyMap* map = new VirtualKeyMap(); in load() local 58 if (!map) { in load() 65 Parser parser(map, tokenizer); in load() 74 delete map; in load() 76 *outMap = map; in load() 87 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser() argument 88 mMap(map), mTokenizer(tokenizer) { in Parser()
|
/frameworks/base/test-runner/src/android/test/ |
D | SimpleCache.java | 23 private Map<K, V> map = new HashMap<K, V>(); field in SimpleCache 28 if (map.containsKey(key)) { in get() 29 return map.get(key); in get() 32 map.put(key, value); in get()
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFEmulation.cpp | 24 static const NameMap map[] = variable 77 const unsigned int map_size = (sizeof(map) / sizeof(map[0]) ); in MCLDEmulateELF() 80 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy); in MCLDEmulateELF()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ImsSMSDispatcher.java | 276 HashMap map = tracker.mData; in sendRetrySms() local 281 if (!( map.containsKey("scAddr") && map.containsKey("destAddr") && in sendRetrySms() 282 ( map.containsKey("text") || in sendRetrySms() 283 (map.containsKey("data") && map.containsKey("destPort"))))) { in sendRetrySms() 289 String scAddr = (String)map.get("scAddr"); in sendRetrySms() 290 String destAddr = (String)map.get("destAddr"); in sendRetrySms() 294 if (map.containsKey("text")) { in sendRetrySms() 296 String text = (String)map.get("text"); in sendRetrySms() 307 } else if (map.containsKey("data")) { in sendRetrySms() 309 byte[] data = (byte[])map.get("data"); in sendRetrySms() [all …]
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 121 private static boolean compareMaps(HashMap map, ArrayMap array) { in compareMaps() argument 122 if (map.size() != array.size()) { in compareMaps() 123 Log.e("test", "Bad size: expected " + map.size() + ", got " + array.size()); in compareMaps() 127 Set<Map.Entry> mapSet = map.entrySet(); in compareMaps() 141 Object expValue = map.get(key); in compareMaps() 149 if (map.entrySet().hashCode() != array.entrySet().hashCode()) { in compareMaps() 151 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" in compareMaps() 156 if (!map.entrySet().equals(array.entrySet())) { in compareMaps() 161 if (!array.entrySet().equals(map.entrySet())) { in compareMaps() 166 if (map.keySet().hashCode() != array.keySet().hashCode()) { in compareMaps() [all …]
|
/frameworks/base/libs/hwui/ |
D | AssetAtlas.cpp | 31 void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) { in init() argument 45 createEntries(caches, map, count); in init() 117 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { in createEntries() argument 122 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(map[i++]); in createEntries() 128 const int x = static_cast<int>(map[i++]); in createEntries() 129 const int y = static_cast<int>(map[i++]); in createEntries() 130 bool rotated = map[i++] > 0; in createEntries()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | XmlUtilsTest.java | 31 Map<String, Object> map = new HashMap<String, Object>(); in testMapWithNullKeys() local 32 map.put(null, "nullValue"); in testMapWithNullKeys() 33 map.put("foo", "fooValue"); in testMapWithNullKeys() 34 XmlUtils.writeMapXml(map, baos); in testMapWithNullKeys()
|