172 Commits

Author SHA1 Message Date
Android (Google) Code Review
1f9508ce4d am ae352273: Merge change 5192 into donut
Merge commit 'ae3522734ef83254626cacee18a9490f6af62415'

* commit 'ae3522734ef83254626cacee18a9490f6af62415':
  make BitwiseInputStream.read return int
2009-06-29 16:37:46 -07:00
Android (Google) Code Review
ae3522734e Merge change 5192 into donut
* changes:
  make BitwiseInputStream.read return int
2009-06-26 14:41:51 -07:00
Mike Lockwood
a84b6faffb ConnectivityManager: Add support for bringing up the default APN.
The default APN can now be requested by calling
ConnectivityManager.startUsingNetworkFeature(Phone.FEATURE_ENABLE_DEFAULT).

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-26 10:26:34 -04:00
David Krause
aec9632db0 am 5c7d9e81: CDMA incoming MMS fixes
Merge commit '5c7d9e8194900a2b1699cd57f95b22ca5f7b9be2'

* commit '5c7d9e8194900a2b1699cd57f95b22ca5f7b9be2':
  CDMA incoming MMS fixes
2009-06-25 22:01:20 -07:00
David Krause
5c7d9e8194 CDMA incoming MMS fixes
Need to correctly interpret WAP Datagram data. Specifically the
source and destination ports are only included in the 1st segment,
not subsequent segments but the original implementation was looking
for the ports for all segments.
2009-06-25 21:56:24 -07:00
Android (Google) Code Review
80e90c5fac am 24a4f20c: Merge change 5239 into donut
Merge commit '24a4f20c0b907babb11dd824550018cbab09b7b2'

* commit '24a4f20c0b907babb11dd824550018cbab09b7b2':
  Fix SMS Ack.
2009-06-25 13:13:47 -07:00
jsh
3960ced463 Fix SMS Ack.
There were a few places where we were not sending SMS ack.  This change fixes that, and helps ensure that we don't miss any others.

Also fix a bug I introduced in RIL.java for CDMA SMS ACK (it uses RIL_CDMA_SMS_Ack and not int[]).
2009-06-25 13:08:08 -07:00
Android (Google) Code Review
e92b1e7633 am d48388ab: Merge change 5344 into donut
Merge commit 'd48388ab8239d2b0f4b8a9a4189fe9eeddddedca'

* commit 'd48388ab8239d2b0f4b8a9a4189fe9eeddddedca':
  frameworks/base: CDMA voicemail support
2009-06-25 00:10:18 -07:00
Android (Google) Code Review
d48388ab82 Merge change 5344 into donut
* changes:
  frameworks/base: CDMA voicemail support
2009-06-25 00:09:18 -07:00
Android (Google) Code Review
2377dc999e am 6184a2ad: Merge change 5339 into donut
Merge commit '6184a2ad42ee7b83f9db5a6fd9c99013a914c49e'

* commit '6184a2ad42ee7b83f9db5a6fd9c99013a914c49e':
  Fix intermittent crash related to call waiting
2009-06-25 00:00:31 -07:00
David Krause
ce099c3226 frameworks/base: CDMA voicemail support 2009-06-24 21:29:52 -07:00
David Krause
8a9ae45015 Fix intermittent crash related to call waiting
Previously, when call waiting is ignored by user or timed out
by PhoneApp, the connection object for call waiting does not
release the wake lock. It causes the phone process to crash
randomly.

The fix is to release the wake lock when call waiting is
ignored by user or timed out by PhoneApp.
2009-06-24 20:53:15 -07:00
Tammo Spalink
326c66d888 make BitwiseInputStream.read return int
Keep the maximum access 8 bits to avoid dealing with
endianness issues.
2009-06-24 14:42:33 +08:00
Android (Google) Code Review
cf01aa3cff am 1bee98af: Merge change 5100 into donut
Merge commit '1bee98af6532eba3c6cda636eee890530c95a2a7'

* commit '1bee98af6532eba3c6cda636eee890530c95a2a7':
  Fill in CDMA gaps and clean up ToneGenerator code
