package android.service.carrier;
public interface ICarrierService extends android.os.IInterface
{
public static abstract class Stub extends android.os.Binder implements android.service.carrier.ICarrierService
{
private static final java.lang.String DESCRIPTOR = "android.service.carrier.ICarrierService";
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static android.service.carrier.ICarrierService asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof android.service.carrier.ICarrierService))) {
return ((android.service.carrier.ICarrierService)iin);
}
return new android.service.carrier.ICarrierService.Stub.Proxy(obj);
}
@Override public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
java.lang.String descriptor = DESCRIPTOR;
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_getCarrierConfig:
{
data.enforceInterface(descriptor);
android.service.carrier.CarrierIdentifier _arg0;
if ((0!=data.readInt())) {
_arg0 = android.service.carrier.CarrierIdentifier.CREATOR.createFromParcel(data);
}
else {
_arg0 = null;
}
android.os.ResultReceiver _arg1;
if ((0!=data.readInt())) {
_arg1 = android.os.ResultReceiver.CREATOR.createFromParcel(data);
}
else {
_arg1 = null;
}
this.getCarrierConfig(_arg0, _arg1);
return true;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
}
private static class Proxy implements android.service.carrier.ICarrierService
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
@Override public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DESCRIPTOR;
}
@Override public void getCarrierConfig(android.service.carrier.CarrierIdentifier id, android.os.ResultReceiver result) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
if ((id!=null)) {
_data.writeInt(1);
id.writeToParcel(_data, 0);
}
else {
_data.writeInt(0);
}
if ((result!=null)) {
_data.writeInt(1);
result.writeToParcel(_data, 0);
}
else {
_data.writeInt(0);
}
mRemote.transact(Stub.TRANSACTION_getCarrierConfig, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
}
static final int TRANSACTION_getCarrierConfig = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
}
public void getCarrierConfig(android.service.carrier.CarrierIdentifier id, android.os.ResultReceiver result) throws android.os.RemoteException;
}