439 lines
18 KiB
Java
439 lines
18 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Bitmap;
|
||
|
import android.os.Binder;
|
||
|
import android.os.IBinder;
|
||
|
import android.os.IInterface;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.ParcelFileDescriptor;
|
||
|
import android.os.RemoteException;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public interface fQX extends IInterface {
|
||
|
int a() throws RemoteException;
|
||
|
|
||
|
void a(int i) throws RemoteException;
|
||
|
|
||
|
void a(int i, byte[] bArr) throws RemoteException;
|
||
|
|
||
|
void a(ParcelFileDescriptor parcelFileDescriptor, C13110fQx c13110fQx) throws RemoteException;
|
||
|
|
||
|
ParcelFileDescriptor aCv_(int i, C13110fQx c13110fQx) throws RemoteException;
|
||
|
|
||
|
ParcelFileDescriptor aCw_() throws RemoteException;
|
||
|
|
||
|
Bitmap aCx_() throws RemoteException;
|
||
|
|
||
|
int b(int i) throws RemoteException;
|
||
|
|
||
|
String b() throws RemoteException;
|
||
|
|
||
|
byte[] c() throws RemoteException;
|
||
|
|
||
|
void d() throws RemoteException;
|
||
|
|
||
|
void d(float f) throws RemoteException;
|
||
|
|
||
|
byte[] d(int i, C13110fQx c13110fQx) throws RemoteException;
|
||
|
|
||
|
void e(int i) throws RemoteException;
|
||
|
|
||
|
boolean e() throws RemoteException;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static abstract class RVV extends Binder implements fQX {
|
||
|
@Override // android.os.IInterface
|
||
|
public IBinder asBinder() {
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
static class HBt implements fQX {
|
||
|
private IBinder c;
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final Bitmap aCx_() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(15, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readInt() != 0 ? (Bitmap) Bitmap.CREATOR.createFromParcel(obtain2) : null;
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final ParcelFileDescriptor aCw_() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(14, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readInt() != 0 ? (ParcelFileDescriptor) ParcelFileDescriptor.CREATOR.createFromParcel(obtain2) : null;
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final void d() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(13, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final String b() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(12, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readString();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final byte[] c() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(11, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.createByteArray();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final void a(int i) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeInt(i);
|
||
|
this.c.transact(8, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final boolean e() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(9, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readInt() != 0;
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final void e(int i) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeInt(i);
|
||
|
this.c.transact(4, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final ParcelFileDescriptor aCv_(int i, C13110fQx c13110fQx) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeInt(i);
|
||
|
if (c13110fQx != null) {
|
||
|
obtain.writeInt(1);
|
||
|
c13110fQx.writeToParcel(obtain, 0);
|
||
|
} else {
|
||
|
obtain.writeInt(0);
|
||
|
}
|
||
|
this.c.transact(6, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readInt() != 0 ? (ParcelFileDescriptor) ParcelFileDescriptor.CREATOR.createFromParcel(obtain2) : null;
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // android.os.IInterface
|
||
|
public final IBinder asBinder() {
|
||
|
return this.c;
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final byte[] d(int i, C13110fQx c13110fQx) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeInt(i);
|
||
|
if (c13110fQx != null) {
|
||
|
obtain.writeInt(1);
|
||
|
c13110fQx.writeToParcel(obtain, 0);
|
||
|
} else {
|
||
|
obtain.writeInt(0);
|
||
|
}
|
||
|
this.c.transact(5, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.createByteArray();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final void a(ParcelFileDescriptor parcelFileDescriptor, C13110fQx c13110fQx) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
if (parcelFileDescriptor != null) {
|
||
|
obtain.writeInt(1);
|
||
|
parcelFileDescriptor.writeToParcel(obtain, 0);
|
||
|
} else {
|
||
|
obtain.writeInt(0);
|
||
|
}
|
||
|
if (c13110fQx != null) {
|
||
|
obtain.writeInt(1);
|
||
|
c13110fQx.writeToParcel(obtain, 0);
|
||
|
} else {
|
||
|
obtain.writeInt(0);
|
||
|
}
|
||
|
this.c.transact(7, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final void a(int i, byte[] bArr) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeInt(i);
|
||
|
obtain.writeByteArray(bArr);
|
||
|
this.c.transact(3, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final void d(float f) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeFloat(f);
|
||
|
this.c.transact(10, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final int b(int i) throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
obtain.writeInt(i);
|
||
|
this.c.transact(2, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readInt();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.fQX
|
||
|
public final int a() throws RemoteException {
|
||
|
Parcel obtain = Parcel.obtain();
|
||
|
Parcel obtain2 = Parcel.obtain();
|
||
|
try {
|
||
|
obtain.writeInterfaceToken("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
this.c.transact(1, obtain, obtain2, 0);
|
||
|
obtain2.readException();
|
||
|
return obtain2.readInt();
|
||
|
} finally {
|
||
|
obtain2.recycle();
|
||
|
obtain.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
HBt(IBinder iBinder) {
|
||
|
this.c = iBinder;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Binder
|
||
|
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
||
|
if (i != 1598968902) {
|
||
|
switch (i) {
|
||
|
case 1:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
int a = a();
|
||
|
parcel2.writeNoException();
|
||
|
parcel2.writeInt(a);
|
||
|
return true;
|
||
|
case 2:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
int b = b(parcel.readInt());
|
||
|
parcel2.writeNoException();
|
||
|
parcel2.writeInt(b);
|
||
|
return true;
|
||
|
case 3:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
a(parcel.readInt(), parcel.createByteArray());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 4:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
e(parcel.readInt());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 5:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
byte[] d = d(parcel.readInt(), parcel.readInt() != 0 ? C13110fQx.CREATOR.createFromParcel(parcel) : null);
|
||
|
parcel2.writeNoException();
|
||
|
parcel2.writeByteArray(d);
|
||
|
return true;
|
||
|
case 6:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
ParcelFileDescriptor aCv_ = aCv_(parcel.readInt(), parcel.readInt() != 0 ? C13110fQx.CREATOR.createFromParcel(parcel) : null);
|
||
|
parcel2.writeNoException();
|
||
|
if (aCv_ != null) {
|
||
|
parcel2.writeInt(1);
|
||
|
aCv_.writeToParcel(parcel2, 1);
|
||
|
} else {
|
||
|
parcel2.writeInt(0);
|
||
|
}
|
||
|
return true;
|
||
|
case 7:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
a(parcel.readInt() != 0 ? (ParcelFileDescriptor) ParcelFileDescriptor.CREATOR.createFromParcel(parcel) : null, parcel.readInt() != 0 ? C13110fQx.CREATOR.createFromParcel(parcel) : null);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 8:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
a(parcel.readInt());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 9:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
boolean e = e();
|
||
|
parcel2.writeNoException();
|
||
|
parcel2.writeInt(e ? 1 : 0);
|
||
|
return true;
|
||
|
case 10:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
d(parcel.readFloat());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 11:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
byte[] c = c();
|
||
|
parcel2.writeNoException();
|
||
|
parcel2.writeByteArray(c);
|
||
|
return true;
|
||
|
case 12:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
String b2 = b();
|
||
|
parcel2.writeNoException();
|
||
|
parcel2.writeString(b2);
|
||
|
return true;
|
||
|
case 13:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
d();
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 14:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
ParcelFileDescriptor aCw_ = aCw_();
|
||
|
parcel2.writeNoException();
|
||
|
if (aCw_ != null) {
|
||
|
parcel2.writeInt(1);
|
||
|
aCw_.writeToParcel(parcel2, 1);
|
||
|
} else {
|
||
|
parcel2.writeInt(0);
|
||
|
}
|
||
|
return true;
|
||
|
case 15:
|
||
|
parcel.enforceInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
Bitmap aCx_ = aCx_();
|
||
|
parcel2.writeNoException();
|
||
|
if (aCx_ != null) {
|
||
|
parcel2.writeInt(1);
|
||
|
aCx_.writeToParcel(parcel2, 1);
|
||
|
} else {
|
||
|
parcel2.writeInt(0);
|
||
|
}
|
||
|
return true;
|
||
|
default:
|
||
|
return super.onTransact(i, parcel, parcel2, i2);
|
||
|
}
|
||
|
}
|
||
|
parcel2.writeString("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public static fQX aCu_(IBinder iBinder) {
|
||
|
if (iBinder == null) {
|
||
|
return null;
|
||
|
}
|
||
|
IInterface queryLocalInterface = iBinder.queryLocalInterface("io.beid.beidk.services.IBitmapProcessingService");
|
||
|
return (queryLocalInterface == null || !(queryLocalInterface instanceof fQX)) ? new HBt(iBinder) : (fQX) queryLocalInterface;
|
||
|
}
|
||
|
|
||
|
public RVV() {
|
||
|
attachInterface(this, "io.beid.beidk.services.IBitmapProcessingService");
|
||
|
}
|
||
|
}
|
||
|
}
|