HomeSort by relevance Sort by last modified time
    Searched full:mockprovider (Results 1 - 24 of 24) 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);
  /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);
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/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...]
  /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/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,
  /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...]
  /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";
  /frameworks/base/services/core/java/com/android/server/
LocationManagerService.java 39 import com.android.server.location.MockProvider;
176 private final HashMap<String, MockProvider> mMockProviders =
177 new HashMap<String, MockProvider>();
    [all...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/
CipherFactory.java 264 * @param mockProvider Should be used to provide non-random data.
266 void setRandomNumberProviderForTests(ByteArrayGenerator mockProvider) {
267 mRandomNumberProvider = 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 49 * NOTE: It would probably make sense to rewrite this using a MockProvider, instead of the
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java     [all...]
  /packages/apps/UnifiedEmail/
AndroidManifest.xml 139 android:authorities="com.android.mail.mockprovider"
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java     [all...]

Completed in 1326 milliseconds