/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | SOAPBuilder.java | 95 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 D | ServiceListener.java | 122 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 D | ServiceListener.java | 122 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 D | ZoneGetter.java | 162 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 D | TaskStack.java | 1033 * 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 D | ExifInterface.java | 1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize);
|
/frameworks/base/services/ |
H A D | Android.mk | 19 # These should map to directory names relative to this
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputInfo.java | 1020 * 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 D | android_media_ExifInterface.cpp | 64 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 D | android_media_MediaDrm.cpp | 521 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 D | android_media_Utils.cpp | 282 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 D | android_media_Utils.h | 109 JNIEnv *env, const sp<AMessage> &msg, jobject *map);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 25 #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 D | gl_env.h | 22 #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 D | gl_frame.h | 20 #include <map> 207 std::map<GLenum, GLint> tex_params_;
|
H A D | shader_program.h | 21 #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 D | time_util.cpp | 22 #include <map> 76 static map<string, NamedStopWatch*> watches;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | time_util.cpp | 22 #include <map> 74 static std::map<std::string, NamedStopWatch*> watches;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 447 * 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 D | Typeface.java | 306 fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize);
|
/frameworks/base/include/androidfw/ |
H A D | Asset.h | 256 * 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 D | ResourceTypes.h | 1394 * 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 D | Asset.cpp | 423 * 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 D | LocaleData.cpp | 51 auto map = SCRIPT_PARENTS[i].map; local 52 auto lookup_result = map->find(packed_locale); 53 if (lookup_result != map->end()) {
|
H A D | LocaleDataTables.cpp | 1694 const std::unordered_map<uint32_t, uint32_t>* map; member in struct:__anon1018
|