/frameworks/base/keystore/tests/src/android/security/ |
SystemKeyStoreTest.java | 38 private static final String keyName = "TestKey"; 50 mSysKeyStore.deleteKey(keyName); 59 mSysKeyStore.deleteKey(keyName); 67 byte[] newKey = mSysKeyStore.generateNewKey(128, "AES", keyName); 69 byte[] recKey = mSysKeyStore.retrieveKey(keyName); 74 mSysKeyStore.deleteKey(keyName); 75 byte[] nullKey = mSysKeyStore.retrieveKey(keyName);
|
/frameworks/base/keystore/java/android/security/ |
SystemKeyStore.java | 67 public String generateNewKeyHexString(int numBits, String algName, String keyName) 69 return toHexString(generateNewKey(numBits, algName, keyName)); 72 public byte[] generateNewKey(int numBits, String algName, String keyName) 76 File keyFile = getKeyFile(keyName); 107 private File getKeyFile(String keyName) { 110 File keyFile = new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION); 114 public String retrieveKeyHexString(String keyName) throws IOException { 115 return toHexString(retrieveKey(keyName)); 118 public byte[] retrieveKey(String keyName) throws IOException { 119 File keyFile = getKeyFile(keyName); [all...] |
KeyStore.java | 217 public boolean importKey(String keyName, byte[] key, int uid, int flags) { 219 return mBinder.import_key(keyName, key, uid, flags) == NO_ERROR;
|
/cts/tests/tests/security/src/android/security/cts/ |
KeystoreExploitTest.java | 33 String keyName = "AAAA AAAA AAAA AAAA " 53 get.invoke(keystore, keyName);
|
/external/lzma/CPP/Windows/ |
Registry.h | 13 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value);
31 LONG Create(HKEY parentKey, LPCTSTR keyName,
36 LONG Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask = KEY_ALL_ACCESS);
62 LONG SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value);
|
Registry.cpp | 19 LONG CKey::Create(HKEY parentKey, LPCTSTR keyName,
26 LONG res = RegCreateKeyEx(parentKey, keyName, 0, keyClass,
38 LONG CKey::Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask)
42 LONG res = RegOpenKeyEx(parentKey, keyName, 0, accessMask, &key);
170 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value)
174 LONG res = key.Create(parentKey, keyName);
180 LONG CKey::SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value)
184 LONG res = key.Create(_object, keyName);
306 CSysString keyName;
312 LONG result = ::RegEnumKeyEx(_object, index, keyName.GetBuffer(kBufferSize), [all...] |
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsSerializer.java | 211 String keyName = key.getName(); 219 if (jsonReq.has(keyName) && !jsonReq.isNull(keyName)) { 223 JSONArray ja = jsonReq.getJSONArray(keyName); 256 "Failed to parse key from JSON: " + keyName); 260 Log.i(TAG, "Set: "+keyName+" -> "+Arrays.toString(val)); 262 jsonReq.remove(keyName); 267 val = jsonReq.getInt(keyName); 269 val = (byte)jsonReq.getInt(keyName); 271 val = jsonReq.getDouble(keyName); [all...] |
/external/clang/lib/Driver/ |
WindowsToolChain.cpp | 131 char keyName[256]; 134 DWORD index, size = sizeof(keyName) - 1; 135 for (index = 0; RegEnumKeyEx(hTopKey, index, keyName, &size, NULL, 137 const char *sp = keyName; 152 strcpy(bestName, keyName); 154 size = sizeof(keyName) - 1;
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFResourceDict.cpp | 122 SkAutoTUnref<SkPDFName> keyName( 124 typeDict->insert(keyName, value);
|
/external/skia/src/pdf/ |
SkPDFResourceDict.cpp | 122 SkAutoTUnref<SkPDFName> keyName( 124 typeDict->insert(keyName, value);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
ShortcutsScreen.js | 179 var keyName = key.name; 181 return this._joinNodes(keyName.split(" + ").map(this._createSpan.bind(this, "help-key")), plus);
|
/frameworks/wilhelm/src/android/ |
android_AudioSfDecoder.h | 67 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
|
android_AudioSfDecoder.cpp | 109 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { 117 strncpy(keyName, kPcmDecodeMetadataKeys[index], actualKeySize);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
systeminfo.cc | 316 static const WCHAR keyName[] = 319 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, keyName , 0, KEY_QUERY_VALUE, &key) 328 LOG(LS_WARNING) << "Failed to query registry value HKLM\\" << keyName 335 LOG(LS_WARNING) << "Failed to open registry key HKLM\\" << keyName;
|
/system/security/keystore/ |
keystore.cpp | 248 static size_t encode_key_length(const android::String8& keyName) { 249 const uint8_t* in = reinterpret_cast<const uint8_t*>(keyName.string()); 250 size_t length = keyName.length(); 259 static int encode_key(char* out, const android::String8& keyName) { 260 const uint8_t* in = reinterpret_cast<const uint8_t*>(keyName.string()); 261 size_t length = keyName.length(); 927 android::String8 getKeyName(const android::String8& keyName) { 928 char encoded[encode_key_length(keyName) + 1]; // add 1 for null char 929 encode_key(encoded, keyName); 933 android::String8 getKeyNameForUid(const android::String8& keyName, uid_t uid) [all...] |
/frameworks/base/core/jni/ |
android_hardware_camera2_CameraMetadata.cpp | 113 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName); 465 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName) { 467 ScopedUtfChars keyScoped(env, keyName);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetwork.java | 215 Log.e(TAG, "Can't find keyname: " + command.get(2)); 237 * Get an integer keycode value from a given keyname. 239 * @param keyName the key name to get the code for 242 private static int getKeyCode(String keyName) { 245 keyCode = Integer.parseInt(keyName); 249 keyCode = MonkeySourceRandom.getKeyCode(keyName); 256 keyCode = MonkeySourceRandom.getKeyCode("KEYCODE_" + keyName.toUpperCase()); 372 Log.e(TAG, "Can't find keyname: " + command.get(1));
|
MonkeySourceRandom.java | 113 * @param keyName the name of the KEYCODE_VALUE to lookup. 116 public static int getKeyCode(String keyName) { 117 return KeyEvent.keyCodeFromString(keyName);
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiEnterpriseConfig.java | 683 final String keyName; 685 keyName = new String(oldPrivateKey.substring(KEYSTORE_URI.length())); 687 keyName = oldPrivateKey; 689 mFields.put(PRIVATE_KEY_ID_KEY, convertToQuotedString(keyName));
|
/external/chromium_org/net/third_party/nss/ssl/ |
sslsnce.c | [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
TextureAtlas.java | 152 String keyName = diffuse.getKey().toString(); 157 addTexture(diffuse, "NormalMap", keyName); 160 addTexture(specular, "SpecularMap", keyName);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
OpenWnnDictionaryImplJni.c | [all...] |
/sdk/find_java/ |
find_java_lib.cpp | 151 const char *keyName,
170 keyName, // lpValueName
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
EventSender.cpp | [all...] |
/prebuilts/devtools/tools/lib/ |
chimpchat.jar | |