143 Commits

Author SHA1 Message Date
Android (Google) Code Review
fbca18574c am cb9534f9: Merge change 3907 into donut
Merge commit 'cb9534f92007b47d86cccc306dc75ca2d64bd197'

* commit 'cb9534f92007b47d86cccc306dc75ca2d64bd197':
  Support SMS cell broadcasting for GSM in RIL.java
2009-06-12 08:25:29 -07:00
Android (Google) Code Review
cb9534f920 Merge change 3907 into donut
* changes:
  Support SMS cell broadcasting for GSM in RIL.java
2009-06-11 15:54:51 -07:00
johnwang
e337d651a5 Support SMS cell broadcasting for GSM in RIL.java
enable gsm related cell broadcast requests in RIL.java and add SmsBraodcastConfigInfo class.

The gsm related cell broadcast requests include

RIL_REQUEST_GET_BROADCAST_CONFIG
RIL_REQUEST_GET_BROADCAST_CONFIG
RIL_REQUEST_BROADCAST_ACTIVATION
RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS

	modified:   BaseCommands.java
	modified:   CommandsInterface.java
	modified:   RIL.java
	modified:   RILConstants.java
	modified:   cdma/CdmaSMSDispatcher.java
	new file:   gsm/SmsBroadcastConfigInfo.java
	modified:   test/SimulatedCommands.java
2009-06-11 15:43:29 -07:00
Android (Google) Code Review
97857f8618 am 0b774530: Merge change 3015 into donut
Merge commit '0b77453076a22569f24318d194b378b68f11a63e'

* commit '0b77453076a22569f24318d194b378b68f11a63e':
  make sms calculateLength radio-independent
2009-06-11 11:42:06 -07:00
Tammo Spalink
a94945d3a1 make sms calculateLength radio-independent 2009-06-11 15:24:43 +08:00
Android (Google) Code Review
4f84953a4f am 2795c2d6: Merge change 3806 into donut
Merge commit '2795c2d6b73f6e72565569f7d4f2f4b34e526bba'

* commit '2795c2d6b73f6e72565569f7d4f2f4b34e526bba':
  Fix a couple null pointer exceptions in CDMA voice call handling.
2009-06-10 17:19:54 -07:00
Android (Google) Code Review
2795c2d6b7 Merge change 3806 into donut
* changes:
  Fix a couple null pointer exceptions in CDMA voice call handling.
2009-06-10 16:38:12 -07:00
Android (Google) Code Review
041b75bbde am f50ab7f4: Merge change 3777 into donut
Merge commit 'f50ab7f46296786f575b2d171ec05a661d129015'

* commit 'f50ab7f46296786f575b2d171ec05a661d129015':
  Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.
2009-06-10 16:31:29 -07:00
Wink Saville
4be0d4378c Fix a couple null pointer exceptions in CDMA voice call handling. 2009-06-10 14:35:28 -07:00
Jaikumar Ganesh
e51d57f4ab Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS. 2009-06-10 12:26:07 -07:00
Android (Google) Code Review
d713887dcc am 218ebf12: Merge change 3178 into donut
Merge commit '218ebf1274d5eefc59c55cdc60d83d61faeb5c1b'

* commit '218ebf1274d5eefc59c55cdc60d83d61faeb5c1b':
  Add additional parameters to SETUP_DATA_CALL and SMS response.
2009-06-10 11:37:24 -07:00
Jaikumar Ganesh
7b3f5520d3 Add additional parameters to SETUP_DATA_CALL and SMS response.
1. The authType should be specified in the APN database.
This was hardcoded to 3 in the qmi driver. We currently set it to
3 in the RIL till the apn database side changes are done.
2. RIL_SEND_SMS response has errorCode as a new field,
2009-06-10 11:02:57 -07:00
Android (Google) Code Review
164ab6572d am 8f094ca7: Merge change 3686 into donut
Merge commit '8f094ca7d045132ec93d4e903e784a3c077708c3'

* commit '8f094ca7d045132ec93d4e903e784a3c077708c3':
  Fix cleanupConnection when switching from wifi.
2009-06-10 10:54:02 -07:00
Android (Google) Code Review
8f094ca7d0 Merge change 3686 into donut
* changes:
  Fix cleanupConnection when switching from wifi.
2009-06-10 10:50:28 -07:00
Jaikumar Ganesh
9ac95783fc Fix cleanupConnection when switching from wifi.
Post a message for tearDown data connection when switching from wifi.
2009-06-09 21:11:41 -07:00
Android (Google) Code Review
dfe482c9b5 am ce8436f5: Merge change 3593 into donut
Merge commit 'ce8436f52e7f2c80f94e43d80d28cc962b7ff83b'

* commit 'ce8436f52e7f2c80f94e43d80d28cc962b7ff83b':
  Cleanup whitespace.
