Bug 896920 - B2G Emulator: support conference call. r=vicamo
Merge pull request #44 from hsinyi/bugzilla/896920/master

Bug 896920 - B2G Emulator: support conference call. r=vicamo
Bug 916719 - B2G Emulator: Fix bug in amodem_clear_call

Free calls in reverse order.
Merge pull request #47 from aknow/fix_gsm_clear

Bug 916719 - B2G Emulator: Fix bug in amodem_clear_call. r=vicamo
Bug 909688 - Emulator: do not auto attach data registration. r=vicamo

Do not auto attach data registration when activating data call,
instead return error if data registration is unregistered when
activating/deactivating data call.
Merge pull request #48 from jessi3py/bug-909688

Bug 909688 - Emulator: do not auto attach data registration. r=vicamo
Added command 'report' to console

The report command returns internal state of the GSM modem. The only
supported command for now is 'creg' for the network-registration state.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Bug 933654 - 1/3: refactor amodem_send.

The original amodem_send returns the reply string of a AT command,
and then ModemDriver determines whether the modem is now waiting for
SMS by comparing that string to '> '.  However, as we're to enable
unsolicited responses after the reply, such method is no longer
effective and could be error prone.

This patch moves all reply handling into android_modem.c and returns
and modem->waiting_sms in the end of amodem_send().
Bug 933654 - 2/3: allow extra unsolicited responses.

For AT command handlers, returning NULL was a convenient alias for
asking amodem_send() to reply "OK" for them.  To allow extra
unsolicited responses after the original reply, there must be some
way to notify amodem_send() that the reply has been sent and don't
bother appending another "OK".  There are also cases that return an
empty string ("", not NULL).  The NULL value then becomes the best
choice in both literal and semantic way.
Bug 933654 - 3/3: perform voice/data registration state change in handleRadioPower.
Bug 942089 - Have different IccId for each sim card