package com.android.ims.internal;
public interface IImsConfig extends android.os.IInterface
{
public static abstract class Stub extends android.os.Binder implements com.android.ims.internal.IImsConfig
{
private static final java.lang.String DESCRIPTOR = "com.android.ims.internal.IImsConfig";
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static com.android.ims.internal.IImsConfig 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.IImsConfig))) {
return ((com.android.ims.internal.IImsConfig)iin);
}
return new com.android.ims.internal.IImsConfig.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_getProvisionedValue:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
int _result = this.getProvisionedValue(_arg0);
reply.writeNoException();
reply.writeInt(_result);
return true;
}
case TRANSACTION_getProvisionedStringValue:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
java.lang.String _result = this.getProvisionedStringValue(_arg0);
reply.writeNoException();
reply.writeString(_result);
return true;
}
case TRANSACTION_setProvisionedValue:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
int _arg1;
_arg1 = data.readInt();
int _result = this.setProvisionedValue(_arg0, _arg1);
reply.writeNoException();
reply.writeInt(_result);
return true;
}
case TRANSACTION_setProvisionedStringValue:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
java.lang.String _arg1;
_arg1 = data.readString();
int _result = this.setProvisionedStringValue(_arg0, _arg1);
reply.writeNoException();
reply.writeInt(_result);
return true;
}
case TRANSACTION_getFeatureValue:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
int _arg1;
_arg1 = data.readInt();
com.android.ims.ImsConfigListener _arg2;
_arg2 = com.android.ims.ImsConfigListener.Stub.asInterface(data.readStrongBinder());
this.getFeatureValue(_arg0, _arg1, _arg2);
return true;
}
case TRANSACTION_setFeatureValue:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
int _arg1;
_arg1 = data.readInt();
int _arg2;
_arg2 = data.readInt();
com.android.ims.ImsConfigListener _arg3;
_arg3 = com.android.ims.ImsConfigListener.Stub.asInterface(data.readStrongBinder());
this.setFeatureValue(_arg0, _arg1, _arg2, _arg3);
return true;
}
case TRANSACTION_getVolteProvisioned:
{
data.enforceInterface(descriptor);
boolean _result = this.getVolteProvisioned();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true;
}
case TRANSACTION_getVideoQuality:
{
data.enforceInterface(descriptor);
com.android.ims.ImsConfigListener _arg0;
_arg0 = com.android.ims.ImsConfigListener.Stub.asInterface(data.readStrongBinder());
this.getVideoQuality(_arg0);
return true;
}
case TRANSACTION_setVideoQuality:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
com.android.ims.ImsConfigListener _arg1;
_arg1 = com.android.ims.ImsConfigListener.Stub.asInterface(data.readStrongBinder());
this.setVideoQuality(_arg0, _arg1);
return true;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
}
private static class Proxy implements com.android.ims.internal.IImsConfig
{
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 int getProvisionedValue(int item) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(item);
mRemote.transact(Stub.TRANSACTION_getProvisionedValue, _data, _reply, 0);
_reply.readException();
_result = _reply.readInt();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
@Override public java.lang.String getProvisionedStringValue(int item) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
java.lang.String _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(item);
mRemote.transact(Stub.TRANSACTION_getProvisionedStringValue, _data, _reply, 0);
_reply.readException();
_result = _reply.readString();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
@Override public int setProvisionedValue(int item, int value) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(item);
_data.writeInt(value);
mRemote.transact(Stub.TRANSACTION_setProvisionedValue, _data, _reply, 0);
_reply.readException();
_result = _reply.readInt();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
@Override public int setProvisionedStringValue(int item, java.lang.String value) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(item);
_data.writeString(value);
mRemote.transact(Stub.TRANSACTION_setProvisionedStringValue, _data, _reply, 0);
_reply.readException();
_result = _reply.readInt();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
@Override public void getFeatureValue(int feature, int network, com.android.ims.ImsConfigListener listener) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(feature);
_data.writeInt(network);
_data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_getFeatureValue, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void setFeatureValue(int feature, int network, int value, com.android.ims.ImsConfigListener listener) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(feature);
_data.writeInt(network);
_data.writeInt(value);
_data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_setFeatureValue, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public boolean getVolteProvisioned() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
boolean _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_getVolteProvisioned, _data, _reply, 0);
_reply.readException();
_result = (0!=_reply.readInt());
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
@Override public void getVideoQuality(com.android.ims.ImsConfigListener listener) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_getVideoQuality, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void setVideoQuality(int quality, com.android.ims.ImsConfigListener listener) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(quality);
_data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_setVideoQuality, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
}
static final int TRANSACTION_getProvisionedValue = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_getProvisionedStringValue = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_setProvisionedValue = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_setProvisionedStringValue = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
static final int TRANSACTION_getFeatureValue = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
static final int TRANSACTION_setFeatureValue = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
static final int TRANSACTION_getVolteProvisioned = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
static final int TRANSACTION_getVideoQuality = (android.os.IBinder.FIRST_CALL_TRANSACTION + 7);
static final int TRANSACTION_setVideoQuality = (android.os.IBinder.FIRST_CALL_TRANSACTION + 8);
}
public int getProvisionedValue(int item) throws android.os.RemoteException;
public java.lang.String getProvisionedStringValue(int item) throws android.os.RemoteException;
public int setProvisionedValue(int item, int value) throws android.os.RemoteException;
public int setProvisionedStringValue(int item, java.lang.String value) throws android.os.RemoteException;
public void getFeatureValue(int feature, int network, com.android.ims.ImsConfigListener listener) throws android.os.RemoteException;
public void setFeatureValue(int feature, int network, int value, com.android.ims.ImsConfigListener listener) throws android.os.RemoteException;
public boolean getVolteProvisioned() throws android.os.RemoteException;
public void getVideoQuality(com.android.ims.ImsConfigListener listener) throws android.os.RemoteException;
public void setVideoQuality(int quality, com.android.ims.ImsConfigListener listener) throws android.os.RemoteException;
}