Home
last modified time | relevance | path

Searched refs:blockModes (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java405 @NonNull Collection<Integer> blockModes) { in allFromKeymaster()
406 if ((blockModes == null) || (blockModes.isEmpty())) { in allFromKeymaster()
409 @BlockModeEnum String[] result = new String[blockModes.size()]; in allFromKeymaster()
411 for (int blockMode : blockModes) { in allFromKeymaster()
418 public static int[] allToKeymaster(@Nullable @BlockModeEnum String[] blockModes) { in allToKeymaster() argument
419 if ((blockModes == null) || (blockModes.length == 0)) { in allToKeymaster()
422 int[] result = new int[blockModes.length]; in allToKeymaster()
423 for (int i = 0; i < blockModes.length; i++) { in allToKeymaster()
424 result[i] = toKeymaster(blockModes[i]); in allToKeymaster()
DKeyProtection.java249 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument
272 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()
736 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
737 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
DKeyInfo.java104 @KeyProperties.BlockModeEnum String[] blockModes, in KeyInfo() argument
128 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyInfo()
DKeyGenParameterSpec.java348 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument
407 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()
1266 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
1267 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
DParcelableKeyGenParameterSpec.java157 final String[] blockModes = in.createStringArray(); in ParcelableKeyGenParameterSpec() local
194 blockModes, in ParcelableKeyGenParameterSpec()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreSecretKeyFactorySpi.java231 String[] blockModes = blockModesList.toArray(new String[0]); in getKeyInfo() local
252 blockModes, in getKeyInfo()