Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 105) sorted by relevance

12345

/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java45 public static CommandsHelper getInstance() { in getInstance() method in CommandsHelper
52 public static CommandsHelper getInstance(Instrumentation instrumentation) { in getInstance() method in CommandsHelper
78 return UiDevice.getInstance(mInstrumentation).executeShellCommand(command); in executeShellCommand()
105 return getInstance().executeShellCommand(command); in execute()
115 return getInstance().executeShellCommandAndSplitOutput(command, LINE_SEPARATORS); in executeAndSplitLines()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperAccessor.java52 HelperManager.getInstance( in get()
58 HelperManager.getInstance( in get()
DHelperTest.java130 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in getDevice()
148 mHelper = HelperManager.getInstance( in getHelper()
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DWatchFaceJankTest.java43 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
44 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); in setUp()
45 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation()); in setUp()
DCardsJankTest.java40 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
41 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
DWatchFacePickerJankTest.java44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
45 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); in setUp()
46 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation()); in setUp()
DQuickSettingsJankTest.java51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
DSettingsFlingJankTest.java51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
DAppLauncherFlingJankTest.java51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAllAppsScreenHelper.java36 .getInstance(mDevice).getLauncherStrategy();
48 mActivityHelper = ActivityHelper.getInstance(); in AllAppsScreenHelper()
49 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in AllAppsScreenHelper()
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
DAccountHelper.java47 mActivityHelper = ActivityHelper.getInstance(); in AccountHelper()
48 mDeviceHelper = DeviceHelper.getInstance(); in AccountHelper()
49 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in AccountHelper()
52 public static AccountHelper getInstance() { in getInstance() method in AccountHelper
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/
DBouncingBallJankTest.java34 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
35 mTouchLatencyHelper = TouchLatencyHelper.getInstance(mDevice, getInstrumentation()); in setUp()
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java37 cmdHelper = CommandsHelper.getInstance(instrumentation); in PackageHelper()
41 public static PackageHelper getInstance(Instrumentation instrumentation) { in getInstance() method in PackageHelper
/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java59 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in teardown()
122 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testPerfettoSuccess()
137 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testTextProtoConfigSuccess()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchWebView.java41 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
43 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
DUiBenchTransitionsJankTests.java43 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
45 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
DUiBenchRenderingJankTests.java44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
46 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
DUiBenchTextJankTests.java44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
46 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java41 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in HotseatHelper()
45 public static HotseatHelper getInstance() { in getInstance() method in HotseatHelper
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DLatencyTests.java89 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
113 LauncherStrategyFactory.getInstance(mDevice); in setUp()
233 LockscreenHelper.getInstance().setScreenLockViaShell(PIN, LockscreenHelper.MODE_PIN); in testPinCheckDelay()
248 LockscreenHelper.getInstance().unlockScreen(PIN); in testPinCheckDelay()
254 LockscreenHelper.getInstance().removeScreenLockViaShell(PIN); in testPinCheckDelay()
309 OverviewHelper.getInstance().populateManyRecentApps(); in testAppToRecents()
337 SettingsHelper settingsHelper = SettingsHelper.getInstance(); in testSettingsSearch()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java44 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in DeviceHelper()
47 public static DeviceHelper getInstance() { in getInstance() method in DeviceHelper
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DGenericAppPermissionTests.java64 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
68 pHelper = PermissionHelper.getInstance(getInstrumentation()); in setUp()
69 pkgHelper = PackageHelper.getInstance(getInstrumentation()); in setUp()
71 mILauncherStrategy = LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); in setUp()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java58 mSettingsHelper = SettingsHelper.getInstance(); in AccessibilityHelper()
59 mDevice = UiDevice.getInstance(instr); in AccessibilityHelper()
63 public static AccessibilityHelper getInstance(Instrumentation instr) { in getInstance() method in AccessibilityHelper
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DUiWatchers.java43 final UiDevice device = UiDevice.getInstance(instr); in registerAnrAndCrashWatchers()
80 final UiDevice device = UiDevice.getInstance(instr); in removeAnrAndCrashWatchers()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTestWatcher.java41 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in getUiDevice()

12345