Searched refs:realContext (Results 1 – 5 of 5) sorted by relevance
55 Context realContext = InstrumentationRegistry.getTargetContext(); in testGetImsResources() local56 String defaultImsMmtelPackage = getResourcesForLocale(realContext, Locale.US).getString( in testGetImsResources()58 String defaultImsMmtelPackageUk = getResourcesForLocale(realContext, Locale.UK).getString( in testGetImsResources()
137 val realContext = InstrumentationRegistry.getInstrumentation().context in setUp() constant138 doReturn(realContext.applicationInfo).`when`(mContext).applicationInfo in setUp()139 doReturn(realContext.packageName).`when`(mContext).packageName in setUp()142 realContext.packageName, 0, UserHandle.CURRENT) in setUp()144 realContext.packageName, 0, UserHandle.ALL) in setUp()
145 public TestContext(Context realContext) { in TestContext() argument146 super(realContext, FILENAME_PREFIX); in TestContext()192 final Context realContext = getContext(); in setUp() local194 mTestContext = new TestContext(realContext); in setUp()
47 public ContactsMockPackageManager(Context realContext) { in ContactsMockPackageManager() argument48 mRealContext = realContext; in ContactsMockPackageManager()
283 public TestMockContext(Context realContext, DevicePolicyManager dpm, UserManager um) { in TestMockContext() argument284 mRealContext = realContext; in TestMockContext()