OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyFile
(Results
1 - 6
of
6
) 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
275
File
keyFile
= getUserKeyFile();
277
if (
keyFile
== null) {
281
if (!
keyFile
.exists()) {
282
keyFile
.createNewFile();
283
FileUtils.setPermissions(
keyFile
.toString(),
288
FileOutputStream fo = new FileOutputStream(
keyFile
, true);
299
File
keyFile
= getUserKeyFile();
300
if (
keyFile
!= null) {
301
keyFile
.delete();
/packages/services/Telephony/src/com/android/phone/
CallTime.java
204
String
keyFile
= baseName + ".key";
211
file = new File(
keyFile
);
/development/samples/Vault/src/com/example/android/vault/
VaultProvider.java
168
private void loadOrGenerateKeys(Context context, File
keyFile
)
173
if (!
keyFile
.exists()) {
180
writeFully(
keyFile
, wrapped);
185
final byte[] wrapped = readFully(
keyFile
);
/build/tools/signapk/
SignApk.java
152
* @param
keyFile
The file containing the private key. Used to prompt the user.
154
private static String readPassword(File
keyFile
) {
156
System.out.print("Enter password for " +
keyFile
+ " (password will not be hidden): ");
173
* @param
keyFile
The file containing the private key
175
private static KeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File
keyFile
)
185
char[] password = readPassword(
keyFile
).toCharArray();
196
System.err.println("signapk: Password for " +
keyFile
+ " may be bad.");
/prebuilts/devtools/tools/lib/
ddmuilib.jar
Completed in 356 milliseconds