/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/flicker/src/com/android/server/wm/flicker/rules/ |
D | ChangeDisplayOrientationRule.kt | 32 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() constant in com.android.server.wm.flicker.rules.ChangeDisplayOrientationRule 37 val wm = instrumentation.context.getSystemService(Context.WINDOW_SERVICE) as WindowManager in starting() 39 setRotation(targetOrientation, instrumentation) in starting() 43 setRotation(initialOrientation, instrumentation) in finished() 50 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), in setRotation() 51 wmHelper: WindowManagerStateHelper = WindowManagerStateHelper(instrumentation) in setRotation() 53 val device: UiDevice = UiDevice.getInstance(instrumentation) in setRotation() 72 instrumentation.uiAutomation.syncInputTransactions() in setRotation()
|
D | LaunchAppRule.kt | 36 private val instrumentation: Instrumentation = appHelper.mInstrumentation, constant in com.android.server.wm.flicker.rules.LaunchAppRule 43 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), 45 ): this(StandardAppHelper(instrumentation, appName, component), instrumentation, wmHelper)
|
/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/com/android/server/wm/flicker/service/ |
D | RotationMockTest.kt | 38 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant 39 private val dummyAppHelper = SampleAppHelper(instrumentation) 46 val device = UiDevice.getInstance(instrumentation) in startRotationServiceTest() 47 val wmHelper = WindowManagerStateHelper(instrumentation) in startRotationServiceTest() 53 instrumentation.uiAutomation.syncInputTransactions() in startRotationServiceTest() 55 instrumentation.uiAutomation.syncInputTransactions() in startRotationServiceTest()
|
D | FassMockTest.kt | 37 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant in com.android.server.wm.flicker.service.FassMockTest 38 private val dummyAppHelper = SampleAppHelper(instrumentation) 45 val device = UiDevice.getInstance(instrumentation) in startServiceTest() 46 val wmHelper = WindowManagerStateHelper(instrumentation) in startServiceTest()
|
D | TraceIsTaggableTest.kt | 33 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant 34 private val device = UiDevice.getInstance(instrumentation) 35 private val wmHelper = WindowManagerStateHelper(instrumentation) 43 SampleAppHelper(instrumentation).launchViaIntent(wmHelper) in canCreateTagsFromDeviceTrace()
|
D | WMFlickerServiceRuleForTestSpecTest.kt | 42 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() constant in com.android.server.wm.flicker.service.WMFlickerServiceRuleForTestSpecTest 46 return FlickerBuilder(instrumentation).apply { in emptyFlicker()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitorTest.kt | 33 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant in com.android.server.wm.flicker.monitor.WindowAnimationFrameStatsMonitorTest 34 private val frameStatsMonitor = WindowAnimationFrameStatsMonitor(instrumentation) 35 private val uiDevice = UiDevice.getInstance(instrumentation)
|
D | ScreenRecorderTest.kt | 38 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() in <lambda>() constant in com.android.server.wm.flicker.monitor.ScreenRecorderTest 43 mScreenRecorder = ScreenRecorder(outputDir, instrumentation.targetContext) in <lambda>()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/dsl/ |
D | FlickerBuilder.kt | 45 private val instrumentation: Instrumentation, constant in com.android.server.wm.flicker.dsl.FlickerBuilder 61 WindowAnimationFrameStatsMonitor(instrumentation) 72 instrumentation: Instrumentation, 77 .getInstance(instrumentation).launcherStrategy, 89 wmHelper: WindowManagerStateHelper = WindowManagerStateHelper(instrumentation) 91 instrumentation, 101 device = UiDevice.getInstance(instrumentation), 106 it.add(ScreenRecorder(outputDir, instrumentation.targetContext)) in <lambda>() 115 otherBuilder.instrumentation, 125 UiDevice.getInstance(otherBuilder.instrumentation), [all …]
|
/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/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | SysAppTestHelper.java | 54 private Instrumentation instrumentation = null; field in SysAppTestHelper 61 private SysAppTestHelper(UiDevice mDevice, Instrumentation instrumentation) { in SysAppTestHelper() argument 64 this.instrumentation = instrumentation; in SysAppTestHelper() 68 public static SysAppTestHelper getInstance(UiDevice device, Instrumentation instrumentation) { in getInstance() argument 70 sysAppTestHelperInstance = new SysAppTestHelper(device, instrumentation); in getInstance() 176 instrumentation.getContext().sendBroadcast(mIntent); in reloadDemoCards() 184 instrumentation.getContext().startActivity(mIntent); in launchActivity()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/ |
D | SampleAppHelper.kt | 34 instrumentation: Instrumentation, 35 private val pkgManager: PackageManager = instrumentation.context.packageManager 37 instrumentation,
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitor.kt | 33 private val instrumentation: Instrumentation constant in com.android.server.wm.flicker.monitor.WindowAnimationFrameStatsMonitor 72 instrumentation.uiAutomation.clearWindowAnimationFrameStats() in start() 76 frameStats = instrumentation.uiAutomation.windowAnimationFrameStats in stop()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | TransitionRunnerTest.kt | 33 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant 39 val flicker = FlickerBuilder(instrumentation) in canRunTransition() 56 val flicker = FlickerBuilder(instrumentation) in canRunTransitionCached()
|
D | UiDeviceExtensionsTest.kt | 43 val instrumentation = InstrumentationRegistry.getInstrumentation() in getCurrState() constant 44 return getCurrentState(instrumentation.uiAutomation, dumpFlags) in getCurrState() 50 val instrumentation = InstrumentationRegistry.getInstrumentation() in getCurrStateDump() constant 51 return getCurrentStateDump(instrumentation.uiAutomation, dumpFlags) in getCurrStateDump()
|
/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/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/ |
D | TouchLatencyHelper.java | 54 private TouchLatencyHelper(UiDevice mDevice, Instrumentation instrumentation) { in TouchLatencyHelper() argument 56 this.mInstrumentation = instrumentation; in TouchLatencyHelper() 59 public static TouchLatencyHelper getInstance(UiDevice device, Instrumentation instrumentation) { in getInstance() argument 61 touchLatencyHelper = new TouchLatencyHelper(device, instrumentation); in getInstance()
|
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/ |
D | FacebookAppHelperImpl.java | 65 public FacebookAppHelperImpl(Instrumentation instrumentation) { in FacebookAppHelperImpl() argument 66 super(instrumentation); in FacebookAppHelperImpl() 67 mDevice = UiDevice.getInstance(instrumentation); in FacebookAppHelperImpl() 68 mUiAutomation = instrumentation.getUiAutomation(); in FacebookAppHelperImpl() 69 mContext = instrumentation.getContext(); in FacebookAppHelperImpl()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/watchers/ |
D | AppIsNotRespondingWatcher.java | 35 public AppIsNotRespondingWatcher(Instrumentation instrumentation) { in AppIsNotRespondingWatcher() argument 36 mDevice = UiDevice.getInstance(instrumentation); in AppIsNotRespondingWatcher()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | StopwatchRule.java | 76 void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument 77 mInstrumentation = instrumentation; in setInstrumentation()
|
/platform_testing/tests/example/devcodelab/ |
D | README | 3 This test is a purposely broken instrumentation apk test meant for new
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | IAutoLauncherStrategy.java | 25 void setInstrumentation(Instrumentation instrumentation); in setInstrumentation() argument
|