/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitor.java | 38 private Instrumentation mInstrumentation; field in WindowAnimationFrameStatsMonitor 45 mInstrumentation = instrumentation; in WindowAnimationFrameStatsMonitor() 77 mInstrumentation.getUiAutomation().clearWindowAnimationFrameStats(); in start() 82 mStats = mInstrumentation.getUiAutomation().getWindowAnimationFrameStats(); in stop()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitorTest.java | 46 private Instrumentation mInstrumentation; field in WindowAnimationFrameStatsMonitorTest 52 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setup() 53 mWindowAnimationFrameStatsMonitor = new WindowAnimationFrameStatsMonitor(mInstrumentation); in setup() 62 mInstrumentation, in captureWindowAnimationFrameStats()
|
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/ |
D | CommandsHelper.java | 32 private Instrumentation mInstrumentation = null; field in CommandsHelper 38 mInstrumentation = instrumentation; in CommandsHelper() 67 mInstrumentation = instrumentation; in injectInstrumentation() 78 return UiDevice.getInstance(mInstrumentation).executeShellCommand(command); in executeShellCommand()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | StopwatchRule.java | 47 private Instrumentation mInstrumentation = InstrumentationRegistry.getInstrumentation(); field in StopwatchRule 61 mInstrumentation.sendStatus(INST_STATUS_IN_PROGRESS, mResult); in reportMetric() 77 mInstrumentation = instrumentation; in setInstrumentation()
|
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/ |
D | TouchLatencyHelper.java | 48 private Instrumentation mInstrumentation = null; field in TouchLatencyHelper 56 this.mInstrumentation = instrumentation; in TouchLatencyHelper() 75 Intent intent = mInstrumentation.getContext() in launchActivityFromLauncher() 78 mInstrumentation.getContext().startActivity(intent); in launchActivityFromLauncher()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | BinderListenerTest.java | 47 @Mock private Instrumentation mInstrumentation; field in BinderListenerTest 62 collector.setInstrumentation(mInstrumentation); in testCollect_singleSpecificProcess() 80 collector.setInstrumentation(mInstrumentation); in testCollect_multiSpecificProcess() 94 collector.setInstrumentation(mInstrumentation); in testCollect_noSpecificProcess()
|
D | JankListenerTest.java | 47 @Mock private Instrumentation mInstrumentation; field in JankListenerTest 62 collector.setInstrumentation(mInstrumentation); in testCollect_specificProcess() 76 collector.setInstrumentation(mInstrumentation); in testCollect_allProcesses()
|
D | SfStatsListenerTest.java | 42 @Mock private Instrumentation mInstrumentation; field in SfStatsListenerTest 52 collector.setInstrumentation(mInstrumentation); in testCollect_allProcesses()
|
D | ProcessShowmapListenerTest.java | 48 private Instrumentation mInstrumentation; field in ProcessShowmapListenerTest 63 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | ProcLoadListenerTest.java | 50 private Instrumentation mInstrumentation; field in ProcLoadListenerTest 65 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | DumpsysMeminfoListenerTest.java | 46 @Mock private Instrumentation mInstrumentation; field in DumpsysMeminfoListenerTest 76 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | TotalPssMetricListenerTest.java | 52 private Instrumentation mInstrumentation; field in TotalPssMetricListenerTest 67 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | ShowmapSnapshotListenerTest.java | 45 @Mock private Instrumentation mInstrumentation; field in ShowmapSnapshotListenerTest 62 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | ScreenshotOnFailureCollectorTest.java | 72 private Instrumentation mInstrumentation; field in ScreenshotOnFailureCollectorTest 99 listener.setInstrumentation(mInstrumentation); in initListener() 133 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testSavePngAsFile() 169 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testSaveUixAsFile() 206 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testNoUixWithoutOption()
|
D | ScheduledRunCollectionListenerTest.java | 73 @Mock private Instrumentation mInstrumentation; field in ScheduledRunCollectionListenerTest 101 .when(mInstrumentation) in initListener() 103 listener.setInstrumentation(mInstrumentation); in initListener() 183 verify(mInstrumentation, atLeast(1)) in testRun()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | AllAppsScreenHelper.java | 34 private Instrumentation mInstrumentation; field in AllAppsScreenHelper 44 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper() 46 mInstrumentation = androidx.test.InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper()
|
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/ |
D | PackageHelper.java | 31 private Instrumentation mInstrumentation = null; field in PackageHelper 36 mInstrumentation = instrumentation; in PackageHelper()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | QuickSettingsHelper.java | 37 private Instrumentation mInstrumentation; field in QuickSettingsHelper 43 mInstrumentation = inst; in QuickSettingsHelper() 110 (mInstrumentation.getContext().getContentResolver(), in addQuickSettingTileFromEditMenu() 122 Settings.Secure.putString(mInstrumentation.getContext().getContentResolver(), in modifyListOfQuickSettingsTiles()
|
D | OverviewHelper.java | 52 private Instrumentation mInstrumentation = null; field in OverviewHelper 59 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in OverviewHelper() 61 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in OverviewHelper() 99 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in populateManyRecentApps() 103 if (pkg.packageName.equals(mInstrumentation.getTargetContext().getPackageName())) { in populateManyRecentApps() 113 mInstrumentation.getTargetContext().startActivity(intent); in populateManyRecentApps()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ProfileSuiteTest.java | 66 @Mock private Instrumentation mInstrumentation; field in ProfileSuiteTest 85 mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_notScenarios() 93 mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_notSupportedRunner() 102 new ProfileSuite(BasicSuite.class, builder, mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_badRunnerBuilder() 109 mInstrumentation, mContext, new Bundle()); in testValidScenario_basic() 172 mInstrumentation, in testTimestampScheduling_respectsSchedule() 265 mInstrumentation, in testTimestampScheduling_respectsSuiteTimeout() 323 mInstrumentation, in testIndexedScheduling_respectsSchedule()
|
D | LongevitySuiteTest.java | 55 private final Instrumentation mInstrumentation = Mockito.mock(Instrumentation.class); field in LongevitySuiteTest 77 mInstrumentation, in testDeviceWithBattery_registersReceiver() 95 mInstrumentation, in testDeviceWithoutBattery_doesNotRegisterReceiver() 114 mInstrumentation, in testReportingIteration_notSet() 149 mInstrumentation, in testReportingIteration_set() 196 mInstrumentation, in testThrowingErrorReportingRunnerCauses()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 66 public Instrumentation mInstrumentation; field in AbstractStandardAppHelper 76 mInstrumentation = instr; in AbstractStandardAppHelper() 126 mInstrumentation.getContext().startActivity(getOpenAppIntent()); in open() 167 mInstrumentation in getOpenAppIntent() 216 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersion() 236 return mInstrumentation.getContext().getResources().getConfiguration().orientation; in getOrientation() 252 Context context = mInstrumentation.getContext(); in hasRegisteredGoogleAccount()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityHelper.java | 47 private Instrumentation mInstrumentation = null; field in AccessibilityHelper 57 mInstrumentation = instr; in AccessibilityHelper() 60 mContext = mInstrumentation.getTargetContext(); in AccessibilityHelper()
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 50 private Instrumentation mInstrumentation; field in OverviewHelper 56 mInstrumentation = inst; in OverviewHelper() 74 mInstrumentation.getContext().startActivity(appIntent); in launchAppWithIntent()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | DexTestRunner.java | 71 protected Instrumentation mInstrumentation; field in DexTestRunner 90 mInstrumentation = instrumentation; in DexTestRunner() 256 mInstrumentation = instrumentation; in setInstrumentation() 343 File optDir = new File(mInstrumentation.getTargetContext().getCacheDir(), DEX_OPT_PATH); in makeLoader()
|