OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MockProvider
(Results
1 - 13
of
13
) sorted by null
/external/chromium_org/chrome/browser/content_settings/
content_settings_mock_provider.cc
9
MockProvider
::
MockProvider
()
12
MockProvider
::
MockProvider
(bool read_only)
16
MockProvider
::~
MockProvider
() {}
18
RuleIterator*
MockProvider
::GetRuleIterator(
25
bool
MockProvider
::SetWebsiteSetting(
42
void
MockProvider
::ShutdownOnUIThread() {
content_settings_mock_provider.h
18
// The class
MockProvider
is a mock for a non default content settings provider.
19
class
MockProvider
: public ObservableProvider {
21
MockProvider
();
22
explicit
MockProvider
(bool read_only);
23
virtual ~
MockProvider
();
30
// The
MockProvider
is only able to store one content setting. So every time
56
DISALLOW_COPY_AND_ASSIGN(
MockProvider
);
/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) {
/frameworks/base/services/core/java/com/android/server/location/
MockProvider.java
40
public class
MockProvider
implements LocationProviderInterface {
54
private static final String TAG = "
MockProvider
";
56
public
MockProvider
(String name, ILocationManager locationManager,
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlarmSchedulerTest.java
44
private
MockProvider
mMockProvider;
51
private static class
MockProvider
extends MockContentProvider {
160
mMockProvider = new
MockProvider
();
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
MockProvider.java
33
*
MockProvider
is a ContentProvider that can be used to simulate the storage and retrieval of
42
* ContentResolver.applyBatch(
MockProvider
.AUTHORITY, batch) will cause the CPOs to be executed,
56
* with
MockProvider
.uri(yourUri). This guarantees that the operation is sent to
MockProvider
58
* NOTE:
MockProvider
only simulates direct storage/retrieval of rows; it does not (and can not)
67
public class
MockProvider
extends ContentProvider {
76
// public
MockProvider
(Context context) {
80
public
MockProvider
() {
90
* Create a Uri for
MockProvider
from a given Uri
91
* @param uri the Uri from which the
MockProvider
Uri will be create
[
all
...]
/libcore/luni/src/test/java/libcore/java/security/
ProviderTest.java
305
Provider provider = new
MockProvider
("
MockProvider
") {
323
Provider provider = new
MockProvider
("
MockProvider
") {
350
Provider provider = new
MockProvider
("
MockProvider
") {
372
Provider provider = new
MockProvider
("
MockProvider
") {
391
Provider provider = new
MockProvider
("
MockProvider
") {
[
all
...]
SignatureTest.java
51
private static abstract class
MockProvider
extends Provider {
52
public
MockProvider
(String name) {
61
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
68
Signature s = Signature.getInstance("FOO",
mockProvider
);
70
assertEquals(
mockProvider
, s.getProvider());
76
Provider
mockProvider
= new
MockProvider
("
MockProvider
") {
[
all
...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
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
...]
MacTest.java
[
all
...]
/libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java
[
all
...]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java
[
all
...]
Completed in 629 milliseconds