/frameworks/native/opengl/tools/glgen/src/ |
H A D | ParameterChecker.java | 22 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/test-runner/src/android/test/ |
H A D | SimpleCache.java | 23 private Map<K, V> map = new HashMap<K, V>(); field in class:SimpleCache 28 if (map.containsKey(key)) { 29 return map.get(key); 32 map.put(key, value);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | LinkedHashMap_Delegate.java | 32 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 D | BluetoothMapFolderListing.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMapMessagesListing.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMasRequestUpdateInbox.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMasRequestGetFolderListing.java | 17 package android.bluetooth.client.map; 18 import android.bluetooth.client.map.utils.ObexAppParameters;
|
H A D | BluetoothMasRequestGetFolderListingSize.java | 17 package android.bluetooth.client.map; 19 import android.bluetooth.client.map.utils.ObexAppParameters;
|
H A D | BluetoothMasRequestGetMessage.java | 17 package android.bluetooth.client.map; 22 import android.bluetooth.client.map.BluetoothMasClient.CharsetType; 23 import android.bluetooth.client.map.utils.ObexAppParameters;
|
H A D | BluetoothMasRequestGetMessagesListingSize.java | 17 package android.bluetooth.client.map; 19 import android.bluetooth.client.map.utils.ObexAppParameters;
|
H A D | BluetoothMasRequestSetMessageStatus.java | 17 package android.bluetooth.client.map; 19 import android.bluetooth.client.map.utils.ObexAppParameters;
|
H A D | BluetoothMasRequestSetNotificationRegistration.java | 17 package android.bluetooth.client.map; 19 import android.bluetooth.client.map.utils.ObexAppParameters;
|
H A D | BluetoothMasRequestSetPath.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMapRfcommTransport.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMasRequestPushMessage.java | 17 package android.bluetooth.client.map; 26 import android.bluetooth.client.map.BluetoothMasClient.CharsetType; 27 import android.bluetooth.client.map.utils.ObexAppParameters;
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeUtils.java | 57 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/base/core/tests/coretests/src/android/util/ |
H A D | LongSparseLongArrayTest.java | 77 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/compile/mclinker/lib/Target/ |
H A D | ELFEmulation.cpp | 24 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);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
H A D | ObexTime.java | 17 package android.bluetooth.client.map.utils;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | CoreSettingsObserver.java | 103 private void populateSettings(Bundle snapshot, Map<String, Class<?>> map) { argument 105 for (Map.Entry<String, Class<?>> entry : map.entrySet()) { 110 if (map == sSecureSettingToTypeMap) { 112 } else if (map == sSystemSettingToTypeMap) { 120 if (map == sSecureSettingToTypeMap) { 122 } else if (map == sSystemSettingToTypeMap) { 130 if (map == sSecureSettingToTypeMap) { 132 } else if (map == sSystemSettingToTypeMap) { 140 if (map == sSecureSettingToTypeMap) { 142 } else if (map [all...] |
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 81 sp<KeyLayoutMap> map; local 82 status_t status = KeyLayoutMap::load(String8(filename), &map); 91 sp<KeyCharacterMap> map; local 93 KeyCharacterMap::FORMAT_ANY, &map); 95 fprintf(stderr, "Error %d parsing key character map file.\n\n", status); 102 PropertyMap* map; local 103 status_t status = PropertyMap::load(String8(filename), &map); 108 delete map; 113 VirtualKeyMap* map; local 114 status_t status = VirtualKeyMap::load(String8(filename), &map); [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | ArrayMap.java | 30 * avoid having to create an extra object for every entry put in to the map, and it 33 * a hash map). 67 public ArrayMap(SimpleArrayMap map) { argument 68 super(map); 124 * Determine if the array map contains all of the keys in the given collection. 126 * @return Returns true if this array map contains a key for every entry 134 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var> 135 * @param map The map whose contents are to be retrieved. 138 public void putAll(Map<? extends K, ? extends V> map) { argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 42 * Adds a new value in the session map table. It expects memory to be allocated already 53 map.add(key, value); 72 * returns the number of objects in the session map table 78 return map.size(); 82 * returns the session object by the index in the session map table 92 if (map.size() > index) { 93 value = map.valueAt(index); 99 * deletes the object from session map. It also frees up memory for the session object. 107 map.removeItem(key); 126 map 131 KeyedVector<int, TValue> map; member in class:android::SessionMap [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 63 private final LinkedHashMap<K, V> map; field in class:LruCache 85 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); 117 mapValue = map.get(key); 126 * Attempt to create a value. This may take a long time, and the map 128 * added to the map while create() was working, we leave that value in 129 * the map and release the created value. 139 mapValue = map.put(key, createdValue); 143 map.put(key, mapValue); 173 previous = map.put(key, value); 199 if (size < 0 || (map [all...] |
/frameworks/base/libs/hwui/ |
H A D | AssetAtlas.cpp | 32 void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) { argument 46 createEntries(caches, map, count); 115 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument 120 SkPixelRef* pixelRef = reinterpret_cast<SkPixelRef*>(map[i++]); 126 const int x = static_cast<int>(map[i++]); 127 const int y = static_cast<int>(map[i++]);
|