/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 | 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/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 | PinnerSnapshotListenerTest.java | 41 private Instrumentation mInstrumentation; field in PinnerSnapshotListenerTest 57 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | ProcessShowmapListenerTest.java | 48 private Instrumentation mInstrumentation; field in ProcessShowmapListenerTest 63 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | DumpsysServiceListenerTest.java | 46 @Mock private Instrumentation mInstrumentation; field in DumpsysServiceListenerTest 76 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | DumpsysMeminfoListenerTest.java | 46 @Mock private Instrumentation mInstrumentation; field in DumpsysMeminfoListenerTest 76 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | ShowmapSnapshotListenerTest.java | 45 @Mock private Instrumentation mInstrumentation; field in ShowmapSnapshotListenerTest 62 listener.setInstrumentation(mInstrumentation); in initListener()
|
D | TotalPssMetricListenerTest.java | 52 private Instrumentation mInstrumentation; field in TotalPssMetricListenerTest 67 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()
|
/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/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/libraries/flicker/src/com/android/server/wm/flicker/helpers/ |
D | StandardAppHelper.kt | 57 get() = mInstrumentation.context.getSystemService(ActivityManager::class.java) 60 get() = mInstrumentation.context 62 protected val uiDevice: UiDevice = UiDevice.getInstance(mInstrumentation) 128 mInstrumentation.uiAutomation.syncInputTransactions() in waitForActivityDestroyed() 190 mInstrumentation.getUiAutomation().syncInputTransactions() in launchViaIntent()
|
/platform_testing/tests/automotive/functional/navigationbar/src/android/platform/tests/ |
D | NavigationBarTest.java | 43 private Instrumentation mInstrumentation; field in NavigationBarTest 52 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in NavigationBarTest() 53 mDevice = UiDevice.getInstance(mInstrumentation); in NavigationBarTest()
|
/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 | 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/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | AutoUtility.java | 40 private static Instrumentation mInstrumentation = InstrumentationRegistry.getInstrumentation(); field in AutoUtility 41 private static UiDevice mDevice = UiDevice.getInstance(mInstrumentation);
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ProfileSuiteTest.java | 72 @Mock private Instrumentation mInstrumentation; field in ProfileSuiteTest 103 mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_notScenarios() 111 mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_notSupportedRunner() 120 new ProfileSuite(BasicSuite.class, builder, mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_badRunnerBuilder() 127 mInstrumentation, mContext, new Bundle()); in testValidScenario_basic() 190 mInstrumentation, in testTimestampScheduling_respectsSchedule() 283 mInstrumentation, in testTimestampScheduling_respectsSuiteTimeout() 341 mInstrumentation, in testIndexedScheduling_respectsSchedule() 401 mInstrumentation, in testSequentialScheduling_respectsSchedule() 450 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/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 | 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()
|