Searched refs:blockModes (Results 1 – 6 of 6) 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()
246 @KeyProperties.BlockModeEnum String[] blockModes, in KeyProtection() argument267 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyProtection()710 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument711 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()
300 @KeyProperties.BlockModeEnum String[] blockModes, in KeyGenParameterSpec() argument350 mBlockModes = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(blockModes)); in KeyGenParameterSpec()1066 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() argument1067 mBlockModes = ArrayUtils.cloneIfNotEmpty(blockModes); in setBlockModes()
152 final String[] blockModes = in.createStringArray(); in ParcelableKeyGenParameterSpec() local184 blockModes, in ParcelableKeyGenParameterSpec()