Searched refs:SHELL_CMD_GET (Results 1 – 1 of 1) sorted by relevance
43 private static final String SHELL_CMD_GET = "settings get GLOBAL stay_on_while_plugged_in"; field in SettingsPreparerTest64 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n3\n").once(); in testCorrectOneExpected()71 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n3\n").once(); in testCorrectManyExpected()81 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once(); in testIncorrectOneExpected()93 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once(); in testIncorrectManyExpected()128 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once(); in testIncorrectOneExpectedCommandRun()