OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyFile
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/keystore/java/android/security/
SystemKeyStore.java
74
File
keyFile
= getKeyFile(keyName);
75
if (
keyFile
.exists()) {
88
if (!
keyFile
.createNewFile()) {
92
FileOutputStream fos = new FileOutputStream(
keyFile
);
97
FileUtils.setPermissions(
keyFile
.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR),
108
File
keyFile
= new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION);
109
return
keyFile
;
117
File
keyFile
= getKeyFile(keyName);
118
if (!
keyFile
.exists()) {
121
return IoUtils.readFileAsByteArray(
keyFile
.toString())
[
all
...]
/frameworks/base/services/usb/java/com/android/server/usb/
UsbDebuggingManager.java
330
File
keyFile
= getUserKeyFile();
332
if (
keyFile
== null) {
336
if (!
keyFile
.exists()) {
337
keyFile
.createNewFile();
338
FileUtils.setPermissions(
keyFile
.toString(),
343
FileOutputStream fo = new FileOutputStream(
keyFile
, true);
354
File
keyFile
= getUserKeyFile();
355
if (
keyFile
!= null) {
356
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
169
private void loadOrGenerateKeys(Context context, File
keyFile
)
174
if (!
keyFile
.exists()) {
181
writeFully(
keyFile
, wrapped);
186
final byte[] wrapped = readFully(
keyFile
);
/build/tools/signapk/
SignApk.java
171
* @param
keyFile
The file containing the private key. Used to prompt the user.
173
private static String readPassword(File
keyFile
) {
175
System.out.print("Enter password for " +
keyFile
+ " (password will not be hidden): ");
192
* @param
keyFile
The file containing the private key
194
private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File
keyFile
)
204
char[] password = readPassword(
keyFile
).toCharArray();
215
System.err.println("signapk: Password for " +
keyFile
+ " may be bad.");
[
all
...]
/prebuilts/devtools/tools/lib/
ddmuilib.jar
/prebuilts/sdk/tools/lib/
signapk.jar
Completed in 957 milliseconds