Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsFragment.java99 Context targetContext = getTargetContext(getContext(), authDesc); in updateAccounts() local
174 final Context targetContext = getTargetContext(context, authDesc); in setUpAddAccountPrefIntent() local
200 Context targetContext = null; in getTargetContext() local
211 private static String getAuthTitle(Context targetContext, AuthenticatorDescription authDesc) { in getAuthTitle()
225 private static Drawable getAuthImage(Context targetContext, AuthenticatorDescription authDesc) { in getAuthImage()
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/role/model/
DRoleParserTest.kt26 private val targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext() constant
/packages/apps/Launcher3/tests/src_common/com/android/launcher3/common/
DWidgetUtils.java47 LauncherAppWidgetProviderInfo info, Context targetContext, boolean bindWidget) { in createWidgetInfo()
82 public static void addItemToScreen(ItemInfo item, Context targetContext) { in addItemToScreen()
/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.java54 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/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java61 Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DTestUtils.java38 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecSplitTests.java46 final Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() 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/
DMainFragment.java417 Context targetContext = getContext().createPackageContext(pkgName, 0); in getStringResource() local
438 Context targetContext = getContext().createPackageContext(pkgName, 0); in getDrawableResource() local
DHotwordSwitchController.java228 Context targetContext = mContext.createPackageContext(pkgName, 0); in getLocalizedStringResource() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java235 final Context targetContext = getContext() in updateCastSettings() local
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java265 private static File createCacheFile(Context context, Context targetContext, String filename) in createCacheFile()
DZappingTimeTestExoV2.java265 private static File createCacheFile(Context context, Context targetContext, String filename) in createCacheFile()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java162 Context targetContext = RuntimeEnvironment.application; in initializeData() local