Home
last modified time | relevance | path

Searched refs:ks (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/java/com/android/server/pm/
DPackageKeySetData.java46 public void addSigningKeySet(long ks) { in addSigningKeySet() argument
49 if (ks == knownKeySet) { in addSigningKeySet()
55 mSigningKeySets[end] = ks; in addSigningKeySet()
58 public void removeSigningKeySet(long ks) { in removeSigningKeySet() argument
59 if (packageIsSignedBy(ks)) { in removeSigningKeySet()
63 if (signingKeySet != ks) { in removeSigningKeySet()
72 public void addDefinedKeySet(long ks, String alias) { in addDefinedKeySet() argument
75 if (ks == knownKeySet) { in addDefinedKeySet()
81 mDefinedKeySets[end] = ks; in addDefinedKeySet()
82 mKeySetAliases.put(alias, ks); in addDefinedKeySet()
[all …]
DKeySetManager.java83 public boolean packageIsSignedBy(String packageName, KeySet ks) { in packageIsSignedBy() argument
92 long id = getIdByKeySetLocked(ks); in packageIsSignedBy()
109 KeySet ks = addKeySetLocked(keys); in addDefinedKeySetToPackage() local
114 long id = getIdByKeySetLocked(ks); in addDefinedKeySetToPackage()
131 KeySet ks = addKeySetLocked(signingKeys); in addSigningKeySetToPackage() local
132 long id = getIdByKeySetLocked(ks); in addSigningKeySetToPackage()
160 public long getIdByKeySet(KeySet ks) { in getIdByKeySet() argument
162 return getIdByKeySetLocked(ks); in getIdByKeySet()
166 private long getIdByKeySetLocked(KeySet ks) { in getIdByKeySetLocked() argument
169 if (ks.equals(value)) { in getIdByKeySetLocked()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java322 KeyStore ks = KeyStore.getInstance("BKS"); in testDefaultAlgorithms() local
327 assertEquals("BKS", ks.getType()); in testDefaultAlgorithms()
/frameworks/base/services/java/com/android/server/
DMountService.java2582 KeySpec ks = new PBEKeySpec(mKey.toCharArray(), obbInfo.salt, in handleExecute() local
2584 SecretKey key = factory.generateSecret(ks); in handleExecute()
DBackupManagerService.java1148 KeySpec ks = new PBEKeySpec(pwArray, salt, rounds, PBKDF2_KEY_SIZE); in buildCharArrayKey() local
1149 return keyFactory.generateSecret(ks); in buildCharArrayKey()