/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/ |
D | CommandsHelper.java | 47 public static CommandsHelper getInstance() { in getInstance() method in CommandsHelper 54 public static CommandsHelper getInstance(Instrumentation instrumentation) { in getInstance() method in CommandsHelper 80 return UiDevice.getInstance(mInstrumentation).executeShellCommand(command); in executeShellCommand() 107 return getInstance().executeShellCommand(command); in execute() 117 return getInstance().executeShellCommandAndSplitOutput(command, LINE_SEPARATORS); in executeAndSplitLines()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessServerModuleTests.java | 57 assertEquals(mExecutor, mInjector.getInstance(Executor.class)); in getInstance_executor_returnsProperExecutor() 62 assertNotNull(mInjector.getInstance(AudioTestHarnessGrpc.AudioTestHarnessImplBase.class)); in getInstance_AudioTestHarnessBaseImpl_returnsInstance() 67 assertNotNull(mInjector.getInstance(StreamObserverOutputStreamFactory.class)); in getInstance_StreamObserverOutputStreamFactory_returnsInstance() 72 assertNotNull(mInjector.getInstance(AudioSystemService.class)); in getInstance_AudioSystemService_returnsInstance() 77 assertNotNull(mInjector.getInstance(AudioCaptureSessionFactory.class)); in getInstance_AudioCaptureSessionFactory_returnsInstance()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | LauncherStrategyFactory.java | 61 public static LauncherStrategyFactory getInstance(Instrumentation instrumentation) { in getInstance() method in LauncherStrategyFactory 62 return getInstance(UiDevice.getInstance(instrumentation)); in getInstance() 70 public static LauncherStrategyFactory getInstance(UiDevice uiDevice) { in getInstance() method in LauncherStrategyFactory
|
D | AllAppsScreenHelper.java | 37 .getInstance(mDevice).getLauncherStrategy(); 49 mActivityHelper = ActivityHelper.getInstance(); in AllAppsScreenHelper() 50 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in AllAppsScreenHelper()
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | WatchFaceJankTest.java | 44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 45 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); in setUp() 46 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation()); in setUp()
|
D | CardsJankTest.java | 41 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 42 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
|
D | WatchFacePickerJankTest.java | 45 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 46 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); in setUp() 47 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation()); in setUp()
|
D | QuickSettingsJankTest.java | 52 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 53 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); in setUp()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperAccessor.java | 52 HelperManager.getInstance( in get() 58 HelperManager.getInstance( in get()
|
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/ |
D | AccountHelper.java | 45 mActivityHelper = ActivityHelper.getInstance(); in AccountHelper() 46 mDeviceHelper = DeviceHelper.getInstance(); in AccountHelper() 47 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in AccountHelper() 50 public static AccountHelper getInstance() { in getInstance() method in AccountHelper
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | DisableAutofillRule.java | 38 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in starting() 52 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) in finished()
|
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/ |
D | BouncingBallJankTest.java | 35 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 36 mTouchLatencyHelper = TouchLatencyHelper.getInstance(mDevice, getInstrumentation()); in setUp()
|
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/ |
D | PackageHelper.java | 37 cmdHelper = CommandsHelper.getInstance(instrumentation); in PackageHelper() 41 public static PackageHelper getInstance(Instrumentation instrumentation) { in getInstance() method in PackageHelper
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchWebView.java | 42 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 44 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTransitionsJankTests.java | 45 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 47 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
|
D | UiBenchRenderingJankTests.java | 46 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 48 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTextJankTests.java | 45 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 47 mHelper = UiBenchJankTestsHelper.getInstance( in setUp()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | HotseatHelper.java | 41 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/ |
D | LatencyTests.java | 89 mDevice = UiDevice.getInstance(InstrumentationRegistry.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/tests/automotive/health/multiuser/src/android/platform/scenario/multiuser/nonui/ |
D | MultiUserConstants.java | 28 public static final int DEFAULT_INITIAL_USER = MultiUserHelper.getInstance().getInitialUser();
|
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/ |
D | DeviceHelper.java | 45 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in DeviceHelper() 48 public static DeviceHelper getInstance() { in getInstance() method in DeviceHelper
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaSoundModule.java | 35 bind(JavaAudioSystem.class).toInstance(JavaAudioSystem.getInstance()); in configure()
|
/platform_testing/libraries/collectors-helper/simpleperf/test/src/com/android/helpers/tests/ |
D | SimpleperfHelperTest.java | 57 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in teardown() 89 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testSimpleperfSuccess()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | DeviceConfigHelper.java | 29 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setConfigValue()
|
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/ |
D | GenericAppPermissionTests.java | 64 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()
|