Home
last modified time | relevance | path

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

/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java33 private static CommandsHelper sInstance = null; field in CommandsHelper
48 if (sInstance == null) { in getInstance()
49 sInstance = new CommandsHelper(InstrumentationRegistry.getInstrumentation()); in getInstance()
51 return sInstance; in getInstance()
55 if (sInstance == null) { in getInstance()
56 sInstance = new CommandsHelper(instrumentation); in getInstance()
58 sInstance.injectInstrumentation(instrumentation); in getInstance()
60 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.java44 private static NotificationHelper sInstance = null; field in NotificationHelper
55 if (sInstance == null) { in getInstance()
56 sInstance = new NotificationHelper(); in getInstance()
58 return sInstance; in getInstance()
DOverviewHelper.java56 public static OverviewHelper sInstance = null; field in OverviewHelper
66 if (sInstance == null) { in getInstance()
67 sInstance = new OverviewHelper(); in getInstance()
69 return sInstance; in getInstance()
DLockscreenHelper.java67 private static LockscreenHelper sInstance = null; field in LockscreenHelper
85 if (sInstance == null) { in getInstance()
86 sInstance = new LockscreenHelper(); in getInstance()
88 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
DUserHelper.java35 private static UserHelper sInstance = null; field in UserHelper
46 if (sInstance == null) { in getInstance()
47 sInstance = new UserHelper(); in getInstance()
49 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java39 private static DeviceHelper sInstance = null; field in DeviceHelper
49 if (sInstance == null) { in getInstance()
50 sInstance = new DeviceHelper(); in getInstance()
52 return sInstance; in getInstance()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DLauncherStrategyFactory.java35 private static LauncherStrategyFactory sInstance; field in LauncherStrategyFactory
73 if (sInstance == null) { in getInstance()
74 sInstance = new LauncherStrategyFactory(uiDevice); in getInstance()
76 return sInstance; in getInstance()
DCommonLauncherHelper.java44 private static CommonLauncherHelper sInstance; field in CommonLauncherHelper
58 if (sInstance == null) { in getInstance()
59 sInstance = new CommonLauncherHelper(uiDevice); in getInstance()
61 return sInstance; in getInstance()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java34 private static LauncherStrategyFactory sInstance; field in LauncherStrategyFactory
71 if (sInstance == null) { in getInstance()
72 sInstance = new LauncherStrategyFactory(uiDevice); in getInstance()
74 return sInstance; in getInstance()
DCommonLauncherHelper.java44 private static CommonLauncherHelper sInstance; field in CommonLauncherHelper
57 if (sInstance == null) { in getInstance()
58 sInstance = new CommonLauncherHelper(uiDevice); in getInstance()
60 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
DAccountHelper.java37 private static AccountHelper sInstance = null; field in AccountHelper
51 if (sInstance == null) { in getInstance()
52 sInstance = new AccountHelper(); in getInstance()
54 return sInstance; in getInstance()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java66 private static HelperManager sInstance; field in HelperManager
77 if (sInstance == null) { in getInstance()
88 sInstance = new HelperManager(paths, instr); in getInstance()
90 return sInstance; in getInstance()
103 if (sInstance == null) { in getInstance()
116 sInstance = new HelperManager(paths, instr); in getInstance()
118 return sInstance; in getInstance()
/platform_testing/libraries/media-helper/src/android/test/mediahelper/
DMediaStoreHelper.java36 private static MediaStoreHelper sInstance; field in MediaStoreHelper
44 if (sInstance == null) { in getInstance()
45 sInstance = new MediaStoreHelper(context); in getInstance()
47 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java47 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/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java55 private static UiBenchJankTestsHelper sInstance; field in UiBenchJankTestsHelper
68 if (sInstance == null) { in getInstance()
69 sInstance = new UiBenchJankTestsHelper(context, device); in getInstance()
71 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java50 private static ActivityHelper sInstance = null; field in ActivityHelper
60 if (sInstance == null) { in getInstance()
61 sInstance = new ActivityHelper(); in getInstance()
63 return sInstance; in getInstance()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java79 private static SettingsHelper sInstance = null; field in SettingsHelper
93 if (sInstance == null) { in getInstance()
94 sInstance = new SettingsHelper(); in getInstance()
96 return sInstance; in getInstance()