2009-06-09 17:57:18 -07:00
Wink Saville
2563a3ac05 Cleanup whitespace. 2009-06-09 10:30:03 -07:00
Android (Google) Code Review
889d679b2d am c11a3fab: Merge change 3530 into donut
Merge commit 'c11a3fab1a7c51bd3ec8ce63c68125fc8c6b3364'

* commit 'c11a3fab1a7c51bd3ec8ce63c68125fc8c6b3364':
  Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.
2009-06-08 23:06:39 -07:00
Android (Google) Code Review
c11a3fab1a Merge change 3530 into donut
* changes:
  Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.
2009-06-08 23:04:21 -07:00
Wink Saville
e14af0e26e Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.
These are used to notify the vendor ril that the StkService is
running and ready to receive RIL_UNSOL_STK_XXX commands.
2009-06-08 22:59:41 -07:00
Android (Google) Code Review
5f1336d0b5 am a08ffc91: Merge change 3479 into donut
Merge commit 'a08ffc9189be105d882bfa4a30a58072025b9cc5'

* commit 'a08ffc9189be105d882bfa4a30a58072025b9cc5':
  Report device storage status (for SMS) to RIL.
2009-06-08 16:22:52 -07:00
jsh
52f2825c29 Report device storage status (for SMS) to RIL.
Indicate SMS memory available/not available based on DEVICE_STORAGE_OK/FULL
intents, and immediately NAK with MEMORY_FULL if we've received a
DEVICE_STORAGE_FULL notification.

This may end up being a short term solution, as the messaging app is
getting re-worked in Eclair, which may change the way we want to handle
memory full reporting (ie, more app involvement).
2009-06-08 16:05:00 -07:00
Android (Google) Code Review
7699318ecd am 1e3d1b4b: Merge change 3107 into donut
Merge commit '1e3d1b4b83452286b000b8cd1997e5aef97fe2a7'

* commit '1e3d1b4b83452286b000b8cd1997e5aef97fe2a7':
  Motorola changes from 090602 through 090605
2009-06-07 22:49:49 -07:00
Wink Saville
22ccaf5321 Motorola changes from 090602 through 090605
The changes from 090602 update frameworks/base to support 3way calling
and call waiting.

The changes from 090603 completed the CdmaInformationRecords class
but the original changes submitted has been simplified, toString added
and a bug fixed where the notifications where not being handled properly.

The changes from 090605 added Prl Version, apn fixes.
2009-06-07 12:09:18 -07:00
Android (Google) Code Review
5a7f38922e am b1c28747: Merge change 3305 into donut
Merge commit 'b1c2874790908d1bbb9b99242fc7cc96c7b45a8a'

* commit 'b1c2874790908d1bbb9b99242fc7cc96c7b45a8a':
  Fix parameter mismatch for a couple of RIL commands.
2009-06-05 21:17:09 -07:00
Android (Google) Code Review
b1c2874790 Merge change 3305 into donut
* changes:
  Fix parameter mismatch for a couple of RIL commands.
2009-06-05 13:34:25 -07:00
jsh
9c9151eccd Fix parameter mismatch for a couple of RIL commands.
Both RIL_REQUEST_SET_SMSC_ADDRESS and RIL_REQUEST_CDMA_FLASH take a string
as a parameter.  But RIL.java was sending down an array of strings with a
single element instead.
2009-06-05 10:03:17 -07:00
Android (Google) Code Review
c54f78b833 am 35c46680: Merge change 3226 into donut
Merge commit '35c46680852268d6b7b51dadf3d5349d146ccdcd'

* commit '35c46680852268d6b7b51dadf3d5349d146ccdcd':
  Update a javadoc comment suggesting the use of a deprecated class.
2009-06-04 23:48:35 -07:00
Android (Google) Code Review
7642e3418e am 3d3e307a: Merge change 3126 into donut
Merge commit '3d3e307a63144b1bddd534fefd35a557223d52bf'

* commit '3d3e307a63144b1bddd534fefd35a557223d52bf':
  Fix thread safety in DataConnectionTracker.
2009-06-04 22:41:38 -07:00
Marco Nelissen
b111554883 Update a javadoc comment suggesting the use of a deprecated class. 2009-06-04 15:02:49 -07:00
Android (Google) Code Review
3d3e307a63 Merge change 3126 into donut
* changes:
  Fix thread safety in DataConnectionTracker.
2009-06-04 10:09:59 -07:00
Tammo Spalink
5c6164b3ee cdma getNeighboringCids to fail with an exception 2009-06-04 09:57:18 -07:00
Tammo Spalink
90cb947c22 cdma getNeighboringCids to fail with an exception 2009-06-04 14:07:13 +08:00
Jaikumar Ganesh
9c2a3be8ba Fix thread safety in DataConnectionTracker.
All the methods in DataConnectionTracker should be called only through
the handler. Fix this as trySetupData was being called in the broadcast receiver.

