Exploit databaseDownload repository ZIP
GH-cd474985a1d611a2a689e02bc95daae0
satheesh575555/frameworks_base_aosp10_r33_cve-2022-20142
Sources for CVE-2022-20142
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files122
satheesh575555/frameworks_base_aosp10_r33_cve-2022-20142Revision 0b10dce4665c
- ↑..Parent directory
- dex/
- permission/
- split/
- ActivityInfo.aidl
- ActivityInfo.java
- ActivityPresentationInfo.java
- AndroidHidlUpdater.java
- AndroidTestBaseUpdater.java
- ApplicationInfo.aidl
- ApplicationInfo.java
- AppsQueryHelper.java
- AuxiliaryResolveInfo.java
- BaseParceledListSlice.java
- BasicActivityInfo.aidl
- ChangedPackages.aidl
- ChangedPackages.java
- ComponentInfo.java
- ConfigurationInfo.aidl
- ConfigurationInfo.java
- CrossProfileApps.java
- FallbackCategoryProvider.java
- FeatureGroupInfo.java
- FeatureInfo.aidl
- FeatureInfo.java
- ICrossProfileApps.aidl
- IDexModuleRegisterCallback.aidl
- ILauncherApps.aidl
- IOnAppsChangedListener.aidl
- IOnPermissionsChangeListener.aidl
- IOtaDexopt.aidl
- IPackageDataObserver.aidl
- IPackageDeleteObserver.aidl
- IPackageDeleteObserver2.aidl
- IPackageInstallObserver2.aidl
- IPackageInstaller.aidl
- IPackageInstallerCallback.aidl
- IPackageInstallerSession.aidl
- IPackageManager.aidl
- IPackageMoveObserver.aidl
- IPackageStatsObserver.aidl
- IPinItemRequest.aidl
- IShortcutService.aidl
- InstantAppInfo.aidl
- InstantAppInfo.java
- InstantAppIntentFilter.java
- InstantAppRequest.java
- InstantAppResolveInfo.java
- InstrumentationInfo.aidl
- InstrumentationInfo.java
- IntentFilterVerificationInfo.aidl
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
core/java/android/content/pm/KeySet.java
Java · 2,673 bytes/*
* Copyright (C) 2012 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.content.pm;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Represents a {@code KeySet} that has been declared in the AndroidManifest.xml
* file for the application. A {@code KeySet} can be used explicitly to
* represent a trust relationship with other applications on the device.
* @hide
*/
public class KeySet implements Parcelable {
private IBinder token;
/** @hide */
public KeySet(IBinder token) {
if (token == null) {
throw new NullPointerException("null value for KeySet IBinder token");
}
this.token = token;
}
/** @hide */
public IBinder getToken() {
return token;
}
/** @hide */
@Override
public boolean equals(Object o) {
if (o instanceof KeySet) {
KeySet ks = (KeySet) o;
return token == ks.token;
}
return false;
}
/** @hide */
@Override
public int hashCode() {
return token.hashCode();
}
/**
* Implement Parcelable
* @hide
*/
public static final @android.annotation.NonNull Parcelable.Creator<KeySet> CREATOR
= new Parcelable.Creator<KeySet>() {
/**
* Create a KeySet from a Parcel
*
* @param in The parcel containing the KeySet
*/
public KeySet createFromParcel(Parcel source) {
return readFromParcel(source);
}
/**
* Create an array of null KeySets
*/
public KeySet[] newArray(int size) {
return new KeySet[size];
}
};
/**
* @hide
*/
private static KeySet readFromParcel(Parcel in) {
IBinder token = in.readStrongBinder();
return new KeySet(token);
}
/**
* @hide
*/
@Override
public void writeToParcel(Parcel out, int flags) {
out.writeStrongBinder(token);
}
/**
* @hide
*/
@Override
public int describeContents() {
return 0;
}
}