Home
last modified time | relevance | path

Searched refs:CommandsHelper (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java31 public class CommandsHelper { class
32 private static final String TAG = CommandsHelper.class.getSimpleName();
33 private static CommandsHelper sInstance = null;
39 private CommandsHelper(Instrumentation instrumentation) { in CommandsHelper() method in CommandsHelper
47 public static CommandsHelper getInstance() { in getInstance()
49 sInstance = new CommandsHelper(InstrumentationRegistry.getInstrumentation()); in getInstance()
54 public static CommandsHelper getInstance(Instrumentation instrumentation) { in getInstance()
56 sInstance = new CommandsHelper(instrumentation); in getInstance()
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java22 import android.system.helpers.CommandsHelper;
32 private CommandsHelper cmdHelper = null;
37 cmdHelper = CommandsHelper.getInstance(instrumentation); in PackageHelper()
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
DUserHelper.java62 String cmdOut = CommandsHelper.execute("pm create-user " + userName); in createSecondaryUser()
80 String cmdOut = CommandsHelper.execute("pm list users"); in getSecondaryUserId()
94 CommandsHelper.execute("pm remove-user " + userId); in removeSecondaryUser()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java78 Matcher matcher = TASK_REGEX.matcher(CommandsHelper.execute("am stack list")); in getTaskIdForActivity()
96 CommandsHelper.execute( in changeWindowMode()
184 String output = CommandsHelper.execute("bmgr enable " + Boolean.toString(enable)); in enableBmgr()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DQuickSettingsHelper.java63 private final CommandsHelper mCommandsHelper;
68 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in QuickSettingsHelper()
DOverviewHelper.java55 private final CommandsHelper mCommandsHelper;
62 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in OverviewHelper()
DLockscreenHelper.java76 private final CommandsHelper mCommandsHelper;
84 mCommandsHelper = CommandsHelper.getInstance(InstrumentationRegistry.getInstrumentation()); in LockscreenHelper()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAutoLauncherStrategy.java20 import android.system.helpers.CommandsHelper;
109 protected CommandsHelper mCommandsHelper;
127 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in setInstrumentation()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java26 import android.system.helpers.CommandsHelper;
98 protected CommandsHelper mCommandsHelper;
122 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in setInstrumentation()