Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_backup_BackupDataInput.cpp79 jstring keyStr = env->NewStringUTF(key.c_str()); in readNextHeader_native() local
80 env->SetObjectField(entity, s_keyField, keyStr); in readNextHeader_native()
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp132 const char* keyStr = env->GetStringUTFChars(key, NULL); in ConvertKeyValueArraysToKeyedVector() local
133 if (!keyStr) { // OutOfMemoryError in ConvertKeyValueArraysToKeyedVector()
139 env->ReleaseStringUTFChars(key, keyStr); in ConvertKeyValueArraysToKeyedVector()
143 keyedVector->add(String8(keyStr), String8(valueStr)); in ConvertKeyValueArraysToKeyedVector()
145 env->ReleaseStringUTFChars(key, keyStr); in ConvertKeyValueArraysToKeyedVector()
Dandroid_media_MediaCodec.cpp913 ScopedLocalRef<jstring> keyStr{env, env->NewStringUTF(key.c_str())}; in getOutputFrame() local
914 (void)env->CallBooleanMethod(changedKeysObj.get(), gArrayListInfo.addId, keyStr.get()); in getOutputFrame()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java342 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected, in checkKeyGetAndSet() argument
344 Key<T> key = new Key<T>(keyStr, typeToken); in checkKeyGetAndSet()
364 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected) { in checkKeyGetAndSet() argument
365 checkKeyGetAndSet(keyStr, typeToken, expected, /*reuse*/false); in checkKeyGetAndSet()
368 private <T> void checkKeyGetAndSet(String keyStr, Class<T> type, T expected) { in checkKeyGetAndSet() argument
369 checkKeyGetAndSet(keyStr, TypeReference.createSpecializedTypeReference(type), expected); in checkKeyGetAndSet()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java751 String keyStr = new String(data, key, value - key, "UTF-8"); in readPaxExtendedHeader() local
755 if ("path".equals(keyStr)) { in readPaxExtendedHeader()
757 } else if ("size".equals(keyStr)) { in readPaxExtendedHeader()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java722 private static PrivateKey getPrivateKey(@NonNull String keyStr) in getPrivateKey() argument
725 new PKCS8EncodedKeySpec(decodeFromIpsecSecret(keyStr)); in getPrivateKey()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3723 StringPoolRef keyStr; member
4553 outName->name8 = UnpackOptionalString(entry.keyStr.string8(), &outName->nameLen); in getResourceName()
4566 outName->name = UnpackOptionalString(entry.keyStr.string16(), &outName->nameLen); in getResourceName()
6826 outEntry->keyStr = StringPoolRef(&bestPackage->keyStrings, entry->key()); in getEntry()