Home
last modified time | relevance | path

Searched refs:FakeContext (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/
DDbTestUtils.java45 private final FakeContext context;
49 class FakeContext extends MockContext { class in DbTestUtils
54 FakeContext(ContentResolver contentResolver, Resources resources) { in FakeContext() method in DbTestUtils.FakeContext
179 this.context = new FakeContext(contentResolver, resources); in DbTestUtils()
189 public FakeContext getContext() { in getContext()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java29 import com.android.messaging.FakeContext;
30 import com.android.messaging.FakeContext.FakeContextHost;
118 FakeContext mContext;
143 mContext = new FakeContext(getContext(), this); in setUp()
DActionServiceSystemTest.java28 import com.android.messaging.FakeContext;
29 import com.android.messaging.FakeContext.FakeContextHost;
275 FakeContext mContext;
288 mContext = new FakeContext(getContext(), this); in setUp()
DGetOrCreateConversationActionTest.java26 import com.android.messaging.FakeContext;
140 private FakeContext mContext;
147 mContext = new FakeContext(getTestContext()); in setUp()
DReadWriteDraftMessageActionTest.java27 import com.android.messaging.FakeContext;
460 final FakeContext context = new FakeContext(getTestContext()); in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContext.java31 public class FakeContext extends RenamingDelegatingContext { class
46 public FakeContext(final Context context, final FakeContextHost service) { in FakeContext() method in FakeContext
53 public FakeContext(final Context context) { in FakeContext() method in FakeContext
DFakeFactory.java54 private FakeContext mFakeContext;
70 final FakeContext fake) { in registerWithFakeContext()
151 final FakeContext context = new FakeContext(applicationContext); in register()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DParticipantRefreshTest.java28 import com.android.messaging.FakeContext;
44 private FakeContext mContext;
53 mContext = new FakeContext(getTestContext()); in setUp()