Home
last modified time | relevance | path

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

1234

/platform_testing/libraries/play-movies-app-helper/src/android/platform/test/helpers/
DPlayMoviesHelperImpl.java62 long original = Configurator.getInstance().getWaitForIdleTimeout(); in open()
63 Configurator.getInstance().setWaitForIdleTimeout(1500); in open()
67 Configurator.getInstance().setWaitForIdleTimeout(original); in open()
110 long original = Configurator.getInstance().getWaitForIdleTimeout(); in dismissInitialDialogs()
111 Configurator.getInstance().setWaitForIdleTimeout(1500); in dismissInitialDialogs()
121 Configurator.getInstance().setWaitForIdleTimeout(original); in dismissInitialDialogs()
/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/
DDPadHelper.java33 mDevice = UiDevice.getInstance(instrumentation); in DPadHelper()
36 public static DPadHelper getInstance(Instrumentation instrumentation) { in getInstance() method in DPadHelper
DAbstractStandardAppHelper.java35 mDevice = UiDevice.getInstance(instr); in AbstractStandardAppHelper()
36 mLauncherStrategy = LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); in AbstractStandardAppHelper()
DAbstractLeanbackAppHelper.java48 mDPadHelper = DPadHelper.getInstance(instr); in AbstractLeanbackAppHelper()
49 mLauncherStrategy = LauncherStrategyFactory.getInstance( in AbstractLeanbackAppHelper()
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DCardsJankTest.java40 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
41 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
DSettingsFlingJankTest.java52 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
53 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
DQuickSettingsJankTest.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/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()
DUiBenchRenderingJankTests.java44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
46 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
DUiBenchTransitionsJankTests.java43 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
45 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
DUiBenchTextJankTests.java44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
46 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
DUiBenchJankTests.java44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
46 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DSysUILauncherTests.java54 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
57 mLauncherStrategy = LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); in setUp()
100 WallpaperManager wallpaperManagerPre = WallpaperManager.getInstance(mContext); in testChangeWallPaper()
119 WallpaperManager wallpaperManagerPost = WallpaperManager.getInstance(mContext); in testChangeWallPaper()
123 WallpaperManager wallpaperManagerCurrrent = WallpaperManager.getInstance(mContext); in testChangeWallPaper()
DSysUIMultiUserTests.java44 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
48 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, mUiAutomation); in setUp()
DSysUIMultiWindowTests.java48 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
52 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, mUiAutomation); in setUp()
DFrameworkDownloadTests.java54 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
57 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, in setUp()
/platform_testing/tests/functional/launchertests/src/com/android/launcher/functional/
DPhoneHotseatTests.java41 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
47 hotseatHelper = HotseatHelper.getInstance(mDevice, getInstrumentation().getContext()); in setUp()
DTabletHotseatTests.java42 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
48 hotseatHelper = HotseatHelper.getInstance(mDevice, getInstrumentation().getContext()); in setUp()
/platform_testing/utils/dialogs/src/com/android/dialogutils/
DDismissDialogsInstrumentation.java127 mDevice = UiDevice.getInstance(this); in onStart()
142 LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); in onStart()
161 UiDevice.getInstance(this).pressHome(); in onStart()
202 UiDevice.getInstance(this).pressHome(); in onStart()
266 UiDevice.getInstance(this).takeScreenshot(scr); in takeScreenDump()
267 UiDevice.getInstance(this).dumpWindowHierarchy(uix); in takeScreenDump()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DBaseLauncher3Strategy.java97 CommonLauncherHelper.getInstance(mDevice).scrollBackToBeginning( in openAllApps()
128 CommonLauncherHelper.getInstance(mDevice).scrollBackToBeginning( in openAllWidgets()
149 return CommonLauncherHelper.getInstance(mDevice).launchApp(this, app, packageName); in launch()
/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/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchRenderingJankTests.java51 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
53 mHelper = UiBenchJankTestsHelper.getInstance(mDevice, in setUp()
DUiBenchJankTestsHelper.java59 public static UiBenchJankTestsHelper getInstance(UiDevice device) { in getInstance() method in UiBenchJankTestsHelper
63 public static UiBenchJankTestsHelper getInstance(UiDevice device, Context context) { in getInstance() method in UiBenchJankTestsHelper
/platform_testing/tests/smokefast/src/com/android/smokefast/
DLockscreenTest.java35 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()

1234