Searched refs:map (Results 76 - 100 of 148) sorted by relevance

123456

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java224 ContentValues map = new ContentValues();
226 map.put(Telephony.Carriers.NUMERIC, operatorNumeric);
229 mContext.getContentResolver().insert(uri, map);
/frameworks/base/libs/androidfw/
H A DAsset.cpp417 * Create the chunk from the map.
445 * On first access, read or map the entire file. The caller has
464 //printf("map read\n");
553 * We can either read the whole thing in or map the relevant piece of
554 * the source file. Ideally a map would be established at a higher
605 FileMap* map; local
607 map = new FileMap;
608 if (!map->create(NULL, fileno(mFp), mStart, mLength, true)) {
609 map->release();
615 mMap = map;
645 ensureAlignment(FileMap* map) argument
[all...]
H A DResourceTypes.cpp220 static bool assertIdmapHeader(const uint32_t* map, size_t sizeBytes) argument
226 if (*map != htodl(IDMAP_MAGIC)) { // htodl: map data expected to be in correct endianess
228 *map, htodl(IDMAP_MAGIC));
234 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue) argument
236 // see README for details on the format of map
237 if (!assertIdmapHeader(map, sizeBytes)) {
240 map = map + IDMAP_HEADER_SIZE; // skip ahead to data segment
245 const uint32_t typeCount = *map;
282 getIdmapPackageId(const uint32_t* map, size_t mapSize, uint32_t *outId) argument
3589 const ResTable_map* map; local
5348 Vector<Vector<uint32_t> > map; local
5468 const uint32_t* map = (const uint32_t*)idmap; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp455 FileMap* map = zip.createEntryFileMap(entry); local
456 if (map) {
459 frame.map = map;
521 frame.map->getDataPtr(),
522 frame.map->getDataLength());
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp4641 status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]) { argument
4644 map[0] = OMX_AUDIO_ChannelCF;
4647 map[0] = OMX_AUDIO_ChannelLF;
4648 map[1] = OMX_AUDIO_ChannelRF;
4651 map[0] = OMX_AUDIO_ChannelLF;
4652 map[1] = OMX_AUDIO_ChannelRF;
4653 map[2] = OMX_AUDIO_ChannelCF;
4656 map[0] = OMX_AUDIO_ChannelLF;
4657 map[1] = OMX_AUDIO_ChannelRF;
4658 map[
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java96 * A mapping can be defined to map int values to specific strings. For
117 * A mapping can be defined to map array indices to specific strings.
138 * A flags mapping can be defined to map flags encoded in an integer to
195 * The original int value to map to a String.
918 final HashMap<Class<?>, Field[]> map = sFieldsForClasses;
920 Field[] fields = map.get(klass);
939 map.put(klass, fields);
952 final HashMap<Class<?>, Method[]> map = sMethodsForClasses;
954 Method[] methods = map.get(klass);
975 map
[all...]
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java111 Map map = null;
120 map = XmlUtils.readMapXml(str);
134 if (map != null) {
135 mMap = map;
569 // made to the underlying map, it's wasteful to
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DBroadcastTest.java276 Bundle map = new Bundle();
277 map.putString("foo", "you");
278 map.putString("remove", "me");
281 null, broadcastReceiver, null, 1, "foo", map);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java474 Map<Integer, TypedArray> map = new HashMap<Integer, TypedArray>();
475 mTypedArrayCache.put(attrs, map);
478 map.put(resid, ta);
483 // get the 2nd map
484 Map<Integer, TypedArray> map = mTypedArrayCache.get(attrs);
485 if (map == null) {
486 map = new HashMap<Integer, TypedArray>();
487 mTypedArrayCache.put(attrs, map);
490 // get the array from the 2nd map
491 TypedArray ta = map
[all...]
/frameworks/compile/slang/
H A Dslang_rs_metadata_spec_encoder.cpp21 #include <map>
63 typedef std::map</* key */unsigned, unsigned/* index */> TypesMapTy;
69 typedef std::map</* name */std::string, unsigned/* index */> RecordTypesMapTy;
72 typedef std::map<std::string, unsigned/* index */> StringsMapTy;
239 // Add this record type into the map
H A Dslang_rs_reflection.h22 #include <map>
77 typedef std::map<const RSExportRecordType::Field*, unsigned>
/frameworks/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java530 static void writeStringStringMap(Map<String, String> map, OutputStream os) throws IOException { argument
531 if (map != null) {
532 writeInt(os, map.size());
533 for (Map.Entry<String, String> entry : map.entrySet()) {
/frameworks/base/media/mca/filterfw/jni/
H A DAndroid.mk45 # to add this library to the prelink map and set this to true. However,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java148 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position);
150 Intent intent = (Intent) map.get("intent");
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java68 Map<String, ClassReader> map = mAa.parseZip(mOsJarPath);
88 map.keySet().toArray());
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java233 // Get the map of attribute-constant -> IntegerValue
234 Map<String, Integer> map = null;
236 map = Bridge.getEnumValues(mNames[index]);
242 map = ((AttrResourceValue) attr).getAttributeValues();
246 if (map != null) {
253 Integer i = map.get(keyword.trim());
/frameworks/base/services/java/com/android/server/content/
H A DSyncStorageEngine.java2101 HashMap<String,String> map = new HashMap<String,String>();
2102 map.put("_id", "status._id as _id");
2103 map.put("account", "stats.account as account");
2105 map.put("account_type", "stats.account_type as account_type");
2107 map.put("authority", "stats.authority as authority");
2108 map.put("totalElapsedTime", "totalElapsedTime");
2109 map.put("numSyncs", "numSyncs");
2110 map.put("numSourceLocal", "numSourceLocal");
2111 map.put("numSourcePoll", "numSourcePoll");
2112 map
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp751 if (((uint32_t)bagEntryId) == entry->map.name.ident) {
753 value = entry->map.value;
1025 while (styleEnt < endStyleEnt && curIdent > styleEnt->map.name.ident) {
1029 if (styleEnt < endStyleEnt && curIdent == styleEnt->map.name.ident) {
1033 value = styleEnt->map.value;
1041 while (defStyleEnt < endDefStyleEnt && curIdent > defStyleEnt->map.name.ident) {
1045 if (defStyleEnt < endDefStyleEnt && curIdent == defStyleEnt->map.name.ident) {
1049 value = defStyleEnt->map.value;
1327 value = arrayEnt->map.value;
1436 value = bag->map
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp642 String8 MockDrmPlugin::stringMapToString(KeyedVector<String8, String8> map) const
645 for (size_t i = 0; i < map.size(); i++) {
647 map.keyAt(i).string(), map.valueAt(i).string());
/frameworks/base/core/java/android/util/
H A DMathUtils.java155 public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) { method in class:MathUtils
/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);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DAutomaticActivity.java177 private static void logTestResultHash(String label, HashMap<String, TestResult> map) { argument
194 for (TestResult t : map.values()) {
/frameworks/base/core/java/android/os/
H A DBundle.java206 * Clones the current Bundle. The internal map is cloned, but the keys and
253 + " final map: " + mMap);
327 * @param map a Bundle
329 public void putAll(Bundle map) { argument
331 map.unparcel();
332 mMap.putAll(map.mMap);
335 mHasFds |= map.mHasFds;
336 mFdsKnown = mFdsKnown && map.mFdsKnown;
361 // It's been unparcelled, so we need to walk the map
H A DParcel.java1586 * the previously written map object was null.
2125 HashMap<String,Parcelable.Creator> map = mCreators.get(loader);
2126 if (map == null) {
2127 map = new HashMap<String,Parcelable.Creator>();
2128 mCreators.put(loader, map);
2130 creator = map.get(name);
2170 map.put(name, creator);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp147 JNIEnv *env, const sp<AMessage> &msg, jobject *map) {
277 *map = hashMap;
146 ConvertMessageToMap( JNIEnv *env, const sp<AMessage> &msg, jobject *map) argument

Completed in 4790 milliseconds

123456