/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestSign.rscript | 24 return sign(inV); 28 return sign(inV); 32 return sign(inV); 36 return sign(inV); 40 return sign(inV); 44 return sign(inV); 48 return sign(inV); 52 return sign(inV);
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | PreSelectedKeyAccessTest.java | 49 Signature sign = Signature.getInstance(algoIdentifier); in testAccessingPreSelectedAliasExpectingSuccess() local 50 sign.initSign(privateKey); in testAccessingPreSelectedAliasExpectingSuccess() 51 sign.update(data); in testAccessingPreSelectedAliasExpectingSuccess() 52 byte[] signature = sign.sign(); in testAccessingPreSelectedAliasExpectingSuccess()
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | generate-apks.sh | 5 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/… 6 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/… 7 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/… 8 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/… 9 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/… 12 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --verity-e… 13 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --verity-e… 14 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --verity-e… 17 apksigner sign --v2-signing-enabled false --v3-signing-enabled true --v4-signing-enabled --key cts/… 18 apksigner sign --v2-signing-enabled false --v3-signing-enabled true --v4-signing-enabled --key cts/… [all …]
|
/cts/tests/tests/content/data/ |
D | readme.txt | 7 sign APKs using different keystores, providers, etc. 13 …apksigner sign --v2-signing-enabled false --v3-signing-enabled false --v4-signing-enabled false --… 14 …apksigner sign --v2-signing-enabled true --v3-signing-enabled true --v4-signing-enabled --key cts/… 15 …apksigner sign --v2-signing-enabled true --v3-signing-enabled true --v4-signing-enabled --key cts/… 16 …apksigner sign --v2-signing-enabled true --v3-signing-enabled true --v4-signing-enabled --verity-e… 30 …openssl cms -sign -binary -nosmimecap -in CtsPkgInstallTinyAppV2V3V4.digests -signer test-cert.x50… 31 …openssl cms -sign -binary -nosmimecap -in HelloWorld5.digests -signer test-cert.x509.pem -inkey te… 32 …openssl cms -sign -binary -nosmimecap -in HelloWorld5_hdpi-v4.digests -signer test-cert.x509.pem -… 33 …openssl cms -sign -binary -nosmimecap -in HelloWorld5_mdpi-v4.digests -signer test-cert.x509.pem -…
|
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/compressed_arsc/ |
D | build | 75 apksigner sign --key $TEST_CERT_PK8 --cert $TEST_CERT_PEM compressed_Q.apk 76 apksigner sign --key $TEST_CERT_PK8 --cert $TEST_CERT_PEM compressed_R.apk 77 apksigner sign --key $TEST_CERT_PK8 --cert $TEST_CERT_PEM unaligned_Q.apk 78 apksigner sign --key $TEST_CERT_PK8 --cert $TEST_CERT_PEM unaligned_R.apk
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 212 Signature sign = Signature.getInstance("SHA256withRSA"); in alias() local 213 sign.initSign(privateKey); in alias() 214 sign.update(data); in alias() 215 if (sign.sign() != null) { in alias()
|
/cts/hostsidetests/dexmetadata/host/ |
D | README.md | 22 The easiet way is to re-sign and replace the signature in place. For example, 27 fsverity sign CtsDexMetadataSplitApp.dm CtsDexMetadataSplitApp.dm.fsv_sig \
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CredentialManagementAppActivity.java | 279 Signature sign = Signature.getInstance("SHA256withRSA"); in getPrivateKeyAndSignData() local 280 sign.initSign(privateKey); in getPrivateKeyAndSignData() 281 sign.update(DATA); in getPrivateKeyAndSignData() 282 mSignature = sign.sign(); in getPrivateKeyAndSignData()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | RSASignatureTest.java | 75 byte[] sigBytes = signature.sign(); in testMaxMessageSizeWhenNoDigestUsed() 86 signature.sign(); in testMaxMessageSizeWhenNoDigestUsed() 140 byte[] sigBytes = signature.sign(); in testSmallKeyRejected()
|
D | EcdsaSignaturePerformanceTest.java | 122 mSignature.sign(); in measure() 142 mMessageSignature = mSignature.sign(); in initialSetUp()
|
D | RsaSignaturePerformanceTest.java | 149 mSignature.sign(); in measure() 169 mMessageSignature = mSignature.sign(); in initialSetUp()
|
D | ECDSASignatureTest.java | 56 byte[] sigBytes = signature.sign(); in assertNONEwithECDSATruncatesInputToFieldSize() 98 byte[] sigBytes = signature.sign(); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
|
D | SignatureTest.java | 416 byte[] sigBytes = signature.sign(); in testValidSignatureGeneratedForEmptyMessage() 451 byte[] sigBytes = signature.sign(); in testValidSignatureGeneratedForEmptyMessageByLimitedUseKey() 471 signature.sign(); in testValidSignatureGeneratedForEmptyMessageByLimitedUseKey() 526 byte[] sigBytes = signature.sign(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() 558 byte[] sigBytes = signature.sign(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() 610 byte[] sigBytes = signature.sign(); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() 658 byte[] generatedSigBytes = signature.sign(); in testSmallMsgKat() 693 generatedSigBytes = signature.sign(); in testSmallMsgKat() 741 byte[] sigBytes = signature.sign(); in testLongMsgKat() 776 byte[] generatedSigBytes = signature.sign(); in testLongMsgKat() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | DspFftServer.java | 52 public void fft(DspBufferComplex r, int sign) { in fft() argument 87 ss = sign * mSin.mData[aa]; in fft()
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | RSUtils.java | 59 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomDoubles() local 60 double rand = sign * mantissa * Math.pow(2.0, exponent); in genRandomDoubles() 110 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomFloats() local 111 float rand = sign * mantissa * (float) Math.pow(2.0, exponent); in genRandomFloats()
|
/cts/tests/appsearch/certs/ |
D | README | 2 # These files shouldn't need to change unless you want to generate new certificates to sign the APKs
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 397 Signature sign = Signature.getInstance(algoIdentifier); in signDataWithKey() local 398 sign.initSign(privateKey); in signDataWithKey() 399 sign.update(data); in signDataWithKey() 400 return sign.sign(); in signDataWithKey()
|
D | KeyManagementTest.java | 553 Signature sign = Signature.getInstance(algoIdentifier); in signDataWithKey() local 554 sign.initSign(privateKey); in signDataWithKey() 555 sign.update(data); in signDataWithKey() 556 return sign.sign(); in signDataWithKey()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 81 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomDoubles() local 82 double rand = sign * mantissa * Math.pow(2.0, exponent); in genRandomDoubles() 132 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomFloats() local 133 float rand = sign * mantissa * (float) Math.pow(2.0, exponent); in genRandomFloats()
|
D | Float16Utils.java | 75 int sign = val & SIGN_MASK; in convertFloat16ToFloat() local 98 if (sign != 0) in convertFloat16ToFloat()
|
/cts/hostsidetests/appsecurity/test-apps/SimpleAppInstallDiffCert/ |
D | Android.bp | 30 // sign this app with a different cert than CtsSimpleAppInstall
|
/cts/hostsidetests/appsecurity/test-apps/SimpleAppInstall/ |
D | Android.bp | 30 // sign this app with a different cert than CtsSimpleAppInstallDiffCert
|
/cts/hostsidetests/appsecurity/test-apps/MajorVersionApp/Version00000000ffffffff/ |
D | Android.bp | 33 // sign this app with a different cert than CtsSimpleAppInstallDiffCert
|
/cts/hostsidetests/appsecurity/test-apps/MajorVersionApp/Version000000ff00000000/ |
D | Android.bp | 33 // sign this app with a different cert than CtsSimpleAppInstallDiffCert
|
/cts/hostsidetests/appsecurity/test-apps/MajorVersionApp/Version000000ffffffffff/ |
D | Android.bp | 33 // sign this app with a different cert than CtsSimpleAppInstallDiffCert
|