OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockProvider
(Results
1 - 10
of
10
) sorted by null
/libcore/luni/src/test/java/libcore/javax/crypto/
KeyAgreementTest.java
28
private static abstract class
MockProvider
extends Provider {
29
public
MockProvider
(String name) {
39
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
46
KeyAgreement c = KeyAgreement.getInstance("FOO",
mockProvider
);
48
assertEquals(
mockProvider
, c.getProvider());
54
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
[
all
...]
MacTest.java
28
private static abstract class
MockProvider
extends Provider {
29
public
MockProvider
(String name) {
44
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
52
Security.addProvider(
mockProvider
);
59
Security.removeProvider(
mockProvider
.getName());
CipherTest.java
[
all
...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
Provider2Test.java
135
MockProvider
mockProvider
= new
MockProvider
("MOCKNAME", 1.0,
137
Provider.Service service = new Provider.Service(
mockProvider
,
139
mockProvider
.putService(service);
140
Security.addProvider(
mockProvider
);
151
public static class
MockProvider
extends Provider {
155
public
MockProvider
(String name, double version, String info) {
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
Provider2Test.java
135
MockProvider
mockProvider
= new
MockProvider
("MOCKNAME", 1.0,
137
Provider.Service service = new Provider.Service(
mockProvider
,
139
mockProvider
.putService(service);
140
Security.addProvider(
mockProvider
);
153
public static class
MockProvider
extends Provider {
157
public
MockProvider
(String name, double version, String info) {
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
MacTest.java
[
all
...]
KeyAgreementTest.java
681
private static abstract class
MockProvider
extends Provider {
682
public
MockProvider
(String name) {
692
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
699
KeyAgreement s = KeyAgreement.getInstance("FOO",
mockProvider
);
701
assertEquals(
mockProvider
, s.getProvider());
707
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
[
all
...]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
GetOrCreateConversationActionTest.java
151
final MockContentProvider
mockProvider
= new MockContentProvider() {
159
mContext.addContentProvider("mms-sms",
mockProvider
);
/frameworks/base/services/core/java/com/android/server/
LocationManagerService.java
41
import com.android.server.location.
MockProvider
;
178
private final HashMap<String,
MockProvider
> mMockProviders =
179
new HashMap<String,
MockProvider
>();
[
all
...]
/libcore/luni/src/test/java/libcore/java/security/
SignatureTest.java
70
private static abstract class
MockProvider
extends Provider {
71
public
MockProvider
(String name) {
80
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
87
Signature s = Signature.getInstance("FOO",
mockProvider
);
89
assertEquals(
mockProvider
, s.getProvider());
94
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
[
all
...]
Completed in 375 milliseconds