aboutsummaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
* qemu-timer.c: rename qemu_timer_new_scale()David 'Digit' Turner2011-06-011-3/+3
| | | | | | | | | | | Get rid of qemu_timer_new() implementation, and update all callers to use qemu_timer_new_ms() or qemu_timer_new_ns() instead. Rename qemu_new_timer_scale() to qemu_new_timer() to follow upstream conventions. Change-Id: Id2c04f8597ec5026e02f87b3e2c5507920eb688e
* Remove CONFIG_ANDROID_SNAPSHOTS macro.David 'Digit' Turner2011-03-011-4/+2
| | | | | | The feature is no longer optional. Change-Id: I4558f12e3804e42069e8a3e6bcf0837d350206ed
* Improve telephony emulation support.David 'Digit' Turner2011-02-041-38/+38
| | | | | | | | | This patch fixes a few minor bugs in our emulated GSM modem. - Mixup between the answers for +CGDCONT=? and +CGDCONT? - Return our IP address as part of +CGDCONT=? now - Ensure the area code and cell id are no more than 4 hexadecimal digits Change-Id: I4fc0b333ed0f7df88a9874490d3b3e0b4a09a7d3
* Serialise GSM call status to snapshotTim Baverstock2011-01-171-0/+58
| | | | Change-Id: I54491e3e9910591aedcd700a9a350dc7a6fa7127
* Add 'gsm signal' command, to set rssi and berTim Baverstock2010-12-152-2/+21
| | | | Change-Id: I24d4738f6e5135437af25d22e2fa68617f5632fa
* Send unsolicited time response to first signal strength query after loadvmTim Baverstock2010-12-141-6/+45
| | | | Change-Id: I9c6260493d42564ee3aa34799313368bb2de7d4d
* Fix linux-x86_64 build.David 'Digit' Turner2010-10-211-2/+0
| | | | | | | | | Fix various 64-bitness issues in the source code to make the --try-64 option work again on Linux. Note that the generated binary is not faster than its 32-bit variant when it comes to benchmarking the boot sequence. Change-Id: Iad248e033757d4cd25524a438a5dbe1cf3aca6cf
* qemu: Multimode supportJaime Lopez2010-10-082-28/+578
| | | | | | | | | | | | | | | | | | | | | | | | Preliminary implementation of a Multimode modem - Added the +CTEC AT command which allows querying and setting the current technology - Added preliminary NVRAM file support Add cdma subscription source support - Add support to save the subscription source preference to nv. - Add command 'cdma ssource' to switch subscription source from the emulator console Implement AT+WRMP command Implement the AT+WRMP command to set and get the roaming preference Implement Emergency Callback Mode Implement the +WSOS command and unsol to notify Emergency Callback Mode status Implement +WPRL AT Command Enable PRL update notification by implementing the AT+WPRL query command Implement a console command to send +WPRL unsolicited response Change-Id: I5c036c1b0832b94c0b7675931f6a18b5d9ca7436
* Remove compiler warnings when building the emulator.David 'Digit' Turner2010-09-221-1/+1
| | | | | | | This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
* Add new "qemu monitor" command to the console.David 'Digit' Turner2010-09-081-0/+2
| | | | | | | | | | | | | | | | | | | This allows you to access the QEMU virtual machine monitor directly from the console (instead of playing with the command-line to do it). The implementation of the 'quit' command has been modified to simply close the connection, instead of stopping the emulator program. This patch introduces changes that allow a console session to be detached and redirected at runtime to other internal services of the emulator program. This will be useful in the future to implement other features. + doc typo + add proper definitions for CONFIG_ANDROID on config-host.h + remove obsolete sysdeps.h dependency in android/console.c Change-Id: If16cfe41c12a26eb8f56e3a9c24452eafa5efab4
* Make the GSM simulator more realisticMarc Petit-Huguenin2010-07-276-17/+71
| | | | | | | | | | | | - The phone number of the phone is now built by concatenating "1555521" to the console port. - Convert number in remote call by concatenating "1555521" to the port number. - Convert called number to a number starting with "1555521". - Fixed a bug in sms_address_to_str where the length returned is incorrect is the length of the phone number to convert is odd. Change-Id: Iefbdd866b6e41f6086c6e0cc33026551e3d5ae8f
* Upstream: integrate timer/clock management changes.David 'Digit' Turner2010-05-111-0/+1
| | | | Change-Id: I24acbdebe58d207352548f54dda1abf5be01e7d4
* Fix Win32 socket error handling.David 'Digit' Turner2010-03-251-2/+2
| | | | | | This also fixes -http-proxy support on Windows. Change-Id: I741b224511c064412ac39351ed4f1b9146a313a5
* This fixes sock_address_init_resolv() to properly parse the linked-list ↵David 'Digit' Turner2009-05-141-1/+2
| | | | | | | | | | | | | returned by getaddrinfo(). The previous implementation simply took the first entry, which could be an IPv6 address instead of an IPv4 one in certain OS setups. This created problems when "localhost" resolved to :::1 instead of 127.0.0.1. For example, when implementing inter-emulator telephony or SMS, since the caller would try to connect to localhost:5556, which was resolved to :::1:5556 while the received is listening on 127.0.0.1:5556 Also disable debugging traces that should not be activated. And make the error messages in sockets.c only dumped to the terminal when -debug-socket is active.
* AI 146315: am: CL 146314 modify GSM emulation to accomodate 1.0 and 1.1 ↵David Turner2009-04-152-9/+30
| | | | | | | | | | | system images. without this, networking doesn't work well when using the 1.1 add-on with the cupcake sdk Original author: digit Merged from: //branches/cupcake/... Automated import of CL 146315
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0319-0/+7923
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0319-7923/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-106-12/+25
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-094-31/+31
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-2/+2
|
* Initial ContributionThe Android Open Source Project2008-10-2119-0/+7910