/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | HeapDumpListenerTest.java | 47 @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 …]
|
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 | PinnerSnapshotListenerTest.java | 44 private Instrumentation mInstrumentation; field in PinnerSnapshotListenerTest 60 listener.setInstrumentation(mInstrumentation); in initListener()
|
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 | DumpsysServiceListenerTest.java | 46 @Mock private Instrumentation mInstrumentation; field in DumpsysServiceListenerTest 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()
|
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/ |
D | CommandsHelper.java | 34 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/ |
D | StopwatchRule.java | 51 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/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
D | AllAppsScreenHelper.java | 35 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/ |
D | AllAppsScreenHelper.java | 35 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/ |
D | PackageHelper.java | 31 private Instrumentation mInstrumentation = null; field in PackageHelper 36 mInstrumentation = instrumentation; in PackageHelper()
|
/platform_testing/tests/automotive/functional/navigationbar/src/android/platform/tests/ |
D | NavigationBarTest.java | 41 private Instrumentation mInstrumentation; field in NavigationBarTest 46 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in NavigationBarTest() 47 mDevice = UiDevice.getInstance(mInstrumentation); in NavigationBarTest()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | QuickSettingsHelper.java | 60 @NonNull private final Instrumentation mInstrumentation; field in QuickSettingsHelper 67 mInstrumentation = inst; in QuickSettingsHelper() 68 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in QuickSettingsHelper() 78 mInstrumentation in obtainDefaultQSTiles() 162 mInstrumentation.getContext().getContentResolver(), SYSUI_QS_TILES_SETTING); in addQuickSettingTileFromEditMenu() 200 mInstrumentation.getContext().getContentResolver(), SYSUI_QS_TILES_SETTING); in getCurrentTilesList()
|
D | OverviewHelper.java | 53 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/ |
D | ProfileSuiteTest.java | 74 @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 …]
|
D | LongevitySuiteTest.java | 55 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/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaController.java | 56 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/ |
D | TimeInStateListenerTest.java | 46 @Mock private Instrumentation mInstrumentation; field in TimeInStateListenerTest 76 listener.setInstrumentation(mInstrumentation); in initListener()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 97 public Instrumentation mInstrumentation; field in AbstractStandardAppHelper 123 mInstrumentation = instr; in AbstractStandardAppHelper() 155 mSpectatioUiUtil = SpectatioUiUtil.getInstance(mInstrumentation); in initializeSpectatioUtils() 275 mInstrumentation in open() 285 mInstrumentation in open() 345 mInstrumentation in getOpenAppIntent() 369 mInstrumentation in getOpenAppIntent() 390 activityManager = mInstrumentation.getContext().getSystemService(ActivityManager.class); in exit() 455 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersion() 473 return mInstrumentation.getContext().getResources().getConfiguration().orientation; in getOrientation() [all …]
|
D | AbstractStandardAppHelper2.java | 88 public Instrumentation mInstrumentation; field in AbstractStandardAppHelper2 114 mInstrumentation = instr; in AbstractStandardAppHelper2() 146 mSpectatioUiUtil = SpectatioUiUtil.getInstance(mInstrumentation); in initializeSpectatioUtils() 265 mInstrumentation in open() 271 mInstrumentation in open() 330 mInstrumentation in getOpenAppIntent() 349 activityManager = mInstrumentation.getContext().getSystemService(ActivityManager.class); in exit() 414 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersion() 432 return mInstrumentation.getContext().getResources().getConfiguration().orientation; in getOrientation() 448 Context context = mInstrumentation.getContext(); in hasRegisteredGoogleAccount()
|
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/ |
D | UiBenchJankHelper.java | 103 mInstrumentation.getContext().startActivity(intent); in launchActivity() 110 final UiAutomation uiAutomation = mInstrumentation.getUiAutomation(); in launchActivity() 128 mInstrumentation in getEdgeSensitivity() 132 return mInstrumentation.getContext().getResources().getDimensionPixelSize(resId) + 1; in getEdgeSensitivity() 174 Context context = mInstrumentation.getContext(); in slowSingleFlingDown() 386 mInstrumentation.getContext().getSystemService(ActivityManager.class); in exit()
|