Searched refs:map (Results 176 - 200 of 305) sorted by last modified time

1234567891011>>

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DSOAPBuilder.java95 Map<String, String> map = null;
97 map = new HashMap<>(1);
98 map.put(OMAConstants.SppMOAttribute, moTree.getUrn());
100 moNode = new XMLNode(pddNode, OMAConstants.TAG_MOContainer, map);
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DServiceListener.java122 PrinterHashMap map = mVendorHashMap.get(vendor);
123 wasRemoved |= (map.removePrinter(nsdServiceInfo) != null);
124 if (map.isEmpty()) wasRemoved |= (mVendorHashMap.remove(vendor) != null);
181 for (PrinterHashMap map : mVendorHashMap.values()) {
182 count += map.size();
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
H A DServiceListener.java122 PrinterHashMap map = mVendorHashMap.get(vendor);
123 wasRemoved |= (map.removePrinter(nsdServiceInfo) != null);
124 if (map.isEmpty()) wasRemoved |= (mVendorHashMap.remove(vendor) != null);
181 for (PrinterHashMap map : mVendorHashMap.values()) {
182 count += map.size();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
H A DZoneGetter.java162 Map<String, Object> map = new HashMap<String, Object>();
163 map.put(KEY_ID, tz.getID());
164 map.put(KEY_DISPLAYNAME, displayName);
165 map.put(KEY_GMT, gmtOffsetString);
166 map.put(KEY_OFFSET, offsetMillis);
167 return map;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java1033 * Given a list of tasks, returns a map of each task's key to the task.
1036 ArrayMap<Task.TaskKey, Task> map = new ArrayMap<>(tasks.size());
1040 map.put(task.key, task);
1042 return map;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize);
/frameworks/base/services/
H A DAndroid.mk19 # These should map to directory names relative to this
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java1020 * Returns a map of TV input ID/custom label pairs set by the user in the settings.
1023 * @param userId The user ID for the stored hidden input map
1030 Map<String, String> map = new HashMap<>();
1032 return map;
1037 map.put(Uri.decode(pair[0]), Uri.decode(pair[1]));
1039 return map;
1079 * Stores a map of TV input ID/custom label set by user. This is expected to be
1083 * @param customLabels A map of TV input ID/custom label pairs
1084 * @param userId The user ID for the stored hidden input map
/frameworks/base/media/jni/
H A Dandroid_media_ExifInterface.cpp64 static jobject KeyedVectorToHashMap(JNIEnv *env, KeyedVector<String8, String8> const &map) { argument
67 for (size_t i = 0; i < map.size(); ++i) {
68 jstring jkey = env->NewStringUTF(map.keyAt(i).string());
69 jstring jvalue = env->NewStringUTF(map.valueAt(i).string());
137 KeyedVector<String8, String8> map; local
141 map.add(String8("HasThumbnail"), String8("true"));
142 map.add(String8("ThumbnailOffset"), String8::format("%d", image_data.thumbnail.offset));
143 map.add(String8("ThumbnailLength"), String8::format("%d", image_data.thumbnail.length));
145 map.add(String8("HasThumbnail"), String8("false"));
148 map
[all...]
H A Dandroid_media_MediaDrm.cpp521 static jobject KeyedVectorToHashMap (JNIEnv *env, KeyedVector<String8, String8> const &map) { argument
524 for (size_t i = 0; i < map.size(); ++i) {
525 jstring jkey = env->NewStringUTF(map.keyAt(i).string());
526 jstring jvalue = env->NewStringUTF(map.valueAt(i).string());
H A Dandroid_media_Utils.cpp282 JNIEnv *env, const sp<AMessage> &msg, jobject *map) {
416 *map = hashMap;
677 // only map until last pixel
693 // only map until last pixel
281 ConvertMessageToMap( JNIEnv *env, const sp<AMessage> &msg, jobject *map) argument
H A Dandroid_media_Utils.h109 JNIEnv *env, const sp<AMessage> &msg, jobject *map);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp25 #include <map>
46 for (std::map<int, SurfaceWindowPair>::iterator it = surfaces_.begin();
59 for (std::map<int, EGLContext>::iterator it = contexts_.begin();
260 for (std::map<int, SurfaceWindowPair>::iterator it = surfaces_.begin();
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_;
H A Dgl_frame.h20 #include <map>
207 std::map<GLenum, GLint> tex_params_;
H A Dshader_program.h21 #include <map>
424 typedef std::map<ProgramVar, VertexAttrib> VertexAttribMap;
436 // Scans for all uniforms in the shader and creates index -> id map.
547 std::map<ProgramVar, GLuint> uniform_indices_;
H A Dtime_util.cpp22 #include <map>
76 static map<string, NamedStopWatch*> watches;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dtime_util.cpp22 #include <map>
74 static std::map<std::string, NamedStopWatch*> watches;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java447 * Weirder cases, that don't map 1:1 with the native types
497 * Weirder cases, that don't map 1:1 with the native types
908 ReprocessFormatsMap map = mMetadata.get(key);
918 assertArrayEquals(expectedInputs, map.getInputs());
923 assertArrayEquals(expectedYuvOutputs, map.getOutputs(ImageFormat.YUV_420_888));
928 assertArrayEquals(expectedRaw16Outputs, map.getOutputs(ImageFormat.RAW_SENSOR));
1107 * Finally, validate that the map was unmarshaled correctly
1326 assertTrue("Format must be supported by stream configuration map",
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java306 fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize);
/frameworks/base/include/androidfw/
H A DAsset.h256 * a buffer or memory-map it. For small files it's probably best to
261 FileMap* mMap; // for memory map
264 const void* ensureAlignment(FileMap* map);
H A DResourceTypes.h1394 * Extended form of a ResTable_entry for map entries, defining a parent map
1477 // supplied as additional entries in the map.
1481 // supplied as additional entries in the map.
1645 ResTable_map map; member in struct:android::ResTable::bag_entry
/frameworks/base/libs/androidfw/
H A DAsset.cpp423 * Create the chunk from the map.
451 * On first access, read or map the entire file. The caller has
470 //printf("map read\n");
559 * We can either read the whole thing in or map the relevant piece of
560 * the source file. Ideally a map would be established at a higher
611 FileMap* map; local
613 map = new FileMap;
614 if (!map->create(NULL, fileno(mFp), mStart, mLength, true)) {
615 delete map;
621 mMap = map;
651 ensureAlignment(FileMap* map) argument
[all...]
H A DLocaleData.cpp51 auto map = SCRIPT_PARENTS[i].map; local
52 auto lookup_result = map->find(packed_locale);
53 if (lookup_result != map->end()) {
H A DLocaleDataTables.cpp1694 const std::unordered_map<uint32_t, uint32_t>* map; member in struct:__anon1018

Completed in 600 milliseconds

1234567891011>>