Home
last modified time | relevance | path

Searched refs:instrumentation (Results 1 – 25 of 26) sorted by relevance

12

/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java35 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/
DCommandsHelper.java37 private CommandsHelper(Instrumentation instrumentation) { in CommandsHelper() argument
38 mInstrumentation = instrumentation; in CommandsHelper()
52 public static CommandsHelper getInstance(Instrumentation instrumentation) { in getInstance() argument
54 sInstance = new CommandsHelper(instrumentation); in getInstance()
56 sInstance.injectInstrumentation(instrumentation); in getInstance()
66 public void injectInstrumentation(Instrumentation instrumentation) { in injectInstrumentation() argument
67 mInstrumentation = instrumentation; in injectInstrumentation()
/platform_testing/libraries/app-helpers/handheld/business-card-app-helper/src/android/platform/helpers/
DBusinessCardHelperImpl.java24 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/
DPerformanceLaunchHelperImpl.java24 public PerformanceLaunchHelperImpl(Instrumentation instrumentation) { in PerformanceLaunchHelperImpl() argument
25 super(instrumentation); in PerformanceLaunchHelperImpl()
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSysAppTestHelper.java54 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()
DWatchFaceHelper.java56 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/device-collectors/src/main/java/android/device/collectors/util/
DSendToInstrumentation.java63 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/
DTouchLatencyHelper.java54 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/libraries/app-helpers/core/src/android/platform/helpers/watchers/
DAppIsNotRespondingWatcher.java35 public AppIsNotRespondingWatcher(Instrumentation instrumentation) { in AppIsNotRespondingWatcher() argument
36 mDevice = UiDevice.getInstance(instrumentation); in AppIsNotRespondingWatcher()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DStopwatchRule.java76 void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument
77 mInstrumentation = instrumentation; in setInstrumentation()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DWindowAnimationFrameStatsMonitor.java44 public WindowAnimationFrameStatsMonitor(Instrumentation instrumentation) { in WindowAnimationFrameStatsMonitor() argument
45 mInstrumentation = instrumentation; in WindowAnimationFrameStatsMonitor()
/platform_testing/tests/example/devcodelab/
DREADME3 This test is a purposely broken instrumentation apk test meant for new
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DIAutoLauncherStrategy.java25 void setInstrumentation(Instrumentation instrumentation); in setInstrumentation() argument
DVolvoLauncherStrategy.java74 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument
75 super.setInstrumentation(instrumentation); in setInstrumentation()
76 mInstrumentation = instrumentation; in setInstrumentation()
DILeanbackLauncherStrategy.java35 public void setInstrumentation(Instrumentation instrumentation); in setInstrumentation() argument
DAutoLauncherStrategy.java113 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument
114 mInstrumentation = instrumentation; in setInstrumentation()
DLeanbackLauncherStrategy.java209 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument
210 mInstrumentation = instrumentation; in setInstrumentation()
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/
DOpenApp.java85 public GenericAppHelperImpl(Instrumentation instrumentation) { in GenericAppHelperImpl() argument
86 super(instrumentation); in GenericAppHelperImpl()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDataCollector.java36 private final Instrumentation instrumentation; field in DataCollector
57 instrumentation = instr; in DataCollector()
129 entry.getKey().save(instrumentation, resultsDirectory); in loop()
DDexTestRunner.java83 Instrumentation instrumentation, in DexTestRunner() argument
90 mInstrumentation = instrumentation; in DexTestRunner()
255 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument
256 mInstrumentation = instrumentation; in setInstrumentation()
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/
DSimCardUtil.java81 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in getSimCardInformation() local
106 SendToInstrumentation.sendBundle(instrumentation, returnBundle); in getSimCardInformation()
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil.java37 public DPadUtil(Instrumentation instrumentation) { in DPadUtil() argument
38 mDevice = UiDevice.getInstance(instrumentation); in DPadUtil()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java77 private PermissionHelper(Instrumentation instrumentation) { in PermissionHelper() argument
78 mInstrumentation = instrumentation; in PermissionHelper()
91 public static PermissionHelper getInstance(Instrumentation instrumentation) { in getInstance() argument
93 mInstance = new PermissionHelper(instrumentation); in getInstance()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DLongevitySuite.java113 Instrumentation instrumentation, Context context, Bundle arguments) in LongevitySuite() argument
117 mInstrumentation = instrumentation; in LongevitySuite()
DProfileSuite.java64 Instrumentation instrumentation, Context context, Bundle arguments) in ProfileSuite() argument

12