Home
last modified time | relevance | path

Searched refs:hashMap (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_AudioPresentation.h127 ScopedLocalRef<jobject> hashMap(env, env->NewObject( in convertLabelsToMap()
129 if (hashMap == nullptr) { in convertLabelsToMap()
143 env->CallObjectMethod(hashMap.get(), fields.hashMapPutID, jLocale.get(), jValue.get()); in convertLabelsToMap()
145 return hashMap; in convertLabelsToMap()
Dandroid_media_Streams.cpp244 jobject hashMap = env->NewObject(hashMapClazz.get(), hashMapConstructID); in ConvertMessageToMap() local
311 hashMap, in ConvertMessageToMap()
318 hashMap, in ConvertMessageToMap()
325 hashMap, in ConvertMessageToMap()
332 hashMap, in ConvertMessageToMap()
346 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
353 *map = hashMap; in ConvertMessageToMap()
Dandroid_media_MediaDrm.cpp640 JNIEnv *env, jobject &hashMap, bool* pIsOK) { in HashMapToKeyedVector() argument
645 jobject entrySet = env->CallObjectMethod(hashMap, gFields.hashmap.entrySet); in HashMapToKeyedVector()
692 jobject hashMap = env->NewObject(clazz, gFields.hashmap.init); in KeyedVectorToHashMap() local
696 env->CallObjectMethod(hashMap, gFields.hashmap.put, jkey, jvalue); in KeyedVectorToHashMap()
700 return hashMap; in KeyedVectorToHashMap()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java336 HashMap<ControlledHash, Integer> hashMap = new HashMap<ControlledHash, Integer>(); in run() local
350 oldHash = hashMap.put(key, i); in run()
357 oldHash = hashMap.remove(key); in run()
368 dump(hashMap, arrayMap); in run()
377 dump(hashMap, arrayMap); in run()
380 if (!compareMaps(hashMap, arrayMap)) { in run()
381 dump(hashMap, arrayMap); in run()
400 dump(hashMap, arrayMap); in run()
450 dump(hashMap, arrayMap); in run()