Searched refs:blockModes (Results 1 – 5 of 5) sorted by relevance
350 @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() argument364 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()
245 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument266 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()709 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument710 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
96 @KeyProperties.BlockModeEnum String[] blockModes; in getKeyInfo() local150 blockModes = KeyProperties.BlockMode.allFromKeymaster( in getKeyInfo()206 blockModes, in getKeyInfo()
101 @KeyProperties.BlockModeEnum String[] blockModes, in KeyInfo() argument122 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyInfo()
291 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument340 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()1032 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument1033 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()