mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 01:47:17 +01:00
66 lines
2.2 KiB
Java
66 lines
2.2 KiB
Java
package com.google.android.gms.cloudmessaging;
|
|
|
|
import android.os.Binder;
|
|
import android.os.IBinder;
|
|
import android.os.IInterface;
|
|
import android.os.Message;
|
|
import android.os.Parcel;
|
|
import android.os.RemoteException;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
interface IMessengerCompat extends IInterface {
|
|
public static final String DESCRIPTOR = "com.google.android.gms.iid.IMessengerCompat";
|
|
public static final int TRANSACTION_SEND = 1;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
public static class Impl extends Binder implements IMessengerCompat {
|
|
@Override // android.os.IInterface
|
|
@NonNull
|
|
public IBinder asBinder() {
|
|
throw null;
|
|
}
|
|
|
|
@Override // android.os.Binder
|
|
public boolean onTransact(int i, @NonNull Parcel parcel, @Nullable Parcel parcel2, int i2) throws RemoteException {
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.google.android.gms.cloudmessaging.IMessengerCompat
|
|
public void send(@NonNull Message message) throws RemoteException {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
public static class Proxy implements IMessengerCompat {
|
|
private final IBinder zza;
|
|
|
|
public Proxy(@NonNull IBinder iBinder) {
|
|
this.zza = iBinder;
|
|
}
|
|
|
|
@Override // android.os.IInterface
|
|
@NonNull
|
|
public IBinder asBinder() {
|
|
return this.zza;
|
|
}
|
|
|
|
@Override // com.google.android.gms.cloudmessaging.IMessengerCompat
|
|
public void send(@NonNull Message message) throws RemoteException {
|
|
Parcel obtain = Parcel.obtain();
|
|
obtain.writeInterfaceToken(IMessengerCompat.DESCRIPTOR);
|
|
obtain.writeInt(1);
|
|
message.writeToParcel(obtain, 0);
|
|
try {
|
|
this.zza.transact(1, obtain, null, 1);
|
|
} finally {
|
|
obtain.recycle();
|
|
}
|
|
}
|
|
}
|
|
|
|
void send(@NonNull Message message) throws RemoteException;
|
|
}
|