/packages/apps/InCallUI/src/com/android/incallui/ |
InCallServiceImpl.java | 36 AudioModeProvider.getInstance().onAudioStateChanged(audioState); 41 InCallPresenter.getInstance().onBringToForeground(showDialpad); 46 CallList.getInstance().onCallAdded(call); 47 InCallPresenter.getInstance().onCallAdded(call); 52 CallList.getInstance().onCallRemoved(call); 53 InCallPresenter.getInstance().onCallRemoved(call); 58 InCallPresenter.getInstance().onCanAddCallChanged(canAddCall); 64 final ContactInfoCache contactInfoCache = ContactInfoCache.getInstance(context); 65 InCallPresenter.getInstance().setUp( 67 CallList.getInstance(), [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
SubjectKeyIdentifier.java | 20 public static SubjectKeyIdentifier getInstance( 24 return getInstance(ASN1OctetString.getInstance(obj, explicit)); 27 public static SubjectKeyIdentifier getInstance( 36 return new SubjectKeyIdentifier(ASN1OctetString.getInstance(obj)); 44 return SubjectKeyIdentifier.getInstance(extensions.getExtensionParsedValue(Extension.subjectKeyIdentifier));
|
DSAParameter.java | 19 public static DSAParameter getInstance( 23 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 26 public static DSAParameter getInstance( 36 return new DSAParameter(ASN1Sequence.getInstance(obj)); 62 p = ASN1Integer.getInstance(e.nextElement()); 63 q = ASN1Integer.getInstance(e.nextElement()); 64 g = ASN1Integer.getInstance(e.nextElement());
|
BasicConstraints.java | 17 ASN1Boolean cA = ASN1Boolean.getInstance(false); 20 public static BasicConstraints getInstance( 24 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 27 public static BasicConstraints getInstance( 36 return getInstance(X509Extension.convertValueToObject((X509Extension)obj)); 40 return new BasicConstraints(ASN1Sequence.getInstance(obj)); 48 return BasicConstraints.getInstance(extensions.getExtensionParsedValue(Extension.basicConstraints)); 63 this.cA = ASN1Boolean.getInstance(seq.getObjectAt(0)); 68 this.pathLenConstraint = ASN1Integer.getInstance(seq.getObjectAt(0)) [all...] |
DigestInfo.java | 28 public static DigestInfo getInstance( 32 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 35 public static DigestInfo getInstance( 44 return new DigestInfo(ASN1Sequence.getInstance(obj)); 63 algId = AlgorithmIdentifier.getInstance(e.nextElement()); 64 digest = ASN1OctetString.getInstance(e.nextElement()).getOctets();
|
TBSCertificate.java | 48 public static TBSCertificate getInstance( 52 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 55 public static TBSCertificate getInstance( 64 return new TBSCertificate(ASN1Sequence.getInstance(obj)); 82 version = ASN1Integer.getInstance((ASN1TaggedObject)seq.getObjectAt(0), true); 90 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); 92 signature = AlgorithmIdentifier.getInstance(seq.getObjectAt(seqStart + 2)); 93 issuer = X500Name.getInstance(seq.getObjectAt(seqStart + 3)); 100 startDate = Time.getInstance(dates.getObjectAt(0)) [all...] |
TBSCertificateStructure.java | 50 public static TBSCertificateStructure getInstance( 54 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 57 public static TBSCertificateStructure getInstance( 66 return new TBSCertificateStructure(ASN1Sequence.getInstance(obj)); 84 version = ASN1Integer.getInstance((ASN1TaggedObject)seq.getObjectAt(0), true); 92 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); 94 signature = AlgorithmIdentifier.getInstance(seq.getObjectAt(seqStart + 2)); 95 issuer = X500Name.getInstance(seq.getObjectAt(seqStart + 3)); 102 startDate = Time.getInstance(dates.getObjectAt(0)) [all...] |
Certificate.java | 29 public static Certificate getInstance( 33 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 36 public static Certificate getInstance( 45 return new Certificate(ASN1Sequence.getInstance(obj)); 61 tbsCert = TBSCertificate.getInstance(seq.getObjectAt(0)); 62 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 64 sig = DERBitString.getInstance(seq.getObjectAt(2));
|
IssuerSerial.java | 22 public static IssuerSerial getInstance( 32 return new IssuerSerial(ASN1Sequence.getInstance(obj)); 38 public static IssuerSerial getInstance( 42 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 53 issuer = GeneralNames.getInstance(seq.getObjectAt(0)); 54 serial = ASN1Integer.getInstance(seq.getObjectAt(1)); 58 issuerUID = DERBitString.getInstance(seq.getObjectAt(2));
|
X509CertificateStructure.java | 32 public static X509CertificateStructure getInstance( 36 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 39 public static X509CertificateStructure getInstance( 48 return new X509CertificateStructure(ASN1Sequence.getInstance(obj)); 64 tbsCert = TBSCertificateStructure.getInstance(seq.getObjectAt(0)); 65 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 67 sig = DERBitString.getInstance(seq.getObjectAt(2));
|
AttributeCertificate.java | 21 public static AttributeCertificate getInstance(Object obj) 29 return new AttributeCertificate(ASN1Sequence.getInstance(obj)); 46 * @deprecated use getInstance() method. 57 this.acinfo = AttributeCertificateInfo.getInstance(seq.getObjectAt(0)); 58 this.signatureAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 59 this.signatureValue = DERBitString.getInstance(seq.getObjectAt(2));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
DefaultJcaJceHelper.java | 31 return Cipher.getInstance(algorithm); 37 return Mac.getInstance(algorithm); 43 return KeyAgreement.getInstance(algorithm); 49 return AlgorithmParameterGenerator.getInstance(algorithm); 55 return AlgorithmParameters.getInstance(algorithm); 61 return KeyGenerator.getInstance(algorithm); 67 return KeyFactory.getInstance(algorithm); 73 return SecretKeyFactory.getInstance(algorithm); 79 return KeyPairGenerator.getInstance(algorithm); 85 return MessageDigest.getInstance(algorithm) [all...] |
NamedJcaJceHelper.java | 38 return Cipher.getInstance(algorithm, providerName); 44 return Mac.getInstance(algorithm, providerName); 50 return KeyAgreement.getInstance(algorithm, providerName); 56 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); 62 return AlgorithmParameters.getInstance(algorithm, providerName); 68 return KeyGenerator.getInstance(algorithm, providerName); 74 return KeyFactory.getInstance(algorithm, providerName); 80 return SecretKeyFactory.getInstance(algorithm, providerName); 86 return KeyPairGenerator.getInstance(algorithm, providerName); 92 return MessageDigest.getInstance(algorithm, providerName) [all...] |
ProviderJcaJceHelper.java | 38 return Cipher.getInstance(algorithm, provider); 44 return Mac.getInstance(algorithm, provider); 50 return KeyAgreement.getInstance(algorithm, provider); 56 return AlgorithmParameterGenerator.getInstance(algorithm, provider); 62 return AlgorithmParameters.getInstance(algorithm, provider); 68 return KeyGenerator.getInstance(algorithm, provider); 74 return KeyFactory.getInstance(algorithm, provider); 80 return SecretKeyFactory.getInstance(algorithm, provider); 86 return KeyPairGenerator.getInstance(algorithm, provider); 92 return MessageDigest.getInstance(algorithm, provider) [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/dicnode/ |
dic_node_pool_test.cpp | 29 EXPECT_NE(nullptr, dicNodePool.getInstance()); 31 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 38 DicNode *const dicNode = dicNodePool.getInstance(); 40 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 42 EXPECT_EQ(dicNode, dicNodePool.getInstance()); 51 EXPECT_NE(nullptr, dicNodePool.getInstance()); 53 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 57 EXPECT_NE(nullptr, dicNodePool.getInstance()); 59 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 63 EXPECT_NE(nullptr, dicNodePool.getInstance()); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CurrencyTest.java | 33 assertEquals("AED", Currency.getInstance("AED").getSymbol(Locale.CANADA)); 36 // Regression test to ensure that Currency.getInstance(String) throws if 39 Currency.getInstance("USD"); 41 Currency.getInstance("BOGO-DOLLARS"); 50 assertTrue(all.toString(), all.contains(Currency.getInstance("CHF"))); 51 assertTrue(all.toString(), all.contains(Currency.getInstance("EUR"))); 52 assertTrue(all.toString(), all.contains(Currency.getInstance("GBP"))); 53 assertTrue(all.toString(), all.contains(Currency.getInstance("JPY"))); 54 assertTrue(all.toString(), all.contains(Currency.getInstance("USD"))); 58 assertEquals("Swiss Franc", Currency.getInstance("CHF").getDisplayName(Locale.US)) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
PorterDuffUtility.java | 64 return AlphaComposite.getInstance(AlphaComposite.CLEAR, alpha1); 66 return AlphaComposite.getInstance(AlphaComposite.SRC, alpha1); 68 return AlphaComposite.getInstance(AlphaComposite.DST, alpha1); 70 return AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha1); 72 return AlphaComposite.getInstance(AlphaComposite.DST_OVER, alpha1); 74 return AlphaComposite.getInstance(AlphaComposite.SRC_IN, alpha1); 76 return AlphaComposite.getInstance(AlphaComposite.DST_IN, alpha1); 78 return AlphaComposite.getInstance(AlphaComposite.SRC_OUT, alpha1); 80 return AlphaComposite.getInstance(AlphaComposite.DST_OUT, alpha1); 82 return AlphaComposite.getInstance(AlphaComposite.SRC_ATOP, alpha1) [all...] |
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Cipher_ImplTest.java | 87 * Class under test for Cipher getInstance(String) 92 Cipher c = Cipher.getInstance("DES"); 97 * Class under test for Cipher getInstance(String) 102 Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding"); 107 c = Cipher.getInstance("DES/CBC/PKCS5Padding"); 112 * Class under test for Cipher getInstance(String) 118 Cipher.getInstance("DES/CBC/"); 124 Cipher.getInstance("DES//PKCS5Padding"); 130 Cipher.getInstance("DES/CBC/IncorrectPadding"); 138 * Class under test for Cipher getInstance(String, String [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
RSAPublicKey.java | 20 public static RSAPublicKey getInstance( 24 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 27 public static RSAPublicKey getInstance( 37 return new RSAPublicKey(ASN1Sequence.getInstance(obj)); 62 modulus = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); 63 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue();
|
PBES2Parameters.java | 19 public static PBES2Parameters getInstance( 28 return new PBES2Parameters(ASN1Sequence.getInstance(obj)); 44 ASN1Sequence funcSeq = ASN1Sequence.getInstance(((ASN1Encodable)e.nextElement()).toASN1Primitive()); 48 func = new KeyDerivationFunc(id_PBKDF2, PBKDF2Params.getInstance(funcSeq.getObjectAt(1))); 52 func = KeyDerivationFunc.getInstance(funcSeq); 55 scheme = EncryptionScheme.getInstance(e.nextElement());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
DHValidationParms.java | 17 public static DHValidationParms getInstance(ASN1TaggedObject obj, boolean explicit) 19 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 22 public static DHValidationParms getInstance(Object obj) 30 return new DHValidationParms(ASN1Sequence.getInstance(obj)); 58 this.seed = DERBitString.getInstance(seq.getObjectAt(0)); 59 this.pgenCounter = ASN1Integer.getInstance(seq.getObjectAt(1));
|
DHPublicKey.java | 13 public static DHPublicKey getInstance(ASN1TaggedObject obj, boolean explicit) 15 return getInstance(ASN1Integer.getInstance(obj, explicit)); 18 public static DHPublicKey getInstance(Object obj)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERBoolean.java | 10 * @deprecated use getInstance(boolean) method.
|
/external/slf4j/slf4j-migrator/jcl/ |
jclcontent.java | 13 Log log3=LogFactory.getFactory().getInstance(MyClass.class); 14 Log mylog4 = LogFactory.getFactory().getInstance(MyClass.class); 19 log7=LogFactory.getFactory().getInstance(MyClass.class); 20 log8 =LogFactory.getFactory().getInstance(MyClass.class);
|
/libcore/luni/src/test/java/tests/targets/security/ |
SignatureTestMD2withRSA.java | 38 Signature signature = Signature.getInstance("MD2withRSA"); 45 Signature signature = Signature.getInstance("MD2WithRSA"); 52 Signature signature = Signature.getInstance("MD2WITHRSA"); 59 Signature signature = Signature.getInstance("MD2withRSAEncryption"); 66 Signature signature = Signature.getInstance("MD2WithRSAEncryption"); 73 Signature signature = Signature.getInstance("MD2WITHRSAENCRYPTION"); 80 Signature signature = Signature.getInstance("MD2/RSA"); 87 Signature signature = Signature.getInstance("1.2.840.113549.1.1.2"); 100 Signature signature = Signature.getInstance("MD2withRSA"); 101 signature = Signature.getInstance("MD2WithRSA") [all...] |