Searched refs:CommandsHelper (Results 1 – 9 of 9) sorted by relevance
31 public class CommandsHelper { class32 private static final String TAG = CommandsHelper.class.getSimpleName();33 private static CommandsHelper sInstance = null;39 private CommandsHelper(Instrumentation instrumentation) { in CommandsHelper() method in CommandsHelper47 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()
22 import android.system.helpers.CommandsHelper;32 private CommandsHelper cmdHelper = null;37 cmdHelper = CommandsHelper.getInstance(instrumentation); in PackageHelper()
62 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()
78 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()
63 private final CommandsHelper mCommandsHelper;68 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in QuickSettingsHelper()
55 private final CommandsHelper mCommandsHelper;62 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in OverviewHelper()
76 private final CommandsHelper mCommandsHelper;84 mCommandsHelper = CommandsHelper.getInstance(InstrumentationRegistry.getInstrumentation()); in LockscreenHelper()
20 import android.system.helpers.CommandsHelper;109 protected CommandsHelper mCommandsHelper;127 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in setInstrumentation()
26 import android.system.helpers.CommandsHelper;98 protected CommandsHelper mCommandsHelper;122 mCommandsHelper = CommandsHelper.getInstance(mInstrumentation); in setInstrumentation()