Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Returns the list of all .apk files within one directory.

            @staticmethod
    def _getAppListInDirectory(theDir):
        """
        Returns the list of all .apk files within one directory.
        """
        appList = []
        for root, dirs, files in os.walk(theDir):
            for fileName in files:
                if fileName.find('.apk') != -1:
                    appList.append(os.path.join(root, fileName))
        return appList
        


src/t/a/taintdroid_runner-HEAD/taintdroid_runner.py   taintdroid_runner(Download)
                self.resultVec.append(aResultEntry)
        elif self.appDir is not None:
            appNameList = Utils._getAppListInDirectory(self.appDir)
            for appName in appNameList:
                try:

src/t/a/taintdroid_runner-HEAD/helper_unify_apps.py   taintdroid_runner(Download)
 
    # Get app names    
    appNameList = Utils._getAppListInDirectory(sourceAppDir)
    print 'Get APK Wrapper of %d apps' % len(appNameList)
    initialAppList = []

src/t/a/taintdroid_runner-HEAD/helper_rename_apps.py   taintdroid_runner(Download)
    # Get app names
    if int(options.mode) == 0:
        appNameList = Utils._getAppListInDirectory(aDir)
        print 'Get APK Wrapper of %d apps' % len(appNameList)
        for appName in appNameList: