559 Commits

Author SHA1 Message Date
Wink Saville
01b6d24417 Allow the configuration string to have quotes.
This makes properties easier to read so from:
   ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000

to this:
   ro.cdma.data_retry_config="default_randomization=2000,0,0,120000,180000"

Change-Id: Ied2a7be0102512cd2ce528d566c19ed3a8e2f480
2010-03-05 13:23:06 -08:00
John Wang
fe4f2c9ea2 Merge "Add r-w property of emergency number list." 2010-03-04 14:42:42 -08:00
Xia Wang
4736ff3534 Merge "Suppress testCheckAndProcessPlusCode from continuous test system as testing devices are not registered with any carrier networks." 2010-03-04 14:19:51 -08:00
Xia Wang
85b3508d56 Suppress testCheckAndProcessPlusCode from continuous test system as testing devices are not registered with any carrier networks. 2010-03-04 14:10:05 -08:00
John Wang
fc26c77f61 Update DSAC notification.
Update the notification string of CS restricted per DoCoMo's request. More restricted message string are added for future use.
2010-03-04 14:09:24 -08:00
John Wang
0bd36175fb Add r-w property of emergency number list.
Currently, the emergency calls are put into an readonly property ro.ril.ecclist.

It is possible that ecclist has to be changed before and after SIM pin lock.

And ecclist can also be changed after network broadcasts the local emgergency numbers.

So add r-w property ril.ecclist to make emergency number list changable, while still

check r-o property to make old RIL work.
2010-03-04 14:05:49 -08:00
John Wang
ef38327f3a Merge "Update Singapore default time zone." 2010-03-04 11:10:21 -08:00
Wink Saville
16dc6dbf30 Fix a loss of data.
Fix a bug in DataConnection state machine where the notification
of disconnection completion was sent before we actually transitioned
to the in active state. Also, change conn.reset to send a response
so the user can know when the transition to the in active state
completes for that also.

bug: 2471897
Change-Id: I5776324ac89a607925d07f4a600bc5b34c3f3ed6
2010-03-03 17:54:39 -08:00
John Wang
e4b293cd64 Update Singapore default time zone.
In MccTable, Singapore is marked as 'Asia/Singapore' instead of 'Singapore'.
2010-03-03 16:56:01 -08:00
Mike Lockwood
448fa8ba41 CdmaDataConnectionTracker: Add DUN to list of supported APN types.
Change-Id: I72549a761757f93cfeb9d16e2f64331134155156
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-26 15:16:52 -05:00
Dianne Hackborn
2269d1572e Re-arrange android-common so framework no longer links with it.
This is the framework part, moving classes around so the framework
no longer needs to link to android-common.  Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
2010-02-25 11:39:33 -08:00
Robert Greenwalt
c03fa50149 Add mobile data on/off switch.
bug:2251458
2010-02-24 18:14:07 -08:00
Robert Greenwalt
5cde63a60d Merge "Add USB RNDIS enable/disable control" 2010-02-23 18:08:04 -08:00
Robert Greenwalt
65ae29bd85 Add USB RNDIS enable/disable control
Also adding interface configuration to the tethering machine.
Also fixing netd bug that didn't send up/down portion of iface config command.
2010-02-23 16:04:41 -08:00
Romain Guy
a1303e0193 Calling super.finalize() in finalize() methods.
Also cleanup code, mostly removing unused handlers and casts.
2010-02-22 16:29:10 -08:00
Kenny Root
7b1c067b90 Merge "Correct use of logical AND" 2010-02-17 13:24:59 -08:00
Kenny Root
433735f871 Merge "Prevent sign extension in IccUtils.parseToRGB" 2010-02-17 12:02:35 -08:00
Kenny Root
a409128a72 Prevent sign extension in UsimPhoneBookManager
When performing a logical OR on a byte value, make sure to truncate its
value to prevent possible sign extension when it is converted to 32-bit.

Change-Id: I7bdfded32cec3e8a5f6b5c45316b2af5ab9471d1
2010-02-17 10:21:11 -08:00
Kenny Root
d142df535d Prevent sign extension in IccUtils.parseToRGB
When a signed byte value is taken from an array, make sure to truncate
it so it doesn't have a problem when it's sign extended to 32-bit.

