Code example for TextUtils

Methods: writeIntwriteNoExceptionwriteToParcel

0
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.setMmiString(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_getMmiRunningText:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.CharSequence _result = this.getMmiRunningText();
reply.writeNoException();
if ((_result!=null)) {
reply.writeInt(1);
android.text.TextUtils.writeToParcel(_result, reply, android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
} 
else { 
reply.writeInt(0);
} 
return true; 
} 
case TRANSACTION_getUserMessage:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.CharSequence _arg0;
if ((0!=data.readInt())) {
_arg0 = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(data);
} 
else { 
_arg0 = null;
} 
java.lang.CharSequence _result = this.getUserMessage(_arg0);
reply.writeNoException();
if ((_result!=null)) {
reply.writeInt(1);
android.text.TextUtils.writeToParcel(_result, reply, android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
} 
else { 
reply.writeInt(0);
} 
return true; 
} 
case TRANSACTION_clearMmiString:
{ 
data.enforceInterface(DESCRIPTOR);
this.clearMmiString();
reply.writeNoException();
return true; 
} 
} 
return super.onTransact(code, data, reply, flags);
}