Home
last modified time | relevance | path

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

/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()
/frameworks/base/media/jni/
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_AudioPresentation.h163 ScopedLocalRef<jobject> hashMap(env, env->NewObject( in convertLabelsToMap()
165 if (hashMap == nullptr) { in convertLabelsToMap()
179 env->CallObjectMethod(hashMap.get(), fields.hashMapPutID, jLocale.get(), jValue.get()); in convertLabelsToMap()
181 return hashMap; in convertLabelsToMap()
Dandroid_media_MediaDrm.cpp683 JNIEnv *env, jobject &hashMap, bool* pIsOK) { in HashMapToKeyedVector() argument
688 jobject entrySet = env->CallObjectMethod(hashMap, gFields.hashmap.entrySet); in HashMapToKeyedVector()
735 jobject hashMap = env->NewObject(clazz, gFields.hashmap.init); in KeyedVectorToHashMap() local
739 env->CallObjectMethod(hashMap, gFields.hashmap.put, jkey, jvalue); in KeyedVectorToHashMap()
743 return hashMap; in KeyedVectorToHashMap()
/frameworks/base/core/tests/fuzzers/ParcelFuzzer/
DReadUtils.java449 HashMap<String, String> hashMap = new HashMap<>();
451 parcel.readMap(hashMap, loader, String.class, String.class);