2009-06-23 13:42:41 -07:00
David Krause
b6d90ca129 Fill in CDMA gaps and clean up ToneGenerator code 2009-06-23 12:32:12 -07:00
jsh
82bc988eb3 am be7f0f78: Add remaining retry count to response for PIN/PUK commands.
Merge commit 'be7f0f78afde931ce6ea2d4ba61c340fac5722f6'

* commit 'be7f0f78afde931ce6ea2d4ba61c340fac5722f6':
  Add remaining retry count to response for PIN/PUK commands.
2009-06-22 10:05:31 -07:00
jsh
be7f0f78af Add remaining retry count to response for PIN/PUK commands.
RIL_REQUEST_ENTER_SIM_PIN
RIL_REQUEST_ENTER_SIM_PUK
RIL_REQUEST_ENTER_SIM_PIN2
RIL_REQUEST_ENTER_SIM_PUK2
RIL_REQUEST_CHANGE_SIM_PIN
RIL_REQUEST_CHANGE_SIM_PIN2
RIL_REQUEST_SET_FACILITY_LOCK
RIL_ENTER_NETWORK_DEPERSONALIZATION
2009-06-22 09:17:08 -07:00
Android (Google) Code Review
84baa07346 am 4da7dff5: Merge change 4731 into donut
Merge commit '4da7dff5e79e57494b58a97b285c53c111b18c82'

* commit '4da7dff5e79e57494b58a97b285c53c111b18c82':
  gsm: Remove PppLink since pppd_gprs service does not exist.
2009-06-20 14:51:26 -07:00
Android (Google) Code Review
4da7dff5e7 Merge change 4731 into donut
* changes:
  gsm: Remove PppLink since pppd_gprs service does not exist.
2009-06-20 14:48:33 -07:00
Android (Google) Code Review
c4c819e48d am ab48bb9c: Merge change 4686 into donut
Merge commit 'ab48bb9c008ade65e0f1313088a3089f5b65e8de'

* commit 'ab48bb9c008ade65e0f1313088a3089f5b65e8de':
  Set AuthType to 0 if username is not specified.
2009-06-19 12:15:39 -07:00
Android (Google) Code Review
ab48bb9c00 Merge change 4686 into donut
* changes:
  Set AuthType to 0 if username is not specified.
2009-06-19 12:13:50 -07:00
Jaikumar Ganesh
238bfa9efd Set AuthType to 0 if username is not specified.
If username is not specified, set authType to No PAP / No CHAP
so that the code is backward compatible.
2009-06-19 12:06:48 -07:00
Chia-chi Yeh
4df90a869c gsm: Remove PppLink since pppd_gprs service does not exist. 2009-06-19 16:02:30 +08:00
Android (Google) Code Review
6ff97edef7 am 8696d703: Merge change 3874 into donut
Merge commit '8696d7030af6f0d58859f1027c423143b67f9fb4'

* commit '8696d7030af6f0d58859f1027c423143b67f9fb4':
  for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding
2009-06-18 13:56:41 -07:00
Tammo Spalink
fc78f358cb for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding 2009-06-18 14:57:06 +08:00
Android (Google) Code Review
b0b160ae50 am a6061e04: Merge change 2563 into donut
Merge commit 'a6061e043cb6056c303206c2c9870ae3758861f1'

* commit 'a6061e043cb6056c303206c2c9870ae3758861f1':
  Add PDP Reject causes.
2009-06-16 10:30:13 -07:00
Jaikumar Ganesh
59cbd7c86f Add PDP Reject causes.
The RIL call LAST_PDP_FAIL_CAUSE, gives us the
PDP setup failure cause. Add support for retry based
on these causes.
2009-06-15 21:34:31 -07:00
Christopher Tate
daf701fa62 am 2fdd428e: Fix some backup reader/writer issues; make local transport do backup
Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2'

* commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2':
  Fix some backup reader/writer issues; make local transport do backup
  Fix the jni initializer.
  Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
  Fix bug #1812041: activity manager crash with bad args.
  Journal backup requests so that they won't be lost in a crash
  Fix data connection issues.
2009-06-14 21:13:03 -07:00
Jaikumar Ganesh
bbf7c00e06 Fix data connection issues.
a)Fix cleanup connection being called twice when switching to wifi.
b) Reset the reconnect timer when voice call ends and APN is changed.
2009-06-12 12:14:08 -07:00
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