Home
last modified time | relevance | path

Searched refs:sInstance (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java16 private static CommandsHelper sInstance = null; field in CommandsHelper
31 if (sInstance == null) { in getInstance()
32 sInstance = new CommandsHelper(InstrumentationRegistry.getInstrumentation()); in getInstance()
34 return sInstance; in getInstance()
38 if (sInstance == null) { in getInstance()
39 sInstance = new CommandsHelper(instrumentation); in getInstance()
41 sInstance.injectInstrumentation(instrumentation); in getInstance()
43 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java30 public static PackageHelper sInstance = null; field in PackageHelper
42 if (sInstance == null) { in getInstance()
43 sInstance = new PackageHelper(instrumentation); in getInstance()
45 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java38 public static HotseatHelper sInstance = null; field in HotseatHelper
46 if (sInstance == null) { in getInstance()
47 sInstance = new HotseatHelper(); in getInstance()
49 return sInstance; in getInstance()
DNotificationHelper.java50 private static NotificationHelper sInstance = null; field in NotificationHelper
60 if (sInstance == null) { in getInstance()
61 sInstance = new NotificationHelper(); in getInstance()
63 return sInstance; in getInstance()
DLockscreenHelper.java50 private static LockscreenHelper sInstance = null; field in LockscreenHelper
69 if (sInstance == null) { in getInstance()
70 sInstance = new LockscreenHelper(); in getInstance()
72 return sInstance; in getInstance()
DOverviewHelper.java54 public static OverviewHelper sInstance = null; field in OverviewHelper
64 if (sInstance == null) { in getInstance()
65 sInstance = new OverviewHelper(); in getInstance()
67 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java38 private static DeviceHelper sInstance = null; field in DeviceHelper
48 if (sInstance == null) { in getInstance()
49 sInstance = new DeviceHelper(); in getInstance()
51 return sInstance; in getInstance()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java33 private static LauncherStrategyFactory sInstance; field in LauncherStrategyFactory
58 if (sInstance == null) { in getInstance()
59 sInstance = new LauncherStrategyFactory(uiDevice); in getInstance()
61 return sInstance; in getInstance()
DCommonLauncherHelper.java40 private static CommonLauncherHelper sInstance; field in CommonLauncherHelper
53 if (sInstance == null) { in getInstance()
54 sInstance = new CommonLauncherHelper(uiDevice); in getInstance()
56 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
DUserHelper.java33 private static UserHelper sInstance = null; field in UserHelper
44 if (sInstance == null) { in getInstance()
45 sInstance = new UserHelper(); in getInstance()
47 return sInstance; in getInstance()
/platform_testing/libraries/app-helpers/base/src/android/platform/test/helpers/base/
DHelperManager.java63 private static HelperManager sInstance; field in HelperManager
74 if (sInstance == null) { in getInstance()
85 sInstance = new HelperManager(paths, instr); in getInstance()
87 return sInstance; in getInstance()
100 if (sInstance == null) { in getInstance()
113 sInstance = new HelperManager(paths, instr); in getInstance()
115 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
DAccountHelper.java39 private static AccountHelper sInstance = null; field in AccountHelper
53 if (sInstance == null) { in getInstance()
54 sInstance = new AccountHelper(); in getInstance()
56 return sInstance; in getInstance()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java52 private static UiBenchJankTestsHelper sInstance; field in UiBenchJankTestsHelper
65 if (sInstance == null) { in getInstance()
66 sInstance = new UiBenchJankTestsHelper(context, device); in getInstance()
68 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java45 private static ConnectivityHelper sInstance = null; field in ConnectivityHelper
55 if (sInstance == null) { in getInstance()
56 sInstance = new ConnectivityHelper(); in getInstance()
58 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java45 public static AccessibilityHelper sInstance = null; field in AccessibilityHelper
64 if (sInstance == null) { in getInstance()
65 sInstance = new AccessibilityHelper(instr); in getInstance()
67 return sInstance; in getInstance()
DAccessibilityScannerHelper.java47 public static AccessibilityScannerHelper sInstance = null; field in AccessibilityScannerHelper
61 if (sInstance == null) { in getInstance()
62 sInstance = new AccessibilityScannerHelper(instr); in getInstance()
64 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java48 private static ActivityHelper sInstance = null; field in ActivityHelper
58 if (sInstance == null) { in getInstance()
59 sInstance = new ActivityHelper(); in getInstance()
61 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java68 private static SettingsHelper sInstance = null; field in SettingsHelper
82 if (sInstance == null) { in getInstance()
83 sInstance = new SettingsHelper(); in getInstance()
85 return sInstance; in getInstance()