Searched refs:realContext (Results 1 – 4 of 4) sorted by relevance
213 Context realContext = TestApplication.getAppContext(); in testSendTextWithInvalidDestAddr() local214 realContext.registerReceiver(mTestReceiver, new IntentFilter(TEST_INTENT)); in testSendTextWithInvalidDestAddr()215 PendingIntent pendingIntent = PendingIntent.getBroadcast(realContext, 0, in testSendTextWithInvalidDestAddr()
112 public MockSystemServices(Context realContext, String name) { in MockSystemServices() argument113 dataDir = new File(realContext.getCacheDir(), name); in MockSystemServices()146 packageManager = spy(realContext.getPackageManager()); in MockSystemServices()149 contentResolver.addProvider("telephony", new MockContentProvider(realContext) { in MockSystemServices()
238 MyMockContext(Context realContext, PackageManager packageManager) { in MyMockContext() argument239 mRealContext = realContext; in MyMockContext()
3271 public TestAccountAuthenticatorCache(Context realContext) { in TestAccountAuthenticatorCache() argument3272 super(realContext); in TestAccountAuthenticatorCache()3284 TestInjector(Context realContext, in TestInjector() argument3288 mRealContext = realContext; in TestInjector()