HomeSort by relevance Sort by last modified time
    Searched refs:keyFile (Results 1 - 5 of 5) sorted by null

  /frameworks/base/keystore/java/android/security/
SystemKeyStore.java 76 File keyFile = getKeyFile(keyName);
77 if (keyFile.exists()) {
90 if (!keyFile.createNewFile()) {
94 FileOutputStream fos = new FileOutputStream(keyFile);
99 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR),
110 File keyFile = new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION);
111 return keyFile;
119 File keyFile = getKeyFile(keyName);
120 if (!keyFile.exists()) {
123 return IoUtils.readFileAsByteArray(keyFile.toString())
    [all...]
  /frameworks/base/services/java/com/android/server/usb/
UsbDebuggingManager.java 279 File keyFile = getUserKeyFile();
281 if (keyFile == null) {
285 if (!keyFile.exists()) {
286 keyFile.createNewFile();
287 FileUtils.setPermissions(keyFile.toString(),
292 FileOutputStream fo = new FileOutputStream(keyFile, true);
303 File keyFile = getUserKeyFile();
304 if (keyFile != null) {
305 keyFile.delete();
  /packages/apps/Phone/src/com/android/phone/
CallTime.java 204 String keyFile = baseName + ".key";
211 file = new File(keyFile);
  /build/tools/signapk/
SignApk.java 113 * @param keyFile The file containing the private key. Used to prompt the user.
115 private static String readPassword(File keyFile) {
117 System.out.print("Enter password for " + keyFile + " (password will not be hidden): ");
134 * @param keyFile The file containing the private key
136 private static KeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File keyFile)
146 char[] password = readPassword(keyFile).toCharArray();
157 System.err.println("signapk: Password for " + keyFile + " may be bad.");
  /prebuilts/devtools/tools/lib/
ddmuilib.jar 

Completed in 229 milliseconds