Home
last modified time | relevance | path

Searched refs:mInstrumentation (Results 1 – 25 of 39) sorted by relevance

12

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DWindowAnimationFrameStatsMonitor.java38 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/
DWindowAnimationFrameStatsMonitorTest.java46 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/
DCommandsHelper.java32 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/
DStopwatchRule.java47 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/
DTouchLatencyHelper.java48 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/
DBinderListenerTest.java47 @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()
DJankListenerTest.java47 @Mock private Instrumentation mInstrumentation; field in JankListenerTest
62 collector.setInstrumentation(mInstrumentation); in testCollect_specificProcess()
76 collector.setInstrumentation(mInstrumentation); in testCollect_allProcesses()
DSfStatsListenerTest.java42 @Mock private Instrumentation mInstrumentation; field in SfStatsListenerTest
52 collector.setInstrumentation(mInstrumentation); in testCollect_allProcesses()
DProcessShowmapListenerTest.java48 private Instrumentation mInstrumentation; field in ProcessShowmapListenerTest
63 listener.setInstrumentation(mInstrumentation); in initListener()
DProcLoadListenerTest.java50 private Instrumentation mInstrumentation; field in ProcLoadListenerTest
65 listener.setInstrumentation(mInstrumentation); in initListener()
DDumpsysMeminfoListenerTest.java46 @Mock private Instrumentation mInstrumentation; field in DumpsysMeminfoListenerTest
76 listener.setInstrumentation(mInstrumentation); in initListener()
DTotalPssMetricListenerTest.java52 private Instrumentation mInstrumentation; field in TotalPssMetricListenerTest
67 listener.setInstrumentation(mInstrumentation); in initListener()
DShowmapSnapshotListenerTest.java45 @Mock private Instrumentation mInstrumentation; field in ShowmapSnapshotListenerTest
62 listener.setInstrumentation(mInstrumentation); in initListener()
DScreenshotOnFailureCollectorTest.java72 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()
DScheduledRunCollectionListenerTest.java73 @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/
DAllAppsScreenHelper.java34 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/
DPackageHelper.java31 private Instrumentation mInstrumentation = null; field in PackageHelper
36 mInstrumentation = instrumentation; in PackageHelper()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DQuickSettingsHelper.java37 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()
DOverviewHelper.java52 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/
DProfileSuiteTest.java66 @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()
DLongevitySuiteTest.java55 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/
DAbstractStandardAppHelper.java66 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/
DAccessibilityHelper.java47 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/
DOverviewHelper.java50 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/
DDexTestRunner.java71 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()

12