HomeSort by relevance Sort by last modified time
    Searched refs:MockContext (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium_org/base/android/javatests/src/org/chromium/base/
ContextTypesTest.java 12 import android.test.mock.MockContext;
20 Context normal = new MockContext();
21 Context webapp = new MockContext();
30 assertEquals(CONTEXT_TYPE_NORMAL, ContextTypes.getInstance().getType(new MockContext()));
37 ContextTypes.getInstance().put(new MockContext(), -1);
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ContentViewMiscTest.java 12 import android.test.mock.MockContext;
60 final MockContext appContext = new MockContext() {
67 final MockContext context = new MockContext() {
  /frameworks/base/test-runner/src/android/test/
ProviderTestCase.java 22 import android.test.mock.MockContext;
65 new MockContext(), // The context that most methods are delegated to
103 new MockContext(), // The context that most methods are delegated to
ProviderTestCase2.java 23 import android.test.mock.MockContext;
77 private class MockContext2 extends MockContext {
187 * that uses the targetContext parameter for file operations and a {@link MockContext}
215 new MockContext(), // The context that most methods are delegated to
  /frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java 26 import android.test.mock.MockContext;
42 MockContext context = new MockContext2();
70 MockContext context = new MockContext2();
93 private class MockContext2 extends MockContext {
  /external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
AdvancedMockContext.java 12 import android.test.mock.MockContext;
34 super(new MockContext());
  /cts/tests/tests/content/src/android/content/cts/
SearchRecentSuggestionsProviderTest.java 27 import android.test.mock.MockContext;
41 new MockContext(), getContext(), filenamePrefix);
  /packages/apps/Browser/tests/src/com/android/browser/tests/utils/
ProviderTestCase3.java 28 import android.test.mock.MockContext;
46 private class MockContext2 extends MockContext {
  /packages/apps/Calendar/tests/src/com/android/calendar/
DbTestUtils.java 29 import android.test.mock.MockContext;
49 class FakeContext extends MockContext {
AsyncQueryServiceTest.java 40 import android.test.mock.MockContext;
88 private class MockContext2 extends MockContext {
420 MockContext context = new MockContext() {
  /packages/apps/Email/tests/src/com/android/email/
DBTestHelper.java 31 import android.test.mock.MockContext;
52 public static class MyContext extends MockContext {
160 private static class MockContext2 extends MockContext {
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarDatabaseHelperTest.java 24 import android.test.mock.MockContext;
427 CalendarDatabaseHelper cDbHelper = new CalendarDatabaseHelper(new MockContext());
457 CalendarDatabaseHelper cDbHelper = new CalendarDatabaseHelper(new MockContext());
CalendarProvider2Test.java 41 import android.test.mock.MockContext;
121 protected class MockContext2 extends MockContext {
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/search/
SearchablesTest.java 36 import android.test.mock.MockContext;
102 MyMockContext mockContext = new MyMockContext(mContext, mockPM);
106 Searchables searchables = new Searchables(mockContext, 0);
122 MyMockContext mockContext = new MyMockContext(mContext, mockPM);
125 Searchables searchables = new Searchables(mockContext, 0);
228 private class MyMockContext extends MockContext {
  /frameworks/base/test-runner/tests/src/android/test/
AndroidTestRunnerTest.java 19 import android.test.mock.MockContext;
282 private static class StubContext extends MockContext {
InstrumentationTestRunnerTest.java 22 import android.test.mock.MockContext;
270 private static class StubContext extends MockContext {
  /frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java 33 import android.test.mock.MockContext;
234 static public class MyMockContext extends MockContext {
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 23 import android.test.mock.MockContext;
65 private static class CustomMockContext extends MockContext {
  /frameworks/base/test-runner/src/android/test/mock/
MockContentProvider.java 154 * A constructor using {@link MockContext} instance as a Context in it.
157 super(new MockContext(), "", "", null);
162 * {@link MockContext}.
173 * instance of {@link android.test.mock.MockContext}).
MockContext.java 57 public class MockContext extends Context {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 58 import android.test.mock.MockContext;
233 private static class RestrictionMockContext extends MockContext {
  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
SyncStorageEngineTest.java 30 import android.test.mock.MockContext;
    [all...]
  /external/chromium_org/cc/trees/
layer_tree_host_impl_unittest.cc     [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 

Completed in 1440 milliseconds

1 2