HomeSort by relevance Sort by last modified time
    Searched refs:Signature (Results 1 - 25 of 255) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/core/java/android/content/pm/
Signature.aidl 20 parcelable Signature;
Signature.java 33 * Opaque, immutable representation of a signature associated with an
36 public class Signature implements Parcelable {
43 * Create Signature from an existing raw byte array.
45 public Signature(byte[] signature) {
46 mSignature = signature.clone();
62 * Create Signature from a text representation previously returned by
66 * @param text hex-encoded string representing the signature
67 * @throws IllegalArgumentException when signature is odd-length
69 public Signature(String text)
    [all...]
  /libcore/luni/src/test/java/tests/targets/security/
SignatureTestMD2withRSA.java 26 import java.security.Signature;
32 @AndroidOnly("Android doesn't include MD2withRSA signature algorithm")
38 Signature signature = Signature.getInstance("MD2withRSA"); local
39 fail("MD2withRSA for signature verification must not be supported");
45 Signature signature = Signature.getInstance("MD2WithRSA"); local
46 fail("MD2withRSA for signature verification must not be supported")
52 Signature signature = Signature.getInstance("MD2WITHRSA"); local
59 Signature signature = Signature.getInstance("MD2withRSAEncryption"); local
66 Signature signature = Signature.getInstance("MD2WithRSAEncryption"); local
73 Signature signature = Signature.getInstance("MD2WITHRSAENCRYPTION"); local
80 Signature signature = Signature.getInstance("MD2\/RSA"); local
87 Signature signature = Signature.getInstance("1.2.840.113549.1.1.2"); local
100 Signature signature = Signature.getInstance("MD2withRSA"); local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SignatureTest.java 14 import android.content.pm.Signature;
23 Signature signature = new Signature(bytes); local
25 assertArrayEquals(bytes, signature.toByteArray());
31 Signature expected = new Signature(bytes);
37 Signature actual = Signature.CREATOR.createFromParcel(p);
43 assertThat(new Signature(new byte[] { (byte) 0xAC })
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
Signature2Test.java 26 import java.security.Signature;
45 * @tests java.security.Signature#clone()
48 Signature s = Signature.getInstance("DSA");
51 fail("A Signature may not be cloneable");
53 // Expected - a Signature may not be cloneable
58 * @tests java.security.Signature#getAlgorithm()
61 String alg = Signature.getInstance("DSA").getAlgorithm();
67 * @tests java.security.Signature#getInstance(java.lang.String)
70 Signature.getInstance("DSA")
    [all...]
  /external/chromium_org/chrome/browser/android/provider/
blocking_ui_thread_async_request.h 26 template <typename Signature>
27 void RunAsyncRequestOnUIThreadBlocking(base::Callback<Signature> request) {
34 &BlockingUIThreadAsyncRequest::RunRequestOnUIThread<Signature>,
45 template <typename Signature>
46 static void RunRequestOnUIThread(base::Callback<Signature> request) {
run_on_ui_thread_blocking.h 19 template <typename Signature>
20 static void Run(base::Callback<Signature> runnable) {
24 base::Bind(&RunOnUIThreadBlocking::RunOnUIThread<Signature>,
30 template <typename Signature>
31 static void RunOnUIThread(base::Callback<Signature> runnable,
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSignature.java 9 import android.content.pm.Signature;
15 @Implements(Signature.class)
20 public void __constructor__(byte[] signature) {
21 mSignature = signature.clone();
37 if (!(obj instanceof Signature)) {
40 ShadowSignature otherShadow = shadowOf((Signature) obj);
55 public static final Creator<Signature> CREATOR =
56 new Creator<Signature>() {
58 public Signature createFromParcel(Parcel source) {
59 byte[] signature = source.createByteArray()
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
SignatureTest.java 20 import android.content.pm.Signature;
37 Signature signature = new Signature(SIGNATURE_STRING); local
38 byte[] actualByteArray = signature.toByteArray();
47 Signature signature = new Signature(sig); local
56 Signature signature = new Signature("123") local
64 Signature signature = new Signature(SIGNATURE_BYTE_ARRAY); local
73 Signature signature = new Signature(sig); local
81 Signature signature = new Signature(SIGNATURE_BYTE_ARRAY); local
91 Signature signature = new Signature(SIGNATURE_BYTE_ARRAY); local
110 Signature signature = new Signature(SIGNATURE_BYTE_ARRAY); local
128 Signature signature = new Signature(SIGNATURE_BYTE_ARRAY); local
140 Signature signature = new Signature(SIGNATURE_BYTE_ARRAY); local
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ResizeFilter.java 30 public Signature getSignature() {
33 return new Signature()
34 .addInputPort("image", Signature.PORT_REQUIRED, imageIn)
35 .addInputPort("outputWidth", Signature.PORT_OPTIONAL, FrameType.single(int.class))
36 .addInputPort("outputHeight", Signature.PORT_OPTIONAL, FrameType.single(int.class))
37 .addInputPort("useMipmaps", Signature.PORT_OPTIONAL, FrameType.single(boolean.class))
38 .addOutputPort("image", Signature.PORT_REQUIRED, imageOut)
FrameSlotTarget.java 28 public Signature getSignature() {
31 return new Signature()
32 .addInputPort("frame", Signature.PORT_REQUIRED, FrameType.any())
ToStringFilter.java 24 import androidx.media.filterfw.Signature;
33 public Signature getSignature() {
34 return new Signature()
35 .addInputPort("object", Signature.PORT_REQUIRED, FrameType.single())
36 .addOutputPort("string", Signature.PORT_REQUIRED, FrameType.single(String.class))
ScaleFilter.java 23 import androidx.media.filterfw.Signature;
34 public Signature getSignature() {
37 return new Signature()
38 .addInputPort("image", Signature.PORT_REQUIRED, imageIn)
39 .addInputPort("scale", Signature.PORT_OPTIONAL, FrameType.single(float.class))
40 .addInputPort("useMipmaps", Signature.PORT_OPTIONAL, FrameType.single(boolean.class))
41 .addOutputPort("image", Signature.PORT_REQUIRED, imageOut)
FrameSlotSource.java 28 public Signature getSignature() {
31 return new Signature()
32 .addOutputPort("frame", Signature.PORT_REQUIRED, FrameType.any())
NormFilter.java 25 import androidx.media.filterfw.Signature;
40 public Signature getSignature() {
42 return new Signature()
43 .addInputPort("x", Signature.PORT_REQUIRED, floatT)
44 .addInputPort("y", Signature.PORT_REQUIRED, floatT)
45 .addOutputPort("norm", Signature.PORT_REQUIRED, floatT)
ThroughputFilter.java 38 public Signature getSignature() {
40 return new Signature()
41 .addInputPort("frame", Signature.PORT_REQUIRED, FrameType.any())
42 .addOutputPort("throughput", Signature.PORT_REQUIRED, throughputType)
43 .addOutputPort("frame", Signature.PORT_REQUIRED, FrameType.any())
44 .addInputPort("period", Signature.PORT_OPTIONAL, FrameType.single(int.class))
RotateFilter.java 26 import androidx.media.filterfw.Signature;
40 public Signature getSignature() {
43 return new Signature()
44 .addInputPort("image", Signature.PORT_REQUIRED, imageIn)
45 .addInputPort("rotateAngle", Signature.PORT_REQUIRED, FrameType.single(float.class))
46 .addInputPort("sourceRect", Signature.PORT_OPTIONAL, FrameType.single(Quad.class))
47 .addOutputPort("image", Signature.PORT_REQUIRED, imageOut)
NewChromaHistogramFilter.java 28 import androidx.media.filterfw.Signature;
54 public Signature getSignature() {
58 return new Signature()
59 .addInputPort("image", Signature.PORT_REQUIRED, imageIn)
60 .addInputPort("huebins", Signature.PORT_OPTIONAL, FrameType.single(int.class))
61 .addInputPort("saturationbins", Signature.PORT_OPTIONAL, FrameType.single(int.class))
62 .addInputPort("saturationthreshold", Signature.PORT_OPTIONAL,
64 .addInputPort("valuethreshold", Signature.PORT_OPTIONAL, FrameType.single(int.class))
65 .addOutputPort("histogram", Signature.PORT_REQUIRED, dataOut)
BranchFilter.java 25 import androidx.media.filterfw.Signature;
41 public Signature getSignature() {
42 return new Signature()
43 .addInputPort("input", Signature.PORT_REQUIRED, FrameType.any())
44 .addInputPort("synchronized", Signature.PORT_OPTIONAL,FrameType.single(boolean.class))
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
Signature2Test.java 34 import java.security.Signature;
68 * java.security.Signature#clone()
71 Signature s = Signature.getInstance("DSA");
80 * java.security.Signature#getAlgorithm()
83 String alg = Signature.getInstance("DSA").getAlgorithm();
89 * java.security.Signature#getInstance(java.lang.String)
92 Signature.getInstance("DSA");
95 Signature.getInstance("bogus");
102 * java.security.Signature#getInstance(java.lang.String
110 Signature signature = Signature.getInstance("DSA", providers[i]); local
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
FrameTargetFilter.java 39 public Signature getSignature() {
40 return new Signature()
41 .addInputPort("input", Signature.PORT_REQUIRED, FrameType.any())
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/
Signature_Impl2Test.java 30 * Tests for <code>Signature</code> constructor and methods
58 * Class under test for Signature getInstance(String)
61 Signature sig = Signature.getInstance("ABC");
66 * Class under test for Signature getInstance(String)
69 Signature sig = Signature.getInstance("CBA");
74 * Class under test for Signature getInstance(String, String)
77 Signature sig = Signature.getInstance("ABC", "MyProvider");
    [all...]
  /external/clang/test/CodeGen/
pointer-signext.c 19 unsigned long long Signature;
31 return (int) Entry->Signature;
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
IfElseFilter.java 27 import androidx.media.filterfw.Signature;
40 public Signature getSignature() {
45 return new Signature().addInputPort("falseResult", Signature.PORT_REQUIRED, imageIn)
46 .addInputPort("trueResult", Signature.PORT_REQUIRED, videoIn)
47 .addInputPort("condition", Signature.PORT_REQUIRED, FrameType.single(boolean.class))
48 .addOutputPort("output", Signature.PORT_REQUIRED, imageOut)
  /libcore/benchmarks/src/benchmarks/regression/
SignatureBenchmark.java 26 import java.security.Signature;
31 * Tests RSA and DSA signature creation and verification.
63 private byte[] signature; field in class:SignatureBenchmark
81 this.signature = SIGNATURES.get(signatureAlgorithm);
82 if (this.signature == null) {
83 Signature signer = Signature.getInstance(signatureAlgorithm);
86 this.signature = signer.sign();
87 SIGNATURES.put(signatureAlgorithm, signature);
93 Signature signer
    [all...]

Completed in 503 milliseconds

1 2 3 4 5 6 7 8 91011