Change-Id: Ic2b35c317e21c63dff960501145a4f3074b687ad
2010-02-17 10:16:15 -08:00
Kenny Root
7ae1776046 Correct use of logical AND
A bitwise AND was use when a logical AND was meant to be used.

Change-Id: I4e5529ff9fce1e6397d7cd9483268766fc92dcf5
2010-02-17 09:55:53 -08:00
Wink Saville
5b31fdae60 am 58d6a20c: am 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into eclair
Merge commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1'

* commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1':
  Always assume evdoXxxx signal strength values are correct.
2010-02-13 09:48:43 -08:00
Wink Saville
7d97ff10c7 Always assume evdoXxxx signal strength values are correct.
This solves a race condition between the network type changing and
a signal strength changing. This could cause StatusBarPolicy to see
the -1 values for the evdo strength parameters and hence 0 bars would
be displayed.

Bug: 2419251
Change-Id: Iba0bdbd2023b6a5e49fc1f82c997ec3219158286
2010-02-13 07:56:20 -08:00
Mark Vandevoorde
9384b145e6 Map base station lat-lng of "0","0" to undefined.
Also introduce a public constant for the invalid lat/lng value.

Change-Id: Ifaa1e563bfa94c06dfbba51157b9160055442682
2010-02-12 10:13:12 -08:00
Eric Laurent
777db0c08a Merge "resolved conflicts for merge of 61bb25f2 to master" 2010-02-11 11:16:36 -08:00
Eric Laurent
d7b92a0ff3 resolved conflicts for merge of 61bb25f2 to master 2010-02-11 10:38:28 -08:00
Dan Egnor
18e9396235 Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
2010-02-11 10:22:09 -08:00
Eric Laurent
7749adfd01 Fix issue: 2413494: Add TTY support.
This is a new implementation of TTY support.
Previous implementation in commit aead64def1fe58c95c086a0ca00cf0b13fa32ef1 is reverted.
The new method does not rely any more on the kernel headset driver to send a UEvent containing
current TTY mode.
2010-02-10 11:23:04 -08:00
Wink Saville
7188f94652 Cleanup comments, see bug 2401350.
Change-Id: Ieaeeba44b235038ad9b75a57b37658738532df3f
2010-02-01 16:26:00 -08:00
John Wang
6a31dfa905 am 1ef6fb3b: am 8deed914: Merge "Handle RIL_UNSOL_RESEND_INCALL_MUTE." into eclair
Merge commit '1ef6fb3bbe17870673195f28eec9d1e4e43b4785'

* commit '1ef6fb3bbe17870673195f28eec9d1e4e43b4785':
  Handle RIL_UNSOL_RESEND_INCALL_MUTE.
2010-02-01 14:34:50 -08:00
John Wang
1ccc41ed93 Handle RIL_UNSOL_RESEND_INCALL_MUTE.
For bug 2400052.

Notify registered handler whenever receiving RIL_UNSOL_RESEND_INCALL_MUTE.
2010-01-29 20:04:39 -08:00
Neal Nguyen
1a44d5dcab Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources.
Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code:
- database/DatabaseCursorTest.java
- database/DatabaseStatementTest.java
- net/UriTest.java
2010-01-29 13:35:51 -08:00
John Wang
5bb3371823 am 89fec7b1: am 098295a5: Merge "Updated emergency string when locale changes." into eclair
Merge commit '89fec7b155981d6e99eb1e05793f343a5d04aa59'

* commit '89fec7b155981d6e99eb1e05793f343a5d04aa59':
  Updated emergency string when locale changes.
2010-01-28 10:47:27 -08:00
John Wang
70aaacac82 am 64c92f75: am 08cb0024: Handle emergency calls only status in ServiceStateTracker.
Merge commit '64c92f75df7415084aa9f0b304f2a99089b6be9f'

* commit '64c92f75df7415084aa9f0b304f2a99089b6be9f':
  Handle emergency calls only status in ServiceStateTracker.
2010-01-28 10:08:55 -08:00
jsh
ec22b4c468 am 3c2d3667: am 036e2108: Fix NPE when importing from USIM.
Merge commit '3c2d3667aa7ae20c95950270ccfa8932d1d3d32d'

