Searched refs:ComponentEnabledStateCommand (Results 1 – 2 of 2) sorted by relevance
21 import android.car.cts.builtin.pm.ComponentEnabledStateCommand;42 ComponentEnabledStateCommand shellCmd = new ComponentEnabledStateCommand(getDevice()); in testApplicationEnabledSetting()44 shellCmd.executeWith(ComponentEnabledStateCommand.COMMAND_ACTION_GET, in testApplicationEnabledSetting()47 .isEqualTo(ComponentEnabledStateCommand.COMPONENT_ENABLED_STATE_DEFAULT); in testApplicationEnabledSetting()49 shellCmd.executeWith(ComponentEnabledStateCommand.COMMAND_ACTION_ENABLE, in testApplicationEnabledSetting()52 .isEqualTo(ComponentEnabledStateCommand.COMPONENT_ENABLED_STATE_ENABLED); in testApplicationEnabledSetting()54 shellCmd.executeWith(ComponentEnabledStateCommand.COMMAND_ACTION_DISABLE_UNTIL_USED, in testApplicationEnabledSetting()56 assertThat(shellCmd.getNewState()).isEqualTo(ComponentEnabledStateCommand in testApplicationEnabledSetting()59 shellCmd.executeWith(ComponentEnabledStateCommand.COMMAND_ACTION_DEFAULT, in testApplicationEnabledSetting()62 .isEqualTo(ComponentEnabledStateCommand.COMPONENT_ENABLED_STATE_DEFAULT); in testApplicationEnabledSetting()[all …]
23 public final class ComponentEnabledStateCommand extends CtsCarShellCommand { class43 public ComponentEnabledStateCommand(ITestDevice device) { in ComponentEnabledStateCommand() method in ComponentEnabledStateCommand