Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsFragment.java103 Context targetContext = getTargetContext(getContext(), authDesc); in updateAccounts() local
188 final Context targetContext = getTargetContext(context, authDesc); in setUpAddAccountPrefIntent() local
214 Context targetContext = null; in getTargetContext() local
225 private static String getAuthTitle(Context targetContext, AuthenticatorDescription authDesc) { in getAuthTitle()
239 private static Drawable getAuthImage(Context targetContext, AuthenticatorDescription authDesc) { in getAuthImage()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/role/model/
DRoleParserTest.kt27 private val targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext() constant in com.android.permissioncontroller.tests.mocking.role.model.RoleParserTest
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWidgetUtils.java51 LauncherAppWidgetProviderInfo info, Context targetContext, boolean bindWidget) { in createWidgetInfo()
93 public static void addItemToScreen(ItemInfo item, Context targetContext) { in addItemToScreen()
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/
DBasePermissionUiTest.kt30 protected val targetContext = instrumentation.targetContext!! constant
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DPrivateVolumeForgetTest.java46 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in test_invalidSetupDoesNotCrashSettings() 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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferencesTest.java52 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/apps/Camera2/src/com/android/camera/util/
DAndroidServices.java138 private Object getSystemService(String service, Context targetContext) { in getSystemService()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecSplitTests.java46 final Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionServiceTest.java90 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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserImplTest.java84 Context targetContext = InstrumentationRegistry.getTargetContext(); in setUpClass() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java365 Context targetContext = getContext().createPackageContext(pkgName, 0); in getStringResource() local
386 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.java310 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.java292 private static File createCacheFile(Context context, Context targetContext, String filename) in createCacheFile()