Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java350 @NonNull Collection<Integer> blockModes) { in allFromKeymaster()
351 if ((blockModes == null) || (blockModes.isEmpty())) { in allFromKeymaster()
354 @BlockModeEnum String[] result = new String[blockModes.size()]; in allFromKeymaster()
356 for (int blockMode : blockModes) { in allFromKeymaster()
363 public static int[] allToKeymaster(@Nullable @BlockModeEnum String[] blockModes) { in allToKeymaster() argument
364 if ((blockModes == null) || (blockModes.length == 0)) { in allToKeymaster()
367 int[] result = new int[blockModes.length]; in allToKeymaster()
368 for (int i = 0; i < blockModes.length; i++) { in allToKeymaster()
369 result[i] = toKeymaster(blockModes[i]); in allToKeymaster()
DKeyProtection.java245 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument
266 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()
709 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
710 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
DAndroidKeyStoreSecretKeyFactorySpi.java96 @KeyProperties.BlockModeEnum String[] blockModes; in getKeyInfo() local
150 blockModes = KeyProperties.BlockMode.allFromKeymaster( in getKeyInfo()
206 blockModes, in getKeyInfo()
DKeyInfo.java101 @KeyProperties.BlockModeEnum String[] blockModes, in KeyInfo() argument
122 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyInfo()
DKeyGenParameterSpec.java291 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument
340 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()
1032 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
1033 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()