Searched refs:hashMap (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_AudioPresentation.h | 127 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()
|
D | android_media_Streams.cpp | 244 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()
|
D | android_media_MediaDrm.cpp | 640 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/ |
D | ArrayMapTests.java | 336 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()
|