Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_backup_BackupDataInput.cpp77 jstring keyStr = env->NewStringUTF(key.string()); in readNextHeader_native() local
78 env->SetObjectField(entity, s_keyField, keyStr); in readNextHeader_native()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp59 const char* keyStr = env->GetStringUTFChars(key, NULL); in ConvertKeyValueArraysToKeyedVector() local
60 if (!keyStr) { // OutOfMemoryError in ConvertKeyValueArraysToKeyedVector()
66 env->ReleaseStringUTFChars(key, keyStr); in ConvertKeyValueArraysToKeyedVector()
70 keyedVector->add(String8(keyStr), String8(valueStr)); in ConvertKeyValueArraysToKeyedVector()
72 env->ReleaseStringUTFChars(key, keyStr); in ConvertKeyValueArraysToKeyedVector()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java334 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected, in checkKeyGetAndSet() argument
336 Key<T> key = new Key<T>(keyStr, typeToken); in checkKeyGetAndSet()
356 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected) { in checkKeyGetAndSet() argument
357 checkKeyGetAndSet(keyStr, typeToken, expected, /*reuse*/false); in checkKeyGetAndSet()
360 private <T> void checkKeyGetAndSet(String keyStr, Class<T> type, T expected) { in checkKeyGetAndSet() argument
361 checkKeyGetAndSet(keyStr, TypeReference.createSpecializedTypeReference(type), expected); in checkKeyGetAndSet()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5423 String keyStr = new String(data, key, value-key, "UTF-8"); in readPaxExtendedHeader() local
5427 if ("path".equals(keyStr)) { in readPaxExtendedHeader()
5429 } else if ("size".equals(keyStr)) { in readPaxExtendedHeader()
6711 String keyStr = new String(data, key, value-key, "UTF-8"); in readPaxExtendedHeader() local
6715 if ("path".equals(keyStr)) { in readPaxExtendedHeader()
6717 } else if ("size".equals(keyStr)) { in readPaxExtendedHeader()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2866 StringPoolRef keyStr; member
3590 outName->name8 = entry.keyStr.string8(&outName->nameLen); in getResourceName()
3603 outName->name = entry.keyStr.string16(&outName->nameLen); in getResourceName()
5608 outEntry->keyStr = StringPoolRef(&bestPackage->keyStrings, dtohl(entry->key.index)); in getEntry()