Exploit databaseDownload repository ZIP
GH-d594cde2f478e64351828eaedd774084
trinadh465/frameworks_base_aosp10_r33_cve-2023-20911
Sources for CVE-2023-20911
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files43
trinadh465/frameworks_base_aosp10_r33_cve-2023-20911Revision 63dffabe2f72
- ↑..Parent directory
- AbstractLocationProvider.java
- ActivityRecognitionProxy.java
- CallerIdentity.java
- ComprehensiveCountryDetector.java
- ContextHubClientBroker.java
- ContextHubClientManager.java
- ContextHubService.java
- ContextHubServiceTransaction.java
- ContextHubServiceUtil.java
- ContextHubTransactionManager.java
- CountryDetectorBase.java
- ExponentialBackOff.java
- GeocoderProxy.java
- GeofenceManager.java
- GeofenceProxy.java
- GeofenceState.java
- GnssBatchingProvider.java
- GnssCapabilitiesProvider.java
- GnssConfiguration.java
- GnssGeofenceProvider.java
- GnssLocationProvider.java
- GnssMeasurementCorrectionsProvider.java
- GnssMeasurementsProvider.java
- GnssNavigationMessageProvider.java
- GnssNetworkConnectivityHandler.java
- GnssPositionMode.java
- GnssSatelliteBlacklistHelper.java
- GnssStatusListenerHelper.java
- GnssVisibilityControl.java
- GpsPsdsDownloader.java
- LocationBasedCountryDetector.java
- LocationBlacklist.java
- LocationFudger.java
- LocationPermissionUtil.java
- LocationProviderProxy.java
- LocationRequestStatistics.java
- MockProvider.java
- NanoAppStateManager.java
- NtpTimeHelper.java
- OWNERS
- PassiveProvider.java
- RemoteListenerHelper.java
- gps_debug.conf
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
services/core/java/com/android/server/location/ExponentialBackOff.java
Java · 872 bytespackage com.android.server.location;
/**
* A simple implementation of exponential backoff.
*/
class ExponentialBackOff {
private static final int MULTIPLIER = 2;
private final long mInitIntervalMillis;
private final long mMaxIntervalMillis;
private long mCurrentIntervalMillis;
ExponentialBackOff(long initIntervalMillis, long maxIntervalMillis) {
mInitIntervalMillis = initIntervalMillis;
mMaxIntervalMillis = maxIntervalMillis;
mCurrentIntervalMillis = mInitIntervalMillis / MULTIPLIER;
}
long nextBackoffMillis() {
if (mCurrentIntervalMillis > mMaxIntervalMillis) {
return mMaxIntervalMillis;
}
mCurrentIntervalMillis *= MULTIPLIER;
return mCurrentIntervalMillis;
}
void reset() {
mCurrentIntervalMillis = mInitIntervalMillis / MULTIPLIER;
}
}