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.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.java246 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument
267 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()
710 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
711 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.java300 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument
350 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()
1066 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument
1067 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
DParcelableKeyGenParameterSpec.java152 final String[] blockModes = in.createStringArray(); in ParcelableKeyGenParameterSpec() local
184 blockModes, in ParcelableKeyGenParameterSpec()