Searched refs:useStrongbox (Results 1 – 3 of 3) sorted by relevance
197 private void testInitWithAlgParamsAndNullSecureRandomHelper(boolean useStrongbox) in testInitWithAlgParamsAndNullSecureRandomHelper() argument200 (useStrongbox ? EXPECTED_STRONGBOX_ALGORITHMS : EXPECTED_ALGORITHMS)) { in testInitWithAlgParamsAndNullSecureRandomHelper()204 .setIsStrongBoxBacked(useStrongbox) in testInitWithAlgParamsAndNullSecureRandomHelper()238 private void testDefaultKeySize(boolean useStrongbox) throws Exception { in testDefaultKeySize() argument240 (useStrongbox ? EXPECTED_STRONGBOX_ALGORITHMS : EXPECTED_ALGORITHMS)) { in testDefaultKeySize()260 private void testAesKeySupportedSizesHelper(boolean useStrongbox) throws Exception { in testAesKeySupportedSizesHelper() argument270 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper()274 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper()281 if (TestUtils.contains(useStrongbox ? in testAesKeySupportedSizesHelper()289 if (useStrongbox && (i == 192)) in testAesKeySupportedSizesHelper()[all …]
313 private void testGenerateHonorsRequestedAuthorizationsHelper(boolean useStrongbox) { in testGenerateHonorsRequestedAuthorizationsHelper() argument337 .setIsStrongBoxBacked(useStrongbox) in testGenerateHonorsRequestedAuthorizationsHelper()369 String specific = useStrongbox ? "Strongbox:" : ""; in testGenerateHonorsRequestedAuthorizationsHelper()586 private void replacesOldEntryWithSameAliasHelper(boolean useStrongbox) throws Exception { in replacesOldEntryWithSameAliasHelper() argument602 .setIsStrongBoxBacked(useStrongbox) in replacesOldEntryWithSameAliasHelper()630 .setIsStrongBoxBacked(useStrongbox) in replacesOldEntryWithSameAliasHelper()651 private void doesNotReplaceOtherEntriesHelper(boolean useStrongbox) throws Exception { in doesNotReplaceOtherEntriesHelper() argument666 .setIsStrongBoxBacked(useStrongbox) in doesNotReplaceOtherEntriesHelper()692 .setIsStrongBoxBacked(useStrongbox) in doesNotReplaceOtherEntriesHelper()724 private void testGenerate_EC_Different_KeysHelper(boolean useStrongbox) throws Exception { in testGenerate_EC_Different_KeysHelper() argument[all …]
128 private void createKey(boolean useStrongbox) { in createKey() argument142 builder.setIsStrongBoxBacked(useStrongbox); in createKey()171 private void runTest(boolean useStrongbox) { in runTest() argument172 createKey(useStrongbox); in runTest()179 useStrongbox); in runTest() local183 private void showConfirmationPrompt(String confirmationMessage, boolean useStrongbox) { in showConfirmationPrompt() argument195 markTestSuccess(useStrongbox); in showConfirmationPrompt()