Home
last modified time | relevance | path

Searched refs:MockContext (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java27 import android.test.mock.MockContext;
44 MockContext context = new MockContext2(); in testRequestLayout()
72 MockContext context = new MockContext2(); in testNoSelectableItems()
95 private class MockContext2 extends MockContext {
/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java22 import android.test.mock.MockContext;
65 new MockContext(), // The context that most methods are delegated to in setUp()
102 new MockContext(), // The context that most methods are delegated to in newResolverWithContentProviderFromSql()
DProviderTestCase2.java24 import android.test.mock.MockContext;
78 private class MockContext2 extends MockContext {
226 new MockContext(), // The context that most methods are delegated to in newResolverWithContentProviderFromSql()
/frameworks/base/services/tests/servicestests/src/com/android/internal/util/
DFakeSettingsProviderTest.java25 import android.test.mock.MockContext;
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java19 import android.test.mock.MockContext;
282 private static class StubContext extends MockContext {
DInstrumentationTestRunnerTest.java22 import android.test.mock.MockContext;
270 private static class StubContext extends MockContext {
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardVerifier.java23 import android.test.mock.MockContext;
65 private static class CustomMockContext extends MockContext {
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java36 import android.test.mock.MockContext;
228 private class MyMockContext extends MockContext {
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncStorageEngineTest.java31 import android.test.mock.MockContext;
316 super(new RenamingDelegatingContext(new MockContext(), realContext, "test.")); in TestContext()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java44 import android.test.mock.MockContext;
351 static public class MyMockContext extends MockContext {
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java157 super(new MockContext(), "", "", null); in MockContentProvider()
DMockContext.java59 public class MockContext extends Context { class
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java51 import android.test.mock.MockContext;
67 public class DpmMockContext extends MockContext {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java63 import android.test.mock.MockContext;
168 public class FakeContext extends MockContext {
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java132 private class MockContext extends BroadcastInterceptingContext { class in ConnectivityServiceTest
135 MockContext(Context base) { in MockContext() method in ConnectivityServiceTest.MockContext
742 mServiceContext = new MockContext(getContext()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java76 import android.test.mock.MockContext;
128 public class BaseContext extends MockContext {
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt414 NO DOC BLOCK: android.test.mock.MockContext Method getCodeCacheDir()
455 NO DOC BLOCK: android.test.mock.MockContext Method getExternalMediaDirs()
506 NO DOC BLOCK: android.test.mock.MockContext Method getNoBackupFilesDir()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29182 public class MockContext extends android.content.Context {
29183 ctor public MockContext();
/frameworks/base/api/
Dcurrent.txt37916 public class MockContext extends android.content.Context {
37917 ctor public MockContext();
Dsystem-current.txt41081 public class MockContext extends android.content.Context {
41082 ctor public MockContext();
Dtest-current.txt37999 public class MockContext extends android.content.Context {
38000 ctor public MockContext();