/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()
|
/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/monitor/ |
D | WindowAnimationFrameStatsMonitorTest.kt | 33 private val instrumentation = InstrumentationRegistry.getInstrumentation() constant 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()
|
D | WatchFaceHelper.java | 56 private WatchFaceHelper(UiDevice device, Instrumentation instrumentation) { in WatchFaceHelper() argument 58 this.mHelper = SysAppTestHelper.getInstance(mDevice, instrumentation); in WatchFaceHelper() 61 public static WatchFaceHelper getInstance(UiDevice device, Instrumentation instrumentation) { in getInstance() argument 63 sWatchFaceHelperInstance = new WatchFaceHelper(device, instrumentation); in getInstance()
|
/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 | 41 val instrumentation = InstrumentationRegistry.getInstrumentation() in getCurrState() constant 42 return getCurrentState(instrumentation.uiAutomation, dumpFlags) in getCurrState() 48 val instrumentation = InstrumentationRegistry.getInstrumentation() in getCurrStateDump() constant 49 return getCurrentStateDump(instrumentation.uiAutomation, dumpFlags) in getCurrStateDump()
|
D | FlickerDSLTest.kt | 44 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() constant in com.android.server.wm.flicker.FlickerDSLTest 50 val builder = FlickerBuilder(instrumentation) in runFlicker() 147 val builder = FlickerBuilder(instrumentation).apply { in supportDuplicatedTag() 167 val builder = FlickerBuilder(instrumentation).apply { in preventInvalidTagNames() 183 val builder = FlickerBuilder(instrumentation).apply { in assertCreatedTags() 204 FlickerBuilder(instrumentation).build().execute() in detectEmptyResults() 216 val builder = FlickerBuilder(instrumentation) in detectCrashedTransition()
|
/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
|
D | LauncherStrategyFactory.java | 61 public static LauncherStrategyFactory getInstance(Instrumentation instrumentation) { in getInstance() argument 62 return getInstance(UiDevice.getInstance(instrumentation)); in getInstance()
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/ |
D | OpenApp.java | 85 public GenericAppHelperImpl(Instrumentation instrumentation) { in GenericAppHelperImpl() argument 86 super(instrumentation); in GenericAppHelperImpl()
|
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/generic/ |
D | IdleInAppMicrobenchmark.java | 89 public GenericAppHelperImpl(Instrumentation instrumentation) { in GenericAppHelperImpl() argument 90 super(instrumentation); in GenericAppHelperImpl()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | DataCollector.java | 36 private final Instrumentation instrumentation; field in DataCollector 57 instrumentation = instr; in DataCollector() 129 entry.getKey().save(instrumentation, resultsDirectory); in loop()
|