/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/ |
D | PackageHelper.java | 35 public PackageHelper(Instrumentation instrumentation) { in PackageHelper() argument 36 mInstrumentation = instrumentation; in PackageHelper() 37 cmdHelper = CommandsHelper.getInstance(instrumentation); in PackageHelper() 38 mPackageManager = instrumentation.getTargetContext().getPackageManager(); in PackageHelper() 41 public static PackageHelper getInstance(Instrumentation instrumentation) { in getInstance() argument 43 sInstance = new PackageHelper(instrumentation); in getInstance()
|
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/ |
D | CommandsHelper.java | 39 private CommandsHelper(Instrumentation instrumentation) { in CommandsHelper() argument 40 mInstrumentation = instrumentation; in CommandsHelper() 54 public static CommandsHelper getInstance(Instrumentation instrumentation) { in getInstance() argument 56 sInstance = new CommandsHelper(instrumentation); in getInstance() 58 sInstance.injectInstrumentation(instrumentation); in getInstance() 68 public void injectInstrumentation(Instrumentation instrumentation) { in injectInstrumentation() argument 69 mInstrumentation = instrumentation; in injectInstrumentation()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/ |
D | TestUtils.kt | 27 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() constant 35 FlickerBuilder(instrumentation).apply { transitions { executionCount++ } } in myMethod() 47 @FlickerBuilderProvider fun myMethod(): FlickerBuilder = FlickerBuilder(instrumentation) in myMethod() 50 fun mySecondMethod(): FlickerBuilder = FlickerBuilder(instrumentation) in myMethod() 61 fun myMethod(): FlickerBuilder = FlickerBuilder(instrumentation)
|
D | FlickerServiceDecoratorTest.kt | 50 val instrumentation = Mockito.mock(Instrumentation::class.java) in sendsInstrumentationUpdatesOWhenComputingTestMethods() constant 75 instrumentation = instrumentation, in sendsInstrumentationUpdatesOWhenComputingTestMethods() 80 Mockito.verify(instrumentation) in sendsInstrumentationUpdatesOWhenComputingTestMethods() 89 Mockito.verify(instrumentation) in sendsInstrumentationUpdatesOWhenComputingTestMethods() 98 Mockito.verify(instrumentation) in sendsInstrumentationUpdatesOWhenComputingTestMethods() 113 val instrumentation = Mockito.mock(Instrumentation::class.java) in failsTestAndNotModuleOnFlickerServiceMethodComputeError() constant 147 instrumentation = instrumentation, in failsTestAndNotModuleOnFlickerServiceMethodComputeError() 163 val instrumentation = Mockito.mock(Instrumentation::class.java) in handleDuplicateFlickerMethods() constant 235 instrumentation = instrumentation, in handleDuplicateFlickerMethods()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/ |
D | ChangeDisplayOrientationRule.kt | 49 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), constant in android.tools.flicker.rules.ChangeDisplayOrientationRule 62 instrumentation.context.getSystemService(Context.WINDOW_SERVICE) as WindowManager in starting() 64 setRotation(targetOrientation, instrumentation, clearCacheAfterParsing) in starting() 71 setRotation(initialOrientation, instrumentation, clearCacheAfterParsing) in finished() 80 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), in setRotation() 84 instrumentation, in setRotation() 88 val device: UiDevice = UiDevice.getInstance(instrumentation) in setRotation()
|
D | LaunchAppRule.kt | 46 private val instrumentation: Instrumentation = appHelper.instrumentation, constant in android.tools.flicker.rules.LaunchAppRule 55 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 60 StandardAppHelper(instrumentation, appName, componentMatcher), 61 instrumentation,
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | ShellPrivilege.kt | 27 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant 28 private val targetContext = instrumentation.targetContext 29 private val uiAutomation = instrumentation.uiAutomation 52 if (permissionsGranted) instrumentation.uiAutomation.dropShellPermissionIdentity() in close()
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | Utils.kt | 32 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() constant 35 internal val setupAndTearDownTestApp = BrowserAppHelper(instrumentation) 36 internal val transitionTestApp = MessagingAppHelper(instrumentation) 39 FlickerBuilder(instrumentation) in createFlicker() 64 val runner = TransitionRunner(TEST_SCENARIO, instrumentation) in runTransition()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | Utils.kt | 54 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() in notifyRunnerProgress() 56 notifyRunnerProgress(scenario.key, msg, instrumentation) in notifyRunnerProgress() 62 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() in notifyRunnerProgress() 67 instrumentation.sendStatus(1, results) in notifyRunnerProgress()
|
D | FlickerServiceDecorator.kt | 52 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), in <lambda>() 54 ) : AbstractFlickerRunnerDecorator(testClass, inner, instrumentation) { in <lambda>() 89 instrumentation in <lambda>() 97 instrumentation in <lambda>() 106 instrumentation in <lambda>() 120 instrumentation in <lambda>() 290 instrumentation, in <lambda>() 339 instrumentation: Instrumentation, in <lambda>() 371 instrumentation = instrumentation, in <lambda>() 386 SendToInstrumentation.sendBundle(instrumentation, metricBundle) in <lambda>()
|
/platform_testing/libraries/app-helpers/handheld/business-card-app-helper/src/android/platform/helpers/ |
D | BusinessCardHelperImpl.java | 24 public BusinessCardHelperImpl(Instrumentation instrumentation) { in BusinessCardHelperImpl() argument 25 super(instrumentation); in BusinessCardHelperImpl()
|
/platform_testing/libraries/app-helpers/handheld/performance-launch-app-helper/src/android/platform/helpers/ |
D | PerformanceLaunchHelperImpl.java | 24 public PerformanceLaunchHelperImpl(Instrumentation instrumentation) { in PerformanceLaunchHelperImpl() argument 25 super(instrumentation); in PerformanceLaunchHelperImpl()
|
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/ |
D | GmailAppHelper.kt | 26 constructor(instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation()) : 28 instrumentation,
|
D | CalculatorAppHelper.kt | 30 constructor(instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation()) : 32 instrumentation,
|
D | ClockAppHelper.kt | 31 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 32 pkgManager: PackageManager = instrumentation.context.packageManager 35 instrumentation,
|
D | CameraAppHelper.kt | 31 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 32 pkgManager: PackageManager = instrumentation.context.packageManager 35 instrumentation,
|
D | MessagingAppHelper.kt | 34 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 35 pkgManager: PackageManager = instrumentation.context.packageManager 38 instrumentation,
|
D | BrowserAppHelper.kt | 37 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 38 pkgManager: PackageManager = instrumentation.context.packageManager 41 instrumentation,
|
D | CalendarAppHelper.kt | 31 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 32 pkgManager: PackageManager = instrumentation.context.packageManager 35 instrumentation,
|
/platform_testing/libraries/flicker/utils/src/android/tools/device/traces/parsers/ |
D | WindowManagerStateHelper.kt | 28 constructor(instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation()) : 29 android.tools.traces.parsers.WindowManagerStateHelper(instrumentation)
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/ |
D | TransitionRunner.kt | 43 private val instrumentation: Instrumentation, constant in android.tools.flicker.legacy.runner.TransitionRunner 85 LaunchAppRule(MessagingAppHelper(instrumentation), clearCacheAfterParsing = false) in buildTestRuleChain() 106 instrumentation in buildTestRuleChain() 110 .around(SetupTeardownRule(flicker, resultWriter, scenario, instrumentation)) in buildTestRuleChain() 112 .around(TransitionExecutionRule(flicker, resultWriter, scenario, instrumentation)) in buildTestRuleChain()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | ClassMetricRule.java | 61 ClassMetricRule(Bundle args, Instrumentation instrumentation) { in ClassMetricRule() argument 64 instrumentation, in ClassMetricRule()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/ |
D | QuickswitchTest.kt | 43 val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() constant in android.tools.flicker.config.QuickswitchTest 45 val wmHelper = WindowManagerStateHelper(instrumentation) 46 val browser = BrowserAppHelper(instrumentation) 47 val camera = CameraAppHelper(instrumentation)
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/util/ |
D | SendToInstrumentation.java | 63 private static void sendStatus(int code, Instrumentation instrumentation, Bundle bundle) { in sendStatus() argument 64 instrumentation.sendStatus(code, bundle); in sendStatus()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | FlickerBuilder.kt | 33 private val instrumentation: Instrumentation, constant in android.tools.flicker.legacy.FlickerBuilder 36 WindowManagerStateHelper(instrumentation, clearCacheAfterParsing = false), 40 val device: UiDevice = UiDevice.getInstance(instrumentation), 113 instrumentation, in build() 127 instrumentation, in copy()
|