Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_group_map.c59 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/
Dkeyboard_layout_english_us_dvorak.kcm23 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 …]
Dkeyboard_layout_english_us_colemak.kcm23 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 …]
Dkeyboard_layout_belgian.kcm21 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/
Djd_tag_helpers.js33 for (var tag in r.map) {
35 …allRes[tag] = allRes[tag].concat(r.map[tag].map(function(i){ return ALL_RESOURCES[i + offset]; }));
53 var map = {};
60 map[key] = dictForKey;
62 return map;
85 {map:ABOUT_BY_TAG,arr:ABOUT_RESOURCES}, property
86 {map:DESIGN_BY_TAG,arr:DESIGN_RESOURCES}, property
87 {map:DISTRIBUTE_BY_TAG,arr:DISTRIBUTE_RESOURCES}, property
88 {map:GOOGLE_BY_TAG,arr:GOOGLE_RESOURCES}, property
89 {map:GUIDE_BY_TAG,arr:GUIDE_RESOURCES}, property
[all …]
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap() argument
51 mDeviceId(deviceId), mMap(map) { in NativeKeyCharacterMap()
73 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, in android_view_KeyCharacterMap_create() local
75 if (!map) { in android_view_KeyCharacterMap_create()
80 reinterpret_cast<jlong>(map)); in android_view_KeyCharacterMap_create()
99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel() local
100 return reinterpret_cast<jlong>(map); in nativeReadFromParcel()
104 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel() local
107 parcel->writeInt32(map->getDeviceId()); in nativeWriteToParcel()
108 map->getMap()->writeToParcel(parcel); in nativeWriteToParcel()
[all …]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
DSessionMap.h53 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/aapt2/
DBinaryResourceParser.h78 const ConfigDescription& config, const android::ResTable_map_entry* map);
81 const ConfigDescription& config, const android::ResTable_map_entry* map);
84 const ConfigDescription& config, const android::ResTable_map_entry* map);
87 const ConfigDescription& config, const android::ResTable_map_entry* map);
90 const ConfigDescription& config, const android::ResTable_map_entry* map);
93 const ConfigDescription& config, const android::ResTable_map_entry* map);
137 std::map<ResourceId, ResourceName> mIdIndex;
148 inline const ResTable_map* begin(const ResTable_map_entry* map) { in begin() argument
150 reinterpret_cast<const uint8_t*>(map) + map->size); in begin()
153 inline const ResTable_map* end(const ResTable_map_entry* map) { in end() argument
[all …]
/frameworks/base/tools/validatekeymaps/
DMain.cpp81 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/
DBluetoothLeUtils.java57 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/
DLruCache.java30 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/
DLongSparseLongArrayTest.java77 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/core/java/android/util/
DLruCache.java63 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/tools/layoutlib/bridge/src/android/util/
DLruCache.java67 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/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp100 const PidSessionInfosMap& map = sessionMap(); in addSession() local
101 EXPECT_EQ(2u, map.size()); in addSession()
102 ssize_t index1 = map.indexOfKey(kTestPid1); in addSession()
104 const SessionInfos& infos1 = map[index1]; in addSession()
108 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession()
110 const SessionInfos& infos2 = map[index2]; in addSession()
175 const PidSessionInfosMap& map = sessionMap(); in TEST_F() local
176 const SessionInfos& infos1 = map.valueFor(kTestPid1); in TEST_F()
177 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F()
187 const PidSessionInfosMap& map = sessionMap(); in TEST_F() local
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCoreSettingsObserver.java103 private void populateSettings(Bundle snapshot, Map<String, Class<?>> map) { in populateSettings() argument
105 for (Map.Entry<String, Class<?>> entry : map.entrySet()) { in populateSettings()
110 if (map == sSecureSettingToTypeMap) { in populateSettings()
112 } else if (map == sSystemSettingToTypeMap) { in populateSettings()
120 if (map == sSecureSettingToTypeMap) { in populateSettings()
122 } else if (map == sSystemSettingToTypeMap) { in populateSettings()
130 if (map == sSecureSettingToTypeMap) { in populateSettings()
132 } else if (map == sSystemSettingToTypeMap) { in populateSettings()
140 if (map == sSecureSettingToTypeMap) { in populateSettings()
142 } else if (map == sSystemSettingToTypeMap) { in populateSettings()
DProviderMap.java134 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId); in removeProviderByName() local
136 map.remove(name); in removeProviderByName()
137 if (map.size() == 0) { in removeProviderByName()
153 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId); in removeProviderByClass() local
155 map.remove(name); in removeProviderByClass()
156 if (map.size() == 0) { in removeProviderByClass()
164 final HashMap<String, ContentProviderRecord> map = mProvidersByNamePerUser.get(userId); in getProvidersByName() local
165 if (map == null) { in getProvidersByName()
170 return map; in getProvidersByName()
176 final HashMap<ComponentName, ContentProviderRecord> map in getProvidersByClass() local
[all …]
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java101 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/
DSmsProviderTest.java54 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/
DFileObserverTest.java47 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/
DVirtualKeyMap.cpp57 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/compile/mclinker/lib/Target/
DELFEmulation.cpp24 static const NameMap map[] = { variable
75 const unsigned int map_size = (sizeof(map) / sizeof(map[0])); in MCLDEmulateELF()
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy); in MCLDEmulateELF()
/frameworks/base/test-runner/src/android/test/
DSimpleCache.java23 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/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java121 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/opt/telephony/src/java/com/android/internal/telephony/
DImsSMSDispatcher.java278 HashMap map = tracker.mData; in sendRetrySms() local
283 if (!( map.containsKey("scAddr") && map.containsKey("destAddr") && in sendRetrySms()
284 ( map.containsKey("text") || in sendRetrySms()
285 (map.containsKey("data") && map.containsKey("destPort"))))) { in sendRetrySms()
291 String scAddr = (String)map.get("scAddr"); in sendRetrySms()
292 String destAddr = (String)map.get("destAddr"); in sendRetrySms()
296 if (map.containsKey("text")) { in sendRetrySms()
298 String text = (String)map.get("text"); in sendRetrySms()
309 } else if (map.containsKey("data")) { in sendRetrySms()
311 byte[] data = (byte[])map.get("data"); in sendRetrySms()
[all …]

12345678910>>...16