/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/ |
D | BootHelperTest.java | 54 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 55 mProtectedContext = getInstrumentation().getContext() in setUp() 61 Activity activity = launchActivity(getInstrumentation().getTargetContext() in setupLockScreenPin() 127 private Instrumentation getInstrumentation() { in getInstrumentation() method in BootHelperTest 128 return InstrumentationRegistry.getInstrumentation(); in getInstrumentation() 154 return getInstrumentation().startActivitySync(intent); in launchActivity()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestCase.java | 80 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 82 mWatchers.registerAnrAndCrashWatchers(getInstrumentation()); in setUp() 114 getInstrumentation().getContext().startActivity(intent); in launchIntent() 139 return ((InstrumentationTestRunner)getInstrumentation()).getArguments(); in getParams() 192 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in getPackageVersion() 212 Account[] accounts = AccountManager.get(getInstrumentation().getContext()).getAccounts(); in getRegisteredEmailAccount() 226 FilesystemUtil.dumpMeminfo(getInstrumentation(), notes); in dumpMemInfo()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitorTest.java | 19 import static androidx.test.InstrumentationRegistry.getInstrumentation; 51 getInstrumentation(), new Bundle()); in setup() 52 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setup()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperAccessor.java | 54 InstrumentationRegistry.getInstrumentation()) in get() 60 InstrumentationRegistry.getInstrumentation()) in get()
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | WatchFaceJankTest.java | 43 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 44 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); in setUp() 45 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation()); in setUp()
|
D | AppLauncherFlingJankTest.java | 51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp() 53 mPm = (PowerManager) getInstrumentation(). in setUp()
|
D | CardsJankTest.java | 40 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 41 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
|
D | WatchFacePickerJankTest.java | 44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 45 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); in setUp() 46 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation()); in setUp()
|
D | QuickSettingsJankTest.java | 51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
|
D | SettingsFlingJankTest.java | 51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | AllAppsScreenHelper.java | 44 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper() 46 mInstrumentation = androidx.test.InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper() 49 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in AllAppsScreenHelper()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationSecurityTests.java | 40 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 41 mContext = getInstrumentation().getContext(); in setUp() 45 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
|
D | NotificationSecurityLargeTests.java | 46 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 47 mContext = getInstrumentation().getContext(); in setUp() 51 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
|
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/ |
D | BouncingBallJankTest.java | 34 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 35 mTouchLatencyHelper = TouchLatencyHelper.getInstance(mDevice, getInstrumentation()); in setUp()
|
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
D | AppTransitionTests.java | 111 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 114 mLauncher = new LauncherInstrumentation(getInstrumentation()); in setUp() 115 mHasLeanback = hasLeanback(getInstrumentation().getTargetContext()); in setUp() 120 factory.getLeanbackLauncherStrategy().setInstrumentation(getInstrumentation()); in setUp() 162 getInstrumentation().sendStatus(0, mResult); in tearDown() 187 getInstrumentation().getUiAutomation() in testColdLaunchFromLauncher() 207 getInstrumentation().getUiAutomation() in testColdLaunchFromLauncher() 375 mAtraceLogger = AtraceLogger.getAtraceLoggerInstance(getInstrumentation()); in createTraceDirectory() 387 getInstrumentation().getUiAutomation() in cleanTestApps() 415 PackageManager pm = getInstrumentation().getContext() in createLaunchIntentMappings() [all …]
|
/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/ |
D | PerfettoHelperTest.java | 59 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in teardown() 122 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testPerfettoSuccess() 137 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testTextProtoConfigSuccess()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchWebView.java | 41 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 43 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTransitionsJankTests.java | 43 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 46 this.getInstrumentation().getContext(), mDevice); in setUp()
|
D | UiBenchRenderingJankTests.java | 44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 46 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTextJankTests.java | 44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 47 this.getInstrumentation().getContext(), mDevice); in setUp()
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
D | SystemAppJankTests.java | 47 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 111 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in launchApp() 114 getInstrumentation().getContext().startActivity(appIntent); in launchApp()
|
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/ |
D | GenericAppPermissionTests.java | 64 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 65 mContext = getInstrumentation().getContext(); in setUp() 66 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp() 68 pHelper = PermissionHelper.getInstance(getInstrumentation()); in setUp() 69 pkgHelper = PackageHelper.getInstance(getInstrumentation()); in setUp()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | DropCachesRule.java | 51 InstrumentationRegistry.getInstrumentation().getContext().getCacheDir(); in executeDropCaches() 64 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in executeDropCaches()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | ScenarioRunner.java | 62 InstrumentationRegistry.getInstrumentation(), modifiedArguments); in runChild() 65 InstrumentationRegistry.getInstrumentation(), mArguments); in runChild()
|
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/ |
D | DialerJankTests.java | 74 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 85 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in launchApp() 88 getInstrumentation().getContext().startActivity(appIntent); in launchApp() 188 getInstrumentation().getContext().getContentResolver() in insertNewContacts() 196 Cursor contactLookup = getInstrumentation().getContext().getContentResolver().query( in doesContactExist() 231 getInstrumentation().getContext().getContentResolver() in addNumToCalLog() 237 Cursor cursor = getInstrumentation().getContext().getContentResolver() in getCallLogCount()
|