OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MockProvider
(Results
1 - 11
of
11
) 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/chromium/chrome/browser/content_settings/
content_settings_mock_provider.cc
43
MockProvider
::
MockProvider
()
52
MockProvider
::
MockProvider
(ContentSettingsPattern requesting_url_pattern,
67
MockProvider
::~
MockProvider
() {}
69
ContentSetting
MockProvider
::GetContentSetting(
82
void
MockProvider
::SetContentSetting(
97
bool
MockProvider
::ContentSettingsTypeIsManaged(ContentSettingsType type) {
content_settings_mock_provider.h
43
// The class
MockProvider
is a mock for a non default content settings provider.
44
class
MockProvider
: public ProviderInterface {
46
MockProvider
();
47
MockProvider
(ContentSettingsPattern requesting_url_pattern,
54
virtual ~
MockProvider
();
65
// The
MockProvider
is only able to store one content setting. So every time
150
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
);
153
public static class
MockProvider
extends Provider {
157
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/java/com/android/server/location/
MockProvider.java
41
public class
MockProvider
implements LocationProviderInterface {
55
private static final String TAG = "
MockProvider
";
57
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
...]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/
ConfigurationTest.java
237
MockProvider
mp = new
MockProvider
();
276
MockProvider
mp = new
MockProvider
();
278
Configuration cf = Configuration.getInstance("MockType", mcp, "
MockProvider
");
284
Configuration.getInstance(null, mcp, "
MockProvider
");
292
Configuration.getInstance("MockType2", mcp, "
MockProvider
");
323
Security.removeProvider("
MockProvider
");
331
MockProvider
mp = new
MockProvider
();
[
all
...]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java
[
all
...]
Completed in 3029 milliseconds