package com.android.ims.internal;
public interface IImsRegistrationListener extends android.os.IInterface
{
public static abstract class Stub extends android.os.Binder implements com.android.ims.internal.IImsRegistrationListener
{
private static final java.lang.String DESCRIPTOR = "com.android.ims.internal.IImsRegistrationListener";
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static com.android.ims.internal.IImsRegistrationListener asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof com.android.ims.internal.IImsRegistrationListener))) {
return ((com.android.ims.internal.IImsRegistrationListener)iin);
}
return new com.android.ims.internal.IImsRegistrationListener.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_registrationConnected:
{
data.enforceInterface(descriptor);
this.registrationConnected();
return true;
}
case TRANSACTION_registrationProgressing:
{
data.enforceInterface(descriptor);
this.registrationProgressing();
return true;
}
case TRANSACTION_registrationConnectedWithRadioTech:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
this.registrationConnectedWithRadioTech(_arg0);
return true;
}
case TRANSACTION_registrationProgressingWithRadioTech:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
this.registrationProgressingWithRadioTech(_arg0);
return true;
}
case TRANSACTION_registrationDisconnected:
{
data.enforceInterface(descriptor);
android.telephony.ims.ImsReasonInfo _arg0;
if ((0!=data.readInt())) {
_arg0 = android.telephony.ims.ImsReasonInfo.CREATOR.createFromParcel(data);
}
else {
_arg0 = null;
}
this.registrationDisconnected(_arg0);
return true;
}
case TRANSACTION_registrationResumed:
{
data.enforceInterface(descriptor);
this.registrationResumed();
return true;
}
case TRANSACTION_registrationSuspended:
{
data.enforceInterface(descriptor);
this.registrationSuspended();
return true;
}
case TRANSACTION_registrationServiceCapabilityChanged:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
int _arg1;
_arg1 = data.readInt();
this.registrationServiceCapabilityChanged(_arg0, _arg1);
return true;
}
case TRANSACTION_registrationFeatureCapabilityChanged:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
int[] _arg1;
_arg1 = data.createIntArray();
int[] _arg2;
_arg2 = data.createIntArray();
this.registrationFeatureCapabilityChanged(_arg0, _arg1, _arg2);
return true;
}
case TRANSACTION_voiceMessageCountUpdate:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
this.voiceMessageCountUpdate(_arg0);
return true;
}
case TRANSACTION_registrationAssociatedUriChanged:
{
data.enforceInterface(descriptor);
android.net.Uri[] _arg0;
_arg0 = data.createTypedArray(android.net.Uri.CREATOR);
this.registrationAssociatedUriChanged(_arg0);
return true;
}
case TRANSACTION_registrationChangeFailed:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
android.telephony.ims.ImsReasonInfo _arg1;
if ((0!=data.readInt())) {
_arg1 = android.telephony.ims.ImsReasonInfo.CREATOR.createFromParcel(data);
}
else {
_arg1 = null;
}
this.registrationChangeFailed(_arg0, _arg1);
return true;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
}
private static class Proxy implements com.android.ims.internal.IImsRegistrationListener
{
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 registrationConnected() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_registrationConnected, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationProgressing() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_registrationProgressing, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationConnectedWithRadioTech(int imsRadioTech) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(imsRadioTech);
mRemote.transact(Stub.TRANSACTION_registrationConnectedWithRadioTech, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationProgressingWithRadioTech(int imsRadioTech) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(imsRadioTech);
mRemote.transact(Stub.TRANSACTION_registrationProgressingWithRadioTech, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationDisconnected(android.telephony.ims.ImsReasonInfo imsReasonInfo) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
if ((imsReasonInfo!=null)) {
_data.writeInt(1);
imsReasonInfo.writeToParcel(_data, 0);
}
else {
_data.writeInt(0);
}
mRemote.transact(Stub.TRANSACTION_registrationDisconnected, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationResumed() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_registrationResumed, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationSuspended() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_registrationSuspended, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationServiceCapabilityChanged(int serviceClass, int event) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(serviceClass);
_data.writeInt(event);
mRemote.transact(Stub.TRANSACTION_registrationServiceCapabilityChanged, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationFeatureCapabilityChanged(int serviceClass, int[] enabledFeatures, int[] disabledFeatures) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(serviceClass);
_data.writeIntArray(enabledFeatures);
_data.writeIntArray(disabledFeatures);
mRemote.transact(Stub.TRANSACTION_registrationFeatureCapabilityChanged, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void voiceMessageCountUpdate(int count) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(count);
mRemote.transact(Stub.TRANSACTION_voiceMessageCountUpdate, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationAssociatedUriChanged(android.net.Uri[] uris) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeTypedArray(uris, 0);
mRemote.transact(Stub.TRANSACTION_registrationAssociatedUriChanged, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void registrationChangeFailed(int targetAccessTech, android.telephony.ims.ImsReasonInfo imsReasonInfo) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(targetAccessTech);
if ((imsReasonInfo!=null)) {
_data.writeInt(1);
imsReasonInfo.writeToParcel(_data, 0);
}
else {
_data.writeInt(0);
}
mRemote.transact(Stub.TRANSACTION_registrationChangeFailed, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
}
static final int TRANSACTION_registrationConnected = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_registrationProgressing = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_registrationConnectedWithRadioTech = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_registrationProgressingWithRadioTech = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
static final int TRANSACTION_registrationDisconnected = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
static final int TRANSACTION_registrationResumed = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
static final int TRANSACTION_registrationSuspended = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
static final int TRANSACTION_registrationServiceCapabilityChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 7);
static final int TRANSACTION_registrationFeatureCapabilityChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 8);
static final int TRANSACTION_voiceMessageCountUpdate = (android.os.IBinder.FIRST_CALL_TRANSACTION + 9);
static final int TRANSACTION_registrationAssociatedUriChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 10);
static final int TRANSACTION_registrationChangeFailed = (android.os.IBinder.FIRST_CALL_TRANSACTION + 11);
}
public void registrationConnected() throws android.os.RemoteException;
public void registrationProgressing() throws android.os.RemoteException;
public void registrationConnectedWithRadioTech(int imsRadioTech) throws android.os.RemoteException;
public void registrationProgressingWithRadioTech(int imsRadioTech) throws android.os.RemoteException;
public void registrationDisconnected(android.telephony.ims.ImsReasonInfo imsReasonInfo) throws android.os.RemoteException;
public void registrationResumed() throws android.os.RemoteException;
public void registrationSuspended() throws android.os.RemoteException;
public void registrationServiceCapabilityChanged(int serviceClass, int event) throws android.os.RemoteException;
public void registrationFeatureCapabilityChanged(int serviceClass, int[] enabledFeatures, int[] disabledFeatures) throws android.os.RemoteException;
public void voiceMessageCountUpdate(int count) throws android.os.RemoteException;
public void registrationAssociatedUriChanged(android.net.Uri[] uris) throws android.os.RemoteException;
public void registrationChangeFailed(int targetAccessTech, android.telephony.ims.ImsReasonInfo imsReasonInfo) throws android.os.RemoteException;
}