Searched refs:good (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CipherTest.java | 1403 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 …]
|
D | SignatureTest.java | 890 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 …]
|
D | MacTest.java | 429 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/ |
D | VisualizerEffectTest.java | 59 mp = MediaPlayer.create(getContext(), R.raw.good); in testVisualizer_MalformedConstructor()
|
D | EffectBundleTest.java | 490 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()
|
D | StagefrightTest.java | 2352 .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/ |
D | gwp_asan_cts_library.cpp | 43 if (!mappings.good()) { in get_gwp_asan_ranges()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 852 FileDescriptor good = Os.open( in testIsAllocationSupported() local 857 assertTrue(mStorageManager.isAllocationSupported(good)); in testIsAllocationSupported() 861 Os.close(good); in testIsAllocationSupported()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 229 "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/ |
D | reduce.rscript | 457 ulong oorrGoodResult; // the value of a good result
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 145 MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.good); in testAudioState()
|