Searched refs:blockModes (Results 1 – 5 of 5) sorted by relevance
328 @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() argument342 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()
240 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument257 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()635 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument636 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
285 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument330 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()918 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument919 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
93 @KeyProperties.BlockModeEnum String[] blockModes; in getKeyInfo() local147 blockModes = KeyProperties.BlockMode.allFromKeymaster( in getKeyInfo()198 blockModes, in getKeyInfo()
99 @KeyProperties.BlockModeEnum String[] blockModes, in KeyInfo() argument118 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyInfo()