/*
 * This file is auto-generated.  DO NOT MODIFY.
 * Original file: /var/tmp/code-browser-generator/android_android_9.0.0_r358833596918674107602/combined/com/android/ims/internal/IImsUt.aidl
 */
package com.android.ims.internal;
Provides the Ut interface interworking to get/set the supplementary service configuration. {@hide}
/** * Provides the Ut interface interworking to get/set the supplementary service configuration. * * {@hide} */
public interface IImsUt extends android.os.IInterface {
Local-side IPC implementation stub class.
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.android.ims.internal.IImsUt { private static final java.lang.String DESCRIPTOR = "com.android.ims.internal.IImsUt";
Construct the stub at attach it to the interface.
/** Construct the stub at attach it to the interface. */
public Stub() { this.attachInterface(this, DESCRIPTOR); }
Cast an IBinder object into an com.android.ims.internal.IImsUt interface, generating a proxy if needed.
/** * Cast an IBinder object into an com.android.ims.internal.IImsUt interface, * generating a proxy if needed. */
public static com.android.ims.internal.IImsUt 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.IImsUt))) { return ((com.android.ims.internal.IImsUt)iin); } return new com.android.ims.internal.IImsUt.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_close: { data.enforceInterface(descriptor); this.close(); reply.writeNoException(); return true; } case TRANSACTION_queryCallBarring: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _result = this.queryCallBarring(_arg0); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_queryCallForward: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); java.lang.String _arg1; _arg1 = data.readString(); int _result = this.queryCallForward(_arg0, _arg1); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_queryCallWaiting: { data.enforceInterface(descriptor); int _result = this.queryCallWaiting(); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_queryCLIR: { data.enforceInterface(descriptor); int _result = this.queryCLIR(); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_queryCLIP: { data.enforceInterface(descriptor); int _result = this.queryCLIP(); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_queryCOLR: { data.enforceInterface(descriptor); int _result = this.queryCOLR(); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_queryCOLP: { data.enforceInterface(descriptor); int _result = this.queryCOLP(); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_transact: { data.enforceInterface(descriptor); android.os.Bundle _arg0; if ((0!=data.readInt())) { _arg0 = android.os.Bundle.CREATOR.createFromParcel(data); } else { _arg0 = null; } int _result = this.transact(_arg0); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCallBarring: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); java.lang.String[] _arg2; _arg2 = data.createStringArray(); int _result = this.updateCallBarring(_arg0, _arg1, _arg2); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCallForward: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); java.lang.String _arg2; _arg2 = data.readString(); int _arg3; _arg3 = data.readInt(); int _arg4; _arg4 = data.readInt(); int _result = this.updateCallForward(_arg0, _arg1, _arg2, _arg3, _arg4); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCallWaiting: { data.enforceInterface(descriptor); boolean _arg0; _arg0 = (0!=data.readInt()); int _arg1; _arg1 = data.readInt(); int _result = this.updateCallWaiting(_arg0, _arg1); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCLIR: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _result = this.updateCLIR(_arg0); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCLIP: { data.enforceInterface(descriptor); boolean _arg0; _arg0 = (0!=data.readInt()); int _result = this.updateCLIP(_arg0); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCOLR: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _result = this.updateCOLR(_arg0); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCOLP: { data.enforceInterface(descriptor); boolean _arg0; _arg0 = (0!=data.readInt()); int _result = this.updateCOLP(_arg0); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_setListener: { data.enforceInterface(descriptor); com.android.ims.internal.IImsUtListener _arg0; _arg0 = com.android.ims.internal.IImsUtListener.Stub.asInterface(data.readStrongBinder()); this.setListener(_arg0); reply.writeNoException(); return true; } case TRANSACTION_queryCallBarringForServiceClass: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); int _result = this.queryCallBarringForServiceClass(_arg0, _arg1); reply.writeNoException(); reply.writeInt(_result); return true; } case TRANSACTION_updateCallBarringForServiceClass: { data.enforceInterface(descriptor); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); java.lang.String[] _arg2; _arg2 = data.createStringArray(); int _arg3; _arg3 = data.readInt(); int _result = this.updateCallBarringForServiceClass(_arg0, _arg1, _arg2, _arg3); reply.writeNoException(); reply.writeInt(_result); return true; } default: { return super.onTransact(code, data, reply, flags); } } } private static class Proxy implements com.android.ims.internal.IImsUt { 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; }
Closes the object. This object is not usable after being closed.
/** * Closes the object. This object is not usable after being closed. */
@Override public void close() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_close, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public int queryCallBarring(int cbType) 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(cbType); mRemote.transact(Stub.TRANSACTION_queryCallBarring, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int queryCallForward(int condition, java.lang.String number) 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(condition); _data.writeString(number); mRemote.transact(Stub.TRANSACTION_queryCallForward, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int queryCallWaiting() 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); mRemote.transact(Stub.TRANSACTION_queryCallWaiting, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int queryCLIR() 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); mRemote.transact(Stub.TRANSACTION_queryCLIR, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int queryCLIP() 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); mRemote.transact(Stub.TRANSACTION_queryCLIP, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int queryCOLR() 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); mRemote.transact(Stub.TRANSACTION_queryCOLR, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int queryCOLP() 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); mRemote.transact(Stub.TRANSACTION_queryCOLP, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int transact(android.os.Bundle ssInfo) 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); if ((ssInfo!=null)) { _data.writeInt(1); ssInfo.writeToParcel(_data, 0); } else { _data.writeInt(0); } mRemote.transact(Stub.TRANSACTION_transact, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCallBarring(int cbType, int action, java.lang.String[] barrList) 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(cbType); _data.writeInt(action); _data.writeStringArray(barrList); mRemote.transact(Stub.TRANSACTION_updateCallBarring, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCallForward(int action, int condition, java.lang.String number, int serviceClass, int timeSeconds) 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(action); _data.writeInt(condition); _data.writeString(number); _data.writeInt(serviceClass); _data.writeInt(timeSeconds); mRemote.transact(Stub.TRANSACTION_updateCallForward, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCallWaiting(boolean enable, int serviceClass) 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(((enable)?(1):(0))); _data.writeInt(serviceClass); mRemote.transact(Stub.TRANSACTION_updateCallWaiting, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCLIR(int clirMode) 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(clirMode); mRemote.transact(Stub.TRANSACTION_updateCLIR, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCLIP(boolean enable) 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(((enable)?(1):(0))); mRemote.transact(Stub.TRANSACTION_updateCLIP, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCOLR(int presentation) 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(presentation); mRemote.transact(Stub.TRANSACTION_updateCOLR, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCOLP(boolean enable) 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(((enable)?(1):(0))); mRemote.transact(Stub.TRANSACTION_updateCOLP, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; }
Sets the listener.
/** * Sets the listener. */
@Override public void setListener(com.android.ims.internal.IImsUtListener listener) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null))); mRemote.transact(Stub.TRANSACTION_setListener, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public int queryCallBarringForServiceClass(int cbType, int serviceClass) 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(cbType); _data.writeInt(serviceClass); mRemote.transact(Stub.TRANSACTION_queryCallBarringForServiceClass, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public int updateCallBarringForServiceClass(int cbType, int action, java.lang.String[] barrList, int serviceClass) 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(cbType); _data.writeInt(action); _data.writeStringArray(barrList); _data.writeInt(serviceClass); mRemote.transact(Stub.TRANSACTION_updateCallBarringForServiceClass, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; } } static final int TRANSACTION_close = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0); static final int TRANSACTION_queryCallBarring = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1); static final int TRANSACTION_queryCallForward = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2); static final int TRANSACTION_queryCallWaiting = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3); static final int TRANSACTION_queryCLIR = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4); static final int TRANSACTION_queryCLIP = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5); static final int TRANSACTION_queryCOLR = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6); static final int TRANSACTION_queryCOLP = (android.os.IBinder.FIRST_CALL_TRANSACTION + 7); static final int TRANSACTION_transact = (android.os.IBinder.FIRST_CALL_TRANSACTION + 8); static final int TRANSACTION_updateCallBarring = (android.os.IBinder.FIRST_CALL_TRANSACTION + 9); static final int TRANSACTION_updateCallForward = (android.os.IBinder.FIRST_CALL_TRANSACTION + 10); static final int TRANSACTION_updateCallWaiting = (android.os.IBinder.FIRST_CALL_TRANSACTION + 11); static final int TRANSACTION_updateCLIR = (android.os.IBinder.FIRST_CALL_TRANSACTION + 12); static final int TRANSACTION_updateCLIP = (android.os.IBinder.FIRST_CALL_TRANSACTION + 13); static final int TRANSACTION_updateCOLR = (android.os.IBinder.FIRST_CALL_TRANSACTION + 14); static final int TRANSACTION_updateCOLP = (android.os.IBinder.FIRST_CALL_TRANSACTION + 15); static final int TRANSACTION_setListener = (android.os.IBinder.FIRST_CALL_TRANSACTION + 16); static final int TRANSACTION_queryCallBarringForServiceClass = (android.os.IBinder.FIRST_CALL_TRANSACTION + 17); static final int TRANSACTION_updateCallBarringForServiceClass = (android.os.IBinder.FIRST_CALL_TRANSACTION + 18); }
Closes the object. This object is not usable after being closed.
/** * Closes the object. This object is not usable after being closed. */
public void close() throws android.os.RemoteException; public int queryCallBarring(int cbType) throws android.os.RemoteException; public int queryCallForward(int condition, java.lang.String number) throws android.os.RemoteException; public int queryCallWaiting() throws android.os.RemoteException; public int queryCLIR() throws android.os.RemoteException; public int queryCLIP() throws android.os.RemoteException; public int queryCOLR() throws android.os.RemoteException; public int queryCOLP() throws android.os.RemoteException; public int transact(android.os.Bundle ssInfo) throws android.os.RemoteException; public int updateCallBarring(int cbType, int action, java.lang.String[] barrList) throws android.os.RemoteException; public int updateCallForward(int action, int condition, java.lang.String number, int serviceClass, int timeSeconds) throws android.os.RemoteException; public int updateCallWaiting(boolean enable, int serviceClass) throws android.os.RemoteException; public int updateCLIR(int clirMode) throws android.os.RemoteException; public int updateCLIP(boolean enable) throws android.os.RemoteException; public int updateCOLR(int presentation) throws android.os.RemoteException; public int updateCOLP(boolean enable) throws android.os.RemoteException;
Sets the listener.
/** * Sets the listener. */
public void setListener(com.android.ims.internal.IImsUtListener listener) throws android.os.RemoteException; public int queryCallBarringForServiceClass(int cbType, int serviceClass) throws android.os.RemoteException; public int updateCallBarringForServiceClass(int cbType, int action, java.lang.String[] barrList, int serviceClass) throws android.os.RemoteException; }