/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 65 public String generateNewKeyHexString(int numBits, String algName, String keyName) in generateNewKeyHexString() argument 67 return toHexString(generateNewKey(numBits, algName, keyName)); in generateNewKeyHexString() 70 public byte[] generateNewKey(int numBits, String algName, String keyName) in generateNewKey() argument 74 File keyFile = getKeyFile(keyName); in generateNewKey() 105 private File getKeyFile(String keyName) { in getKeyFile() argument 108 File keyFile = new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION); in getKeyFile() 112 public String retrieveKeyHexString(String keyName) throws IOException { in retrieveKeyHexString() argument 113 return toHexString(retrieveKey(keyName)); in retrieveKeyHexString() 116 public byte[] retrieveKey(String keyName) throws IOException { in retrieveKey() argument 117 File keyFile = getKeyFile(keyName); in retrieveKey() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_MediaMetricsJNI.cpp | 64 jstring keyName = env->NewStringUTF(prop->mName); in writeMetricsToBundle() local 69 keyName, (jint) prop->u.int32Value); in writeMetricsToBundle() 73 keyName, (jlong) prop->u.int64Value); in writeMetricsToBundle() 77 keyName, (jdouble) prop->u.doubleValue); in writeMetricsToBundle() 80 env->CallVoidMethod(mybundle, setStringID, keyName, in writeMetricsToBundle() 163 jstring keyName = env->NewStringUTF(buf); in writeAttributesToBundle() local 179 keyName, (jint) i32); in writeAttributesToBundle() 187 keyName, (jlong) i64); in writeAttributesToBundle() 195 keyName, (jdouble) d64); in writeAttributesToBundle() 202 keyName, value); in writeAttributesToBundle()
|
D | android_hardware_camera2_CameraMetadata.cpp | 166 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName, jlong vendorId… 167 static jint CameraMetadata_getTagFromKeyLocal(JNIEnv *env, jobject thiz, jstring keyName); 669 static jint CameraMetadata_getTagFromKeyLocal(JNIEnv *env, jobject thiz, jstring keyName) { in CameraMetadata_getTagFromKeyLocal() argument 670 ScopedUtfChars keyScoped(env, keyName); in CameraMetadata_getTagFromKeyLocal() 814 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName, in CameraMetadata_getTagFromKey() argument 816 ScopedUtfChars keyScoped(env, keyName); in CameraMetadata_getTagFromKey()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetricsJNI.cpp | 64 jstring keyName = env->NewStringUTF(prop->mName); in writeMetricsToBundle() local 69 keyName, (jint) prop->u.int32Value); in writeMetricsToBundle() 73 keyName, (jlong) prop->u.int64Value); in writeMetricsToBundle() 77 keyName, (jdouble) prop->u.doubleValue); in writeMetricsToBundle() 80 env->CallVoidMethod(mybundle, setStringID, keyName, in writeMetricsToBundle() 163 jstring keyName = env->NewStringUTF(buf); in writeAttributesToBundle() local 179 keyName, (jint) i32); in writeAttributesToBundle() 187 keyName, (jlong) i64); in writeAttributesToBundle() 195 keyName, (jdouble) d64); in writeAttributesToBundle() 202 keyName, value); in writeAttributesToBundle()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockKeyStore.java | 109 private boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey() argument 110 return put(keyName, key, uid, flags); in importKey() 130 for (String keyName : mStore.get(uid).keySet()) { in toString() 131 sb.append(String.format("%d:%s, ", uid, keyName)); in toString()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraMetadata.java | 194 String keyName; in getKeys() local 197 keyName = ((CaptureRequest.Key<?>) k).getName(); in getKeys() 200 keyName = ((CaptureResult.Key<?>) k).getName(); in getKeys() 203 keyName = ((CameraCharacteristics.Key<?>) k).getName(); in getKeys() 211 CameraMetadataNative.getTag(keyName, vendorId)) < 0) { in getKeys()
|
/frameworks/wilhelm/src/android/ |
D | android_AudioSfDecoder.h | 59 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
|
D | android_AudioSfDecoder.cpp | 120 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { in getPcmFormatKeyName() argument 128 strncpy(keyName, kPcmDecodeMetadataKeys[index], actualKeySize); in getPcmFormatKeyName()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 373 private <T> Key<T> checkKeyMarshal(String keyName, TypeReference<T> typeReference, in checkKeyMarshal() argument 375 Key<T> key = new Key<T>(keyName, typeReference); in checkKeyMarshal() 417 private <T> Key<T> checkKeyMarshal(String keyName, T expected, byte[] expectedNative) { in checkKeyMarshal() argument 420 return checkKeyMarshal(keyName, in checkKeyMarshal()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 233 String keyName = Credentials.USER_PRIVATE_KEY + ALIAS_HS_TYPE + mProviderId; in installCertsAndKeys() local 234 if (!mKeyStore.putKeyInKeyStore(keyName, in installCertsAndKeys()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 1561 private native synchronized int nativeGetTagFromKeyLocal(String keyName) in nativeGetTagFromKeyLocal() argument 1566 private static native int nativeGetTagFromKey(String keyName, long vendorId) in nativeGetTagFromKey() argument
|