HomeSort by relevance Sort by last modified time
    Searched full:mockprovider (Results 1 - 22 of 22) 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);
content_settings_provider_unittest.cc 19 MockProvider mock_provider(false);
  /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);
content_settings_provider_unittest.cc 31 MockProvider mock_provider(
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
MockProviderTests.java 39 // These tests won't run because MockProvider can't be built under the SDK
42 public class MockProviderTests extends ProviderTestCase2<MockProvider> {
52 private static final String[] PONY_PROJECTION = {MockProvider.ID_COLUMN, PONY_COLUMN_NAME,
61 super(MockProvider.class, MockProvider.AUTHORITY);
69 //mMockResolver.addProvider(CANHAZ_AUTHORITY, new MockProvider(mMockContext));
100 // return mMockResolver.applyBatch(MockProvider.AUTHORITY, ops);
117 // assertEquals(MockProvider.TABLE, MockProvider.sURIMatcher.match(MockProvider.uri(uri)))
    [all...]
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/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) {
  /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/apps/UnifiedEmail/res/values/
accountprovider.xml 22 <item>content://com.android.mail.mockprovider/accounts</item>
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
TestProvider.java 46 * ContentResolver.applyBatch(MockProvider.AUTHORITY, batch) will cause the CPOs to be executed,
58 * MockProvider.uri(yourUri). This guarantees that the operation is sent to MockProvider
60 * NOTE: MockProvider only simulates direct storage/retrieval of rows; it does not (and can not)
89 * Create a Uri for MockProvider from a given Uri
91 * @param uri the Uri from which the MockProvider Uri will be created
92 * @return a Uri that can be used with MockProvider
  /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,
  /frameworks/base/services/java/com/android/server/
LocationManagerService.java 76 import com.android.server.location.MockProvider;
159 private final HashMap<String, MockProvider> mMockProviders =
160 new HashMap<String, MockProvider>();
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
MockRespondMatrixCursor.java 30 private static final String LOG_TAG = "MockProvider";
MockUiProvider.java 57 public static final String AUTHORITY = "com.android.mail.mockprovider";
  /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/Email/tests/src/com/android/email/
ControllerProviderOpsTests.java 33 * NOTE: It would probably make sense to rewrite this using a MockProvider, instead of the
LegacyConversionsTests.java 55 * NOTE: It would probably make sense to rewrite this using a MockProvider, instead of the
  /packages/apps/UnifiedEmail/
AndroidManifest.xml 134 android:authorities="com.android.mail.mockprovider"
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java     [all...]

Completed in 2459 milliseconds