Lines Matching refs:constants

37 from common             import constants;
73 constants.tbresp.CMD_IDLE: self._cmdIdle,
74 constants.tbresp.CMD_WAIT: self._cmdWait,
75 constants.tbresp.CMD_EXEC: self._cmdExec,
76 constants.tbresp.CMD_ABORT: self._cmdAbort,
77 constants.tbresp.CMD_REBOOT: self._cmdReboot,
78 constants.tbresp.CMD_UPGRADE: self._cmdUpgrade,
79 constants.tbresp.CMD_UPGRADE_AND_REBOOT: self._cmdUpgradeAndReboot,
80 constants.tbresp.CMD_SPECIAL: self._cmdSpecial,
109 idResult = oResponse.getIntChecked( constants.tbresp.EXEC_PARAM_RESULT_ID, 1);
110 sScriptZips = oResponse.getStringChecked(constants.tbresp.EXEC_PARAM_SCRIPT_ZIPS);
111 sScriptCmdLine = oResponse.getStringChecked(constants.tbresp.EXEC_PARAM_SCRIPT_CMD_LINE);
112 cSecTimeout = oResponse.getIntChecked( constants.tbresp.EXEC_PARAM_TIMEOUT, 30);
137 oConnection.sendAckAndClose(constants.tbresp.CMD_EXEC);
145 oConnection.sendAck(constants.tbresp.CMD_ABORT);
203 oConnection.sendAckAndClose(constants.tbresp.CMD_REBOOT);
217 sZipUrl = oResponse.getStringChecked(constants.tbresp.UPGRADE_PARAM_URL)
222 oConnection.sendAckAndClose(constants.tbresp.CMD_UPGRADE_AND_REBOOT if fReboot else constants.tbresp.CMD_UPGRADE);
263 oConnection.sendReplyAndClose(constants.tbreq.COMMAND_NOTSUP, constants.tbresp.CMD_SPECIAL);
279 sCmdName = oResponse.getStringChecked(constants.tbresp.ALL_PARAM_RESULT);
296 oConnection.sendReplyAndClose(constants.tbreq.COMMAND_NACK, sCmdName);
299 elif sCmdName in [constants.tbresp.STATUS_DEAD, constants.tbresp.STATUS_NACK]:
305 oConnection.sendReplyAndClose(constants.tbreq.COMMAND_NOTSUP, sCmdName);