Home
last modified time | relevance | path

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

12345678910>>...87

/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()
Dandroid_graphics_cts_VulkanPreTransformCtsActivity.cpp50 VkTestResult ret = deviceInfo.init(env, jSurface); in createNativeTest()
58 ASSERT(swapchainInfo.init(setPreTransform, &preTransformHint) == VK_TEST_SUCCESS, in createNativeTest()
62 ASSERT(renderer.init(env, jAssetManager) == VK_TEST_SUCCESS, in createNativeTest()
/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 …]
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()
DDesCipherPerformanceTest.java84 .init( in AndroidKeystoreDesKeyGenerator()
114 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in setUp()
138 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in initialSetUp()
145 mCipher.init(Cipher.DECRYPT_MODE, mKey, mParameters); in setUp()
DCipherTest.java340 cipher.init(Cipher.ENCRYPT_MODE, key.getKeystoreBackedEncryptionKey()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
346 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
352 cipher.init(Cipher.UNWRAP_MODE, decryptionKey, params); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
354 cipher.init(Cipher.UNWRAP_MODE, decryptionKey); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
378 cipher.init(Cipher.ENCRYPT_MODE, key); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
381 cipher.init(Cipher.WRAP_MODE, key); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
407 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEmptyPlaintextEncryptsAndDecrypts()
421 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testEmptyPlaintextEncryptsAndDecrypts()
458 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEncryptsAndDecryptsInterrupted()
472 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testEncryptsAndDecryptsInterrupted()
[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/hostsidetests/securitybulletin/securityPatch/CVE-2019-2228/
Dpoc.c29 void init(void) { in init() function
43 init(); in malloc()
54 init(); in strcmp()
/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
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
DCustomSwitchPreference.java30 init(attrs); in CustomSwitchPreference()
41 init(attrs); in CustomSwitchPreference()
46 private void init(AttributeSet attrs) { in init() method in CustomSwitchPreference
/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/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/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 …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0450/
Dpoc.cpp87 void init(void) { in init() function
110 init(); in GKI_getbuf()
126 init(); in GKI_freebuf()
138 init(); in rw_i93_send_cmd_write_single_block()

12345678910>>...87