Tested: Airplane mode and GPRS retry.
2009-06-03 19:09:48 -07:00
Android (Google) Code Review
ab304022af am 97c2fdfc: Merge change 2957 into donut
Merge commit '97c2fdfc2e1cb4f51c624dd8e30e6bdb63ea21be'

* commit '97c2fdfc2e1cb4f51c624dd8e30e6bdb63ea21be':
  Allow response payload on RIL_REQUEST error
2009-06-02 18:21:53 -07:00
johnwang
03228fa8f9 Allow response payload on RIL_REQUEST error
Handle response payload while RIL_REQUEST returns error.

	modified:   gsm/GsmServiceStateTracker.java
2009-06-02 17:23:08 -07:00
Android (Google) Code Review
cf2924efa0 am c6653495: Merge change 1522 into donut
Merge commit 'c665349543b481b14e423ea9e7e2b368569ae311'

* commit 'c665349543b481b14e423ea9e7e2b368569ae311':
  support more minor cdms sms bearer data subparameters
2009-06-02 00:59:50 -07:00
Android (Google) Code Review
c665349543 Merge change 1522 into donut
* changes:
  support more minor cdms sms bearer data subparameters
2009-06-02 00:58:47 -07:00
Android (Google) Code Review
8d3002e047 am 35feec46: Merge change 2761 into donut
Merge commit '35feec46d90d434a2439765d127a9e8f68a52340'

* commit '35feec46d90d434a2439765d127a9e8f68a52340':
  TODO's from Teleca with modifications from wink.
2009-06-02 00:51:32 -07:00
Android (Google) Code Review
35feec46d9 Merge change 2761 into donut
* changes:
  TODO's from Teleca with modifications from wink.
2009-06-02 00:49:46 -07:00
Tammo Spalink
19db02b945 am 641bb3d8: expose (but still hide) sms user data headers
Merge commit '641bb3d8dfd72f57356d39ef00256d6077c9e235'

* commit '641bb3d8dfd72f57356d39ef00256d6077c9e235':
  expose (but still hide) sms user data headers
2009-06-02 00:36:46 -07:00
Tammo Spalink
baae313f89 support more minor cdms sms bearer data subparameters
- also clean up CdmaSmsAddress
2009-06-02 11:10:53 +08:00
Tammo Spalink
641bb3d8df expose (but still hide) sms user data headers
addresses bug http://b/issue?id=1751571
2009-06-02 10:43:59 +08:00
Wink Saville
f315238a2b TODO's from Teleca with modifications from wink. 2009-06-01 14:39:20 -07:00
Android (Google) Code Review
18ebf6d425 am ff0d9147: Merge change 2766 into donut
Merge commit 'ff0d91479d3c8523bc290bd1b65fcd2546be1d40'

* commit 'ff0d91479d3c8523bc290bd1b65fcd2546be1d40':
  Manually merge a few fixes from cupcake and cupcake_dcm.
2009-06-01 12:42:57 -07:00
jsh
faf4413dff Manually merge a few fixes from cupcake and cupcake_dcm.
CL 144717: Correctly set user data payload length for non-7-bit encoded payload.
CL 149058: Check for null TP-OA in SmsMessage.parseMessageBody().
CL 138094: Make sure call state (and other updates) have a chance to get processed between data setup attempts.
CL 132624: Added a comment for a way to save a message to the SIM.
2009-06-01 12:39:27 -07:00
Android (Google) Code Review
969a74ae5e am 6190fe6e: Merge change 2758 into donut
Merge commit '6190fe6e7d7c8a917472637f5ab2fb21fc8a6eea'

* commit '6190fe6e7d7c8a917472637f5ab2fb21fc8a6eea':
  Fix concat SMS for GSM.
2009-05-29 17:15:10 -07:00
jsh
ef354fdd63 Fix concat SMS for GSM.
Bug 1883998: We only support sending 8-bit references for now.
Bug 1885080: Also fix the GsmAlphabetTest, which started failing when SmsHeader
was re-worked.
2009-05-29 17:11:28 -07:00
Android (Google) Code Review
733f840aaa am c3b7e4e7: Merge change 2736 into donut
Merge commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2'

* commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2':
  Telephony support for SMS memory reporting to the network.
2009-05-29 15:17:27 -07:00
jsh
867641ece3 Telephony support for SMS memory reporting to the network.
- Use ordered broadcast to allow receivers to set a result code.
- Ack SMS with result code.
- New RIL command to report memory status.
- Fixed a typo in a Gservices setting.
- Merge in CL 137895 (hold a wake lock while broadcasting SMS_RECEIVED).
2009-05-29 14:22:36 -07:00