Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_backup_BackupDataInput.cpp79 jstring keyStr = env->NewStringUTF(key.string()); in readNextHeader_native() local
80 env->SetObjectField(entity, s_keyField, keyStr); in readNextHeader_native()
/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/media/jni/
Dandroid_media_Utils.cpp196 const char* keyStr = env->GetStringUTFChars(key, NULL); in ConvertKeyValueArraysToKeyedVector() local
197 if (!keyStr) { // OutOfMemoryError in ConvertKeyValueArraysToKeyedVector()
203 env->ReleaseStringUTFChars(key, keyStr); in ConvertKeyValueArraysToKeyedVector()
207 keyedVector->add(String8(keyStr), String8(valueStr)); in ConvertKeyValueArraysToKeyedVector()
209 env->ReleaseStringUTFChars(key, keyStr); in ConvertKeyValueArraysToKeyedVector()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java725 String keyStr = new String(data, key, value - key, "UTF-8"); in readPaxExtendedHeader() local
729 if ("path".equals(keyStr)) { in readPaxExtendedHeader()
731 } else if ("size".equals(keyStr)) { in readPaxExtendedHeader()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java6951 String keyStr = new String(data, key, value-key, "UTF-8"); in readPaxExtendedHeader() local
6955 if ("path".equals(keyStr)) { in readPaxExtendedHeader()
6957 } else if ("size".equals(keyStr)) { in readPaxExtendedHeader()
8344 String keyStr = new String(data, key, value-key, "UTF-8"); in readPaxExtendedHeader() local
8348 if ("path".equals(keyStr)) { in readPaxExtendedHeader()
8350 } else if ("size".equals(keyStr)) { in readPaxExtendedHeader()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3282 StringPoolRef keyStr; member
4103 outName->name8 = entry.keyStr.string8(&outName->nameLen); in getResourceName()
4116 outName->name = entry.keyStr.string16(&outName->nameLen); in getResourceName()
6295 outEntry->keyStr = StringPoolRef(&bestPackage->keyStrings, dtohl(entry->key.index)); in getEntry()