19 package org.sleuthkit.autopsy.modules.android;
 
   21 import java.util.ArrayList;
 
   22 import java.util.HashMap;
 
   24 import org.openide.util.NbBundle;
 
   39     private static final HashMap<Long, Long> fileCountsForIngestJobs = 
new HashMap<>();
 
   47         this.context = context;
 
   53                                                          NbBundle.getMessage(this.getClass(),
 
   54                                                                              "AndroidIngestModule.processing.startedAnalysis")));
 
   56         ArrayList<String> errors = 
new ArrayList<>();
 
   61             ContactAnalyzer.findContacts(dataSource, fileManager);
 
   66         } 
catch (Exception e) {
 
   67             errors.add(
"Error getting Contacts"); 
 
   71             CallLogAnalyzer.findCallLogs(dataSource, fileManager);
 
   76         } 
catch (Exception e) {
 
   77             errors.add(
"Error getting Call Logs"); 
 
   81             TextMessageAnalyzer.findTexts(dataSource, fileManager);
 
   86         } 
catch (Exception e) {
 
   87             errors.add(
"Error getting Text Messages"); 
 
   91             TangoMessageAnalyzer.findTangoMessages(dataSource, fileManager);
 
   96         } 
catch (Exception e) {
 
   97             errors.add(
"Error getting Tango Messages"); 
 
  101             WWFMessageAnalyzer.findWWFMessages(dataSource, fileManager);
 
  106         } 
catch (Exception e) {
 
  107             errors.add(
"Error getting Words with Friends Messages"); 
 
  111             GoogleMapLocationAnalyzer.findGeoLocations(dataSource, fileManager);
 
  116         } 
catch (Exception e) {
 
  117             errors.add(
"Error getting Google Map Locations"); 
 
  121             BrowserLocationAnalyzer.findGeoLocations(dataSource, fileManager);
 
  126         } 
catch (Exception e) {
 
  127             errors.add(
"Error getting Browser Locations"); 
 
  131             CacheLocationAnalyzer.findGeoLocations(dataSource, fileManager);
 
  133         } 
catch (Exception e) {
 
  134             errors.add(
"Error getting Cache Locations"); 
 
  138         StringBuilder errorMessage = 
new StringBuilder();
 
  139         String errorMsgSubject;
 
  141         if (errors.isEmpty() == 
false) {
 
  143             errorMessage.append(
"Errors were encountered"); 
 
  144             for (String msg : errors) {
 
  145                 errorMessage.append(
"<li>").append(msg).append(
"</li>\n"); 
 
  147             errorMessage.append(
"</ul>\n"); 
 
  149             if (errors.size() == 1) {
 
  150                 errorMsgSubject = 
"One error was found"; 
 
  152                 errorMsgSubject = 
"errors found: " + errors.size(); 
 
  155             errorMessage.append(
"No errors"); 
 
  156             errorMsgSubject = 
"No errors"; 
 
  160                                                          NbBundle.getMessage(this.getClass(),
 
  161                                                                              "AndroidIngestModule.processing.finishedAnalysis",
 
  162                                                                              errorMsgSubject), errorMessage.toString()));
 
FileManager getFileManager()
 
static IngestMessage createMessage(MessageType messageType, String source, String subject, String detailsHtml)
 
void postMessage(final IngestMessage message)
 
boolean dataSourceIngestIsCancelled()
 
void switchToDeterminate(int workUnits)
 
static Case getCurrentCase()
 
void progress(int workUnits)
 
static Logger getLogger(String name)
 
static synchronized IngestServices getInstance()