OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getProvider
(Results
51 - 75
of
270
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
CallerInfoIntegrationTest.java
51
CallerInfo callerInfo = CallerInfo.getCallerInfo(
getProvider
().getContext(), "18004664411");
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
AttributeDescriptorLabelProvider.java
34
public static ILabelProvider
getProvider
() {
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyFactoryTest.java
131
assertEquals("Incorrect provider", secKF.
getProvider
(), defaultProvider);
137
assertNull("Provider must be null", secKF.
getProvider
());
270
assertEquals("Incorrect provider", secKF.
getProvider
().getName(),
338
assertEquals("Incorrect provider", secKF.
getProvider
(),
444
assertNotNull(secKF.
getProvider
());
448
assertNull(msf.
getProvider
());
460
assertNotNull(secKF.
getProvider
());
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
KeyManagerFactory1Test.java
287
assertEquals("Incorrect provider", kMF.
getProvider
().getName(),
359
assertEquals(kMF.
getProvider
(), defaultProvider);
377
assertEquals("Incorrect provider", keyMF.
getProvider
(), defaultProvider);
387
assertNull("Provider must be null", keyMF.
getProvider
());
414
* avax.net.ssl.KeyManagerFactory#
getProvider
()
422
.getInstance(defaultAlgorithm).
getProvider
());
427
.
getProvider
());
431
.
getProvider
());
TrustManagerFactory1Test.java
107
assertEquals("Incorrect provider", tmF.
getProvider
(), getDefaultProvider());
112
assertNull("Provider must be null", tmF.
getProvider
());
285
assertEquals("Invalid provider", trustMF.
getProvider
(), getDefaultProvider());
340
assertEquals("Invalid provider", trustMF.
getProvider
(), getDefaultProvider());
345
* Test for <code>
getProvider
()</code>
354
.getInstance(getDefaultAlgorithm()).
getProvider
());
359
.
getProvider
());
363
.
getProvider
());
/cts/tests/tests/location2/src/android/location2/cts/
LocationManagerTest.java
92
mManager.
getProvider
(providerName);
93
fail("LocationManager.
getProvider
() did not throw SecurityException as expected");
119
assertNotNull(mManager.
getProvider
(providerName));
153
assertEquals(providerName, location.
getProvider
());
180
assertEquals(providerName, location.
getProvider
());
448
public String
getProvider
() {
/libcore/luni/src/test/java/libcore/java/security/cert/
X509CertificateTest.java
466
if ("BC".equals(f.
getProvider
().getName())) {
468
assertEquals(f.
getProvider
().getName(),
519
if ("BC".equals(f.
getProvider
().getName())) {
521
assertEquals(f.
getProvider
().getName(),
646
assertNull(f.
getProvider
().getName(), c.getSigAlgParams());
648
assertNotNull(f.
getProvider
().getName(), c.getSigAlgParams());
654
assertNull(f.
getProvider
().getName(), c.getSigAlgParams());
659
assertNull(f.
getProvider
().getName(), c.getSigAlgParams());
676
assertNotNull(f.
getProvider
().getName(), params);
781
assertEquals(f.
getProvider
().getName(), -1, c.getBasicConstraints())
[
all
...]
CertificateFactoryTest.java
248
if (!"BC".equals(cf.
getProvider
().getName())) {
249
fail("should throw CertificateException: " + cf.
getProvider
().getName());
253
if ("BC".equals(cf.
getProvider
().getName())) {
254
fail("should return null: " + cf.
getProvider
().getName());
264
if (!"BC".equals(cf.
getProvider
().getName())) {
265
fail("should throw CertificateException: " + cf.
getProvider
().getName());
269
if ("BC".equals(cf.
getProvider
().getName())) {
270
fail("should return null: " + cf.
getProvider
().getName());
431
final String providerName = cf.
getProvider
().getName() + "[" + encoding + "]";
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentResolver.java
95
ContentProvider provider =
getProvider
(url);
107
ContentProvider provider =
getProvider
(uri);
120
ContentProvider provider =
getProvider
(uri);
137
ContentProvider provider =
getProvider
(url);
149
ContentProvider provider =
getProvider
(url);
250
public static ContentProvider
getProvider
(Uri uri) {
ShadowLocation.java
56
provider = l.
getProvider
();
71
public String
getProvider
() {
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java
100
assertEquals(providers[i], kf.
getProvider
());
157
+ fact.
getProvider
().getName() + ")",
252
+ fact.
getProvider
().getName() + ")",
258
+ fact.
getProvider
().getName() + ")",
275
// java.security.KeyFactory.
getProvider
()
278
Provider p = fact.
getProvider
();
325
Provider provider = Security.
getProvider
(providerName);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
MessageDigest_Impl2Test.java
122
assertEquals("
getProvider
() failed", p, md1.
getProvider
());
131
assertEquals("
getProvider
() failed", 0, md1.digest(b, 2, 3));
147
assertEquals("
getProvider
() failed", p, md2.
getProvider
());
156
assertEquals("
getProvider
() failed", 0, md2.digest(b, 2, 3));
/external/apache-harmony/security/src/test/impl/java.injected/java/security/
Signature_Impl2Test.java
111
assertEquals("
getProvider
() failed", p, s.
getProvider
());
161
assertEquals("
getProvider
() failed", p, s.
getProvider
());
/libcore/luni/src/main/java/javax/crypto/
ExemptionMechanism.java
132
Provider impProvider = Security.
getProvider
(provider);
176
public final Provider
getProvider
() {
Mac.java
84
public final Provider
getProvider
() {
135
Provider impProvider = Security.
getProvider
(provider);
/libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java
63
assertEquals(provider, md2.
getProvider
());
69
assertEquals(provider, md3.
getProvider
());
/libcore/luni/src/test/java/libcore/javax/crypto/
KeyGeneratorTest.java
57
assertEquals(provider, kg2.
getProvider
());
63
assertEquals(provider, kg3.
getProvider
());
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/
ConfigurationTest.java
240
assertEquals("Configuration provider got should be equals to provider provided",cf.
getProvider
(),mp);
281
assertEquals("Configuration provider got should be equals to provider provided",cf.
getProvider
(),mp);
336
assertEquals("Configuration provider got should be equals to provider provided",cf.
getProvider
(),mp);
360
* @tests javax.security.auth.login.Configuration#
getProvider
()
366
assertEquals("Configuration provider got should be equals to provider provided",cf.
getProvider
(),mp);
371
* @tests javax.security.auth.login.Configuration#
getProvider
()
382
* @tests javax.security.auth.login.Configuration#
getProvider
()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorTest.java
117
assertEquals("Incorrect provider", keyG.
getProvider
(), defaultProvider);
132
assertNull("Provider must be null", keyG.
getProvider
());
262
assertEquals("Incorrect provider", keyG.
getProvider
().getName(), defaultProviderName);
327
assertEquals("Incorrect provider", keyA.
getProvider
(), defaultProvider);
SecretKeyFactoryTest.java
129
assertEquals("Incorrect provider", secKF.
getProvider
(), defaultProvider);
135
assertNull("Provider must be null", secKF.
getProvider
());
268
assertEquals("Incorrect provider", secKF.
getProvider
().getName(),
336
assertEquals("Incorrect provider", secKF.
getProvider
(),
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecurityTest.java
160
* @tests java.security.Security#
getProvider
(String)
165
assertNull(Security.
getProvider
("SOMEINCORRECTPROVIDERNAME"));
168
assertNull(Security.
getProvider
(null));
176
assertSame(p, Security.
getProvider
(providerName));
184
assertSame(p, Security.
getProvider
(p.getName()));
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathValidator1Test.java
256
assertEquals("Incorrect provider name", certPV.
getProvider
()
323
assertEquals("Incorrect provider name", certPV.
getProvider
(),
373
assertEquals("Incorrect provider", certPV.
getProvider
(), defaultProvider);
382
assertNull("Incorrect provider", certPV.
getProvider
());
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
KeyManagerFactory1Test.java
263
assertEquals("Incorrect provider", kMF.
getProvider
().getName(),
333
assertEquals(kMF.
getProvider
(), defaultProvider);
352
assertEquals("Incorrect provider", keyMF.
getProvider
(), defaultProvider);
363
assertNull("Provider must be null", keyMF.
getProvider
());
TrustManagerFactory1Test.java
262
assertEquals("Invalid provider", trustMF.
getProvider
(),
334
assertEquals("Invalid provider", trustMF.
getProvider
(),
356
assertEquals("Incorrect provider", tmF.
getProvider
(), defaultProvider);
361
assertNull("Provider must be null", tmF.
getProvider
());
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
Engine.java
36
* results with {@code
getProvider
} and {@code getSpi} sets the
155
return new SpiAndProvider(service.newInstance(param), service.
getProvider
());
Completed in 470 milliseconds
1
2
3
4
5
6
7
8
9
10
11