Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(6) | Call(6) | Derive(0) | Import(0)
@staticmethod def addSlashToPath(thePath): if thePath is None or thePath == '': return '' if thePath[len(thePath)-1] != '/': return thePath + '/' else: return thePath
if self.mode == TaintDroidRunnerMode.REPORT_MODE: endTime = datetime.datetime.now() report = {'workingDir' : Utils.addSlashToPath(os.getcwd()), 'startTime' : self.startTime, 'endTime' : endTime,
elif self.mode == TaintDroidRunnerMode.JSON_MODE: endTime = datetime.datetime.now() report = {'workingDir' : Utils.addSlashToPath(os.getcwd()), 'startTime' : self.startTime, 'endTime' : endTime,
jsonFileName = '%sreport.json' % (self.reportPath) mainReport = MainReportEntry(workingDir=Utils.addSlashToPath(os.getcwd()), startTime='%s %s' % (Utils.getDateAsString(self.startTime), Utils.getTimeAsString(self.startTime)), endTime='%s %s' % (Utils.getDateAsString(endTime), Utils.getTimeAsString(endTime)),
src/t/a/taintdroid_runner-HEAD/apk_wrapper.py taintdroid_runner(Download)
def __init__(self, theApkFile, theSdkPath='', theLogger=Logger()): self.apkFile = theApkFile self.sdkPath = Utils.addSlashToPath(theSdkPath) self.log = theLogger
src/t/a/taintdroid_runner-HEAD/emulator_client.py taintdroid_runner(Download)
theAvdName=None, theLogger=Logger()): self.sdkPath = Utils.addSlashToPath(theSdkPath) self.port = thePort self.imageDirPath = Utils.addSlashToPath(theImageDirPath)