Home
last modified time | relevance | path

Searched defs:targetContext (Results 1 – 16 of 16) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsFragment.java96 Context targetContext = getTargetContext(getContext(), authDesc); in updateAccounts() local
171 final Context targetContext = getTargetContext(context, authDesc); in setUpAddAccountPrefIntent() local
192 Context targetContext = null; in getTargetContext() local
203 private static String getAuthTitle(Context targetContext, AuthenticatorDescription authDesc) { in getAuthTitle()
217 private static Drawable getAuthImage(Context targetContext, AuthenticatorDescription authDesc) { in getAuthImage()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDeviceAdminIconParserTest.java66 Context targetContext = InstrumentationRegistry.getTargetContext(); in setUpClass() local
80 Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local
DDisclaimersParserTest.java84 Context targetContext = InstrumentationRegistry.getTargetContext(); in setUpClass() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DPrivateVolumeForgetTest.java44 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in test_invalidSetupDoesNotCrashSettings() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferencesTest.java52 Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DInputMethodAndSubtypePreferenceControllerTest.java96 private InputMethodInfo createInputMethodInfo(final String name, Context targetContext) { in createInputMethodInfo()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DTestUtils.java42 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java142 final Context targetContext = getInstrumentation().getTargetContext(); in apply() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecSplitTests.java46 final Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTestViewHelpers.java63 final Context targetContext = getTargetContext(); in getSelectorForId() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DContactsManagerTest.java150 public ContextWithMockContentResolver(final Context targetContext) { in ContextWithMockContentResolver()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java179 final Context targetContext = getContext() in updateCastSettings() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DHotwordSwitchController.java228 Context targetContext = mContext.createPackageContext(pkgName, 0); in getLocalizedStringResource() local
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java58 public Context targetContext; field in BaseModelUpdateTaskTestCase
/packages/apps/Email/tests/src/com/android/email/
DDBTestHelper.java182 public MyIsolatedContext(ContentResolver resolver, Context targetContext, in MyIsolatedContext()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java232 private static File createCacheFile(Context context, Context targetContext, String filename) in createCacheFile()