Home
last modified time | relevance | path

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

123

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DHeapDumpListenerTest.java47 @Mock private Instrumentation mInstrumentation; field in HeapDumpListenerTest
60 collector.setInstrumentation(mInstrumentation); in testHeapCollectionEnableAllIterations()
73 collector.setInstrumentation(mInstrumentation); in testHeapCollectionEnableAllFlagDisabled()
85 collector.setInstrumentation(mInstrumentation); in testHeapCollectionEnableAllDisabledByDefault()
99 collector.setInstrumentation(mInstrumentation); in testHeapCollectionSpecificIterations()
118 collector.setInstrumentation(mInstrumentation); in testHeapCollectionWithProcessNames()
136 collector.setInstrumentation(mInstrumentation); in testHeapCollectionSpecificIterationsMultipleTests()
157 collector.setInstrumentation(mInstrumentation); in testEnableAllOverrideIndvidualIterationIdFlag()
176 collector.setInstrumentation(mInstrumentation); in testHeapCollectionTestWithIterationSeparator()
190 collector.setInstrumentation(mInstrumentation); in testNativeHeapDumpFlag()
[all …]
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()
DPinnerSnapshotListenerTest.java41 private Instrumentation mInstrumentation; field in PinnerSnapshotListenerTest
57 listener.setInstrumentation(mInstrumentation); in initListener()
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()
DDumpsysServiceListenerTest.java46 @Mock private Instrumentation mInstrumentation; field in DumpsysServiceListenerTest
76 listener.setInstrumentation(mInstrumentation); in initListener()
DShowmapSnapshotListenerTest.java45 @Mock private Instrumentation mInstrumentation; field in ShowmapSnapshotListenerTest
62 listener.setInstrumentation(mInstrumentation); in initListener()
DTotalPssMetricListenerTest.java52 private Instrumentation mInstrumentation; field in TotalPssMetricListenerTest
67 listener.setInstrumentation(mInstrumentation); in initListener()
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java34 private Instrumentation mInstrumentation = null; field in CommandsHelper
40 mInstrumentation = instrumentation; in CommandsHelper()
69 mInstrumentation = instrumentation; in injectInstrumentation()
80 return UiDevice.getInstance(mInstrumentation).executeShellCommand(command); in executeShellCommand()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DStopwatchRule.java51 private Instrumentation mInstrumentation = InstrumentationRegistry.getInstrumentation(); field in StopwatchRule
61 mInstrumentation.sendStatus(INST_STATUS_IN_PROGRESS, mResult); in reportMetric()
95 mInstrumentation = instrumentation; in setInstrumentation()
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/
DTouchLatencyHelper.java50 private Instrumentation mInstrumentation = null; field in TouchLatencyHelper
58 this.mInstrumentation = instrumentation; in TouchLatencyHelper()
77 Intent intent = mInstrumentation.getContext() in launchActivityFromLauncher()
80 mInstrumentation.getContext().startActivity(intent); in launchActivityFromLauncher()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAllAppsScreenHelper.java35 private Instrumentation mInstrumentation; field in AllAppsScreenHelper
45 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper()
47 mInstrumentation = androidx.test.InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAllAppsScreenHelper.java35 private Instrumentation mInstrumentation; field in AllAppsScreenHelper
45 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper()
47 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.java59 @NonNull private final Instrumentation mInstrumentation; field in QuickSettingsHelper
65 mInstrumentation = inst; in QuickSettingsHelper()
75 mInstrumentation in obtainDefaultQSTiles()
159 mInstrumentation.getContext().getContentResolver(), SYSUI_QS_TILES_SETTING); in addQuickSettingTileFromEditMenu()
183 mInstrumentation.getContext().getContentResolver(), SYSUI_QS_TILES_SETTING); in setFirstQS()
217 mInstrumentation.getContext().getContentResolver(), in modifyQSTileList()
DOverviewHelper.java53 private Instrumentation mInstrumentation = null; field in OverviewHelper
60 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in OverviewHelper()
62 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in OverviewHelper()
100 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in populateManyRecentApps()
104 if (pkg.packageName.equals(mInstrumentation.getTargetContext().getPackageName())) { in populateManyRecentApps()
114 mInstrumentation.getTargetContext().startActivity(intent); in populateManyRecentApps()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileSuiteTest.java74 @Mock private Instrumentation mInstrumentation; field in ProfileSuiteTest
105 mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_notScenarios()
113 mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_notSupportedRunner()
122 new ProfileSuite(BasicSuite.class, builder, mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_badRunnerBuilder()
129 mInstrumentation, mContext, new Bundle()); in testValidScenario_basic()
192 mInstrumentation, in testTimestampScheduling_respectsSchedule()
285 mInstrumentation, in testTimestampScheduling_respectsSuiteTimeout()
343 mInstrumentation, in testIndexedScheduling_respectsSchedule()
403 mInstrumentation, in testSequentialScheduling_respectsSchedule()
452 mInstrumentation, in testExtraArgs_registeredBeforeTest()
[all …]
DLongevitySuiteTest.java55 private final Instrumentation mInstrumentation = Mockito.mock(Instrumentation.class); field in LongevitySuiteTest
78 mInstrumentation, in testDeviceWithBattery_registersReceiver()
97 mInstrumentation, in testDeviceWithoutBattery_doesNotRegisterReceiver()
117 mInstrumentation, in testReportingIteration_notSet()
153 mInstrumentation, in testReportingIteration_set()
196 mInstrumentation, in testAdditionalRunners()
250 mInstrumentation, in testThrowingErrorReportingRunnerCauses()
/platform_testing/tests/automotive/functional/navigationbar/src/android/platform/tests/
DNavigationBarTest.java41 private Instrumentation mInstrumentation; field in NavigationBarTest
46 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in NavigationBarTest()
47 mDevice = UiDevice.getInstance(mInstrumentation); in NavigationBarTest()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaController.java56 private final Instrumentation mInstrumentation = InstrumentationRegistry.getInstrumentation(); field in MediaController
57 private final UiDevice mDevice = UiDevice.getInstance(mInstrumentation);
71 mInstrumentation.getUiAutomation().clearCache(); in play()
80 mInstrumentation.getUiAutomation().clearCache(); in pause()
178 mInstrumentation.getUiAutomation().clearCache(); in hasMetadata()
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DTimeInStateListenerTest.java46 @Mock private Instrumentation mInstrumentation; field in TimeInStateListenerTest
76 listener.setInstrumentation(mInstrumentation); in initListener()
/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.java39 private Instrumentation mInstrumentation; field in OverviewHelper
45 mInstrumentation = inst; in OverviewHelper()
63 mInstrumentation.getContext().startActivity(appIntent); in launchAppWithIntent()

123