Home
last modified time | relevance | path

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

12345678910>>...89

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-11173/
Dpoc.c73 struct fastrpc_ioctl_init init = {0}; in init_thread() local
75 init.filefd = dma_fd; in init_thread()
76 init.filelen = PAGE_SIZE; in init_thread()
77 init.mem = (void *)0xdeadbeef; in init_thread()
78 init.flags = FASTRPC_INIT_CREATE; in init_thread()
84 ioctl(dev_fd, FASTRPC_IOCTL_INIT, &init); in init_thread()
116 struct fastrpc_ioctl_init_attrs init; in trigger() local
128 init.init.filelen = 1024 * 1024; in trigger()
129 init.init.memlen = 2 * 1024 * 1024; in trigger()
130 init.init.flags = 0; in trigger()
[all …]
/cts/tools/vm-tests-tf/lib/
Djunit.jar ... junit.awtui.AboutDialog this$0 void <init> (junit.awtui.AboutDialog) public void ...
/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);
/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.java132 keyGenerator.init(keySizeBits); in testInitWithKeySizeThrowsUnsupportedOperationException()
149 keyGenerator.init(keySizeBits, rng); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()
164 keyGenerator.init((AlgorithmParameterSpec) null); in testInitWithNullAlgParamsThrowsInvalidAlgorithmParameterException()
180 keyGenerator.init((AlgorithmParameterSpec) null, rng); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException()
203 keyGenerator.init(getWorkingSpec() in testInitWithAlgParamsAndNullSecureRandomHelper()
222 keyGenerator.init(new ECGenParameterSpec("secp256r1")); in testInitWithUnsupportedAlgParamsTypeThrowsInvalidAlgorithmParameterException()
244 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()
283 keyGenerator.init(spec, rng); in testAesKeySupportedSizesHelper()
292 keyGenerator.init(spec, rng); in testAesKeySupportedSizesHelper()
327 keyGenerator.init(spec, rng); in testDESKeySupportedSizes()
[all …]
DKeyAgreementTest.java45 ka.init(generateEphemeralAndroidKeyPair(PRIVATE_KEY_ALIAS).getPrivate()); in testGenerateSecret_succeeds()
57 ka.init(ourKeyPair.getPrivate()); in testGenerateSecret_forTwoParties_returnsSameSharedSecret()
62 otherKeyAgreement.init(theirKeyPair.getPrivate()); in testGenerateSecret_forTwoParties_returnsSameSharedSecret()
72 ka.init(generateEphemeralAndroidKeyPair(PRIVATE_KEY_ALIAS).getPrivate()); in testGenerateSecret_preservesPrivateKeyAndNothingElse()
93 ka.init(new TransparentSecretKey(new byte[0], null)); in testInit_withNonPrivateKey_fails()
109 ka.init(rsaKeyPair.getPrivate()); in testInit_withNonEcKey_fails()
128 ka.init(generateEphemeralAndroidKeyPair(PRIVATE_KEY_ALIAS).getPrivate()); in testGenerateSecret_withoutSecondPartyKey_fails()
140 ka.init(generateEphemeralAndroidKeyPair(PRIVATE_KEY_ALIAS).getPrivate()); in testDoPhase_multiparty_fails()
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.java354 cipher.init(Cipher.ENCRYPT_MODE, key.getKeystoreBackedEncryptionKey()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
360 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
366 cipher.init(Cipher.UNWRAP_MODE, decryptionKey, params); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
368 cipher.init(Cipher.UNWRAP_MODE, decryptionKey); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
392 cipher.init(Cipher.ENCRYPT_MODE, key); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
395 cipher.init(Cipher.WRAP_MODE, key); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
421 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEmptyPlaintextEncryptsAndDecrypts()
435 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testEmptyPlaintextEncryptsAndDecrypts()
473 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEncryptsAndDecryptsInterrupted()
487 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, params); in testEncryptsAndDecryptsInterrupted()
[all …]
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jar ... int VERSION_CODE public static final String VERSION_NAME public void <init> () static void <clinit> () ...
/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/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/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
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
DCustomEditTextPreference.java30 init(attrs); in CustomEditTextPreference()
41 init(attrs); in CustomEditTextPreference()
46 private void init(AttributeSet attrs) { in init() method in CustomEditTextPreference
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2228/
Dpoc.c30 void init(void) { in init() function
44 init(); in malloc()
55 init(); in strcmp()
/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/hostsidetests/securitybulletin/securityPatch/CVE-2020-0450/
Dpoc.cpp50 void init(void) { in init() function
73 init(); in GKI_getbuf()
89 init(); in GKI_freebuf()
100 init(); in rw_i93_send_cmd_write_single_block()
/cts/tests/tests/util/assets/
Dhyts_patch.jar ... .lang.Object { String s public void <init> () public void <init> (java

12345678910>>...89