Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
168 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyOTA/sources/com/heytap/accessory/core/IStreamManager.java
Java · 5,911 bytespackage com.heytap.accessory.core;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import android.os.ResultReceiver;
/* loaded from: classes.dex */
public interface IStreamManager extends IInterface {
/* loaded from: classes.dex */
public static class Default implements IStreamManager {
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // com.heytap.accessory.core.IStreamManager
public boolean registerCallbackFacilitator(int i, ResultReceiver resultReceiver) throws RemoteException {
return false;
}
@Override // com.heytap.accessory.core.IStreamManager
public Bundle sendCommand(String str, Bundle bundle) throws RemoteException {
return null;
}
}
/* loaded from: classes.dex */
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
}
boolean registerCallbackFacilitator(int i, ResultReceiver resultReceiver) throws RemoteException;
Bundle sendCommand(String str, Bundle bundle) throws RemoteException;
/* loaded from: classes.dex */
public static abstract class Stub extends Binder implements IStreamManager {
/* loaded from: classes.dex */
private static class Proxy implements IStreamManager {
private IBinder mRemote;
Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
@Override // com.heytap.accessory.core.IStreamManager
public boolean registerCallbackFacilitator(int i, ResultReceiver resultReceiver) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken("com.heytap.accessory.core.IStreamManager");
obtain.writeInt(i);
_Parcel.writeTypedObject(obtain, resultReceiver, 0);
this.mRemote.transact(1, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // com.heytap.accessory.core.IStreamManager
public Bundle sendCommand(String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken("com.heytap.accessory.core.IStreamManager");
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(2, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
}
public Stub() {
attachInterface(this, "com.heytap.accessory.core.IStreamManager");
}
public static IStreamManager asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.heytap.accessory.core.IStreamManager");
if (queryLocalInterface != null && (queryLocalInterface instanceof IStreamManager)) {
return (IStreamManager) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface("com.heytap.accessory.core.IStreamManager");
}
if (i == 1598968902) {
parcel2.writeString("com.heytap.accessory.core.IStreamManager");
return true;
}
if (i == 1) {
boolean registerCallbackFacilitator = registerCallbackFacilitator(parcel.readInt(), (ResultReceiver) _Parcel.readTypedObject(parcel, ResultReceiver.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(registerCallbackFacilitator ? 1 : 0);
} else {
if (i != 2) {
return super.onTransact(i, parcel, parcel2, i2);
}
Bundle sendCommand = sendCommand(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, sendCommand, 1);
}
return true;
}
}
}