Searched refs:map (Results 26 - 50 of 259) sorted by relevance

1234567891011

/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp55 ALOGE("Error %d opening virtual key map file %s.", status, filename.string());
57 VirtualKeyMap* map = new VirtualKeyMap(); local
58 if (!map) {
59 ALOGE("Error allocating virtual key map.");
65 Parser parser(map, tokenizer);
69 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.",
74 delete map;
76 *outMap = map;
87 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : argument
88 mMap(map), mTokenize
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DCoreSettingsObserver.java103 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...]
H A DProviderMap.java134 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId);
135 // map returned by getProvidersByName wouldn't be null
136 map.remove(name);
137 if (map.size() == 0) {
153 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId);
154 // map returned by getProvidersByClass wouldn't be null
155 map.remove(name);
156 if (map.size() == 0) {
164 final HashMap<String, ContentProviderRecord> map = mProvidersByNamePerUser.get(userId);
165 if (map
242 dumpProvidersByClassLocked(PrintWriter pw, boolean dumpAll, String dumpPackage, String header, boolean needSep, HashMap<ComponentName, ContentProviderRecord> map) argument
268 dumpProvidersByNameLocked(PrintWriter pw, String dumpPackage, String header, boolean needSep, HashMap<String, ContentProviderRecord> map) argument
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java30 * 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/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp100 const PidSessionInfosMap& map = sessionMap(); local
101 EXPECT_EQ(2u, map.size());
102 ssize_t index1 = map.indexOfKey(kTestPid1);
104 const SessionInfos& infos1 = map[index1];
108 ssize_t index2 = map.indexOfKey(kTestPid2);
110 const SessionInfos& infos2 = map[index2];
175 const PidSessionInfosMap& map = sessionMap(); local
176 const SessionInfos& infos1 = map.valueFor(kTestPid1);
177 const SessionInfos& infos2 = map.valueFor(kTestPid2);
187 const PidSessionInfosMap& map local
208 const PidSessionInfosMap& map = sessionMap(); local
[all...]
/frameworks/base/libs/hwui/
H A DProgramCache.h23 #include <map>
59 std::map<programid, std::unique_ptr<Program>> mCache;
H A DAssetAtlas.cpp32 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++]);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetFolderListingSize.java17 package android.bluetooth.client.map;
19 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 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 DBluetoothMasRequestPushMessage.java17 package android.bluetooth.client.map;
26 import android.bluetooth.client.map.BluetoothMasClient.CharsetType;
27 import android.bluetooth.client.map.utils.ObexAppParameters;
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
H A Dlist_ext.kt25 else -> this.map {it.toCamelCase()}.joinToString("")
37 else -> this.map {it.toCamelCase()}.joinToString("")
/frameworks/opt/bluetooth/
H A DAndroid.mk21 src_dirs:= src/android/bluetooth/client/map
26 LOCAL_MODULE:= android.bluetooth.client.map
/frameworks/av/media/utils/include/mediautils/
H A DBatteryNotifier.h24 #include <map>
63 std::map<std::pair<String8, int>, bool> mFlashlightState;
64 std::map<std::pair<String8, int>, bool> mCameraState;
/frameworks/base/tools/aapt2/
H A DMockResolver.h28 #include <map>
35 const std::map<ResourceName, ResourceId>& items) :
88 std::map<ResourceName, ResourceId> mItems;
H A DLinker.h27 #include <map>
84 using ResourceNameToSourceMap = std::map<ResourceName, std::vector<SourceLine>>;
117 std::map<ResourceName, std::vector<SourceLine>> mUnresolvedSymbols;
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java24 * A convenience wrapper for a projection map. Makes it easier to create and use projection maps.
49 public Builder addAll(ProjectionMap map) { argument
50 for (Map.Entry<String, String> entry : map.entrySet()) {
73 * Returns a sorted array of all column names in the projection map.
89 public void putAll(Map<? extends String, ? extends String> map) { argument
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h24 #include <map>
45 typedef std::map<std::string, ISelectionCriterionInterface *> CriterionCollection;
46 typedef std::map<std::string, ISelectionCriterionTypeInterface *> CriterionTypeCollection;
72 * @todo: map on initCheck?
222 * Retrieve an element from a map by its name.
231 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap);
234 * Retrieve an element from a map by its name. Const version.
244 const std::map<std::string, T *> &elementsMap) const;
265 CriterionTypeCollection mPolicyCriterionTypes; /**< Policy Criterion Type map. */
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h22 #include <map>
232 std::map<int, EGLContext> contexts_;
233 std::map<int, SurfaceWindowPair> surfaces_;
255 std::map<int, ShaderProgram*> attached_shaders_;
256 std::map<int, VertexFrame*> attached_vframes_;
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutPullParser.java82 Map<String, String> map = null;
91 if (map == null) {
92 map = new HashMap<String, String>(4);
94 map.put(attribute, getAttributeValue(i));
98 return map;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DVolumeLoader.java33 HashMap<String, Properties> map = new HashMap<String, Properties>(); field in class:VolumeLoader
38 map.put(Mandelbulb.NAME,null);
39 map.put(Droid.NAME,null);
47 map.put(prop[i].getProperty("name"), prop[i]);
53 String [] ret = map.keySet().toArray(new String[map.size()]);
65 Properties p = map.get(name);
/frameworks/rs/
H A DrsMap.h92 next = map->bucket[bucket_index];
105 map == other.map;
110 map != other.map;
118 iterator(size_t index, LinkNode* n, const Map* m) : bucket_index(index), node(n), map(m) {}
123 const Map* map; member in class:android::renderscript::Map::iterator
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h27 #include <map>
37 * Collection of policy element as a map indexed with a their UID type.
47 class Collection : public std::map<Key, Element<Key> *>
51 typedef typename std::map<Key, T *>::iterator CollectionIterator;
52 typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator;
/frameworks/base/media/jni/
H A Dandroid_media_Utils.h38 JNIEnv *env, const sp<AMessage> &msg, jobject *map);

Completed in 605 milliseconds

1234567891011