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.java328 @NonNull Collection<Integer> blockModes) { in allFromKeymaster()
329 if ((blockModes == null) || (blockModes.isEmpty())) { in allFromKeymaster()
332 @BlockModeEnum String[] result = new String[blockModes.size()]; in allFromKeymaster()
334 for (int blockMode : blockModes) { in allFromKeymaster()
341 public static int[] allToKeymaster(@Nullable @BlockModeEnum String[] blockModes) { in allToKeymaster() argument
342 if ((blockModes == null) || (blockModes.length == 0)) { in allToKeymaster()
345 int[] result = new int[blockModes.length]; in allToKeymaster()
346 for (int i = 0; i < blockModes.length; i++) { in allToKeymaster()
347 result[i] = toKeymaster(blockModes[i]); in allToKeymaster()
DKeyProtection.java240 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument
257 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()
635 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
636 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
DKeyGenParameterSpec.java285 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument
330 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()
918 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
919 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
DAndroidKeyStoreSecretKeyFactorySpi.java93 @KeyProperties.BlockModeEnum String[] blockModes; in getKeyInfo() local
147 blockModes = KeyProperties.BlockMode.allFromKeymaster( in getKeyInfo()
198 blockModes, in getKeyInfo()
DKeyInfo.java99 @KeyProperties.BlockModeEnum String[] blockModes, in KeyInfo() argument
118 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyInfo()