Searched defs:utils (Results 26 - 37 of 37) sorted by relevance

12

/vbox/src/VBox/ValidationKit/testmanager/webui/
H A Dwuihlpform.py35 from common import utils; namespace
83 if utils.isString(sError): # List error trick (it's an associative array).
540 utils.formatIntervalSeconds2(oVar.cSecTimeout), sReadOnlyAttr, );
H A Dwuibase.py36 from common import webutils, utils; namespace
260 % ( utils.formatNumber(utils.timestampNano() - self._oSrvGlue.tsStart,),
264 % ( utils.formatNumber(utils.timestampNano() - self._oSrvGlue.tsStart,), );
866 sErrorMsg = str(oXcpt) if not config.g_kfDebugDbXcpt else '\n'.join(utils.getXcptInfo(4));
H A Dwuimain.py47 from common import webutils, utils; namespace
922 (cHoursPerPeriod, sError) = utils.parseIntervalHours(sTmp);
/vbox/src/VBox/ValidationKit/testboxscript/
H A Dtestboxscript_real.py55 from common import utils; namespace
126 if utils.getHostOs() in ('win', 'os2', 'haiku', 'dos'):
163 constants.tbreq.SIGNON_PARAM_OS: { self.VALUE: utils.getHostOs(), self.FN: None },
164 constants.tbreq.SIGNON_PARAM_OS_VERSION: { self.VALUE: utils.getHostOsVersion(), self.FN: None },
165 constants.tbreq.SIGNON_PARAM_CPU_ARCH: { self.VALUE: utils.getHostArch(), self.FN: None },
232 if utils.getHostOs() is 'win':
266 sHostOs = utils.getHostOs()
268 utils.sudoProcessCall(['/sbin/umount', sMountPoint]);
269 utils.sudoProcessCall(['/bin/mkdir', '-p', sMountPoint]);
270 utils
[all...]
/vbox/src/VBox/ValidationKit/testdriver/
H A Dbase.py49 from common import utils; namespace
371 self.sDbgCreated = '%s: %s' % (utils.getTimePrefix(), sCaller);
531 TdTaskBase.__init__(self, utils.getCallerName());
627 utils.processCollectCrashInfo(self.uPid, reporter.log, self._addCrashFile);
791 self.sHost = utils.getHostOs();
792 self.sHostArch = utils.getHostArch();
797 if not utils.isRunningFromCheckout():
798 self.sBinPath = os.path.join(g_ksValidationKitDir, utils.getHostOs(), utils.getHostArch());
800 self.sBinPath = os.path.join(g_ksValidationKitDir, os.pardir, os.pardir, os.pardir, 'out', utils
[all...]
H A Dreporter.py45 from common import utils; namespace
63 #g_oReporter.log(0, 'python: %s' % (sText), utils.getCallerName(), utils.getTimePrefix());
153 return self.log(0, 'raw xml%s: %s' % (oFileWrapper.sPrefix, sRawXml), sCaller, utils.getTimePrefix());
201 (sTsPrf, sTsIso) = utils.getTimePrefixAndIsoTimestamp();
209 (sTsPrf, sTsIso) = utils.getTimePrefixAndIsoTimestamp();
216 (sTsPrf, sTsIso) = utils.getTimePrefixAndIsoTimestamp();
227 (sTsPrf, sTsIso) = utils.getTimePrefixAndIsoTimestamp();
294 self.fnGetIsoTimestamp = utils.getIsoTimestamp; # Hack to get a timestamp in __del__.
329 sTsIso = utils
[all...]
H A Dtxsclient.py44 from common import utils; namespace
133 self.sDbgCreated = '%s: %s' % (utils.getTimePrefix(), sCaller);
388 TdTaskBase.__init__(self, utils.getCallerName());
1021 oLocalFile = utils.openNoInherit(sLocalFile, 'rb');
1112 oLocalFile = utils.openNoInherit(sLocalFile, 'wb');
1630 TransportBase.__init__(self, utils.getCallerName());
H A Dvboxwrappers.py40 from common import utils; namespace
177 TdTaskBase.__init__(self, utils.getCallerName());
530 TdTaskBase.__init__(self, utils.getCallerName());
755 utils.processCollectCrashInfo(self.uPid, reporter.log, addCrashFile);
2533 TdTaskBase.__init__(self, utils.getCallerName());
H A Dvbox.py50 from common import utils; namespace
365 oFile = utils.openNoInherit(os.path.join(self.sSrcRoot, sOut, 'revision.kmk'), 'r');
396 if not os.path.isfile(sVMMR0) and utils.getHostOs() == 'solaris': # solaris is special.
397 sVMMR0 = os.path.join(self.sInstallPath, 'amd64' if utils.getHostArch() == 'amd64' else 'i386', 'VMMR0.r0');
1089 oFile = utils.openNoInherit(self.sVBoxSvcPidFile, "w+");
1115 oFile = utils.openNoInherit(sPidFile, "r");
1671 utils.processCall(['ls', '-la', os.path.join(self.sScratchPath, 'VBoxUserHome')]);
1673 utils.processCall(['ls', '-la', self.sScratchPath]);
/vbox/src/VBox/ValidationKit/testmanager/core/
H A Dbase.py42 from common import utils; namespace
486 if utils.isString(sValue):
510 if utils.isString(sValue):
531 if not utils.isString(sValue):
649 elif fAllowUnicodeSymbols is False and utils.hasNonAsciiCharacters(sValue):
690 if not utils.isString(asValues[0]):
H A Dschedulerbase.py38 from common import utils, constants; namespace
505 self._tsSecStart = tsSecStart if tsSecStart is not None else utils.timestampSecond();
549 tsSecNow = utils.timestampSecond();
1226 , (self._oSchedGrpData.idSchedGroup, utils.getLocalHourOfWeek()) );
1289 tsSecStart = utils.timestampSecond();
H A Dtestcase.py38 from common import utils; namespace
515 return utils.parseIntervalSeconds(oValue);
589 'versionCompare': utils.versionCompare,
861 if utils.isString(oTestCase.idTestCase): # Stored as string convertParamToAttribute.
872 if utils.isString(oGlobalRsrc.idGlobalRsrc): # Stored as string convertParamToAttribute.

Completed in 91 milliseconds

12