Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java1015 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitDecryptFailsWhenNotAuthorizedToDecrypt() local
1018 assertInitDecryptSucceeds(transformation, good); in testInitDecryptFailsWhenNotAuthorizedToDecrypt()
1020 TestUtils.buildUpon(good, KeyProperties.PURPOSE_ENCRYPT).build()); in testInitDecryptFailsWhenNotAuthorizedToDecrypt()
1034 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt() local
1037 assertInitEncryptSucceeds(transformation, good); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt()
1039 TestUtils.buildUpon(good, KeyProperties.PURPOSE_DECRYPT).build()); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt()
1053 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitEncryptAsymmetricIgnoresAuthorizedPurposes() local
1056 assertInitEncryptSucceeds(transformation, good); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes()
1058 TestUtils.buildUpon(good, 0).build()); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes()
1078 KeyProtection good = TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testInitDecryptFailsWhenBlockModeNotAuthorized() local
[all …]
DSignatureTest.java846 KeyProtection good = getMinimalWorkingImportParamsForSigning(algorithm); in testInitSignFailsWhenNotAuthorizedToSign() local
847 assertInitSignSucceeds(algorithm, good); in testInitSignFailsWhenNotAuthorizedToSign()
849 TestUtils.buildUpon(good, badPurposes).build()); in testInitSignFailsWhenNotAuthorizedToSign()
862 KeyProtection good = getMinimalWorkingImportParamsForVerifying(algorithm); in testInitVerifyIgnoresThatNotAuthorizedToVerify() local
863 assertInitVerifySucceeds(algorithm, good); in testInitVerifyIgnoresThatNotAuthorizedToVerify()
865 TestUtils.buildUpon(good, badPurposes).build()); in testInitVerifyIgnoresThatNotAuthorizedToVerify()
875 KeyProtection good = getMinimalWorkingImportParamsForSigning(algorithm); in testInitSignFailsWhenDigestNotAuthorized() local
876 assertInitSignSucceeds(algorithm, good); in testInitSignFailsWhenDigestNotAuthorized()
883 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitSignFailsWhenDigestNotAuthorized()
888 TestUtils.buildUpon(good) in testInitSignFailsWhenDigestNotAuthorized()
[all …]
DMacTest.java376 KeyProtection good = getWorkingImportParams(algorithm); in testInitFailsWhenNotAuthorizedToSign() local
377 assertInitSucceeds(algorithm, good); in testInitFailsWhenNotAuthorizedToSign()
379 TestUtils.buildUpon(good, badPurposes).build()); in testInitFailsWhenNotAuthorizedToSign()
389 KeyProtection good = getWorkingImportParams(algorithm); in testInitFailsWhenDigestNotAuthorized() local
390 assertInitSucceeds(algorithm, good); in testInitFailsWhenDigestNotAuthorized()
394 assertInitThrowsInvalidKeyException(algorithm, badKeyAlgorithm, good); in testInitFailsWhenDigestNotAuthorized()
404 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitFailsWhenKeyNotYetValid() local
407 assertInitSucceeds(algorithm, good); in testInitFailsWhenKeyNotYetValid()
411 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitFailsWhenKeyNotYetValid()
421 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitFailsWhenKeyNoLongerValidForOrigination() local
[all …]
/cts/tests/tests/security/src/android/security/cts/
DVisualizerEffectTest.java57 mp = MediaPlayer.create(getContext(), R.raw.good); in testVisualizer_MalformedConstructor()
DEffectBundleTest.java469 return R.raw.good; in getMediaId()
489 mp = MediaPlayer.create(getInstrumentation().getContext(), R.raw.good); in verifyZeroPVSizeRejectedForSetParameter()
546 MediaPlayer mp = MediaPlayer.create(getInstrumentation().getContext(), R.raw.good); in hasEqualizer()
DStagefrightTest.java1343 .openRawResourceFd(R.raw.good); in doStagefrightTestMediaCodec()
1512 .openRawResourceFd(R.raw.good); in doStagefrightTestMediaMetadataRetriever()
1665 fd = resources.openRawResourceFd(R.raw.good); in doStagefrightTestRawBlob()
1780 fd = resources.openRawResourceFd(R.raw.good); in doStagefrightTestRawBlob()
1958 .openRawResourceFd(R.raw.good); in doStagefrightTestExtractorSeek()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java701 FileDescriptor good = Os.open( in testIsAllocationSupported() local
706 assertTrue(mStorageManager.isAllocationSupported(good)); in testIsAllocationSupported()
710 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/apps/CameraITS/build/scripts/
Dgpylint_rcfile137 good-names=main,_
281 good-todo=# ?TODO\((?P<uid>[a-z][a-z0-9-]*)|b/(?P<bugid>[0-9]+)\):?
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java77 MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.good); in testAudioState()