* commit '3c2d3667aa7ae20c95950270ccfa8932d1d3d32d':
  Fix NPE when importing from USIM.
2010-01-27 18:39:58 -08:00
Neal Nguyen
22e31e5b60 Moving framework core tests closer to their source files.
Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
2010-01-27 13:36:38 -08:00
Irfan Sheriff
c30ffda0d8 resolved conflicts for merge of d0514347 to master 2010-01-25 19:10:31 -08:00
John Wang
670db2c696 Updated emergency string when locale changes.
For bug 2352094.
2010-01-22 13:07:58 -08:00
John Wang
08cb002402 Handle emergency calls only status in ServiceStateTracker.
For bug 2352094, handle emergency calls only status and
pass the emergency calls only string via SPN_STRING_UPDATED intent.
2010-01-22 01:03:14 -08:00
jsh
036e21083d Fix NPE when importing from USIM.
Need to check if fileIds is empty.

b/2349232
2010-01-21 16:58:17 -08:00
Wink Saville
ac376f4854 Fix build, GsmServiceStateTracker was using old EventLog API.
Change-Id: Ib202d0ebbbb11c0ccad40445426c0c3704eb30b5
2010-01-21 14:15:05 -08:00
John Wang
88a195b58a am 7319d94f: am 99f2a4bb: Merge "Add Event log for RAT switch." into eclair
Merge commit '7319d94ff1ca898c36d2da8dd0cd8469d91bc5af'

* commit '7319d94ff1ca898c36d2da8dd0cd8469d91bc5af':
  Add Event log for RAT switch.
2010-01-21 12:47:13 -08:00
Irfan Sheriff
dcc14d6a26 Merge "Use MCC value to always override channel count setting" into eclair 2010-01-21 07:46:49 -08:00
Irfan Sheriff
51e2f71f4a Use MCC value to always override channel count setting
FCC raised the issue of not allowing users to configure
channel counts beyond 11. This change enforces the channel
count based on MCC values.

Bug: 2378844
2010-01-20 17:44:07 -08:00
Robert Greenwalt
15abc90147 Cleanup of process-specific DNS.
Backport of MR2 change 421c72b6.

Removes entries sooner.  A bug.
Doesn't add one for phone process at all.  This was intended to be removed long ago.

bug: 2329900
bug: 2377507
2010-01-19 18:01:36 -08:00
John Wang
b61c1a0f8b Add Event log for RAT switch.
Write event log while the 2G/3G radio access technology switched.
2010-01-13 17:55:57 -08:00
John Wang
f6f56c051c Merge "Hangup calls before powering off radio." 2010-01-13 12:12:49 -08:00
Nicolas Catania
c72509b4d8 Fix the CallerInfo lookup when a phone URL is used.
Typically the CallerInfo is looked up based on a phone number, in which case the '_id' column
contains the contact id.

However when the lookup is based on a phone row, the '_id' column is the row number we queried.
The contact id is stored somewhere else in a 'contact_id' column.

The current fix, checks the mime type of the contactRef URL to find out which column contains
the contact id.
I think the contact DB should be more consistent and always return the contact id AS contact_id even
in the phone number scenario.

Bug:2269240
2010-01-11 15:58:10 -08:00
John Wang
3805c7ca32 Hangup calls before powering off radio.
Bug 2339655. Should hangup the existing voice call (including onhold ones) before powering off radio to ensure the proper sequence at radio protocol level. Otherwise the carrier will treat it as drop calls.
2010-01-11 15:48:47 -08:00
Doug Zongker
edc5189c33 change remaining frameworks/base Gservices to Secure settings
Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
2010-01-07 15:00:37 -08:00
Dan Egnor
62136d3e1c Simplify EventLog interface -- remove supported for nested
sequences (which nobody used) and streamline the API, adding
documentation in preparation for inclusion in the SDK.

Gut and deprecate EventLogTags, which unfortunately was put
into the public SDK (an oversight).  Include the functionality
in EventLog proper, in a simpler and easier to use manner.

This change doesn't actually un-@hide anything, but it does
change it to @pending.
2010-01-06 12:30:12 -08:00