Searched refs:originalContext (Results 1 – 5 of 5) sorted by relevance
87 final Context originalContext = getInstrumentation().getTargetContext(); in setUp() local88 when(mContext.getApplicationInfo()).thenReturn(originalContext.getApplicationInfo()); in setUp()
1769 private static Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument1770 TypedArray a = originalContext.obtainStyledAttributes(new int[]{R.attr.isLightTheme}); in applyDefaultTheme()1775 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()
101 final Context originalContext = InstrumentationRegistry.getContext(); in setup() local102 when(mContext.getApplicationInfo()).thenReturn(originalContext.getApplicationInfo()); in setup()
339 Context originalContext = ((MyMockContext)getContext()).mTestContext; in testRemovedAccountSync() local351 int accountsNumber = readNumberOfAccountsFromDbFile(originalContext, ceDatabaseName); in testRemovedAccountSync()359 accountsNumber = readNumberOfAccountsFromDbFile(originalContext, ceDatabaseName); in testRemovedAccountSync()366 Context originalContext = ((MyMockContext) getContext()).mTestContext; in testPreNDatabaseMigration() local367 PreNTestDatabaseHelper.createV4Database(originalContext, preNDatabaseName); in testPreNDatabaseMigration()369 int n = readNumberOfAccountsFromDbFile(originalContext, preNDatabaseName); in testPreNDatabaseMigration()
3593 private Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument3594 TypedArray a = originalContext.obtainStyledAttributes( in applyDefaultTheme()3600 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()