Searched defs:map (Results 1 - 25 of 142) sorted by relevance

123456

/frameworks/base/libs/androidfw/
H A DLocaleDataTables.cpp2320 const std::unordered_map<uint32_t, uint32_t>* map; member in struct:__anon1158
/frameworks/native/opengl/tools/glgen/src/
H A DParameterChecker.java22 HashMap<String,String[]> map = new HashMap<String,String[]>(); field in class:ParameterChecker
41 map.put(tokens[0], tokens);
46 String[] checks = map.get(functionName);
52 checks = map.get(functionName);
/frameworks/base/core/tests/coretests/src/android/util/
H A DArrayMapTest.java29 ArrayMap<String, String> map = new ArrayMap<>(); field in class:ArrayMapTest
47 while (map != null) {
49 map.put(String.format("key %d", i++), "B_DONT_DO_THAT");
58 + " size=" + (map == null ? "??" : String.valueOf(map.size())) + "]");
68 map.clear();
80 + i + " size=" + map.size() + "]");
83 map = null; // will stop other thread
94 map.put(String.format("key %d", i++), "B_DONT_DO_THAT");
99 map
[all...]
H A DLongSparseLongArrayTest.java77 final HashMap<Long, Long> map = new HashMap<Long, Long>();
84 map.put(key, value);
87 if (r.nextBoolean() && map.size() > 0) {
88 final int index = r.nextInt(map.size());
89 final long key = getKeyAtIndex(map, index);
90 map.remove(key);
95 Log.d(TAG, "verifying a map with " + map.size() + " entries");
97 for (Map.Entry<Long, Long> e : map.entrySet()) {
104 private static <E> E getKeyAtIndex(Map<E, ?> map, in argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DSimpleCache.java24 private Map<K, V> map = new HashMap<K, V>(); field in class:SimpleCache
29 if (map.containsKey(key)) {
30 return map.get(key);
33 map.put(key, value);
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.h34 explicit IdAssigner(const std::unordered_map<ResourceName, ResourceId>* map) argument
35 : assigned_id_map_(map) {}
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DBracketObject.java21 public HashMap<String, String> map = new HashMap<>(); field in class:BracketObject
/frameworks/av/include/media/stagefright/foundation/
H A DALookup.h34 inline bool map(const T& from, V *to) const { return lookup(from, to); } function in struct:android::ALookup
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } function in struct:android::ALookup
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DALookup.h34 inline bool map(const T& from, V *to) const { return lookup(from, to); } function in struct:android::ALookup
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } function in struct:android::ALookup
/frameworks/av/media/libstagefright/include/foundation/
H A DALookup.h34 inline bool map(const T& from, V *to) const { return lookup(from, to); } function in struct:android::ALookup
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } function in struct:android::ALookup
/frameworks/base/libs/hwui/renderthread/
H A DFrame.cpp24 void Frame::map(const SkRect& in, int32_t* out) const { function in class:android::uirenderer::renderthread::Frame
29 * HWUI does everything with 0,0 being top-left, so need to map
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DLinkedHashMap_Delegate.java32 public static <K,V> Map.Entry<K,V> eldest(LinkedHashMap<K,V> map) { argument
33 Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapFolderListing.java17 package android.bluetooth.client.map;
H A DBluetoothMapMessagesListing.java17 package android.bluetooth.client.map;
H A DBluetoothMasRequestUpdateInbox.java17 package android.bluetooth.client.map;
H A DBluetoothMasRequestGetFolderListing.java17 package android.bluetooth.client.map;
18 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestGetFolderListingSize.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestGetMessage.java17 package android.bluetooth.client.map;
22 import android.bluetooth.client.map.BluetoothMasClient.CharsetType;
23 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestGetMessagesListingSize.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestSetMessageStatus.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestSetNotificationRegistration.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestSetPath.java17 package android.bluetooth.client.map;
/frameworks/support/compat/tests/java/android/support/v4/util/
H A DSimpleArrayMapTest.java35 SimpleArrayMap<String, String> map = new SimpleArrayMap<>(); field in class:SimpleArrayMapTest
52 map.put(String.format("key %d", i++), "B_DONT_DO_THAT");
70 map.clear();
90 map.put(String.format("key %d", i++), "B_DONT_DO_THAT");
92 map.clear();
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeUtils.java57 static <T> String toString(Map<T, byte[]> map) { argument
58 if (map == null) {
61 if (map.isEmpty()) {
66 Iterator<Map.Entry<T, byte[]>> it = map.entrySet().iterator();
70 buffer.append(key).append("=").append(Arrays.toString(map.get(key)));
106 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { argument
107 if (map == otherMap) {
110 if (map == null || otherMap == null) {
113 if (map.size() != otherMap.size()) {
116 Set<T> keys = map
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp24 static const NameMap map[] = { member in namespace:mcld
72 // set up section map
75 const unsigned int map_size = (sizeof(map) / sizeof(map[0]));
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);

Completed in 476 milliseconds

123456