Home
last modified time | relevance | path

Searched refs:FakeContext (Results 1 – 11 of 11) 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/
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/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()
DGetOrCreateConversationActionTest.java27 import com.android.messaging.FakeContext;
141 private FakeContext mContext;
148 mContext = new FakeContext(getTestContext()); in setUp()
DActionServiceSystemTest.java29 import com.android.messaging.FakeContext;
30 import com.android.messaging.FakeContext.FakeContextHost;
274 FakeContext mContext;
287 mContext = new FakeContext(getContext(), this); in setUp()
DReadWriteDraftMessageActionTest.java28 import com.android.messaging.FakeContext;
461 final FakeContext context = new FakeContext(getTestContext()); in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DParticipantRefreshTest.java29 import com.android.messaging.FakeContext;
45 private FakeContext mContext;
54 mContext = new FakeContext(getTestContext()); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DTimeHalServiceTest.java32 import android.car.test.util.FakeContext;
58 private final FakeContext mFakeContext = new FakeContext();
DPowerHalServiceUnitTest.java57 import android.car.test.util.FakeContext;
122 private final FakeContext mFakeContext = new FakeContext();
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DFakeContext.java54 public final class FakeContext extends MockContext { class