19 package org.sleuthkit.autopsy.modules.android;
 
   21 import java.util.ArrayList;
 
   38         this.context = context;
 
   43         ArrayList<String> errors = 
new ArrayList<>();
 
   48             ContactAnalyzer.findContacts(dataSource, fileManager, context);
 
   53         } 
catch (Exception e) {
 
   54             errors.add(
"Error getting Contacts"); 
 
   58             CallLogAnalyzer.findCallLogs(dataSource, fileManager, context);
 
   63         } 
catch (Exception e) {
 
   64             errors.add(
"Error getting Call Logs"); 
 
   68             TextMessageAnalyzer.findTexts(dataSource, fileManager, context);
 
   73         } 
catch (Exception e) {
 
   74             errors.add(
"Error getting Text Messages"); 
 
   78             TangoMessageAnalyzer.findTangoMessages(dataSource, fileManager, context);
 
   83         } 
catch (Exception e) {
 
   84             errors.add(
"Error getting Tango Messages"); 
 
   88             WWFMessageAnalyzer.findWWFMessages(dataSource, fileManager, context);
 
   93         } 
catch (Exception e) {
 
   94             errors.add(
"Error getting Words with Friends Messages"); 
 
   98             GoogleMapLocationAnalyzer.findGeoLocations(dataSource, fileManager, context);
 
  103         } 
catch (Exception e) {
 
  104             errors.add(
"Error getting Google Map Locations"); 
 
  108             BrowserLocationAnalyzer.findGeoLocations(dataSource, fileManager, context);
 
  113         } 
catch (Exception e) {
 
  114             errors.add(
"Error getting Browser Locations"); 
 
  118             CacheLocationAnalyzer.findGeoLocations(dataSource, fileManager, context);
 
  120         } 
catch (Exception e) {
 
  121             errors.add(
"Error getting Cache Locations"); 
 
  125         StringBuilder errorMessage = 
new StringBuilder();
 
  126         String errorMsgSubject;
 
  128         if (errors.isEmpty() == 
false) {
 
  130             errorMessage.append(
"Errors were encountered"); 
 
  131             for (String msg : errors) {
 
  132                 errorMessage.append(
"<li>").append(msg).append(
"</li>\n"); 
 
  134             errorMessage.append(
"</ul>\n"); 
 
  136             if (errors.size() == 1) {
 
  137                 errorMsgSubject = 
"One error was found"; 
 
  139                 errorMsgSubject = 
"errors found: " + errors.size(); 
 
  142             errorMessage.append(
"No errors"); 
 
  143             errorMsgSubject = 
"No errors"; 
 
FileManager getFileManager()
boolean dataSourceIngestIsCancelled()
void switchToDeterminate(int workUnits)
static Case getCurrentCase()
void progress(int workUnits)