|
Autopsy
4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
| class | CityCountsList |
| class | CityData |
| class | CityRecordCount |
| class | GeoResult |
| class | PointFetcher |
| interface | SupplierWithException |
Public Member Functions | |
| GeolocationSummary () | |
| GeolocationSummary (SupplierWithException< ClosestCityMapper, IOException > cityMapper, SleuthkitCaseProvider provider) | |
| CityData | getCityCounts (DataSource dataSource, int daysCount, int maxCount) throws SleuthkitCaseProviderException, GeoLocationDataException, InterruptedException, IOException |
Static Public Member Functions | |
| static Set< Integer > | getArtifactTypeIdsForRefresh () |
| static List< ARTIFACT_TYPE > | getGeoTypes () |
Private Member Functions | |
| Pair< CityRecord, Long > | getClosestWithTime (ClosestCityMapper cityMapper, MapWaypoint pt) |
| GeoResult | getGeoResult (DataSource dataSource) throws SleuthkitCaseProviderException, GeoLocationDataException, InterruptedException |
| Stream< Pair< CityRecord, Long > > | processGeoResult (GeoResult geoResult, ClosestCityMapper cityMapper) |
| Stream< Pair< CityRecord, Long > > | reduceGrouping (Set< MapWaypoint > points, ClosestCityMapper cityMapper) |
Static Private Member Functions | |
| static Pair< Integer, Integer > | getCounts (List< Long > points, Long minTime) |
| static boolean | greaterThanOrEqual (Long minTime, Long time) |
Private Attributes | |
| final SupplierWithException< ClosestCityMapper, IOException > | cityMapper |
| final SleuthkitCaseProvider | provider |
Static Private Attributes | |
| static final long | DAY_SECS = 24 * 60 * 60 |
| static final Pair< Integer, Integer > | EMPTY_COUNT = Pair.of(0, 0) |
| static final Set< Integer > | GPS_ARTIFACT_TYPE_IDS |
| static final List< ARTIFACT_TYPE > | GPS_ARTIFACT_TYPES |
Gathers summary data about Geolocation information for a data source.
Definition at line 47 of file GeolocationSummary.java.
| org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeolocationSummary | ( | ) |
Default constructor.
Definition at line 261 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.DEFAULT.
| org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeolocationSummary | ( | SupplierWithException< ClosestCityMapper, IOException > | cityMapper, |
| SleuthkitCaseProvider | provider | ||
| ) |
Main constructor.
| cityMapper | A means of acquiring a ClosestCityMapper that can throw an IOException. |
| provider | A means of acquiring a SleuthkitCaseProvider. |
Definition at line 272 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.cityMapper, and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.provider.
|
static |
Definition at line 284 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GPS_ARTIFACT_TYPE_IDS.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.GeolocationSummaryGetter.getArtifactTypeIdsForRefresh().
| CityData org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCityCounts | ( | DataSource | dataSource, |
| int | daysCount, | ||
| int | maxCount | ||
| ) | throws SleuthkitCaseProviderException, GeoLocationDataException, InterruptedException, IOException |
Get this list of hits per city where the list is sorted descending by number of found hits (i.e. most hits is first index).
| dataSource | The data source. |
| daysCount | Number of days to go back. |
| maxCount | Maximum number of results. |
| SleuthkitCaseProviderException | |
| GeoLocationDataException | |
| InterruptedException |
Definition at line 441 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.cityMapper, org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.DAY_SECS, org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.SupplierWithException< T, E extends Throwable >.get(), org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCounts(), org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getGeoResult(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.processGeoResult().
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.GeolocationSummaryGetter.getCityCounts().
|
private |
Retrieves a tuple of the closest city (or null if a closest city cannot be determined) and the time stamp of the point in seconds from epoch. If the point is null, null is returned.
| cityMapper | The means of mapping a point to the closest city. |
| pt | The geolocation point. |
Definition at line 340 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.geolocation.MapWaypoint.getTimestamp(), org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getX(), and org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getY().
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.processGeoResult(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.reduceGrouping().
|
staticprivate |
Based on a set of waypoints, determines the count of total waypoints and a total of waypoints whose time stamp is greater than or equal to minTime.
| points | The list of way points. |
| minTime | The minimum time for most recent points count. |
Definition at line 319 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.EMPTY_COUNT, and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.greaterThanOrEqual().
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCityCounts().
|
private |
Fetches all GPS data for the data source from the current case.
| dataSource | The data source. |
| SleuthkitCaseProviderException | |
| GeoLocationDataException | |
| InterruptedException |
Definition at line 547 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), org.sleuthkit.autopsy.geolocation.datamodel.WaypointBuilder.getAllWaypoints(), org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GPS_ARTIFACT_TYPES, and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.provider.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCityCounts().
|
static |
Definition at line 280 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GPS_ARTIFACT_TYPES.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.GeolocationSummaryGetter.getGeoTypes().
|
staticprivate |
Returns whether or not the time is >= the provided minimum time handling the event where either time is null.
| minTime | The minimum time. If null is provided, this function will return false. |
| time | The time to check. If null is provided and the min time is non-null, then this function will return false. |
Definition at line 300 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCounts().
|
private |
Convert a geo result taken from the Geolocation and convert to a stream of tuples where each tuple represents a point with the closest city and the time stamp in seconds from epoch.
| geoResult | The result from the Geolocation API. |
| cityMapper | The means of mapping a point to the closest city. |
| IOException |
Definition at line 400 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeoResult.getAreas(), org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getClosestWithTime(), org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeoResult.getMapWaypoints(), org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeoResult.getTracks(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.reduceGrouping().
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCityCounts().
|
private |
Converts a set of waypoints representing a grouping (i.e. track, area) into a stream of the unique cities identified in this grouping and the latest time stamp for each grouping.
| points | The points in the grouping. |
| cityMapper | The means of mapping a point to the closest city. |
Definition at line 363 of file GeolocationSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getClosestWithTime().
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.processGeoResult().
|
private |
Definition at line 241 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeolocationSummary(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCityCounts().
|
staticprivate |
Definition at line 238 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCityCounts().
|
staticprivate |
Definition at line 236 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getCounts().
|
staticprivate |
Definition at line 232 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getArtifactTypeIdsForRefresh().
|
staticprivate |
Definition at line 220 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getGeoResult(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getGeoTypes().
|
private |
Definition at line 240 of file GeolocationSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.GeolocationSummary(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getGeoResult().
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.