Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 2018) sorted by relevance

12345678910>>...81

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java320 init(Cipher.DECRYPT_MODE, getKey()); in testInitRequiresIvInDecryptMode()
326 init(Cipher.DECRYPT_MODE, getKey(), (SecureRandom) null); in testInitRequiresIvInDecryptMode()
332 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameterSpec) null, null); in testInitRequiresIvInDecryptMode()
338 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameterSpec) null, null); in testInitRequiresIvInDecryptMode()
344 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameters) null, null); in testInitRequiresIvInDecryptMode()
350 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameters) null, null); in testInitRequiresIvInDecryptMode()
376 init(Cipher.ENCRYPT_MODE, key); in testIvGeneratedAndUsedWhenEncryptingWithoutExplicitIv()
396 init(Cipher.DECRYPT_MODE, key, generatedParams); in testIvGeneratedAndUsedWhenEncryptingWithoutExplicitIv()
408 init(Cipher.ENCRYPT_MODE, getKey()); in testGeneratedIvSurvivesReset()
429 init(Cipher.ENCRYPT_MODE, getKey(), generatedParams); in testGeneratedIvSurvivesReset()
[all …]
DKeyGeneratorTest.java131 keyGenerator.init(keySizeBits); in testInitWithKeySizeThrowsUnsupportedOperationException()
148 keyGenerator.init(keySizeBits, rng); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()
163 keyGenerator.init((AlgorithmParameterSpec) null); in testInitWithNullAlgParamsThrowsInvalidAlgorithmParameterException()
179 keyGenerator.init((AlgorithmParameterSpec) null, rng); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException()
202 keyGenerator.init(getWorkingSpec() in testInitWithAlgParamsAndNullSecureRandomHelper()
221 keyGenerator.init(new ECGenParameterSpec("secp256r1")); in testInitWithUnsupportedAlgParamsTypeThrowsInvalidAlgorithmParameterException()
243 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()
281 keyGenerator.init(spec, rng); in testAesKeySupportedSizesHelper()
287 keyGenerator.init(spec, rng); in testAesKeySupportedSizesHelper()
322 keyGenerator.init(spec, rng); in testDESKeySupportedSizes()
[all …]
DRSACipherTest.java60 cipher.init(Cipher.ENCRYPT_MODE, publicKey); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
63 cipher.init(Cipher.DECRYPT_MODE, privateKey); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
90 cipher.init(Cipher.ENCRYPT_MODE, publicKey); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()
92 cipher.init(Cipher.DECRYPT_MODE, privateKey); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()
116 cipher.init(Cipher.ENCRYPT_MODE, publicKey); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus()
145 cipher.init(Cipher.ENCRYPT_MODE, publicKey); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus()
177 cipher.init(Cipher.ENCRYPT_MODE, publicKey); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus()
209 cipher.init(Cipher.DECRYPT_MODE, privateKey); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus()
236 cipher.init(Cipher.ENCRYPT_MODE, publicKey); in testNoPaddingWithZeroMessage()
242 cipher.init(Cipher.DECRYPT_MODE, privateKey); in testNoPaddingWithZeroMessage()
DImportWrappedKeyTest.java120 c.init(Cipher.ENCRYPT_MODE, key); in testKeyStore_ImportWrappedKey()
124 c.init(Cipher.DECRYPT_MODE, key); in testKeyStore_ImportWrappedKey()
152 kg.init(168); in testKeyStore_ImportWrappedKey_3DES()
183 c.init(Cipher.ENCRYPT_MODE, key); in testKeyStore_ImportWrappedKey_3DES()
188 c.init(Cipher.DECRYPT_MODE, key, paramSpec); in testKeyStore_ImportWrappedKey_3DES()
200 kg.init(168); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
220 c.init(Cipher.ENCRYPT_MODE, key); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
225 c.init(Cipher.DECRYPT_MODE, key, paramSpec); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
260 c.init(Cipher.ENCRYPT_MODE, key); in testKeyStore_ImportWrappedKey_AES_StrongBox()
266 c.init(Cipher.DECRYPT_MODE, key, paramSpec); in testKeyStore_ImportWrappedKey_AES_StrongBox()
[all …]
DCipherTest.java346 cipher.init(Cipher.ENCRYPT_MODE, key.getKeystoreBackedEncryptionKey()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
352 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
358 cipher.init(Cipher.UNWRAP_MODE, decryptionKey, params); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
360 cipher.init(Cipher.UNWRAP_MODE, decryptionKey); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
384 cipher.init(Cipher.ENCRYPT_MODE, key); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
387 cipher.init(Cipher.WRAP_MODE, key); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
413 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEmptyPlaintextEncryptsAndDecrypts()
427 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testEmptyPlaintextEncryptsAndDecrypts()
464 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEncryptsAndDecryptsInterrupted()
478 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testEncryptsAndDecryptsInterrupted()
[all …]
DDesCipherPerformanceTest.java74 .init( in AndroidKeystoreDesKeyGenerator()
104 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in setUp()
128 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in initialSetUp()
135 mCipher.init(Cipher.DECRYPT_MODE, mKey, mParameters); in setUp()
DAesCipherPerformanceTest.java82 .init( in AndroidKeystoreAesKeyGenerator()
112 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in setUp()
136 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in initialSetUp()
143 mCipher.init(Cipher.DECRYPT_MODE, mKey, mParameters); in setUp()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraVulkanGpuTest.cpp47 VkInit init; in loadCameraAndVerifyFrameImport() local
48 if (!init.init()) { in loadCameraAndVerifyFrameImport()
52 VkImageRenderer renderer(&init, kTestImageWidth, kTestImageHeight, in loadCameraAndVerifyFrameImport()
54 ASSERT(renderer.init(env, assetMgr), "Could not init VkImageRenderer."); in loadCameraAndVerifyFrameImport()
77 VkAHardwareBufferImage vkImage(&init); in loadCameraAndVerifyFrameImport()
78 …ASSERT(vkImage.init(buffer, true /* useExternalFormat */), "Could not initialize VkAHardwareBuffer… in loadCameraAndVerifyFrameImport()
Dandroid_graphics_cts_MediaVulkanGpuTest.cpp74 VkInit init; in loadMediaAndVerifyFrameImport() local
75 if (!init.init()) { in loadMediaAndVerifyFrameImport()
87 ASSERT(media.init(env, assetMgr, jfilename, imageReader.getNativeWindow()), in loadMediaAndVerifyFrameImport()
109 VkImageRenderer renderer(&init, bufferDesc.width, bufferDesc.height, in loadMediaAndVerifyFrameImport()
111 ASSERT(renderer.init(env, assetMgr), "Could not init VkImageRenderer."); in loadMediaAndVerifyFrameImport()
114 VkAHardwareBufferImage vkImage(&init); in loadMediaAndVerifyFrameImport()
115 ASSERT(vkImage.init(buffer, true /* useExternalFormat */), in loadMediaAndVerifyFrameImport()
Dandroid_graphics_cts_BasicVulkanGpuTest.cpp73 VkInit init; in verifyBasicBufferImport() local
74 if (!init.init()) { in verifyBasicBufferImport()
96 VkImageRenderer renderer(&init, kTestImageWidth, kTestImageHeight, in verifyBasicBufferImport()
98 ASSERT(renderer.init(env, assetMgr), "Unable to initialize VkRenderer."); in verifyBasicBufferImport()
121 VkAHardwareBufferImage vkImage(&init); in verifyBasicBufferImport()
122 ASSERT(vkImage.init(buffer, useExternalFormat, syncFd), in verifyBasicBufferImport()
DVulkanTestHelpers.h34 bool init();
61 VkAHardwareBufferImage(VkInit *init);
64 bool init(AHardwareBuffer *buffer, bool useExternalFormat, int syncFd = -1);
85 VkImageRenderer(VkInit *init, uint32_t width, uint32_t height,
89 bool init(JNIEnv *env, jobject assetMgr);
Dandroid_graphics_cts_VulkanSurfaceSupportTest.cpp42 VkTestResult ret = deviceInfo.init(env, jSurface); in createNativeTest()
55 ASSERT(swapchainInfo.init(false, nullptr) == VK_TEST_SUCCESS, in createNativeTest()
59 ASSERT(renderer.init(env, jAssetManager) == VK_TEST_SUCCESS, in createNativeTest()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt171 name: "<init>"
187 name: "<init>"
446 name: "<init>"
499 name: "<init>"
503 name: "<init>"
531 name: "<init>"
539 name: "<init>"
572 name: "<init>"
579 name: "<init>"
583 name: "<init>"
[all …]
DShell.apk.pb.txt235 name: "<init>"
648 name: "<init>"
740 name: "<init>"
748 name: "<init>"
815 name: "<init>"
840 name: "<init>"
906 name: "<init>"
1066 name: "<init>"
1094 name: "<init>"
1109 name: "<init>"
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_17.smali20 .method public constructor <init>()V
22 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
30 invoke-direct {v0} , Ljava/lang/String;-><init>()V
31 invoke-direct {v0} , Ljava/lang/String;-><init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_17.smali20 .method public constructor <init>()V
22 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
30 invoke-direct/range {v0} , Ljava/lang/String;-><init>()V
31 invoke-direct/range {v0} , Ljava/lang/String;-><init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/d/
DT_opc_throw_5.smali21 .method public constructor <init>()V
24 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
36 invoke-direct {v2}, Ljava/lang/Object;-><init>()V
44 invoke-direct {v1}, Ljava/lang/NullPointerException;-><init>()V
/cts/tests/tests/preference/src/android/preference/cts/
DCustomDialogPreference.java30 init(attrs); in CustomDialogPreference()
37 init(attrs); in CustomDialogPreference()
42 private void init(AttributeSet attrs) { in init() method in CustomDialogPreference
DCustomPreferenceGroup.java29 init(attrs); in CustomPreferenceGroup()
38 init(attrs); in CustomPreferenceGroup()
41 private void init(AttributeSet attrs) { in init() method in CustomPreferenceGroup
DCustomSwitchPreference.java30 init(attrs); in CustomSwitchPreference()
41 init(attrs); in CustomSwitchPreference()
46 private void init(AttributeSet attrs) { in init() method in CustomSwitchPreference
DCustomEditTextPreference.java30 init(attrs); in CustomEditTextPreference()
41 init(attrs); in CustomEditTextPreference()
46 private void init(AttributeSet attrs) { in init() method in CustomEditTextPreference
DCustomCheckBoxPreference.java30 init(attrs); in CustomCheckBoxPreference()
41 init(attrs); in CustomCheckBoxPreference()
46 private void init(AttributeSet attrs) { in init() method in CustomCheckBoxPreference
/cts/suite/audio_quality/lib/src/
DLog.cpp32 ASSERT_PLAIN(mInstance->init(dirName)); in Instance()
65 bool Log::init(const char* dirName) in init() function in Log
74 return FileUtil::init(logFile.string()); in init()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/T_instance_of_2.smalis/
DT_instance_of_2.smali21 .method public constructor <init>()V
24 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
39 invoke-direct {v10}, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;-><init>()V
64 invoke-direct {v10}, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;-><init>()V
73 invoke-direct {v10}, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass;-><init>()V
82 invoke-direct {v10}, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;-><init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/
DT_new_instance_6.dfh53 // parsed: offset 112, len 4: [0] string_data_off: 330 (0x00014a) "<init>"
104 …et 204, len 8: [0] class_idx: 0 (0x000000) proto_idx: 1 (0x000001) name_idx: 0 (0x000000) "<init>"
108 …et 220, len 8: [2] class_idx: 1 (0x000001) proto_idx: 1 (0x000001) name_idx: 0 (0x000000) "<init>"
110 …et 228, len 8: [3] class_idx: 2 (0x000002) proto_idx: 2 (0x000002) name_idx: 0 (0x000000) "<init>"
125 // CODE_ITEM for "dot.junit.opcodes.new_instance.d.T_new_instance_6.<init>"
139 …// parsed: offset 284, len 6: |0000: invoke-direct {v0}, Ljava/lang/Object;.<init>:()V // method@0…
164 …// parsed: offset 316, len 6: |0004: invoke-direct {v1, v3}, Ljava/lang/String;.<init>:(Ljava/lang…
175 // parsed: offset 330, len 8: TYPE_STRING_DATA_ITEM [0] "<init>"
208 // parsed: offset 478, len 1: method_idx_diff: 0 (method_idx: 0 "<init>")

12345678910>>...81