/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessServerModuleTests.java | 58 assertEquals(mExecutor, mInjector.getInstance(Executor.class)); in getInstance_executor_returnsProperExecutor() 63 assertNotNull(mInjector.getInstance(AudioTestHarnessGrpc.AudioTestHarnessImplBase.class)); in getInstance_AudioTestHarnessBaseImpl_returnsInstance() 68 assertNotNull(mInjector.getInstance(StreamObserverOutputStreamFactory.class)); in getInstance_StreamObserverOutputStreamFactory_returnsInstance() 73 assertNotNull(mInjector.getInstance(AudioSystemService.class)); in getInstance_AudioSystemService_returnsInstance() 78 assertNotNull(mInjector.getInstance(AudioCaptureSessionFactory.class)); in getInstance_AudioCaptureSessionFactory_returnsInstance() 83 assertNotNull(mInjector.getInstance(SharedHostConfiguration.class)); in getInstance_SharedHostConfiguration_returnsInstance()
|
/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/launcher-helper/src/android/support/test/launcherhelper2/ |
D | LauncherStrategyFactory.java | 62 public static LauncherStrategyFactory getInstance(Instrumentation instrumentation) { in getInstance() method in LauncherStrategyFactory 63 return getInstance(UiDevice.getInstance(instrumentation)); in getInstance() 72 public static LauncherStrategyFactory getInstance(UiDevice uiDevice) { in getInstance() method in LauncherStrategyFactory
|
D | AllAppsScreenHelper.java | 37 LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); 49 mActivityHelper = ActivityHelper.getInstance(); in AllAppsScreenHelper() 50 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in AllAppsScreenHelper()
|
/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/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()
|
D | WaitForIdleTimeoutRule.java | 158 Configurator.getInstance().setWaitForIdleTimeout(ms); in setTimeout() 164 return Configurator.getInstance().getWaitForIdleTimeout(); in getTimeout() 176 android.support.test.uiautomator.Configurator.getInstance().setWaitForIdleTimeout(ms); in setTimeout() 182 return android.support.test.uiautomator.Configurator.getInstance() in getTimeout()
|
/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 | 41 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 43 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTransitionsJankTests.java | 44 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 46 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 | 96 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp() 125 LauncherStrategyFactory.getInstance(mDevice); in setUp() 254 LockscreenHelper.getInstance().setScreenLockViaShell(PIN, LockscreenHelper.MODE_PIN); in testPinCheckDelay() 269 LockscreenHelper.getInstance().unlockScreen(PIN); in testPinCheckDelay() 275 LockscreenHelper.getInstance().removeScreenLockViaShell(PIN); in testPinCheckDelay() 330 OverviewHelper.getInstance().populateManyRecentApps(); in testAppToRecents() 358 SettingsHelper settingsHelper = SettingsHelper.getInstance(); in testSettingsSearch()
|
/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/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/screenshot/src/main/java/platform/test/screenshot/ |
D | ControlledLooperSingleton.java | 34 public static ControlledLooper getInstance() { in getInstance() method in ControlledLooperSingleton
|
/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/tests/functional/permission/src/com/android/functional/permissiontests/ |
D | GenericAppPermissionTests.java | 66 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 70 pHelper = PermissionHelper.getInstance(getInstrumentation()); in setUp() 71 pkgHelper = PackageHelper.getInstance(getInstrumentation()); in setUp() 73 mILauncherStrategy = LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); in setUp()
|
/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/memory/src/com/android/helpers/ |
D | MemhogHelper.java | 49 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in startMemhog() 55 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in startMemhog()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | DeviceConfigHelper.java | 29 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setConfigValue()
|