Exploit databaseDownload repository ZIP
GH-9bef12607fbc6142c2d2e0da5832840c
nanopathi/framework_base_aosp10_r33_cve-2021-0339
Sources for CVE-2021-0339
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files50
nanopathi/framework_base_aosp10_r33_cve-2021-0339Revision 14c4f070663c
- ↑..Parent directory
- aware/
- hotspot2/
- p2p/
- rtt/
- AnqpInformationElement.java
- BatchedScanResult.java
- EAPConstants.java
- EasyConnectStatusCallback.java
- IDppCallback.aidl
- INetworkRequestMatchCallback.aidl
- INetworkRequestUserSelectionCallback.aidl
- IOnWifiUsabilityStatsListener.aidl
- ISoftApCallback.aidl
- ITrafficStateCallback.aidl
- IWifiManager.aidl
- IWifiScanner.aidl
- ParcelUtil.java
- PasspointManagementObjectDefinition.aidl
- PasspointManagementObjectDefinition.java
- RssiPacketCountInfo.java
- RttManager.aidl
- RttManager.java
- ScanResult.aidl
- ScanResult.java
- SupplicantState.java
- WifiActivityEnergyInfo.aidl
- WifiActivityEnergyInfo.java
- WifiConfiguration.aidl
- WifiConfiguration.java
- WifiEnterpriseConfig.aidl
- WifiEnterpriseConfig.java
- WifiInfo.aidl
- WifiInfo.java
- WifiManager.java
- WifiNetworkAgentSpecifier.java
- WifiNetworkConnectionStatistics.aidl
- WifiNetworkConnectionStatistics.java
- WifiNetworkScoreCache.java
- WifiNetworkSpecifier.java
- WifiNetworkSuggestion.aidl
- WifiNetworkSuggestion.java
- WifiScanner.java
- WifiSsid.java
- WifiUsabilityStatsEntry.aidl
- WifiUsabilityStatsEntry.java
- WpsInfo.aidl
- WpsInfo.java
- WpsResult.aidl
- WpsResult.java
- package.html
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
wifi/java/android/net/wifi/WifiNetworkConnectionStatistics.java
Java · 2,675 bytes/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.net.wifi;
import android.annotation.SystemApi;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Connection Statistics For a WiFi Network.
* @hide
*/
@SystemApi
public class WifiNetworkConnectionStatistics implements Parcelable {
private static final String TAG = "WifiNetworkConnnectionStatistics";
public int numConnection;
public int numUsage;
public WifiNetworkConnectionStatistics(int connection, int usage) {
numConnection = connection;
numUsage = usage;
}
public WifiNetworkConnectionStatistics() { }
@Override
public String toString() {
StringBuilder sbuf = new StringBuilder();
sbuf.append("c=").append(numConnection);
sbuf.append(" u=").append(numUsage);
return sbuf.toString();
}
/** copy constructor*/
public WifiNetworkConnectionStatistics(WifiNetworkConnectionStatistics source) {
numConnection = source.numConnection;
numUsage = source.numUsage;
}
/** Implement the Parcelable interface */
public int describeContents() {
return 0;
}
/** Implement the Parcelable interface */
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(numConnection);
dest.writeInt(numUsage);
}
/** Implement the Parcelable interface */
public static final @android.annotation.NonNull Creator<WifiNetworkConnectionStatistics> CREATOR =
new Creator<WifiNetworkConnectionStatistics>() {
public WifiNetworkConnectionStatistics createFromParcel(Parcel in) {
int numConnection = in.readInt();
int numUsage = in.readInt();
WifiNetworkConnectionStatistics stats =
new WifiNetworkConnectionStatistics(numConnection, numUsage);
return stats;
}
public WifiNetworkConnectionStatistics[] newArray(int size) {
return new WifiNetworkConnectionStatistics[size];
}
};
}