Home
last modified time | relevance | path

Searched refs:getTargetContext (Results 1 – 25 of 27) sorted by relevance

12

/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java38 mPackageManager = instrumentation.getTargetContext().getPackageManager(); in PackageHelper()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java42 mContext = InstrumentationRegistry.getTargetContext(); in HotseatHelper()
DOverviewHelper.java104 if (pkg.packageName.equals(mInstrumentation.getTargetContext().getPackageName())) { in populateManyRecentApps()
114 mInstrumentation.getTargetContext().startActivity(intent); in populateManyRecentApps()
238 final PackageManager pm = InstrumentationRegistry.getInstrumentation().getTargetContext() in isRecentsInLauncher()
DNotificationHelper.java50 mContext = InstrumentationRegistry.getTargetContext(); in NotificationHelper()
DLockscreenHelper.java71 mContext = InstrumentationRegistry.getTargetContext(); in LockscreenHelper()
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
DUserHelper.java42 mContext = InstrumentationRegistry.getTargetContext(); in UserHelper()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java44 mContext = InstrumentationRegistry.getTargetContext(); in DeviceHelper()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DFailureWatcher.java52 getInstrumentation().getTargetContext().getFilesDir(), in diagFile()
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
DAccountHelper.java44 mContext = InstrumentationRegistry.getTargetContext(); in AccountHelper()
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/
DSimCardUtil.java80 Context context = InstrumentationRegistry.getTargetContext(); in getSimCardInformation()
/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/
DBootHelperTest.java60 Activity activity = launchActivity(getInstrumentation().getTargetContext() in setupLockScreenPin()
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/
DMultiUserHelper.java50 Context context = InstrumentationRegistry.getTargetContext(); in MultiUserHelper()
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java51 mContext = InstrumentationRegistry.getTargetContext(); in ConnectivityHelper()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java60 mContext = mInstrumentation.getTargetContext(); in AccessibilityHelper()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java289 InstrumentationRegistry.getTargetContext().getPackageManager().getNameForUid(uid); in getPackageName()
301 mStatsManager = (StatsManager) InstrumentationRegistry.getTargetContext(). in getStatsManager()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java287 public Context getTargetContext() { in getTargetContext() method in AuptTestRunner
288 return new ContextWrapper(super.getTargetContext()) { in getTargetContext()
620 Context ctx = getTargetContext();
DDexTestRunner.java343 File optDir = new File(mInstrumentation.getTargetContext().getCacheDir(), DEX_OPT_PATH); in makeLoader()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java55 mContext = InstrumentationRegistry.getTargetContext(); in ActivityHelper()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DLauncherJankTests.java235 instrumentation.getTargetContext().startActivity(intent); in startAppFast()
DSystemUiJankTests.java295 Context context = getInstrumentation().getTargetContext(); in postInlineReplyNotification()
306 Builder builder = new Builder(getInstrumentation().getTargetContext()) in postInlineReplyNotification()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java93 mContext = getInstrumentation().getTargetContext(); in setUp()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java80 mContext = mInstrumentation.getTargetContext(); in PermissionHelper()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java326 InstrumentationRegistry.getTargetContext() in getStatsManager()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java115 mHasLeanback = hasLeanback(getInstrumentation().getTargetContext()); in setUp()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java86 mContext = InstrumentationRegistry.getTargetContext(); in SettingsHelper()

12