Home
last modified time | relevance | path

Searched refs:good (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java1403 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitDecryptFailsWhenNotAuthorizedToDecrypt() local
1406 assertInitDecryptSucceeds(transformation, good); in testInitDecryptFailsWhenNotAuthorizedToDecrypt()
1408 TestUtils.buildUpon(good, KeyProperties.PURPOSE_ENCRYPT).build()); in testInitDecryptFailsWhenNotAuthorizedToDecrypt()
1423 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt() local
1426 assertInitEncryptSucceeds(transformation, good); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt()
1428 TestUtils.buildUpon(good, KeyProperties.PURPOSE_DECRYPT).build()); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt()
1443 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitEncryptAsymmetricIgnoresAuthorizedPurposes() local
1446 assertInitEncryptSucceeds(transformation, good); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes()
1448 TestUtils.buildUpon(good, 0).build()); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes()
1469 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitDecryptFailsWhenBlockModeNotAuthorized() local
[all …]
DSignatureTest.java890 KeyProtection good = getMinimalWorkingImportParamsForSigning(algorithm); in testInitSignFailsWhenNotAuthorizedToSign() local
891 assertInitSignSucceeds(algorithm, good); in testInitSignFailsWhenNotAuthorizedToSign()
893 TestUtils.buildUpon(good, badPurposes).build()); in testInitSignFailsWhenNotAuthorizedToSign()
907 KeyProtection good = getMinimalWorkingImportParamsForVerifying(algorithm); in testInitVerifyIgnoresThatNotAuthorizedToVerify() local
908 assertInitVerifySucceeds(algorithm, good); in testInitVerifyIgnoresThatNotAuthorizedToVerify()
910 TestUtils.buildUpon(good, badPurposes).build()); in testInitVerifyIgnoresThatNotAuthorizedToVerify()
921 KeyProtection good = getMinimalWorkingImportParamsForSigning(algorithm); in testInitSignFailsWhenDigestNotAuthorized() local
922 assertInitSignSucceeds(algorithm, good); in testInitSignFailsWhenDigestNotAuthorized()
929 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitSignFailsWhenDigestNotAuthorized()
934 TestUtils.buildUpon(good) in testInitSignFailsWhenDigestNotAuthorized()
[all …]
DMacTest.java429 KeyProtection good = getWorkingImportParams(algorithm); in testInitFailsWhenNotAuthorizedToSign() local
430 assertInitSucceeds(algorithm, good); in testInitFailsWhenNotAuthorizedToSign()
432 TestUtils.buildUpon(good, badPurposes).build()); in testInitFailsWhenNotAuthorizedToSign()
453 KeyProtection good = getWorkingImportParams(algorithm); in testInitFailsWhenDigestNotAuthorized() local
454 assertInitSucceeds(algorithm, good); in testInitFailsWhenDigestNotAuthorized()
456 assertInitThrowsInvalidKeyException(badRequestedAlgorithm, algorithm, good); in testInitFailsWhenDigestNotAuthorized()
468 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitFailsWhenKeyNotYetValid() local
471 assertInitSucceeds(algorithm, good); in testInitFailsWhenKeyNotYetValid()
475 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitFailsWhenKeyNotYetValid()
486 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitFailsWhenKeyNoLongerValidForOrigination() local
[all …]
/cts/tests/tests/security/src/android/security/cts/
DVisualizerEffectTest.java59 mp = MediaPlayer.create(getContext(), R.raw.good); in testVisualizer_MalformedConstructor()
DEffectBundleTest.java490 return R.raw.good; in getMediaId()
512 mp = MediaPlayer.create(getInstrumentation().getContext(), R.raw.good); in verifyZeroPVSizeRejectedForSetParameter()
570 MediaPlayer mp = MediaPlayer.create(getInstrumentation().getContext(), R.raw.good); in hasEqualizer()
DStagefrightTest.java2352 .openRawResourceFd(R.raw.good); in doStagefrightTestMediaCodec()
2554 .openRawResourceFd(R.raw.good); in doStagefrightTestMediaMetadataRetriever()
2799 fd = resources.openRawResourceFd(R.raw.good); in doStagefrightTestRawBlob()
2940 fd = resources.openRawResourceFd(R.raw.good); in doStagefrightTestRawBlob()
3099 fd = resources.openRawResourceFd(R.raw.good); in doStagefrightTestRawBlob()
3293 .openRawResourceFd(R.raw.good); in doStagefrightTestExtractorSeek()
/cts/hostsidetests/gwp_asan/common/jni/
Dgwp_asan_cts_library.cpp43 if (!mappings.good()) { in get_gwp_asan_ranges()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java852 FileDescriptor good = Os.open( in testIsAllocationSupported() local
857 assertTrue(mStorageManager.isAllocationSupported(good)); in testIsAllocationSupported()
861 Os.close(good); in testIsAllocationSupported()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale229 "strcmp" functions helps to obtain good Dhrystone results. However, I
295 benchmarking people try to achieve results that look as good as
313 "register" attribute. Good compilers should be able to make good use
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dreduce.rscript457 ulong oorrGoodResult; // the value of a good result
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java145 MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.good); in testAudioState()