Commit Graph

503 Commits

Author SHA1 Message Date
New Author Steven Liu
485f2095f8 redirect RIL_UNSOL_OEM_HOOK_RAW to system app
Add LISTEN_OEM_HOOK_RAW_EVENT and onOemHookRawEvent to PhoneStateListener.

Bug: 17298769
Change-Id: Iaea054d3cc2925eea1e11f8871faabc7bc9dfb2d
2014-09-27 07:16:38 +00:00
Junda Liu
bac6d61ab6 Hide CarrierPrivilege APIs in TelMgr.
Per API council decision, we will polish and public in MR1.

Bug: b/17639966
Change-Id: Id009cd62b4d44dd17fe7a30e0f8037c6fb373c32
2014-09-25 10:25:10 -07:00
Sailesh Nepal
7f46657454 Include code when converting unknown causes to string
Bug: 17535687
Bug: 17241433
Change-Id: I12f0c3b4334dfcb5ac0cd2439ecab9dc77546680
2014-09-17 04:27:36 +00:00
Andrew Lee
7f3d41fd12 Add new DisconnectCause class to telecomm.
+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
2014-09-16 12:07:41 -07:00
Yorke Lee
2ae312e306 Pipe TelephonyManager.getCallState through TelecommManager
* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
2014-09-14 09:54:23 -07:00
Tyler Gunn
ef9f6f957d Renaming Telecomm to Telecom.
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
2014-09-12 22:16:17 -07:00
Anthony Lee
b78890c159 isValidSlotId() and isValidPhoneId() updated to handle negatives.
The old version of the code wanted to just check to make sure
that the slot/phone id is greater than INVALID_SLOT_ID or
INVALID_PHONE_ID that are both currently defined to be -1000. The
changes are made for 2 reasons.  First, INVALID_SLOT_ID and/or
INVALID_PHONE_ID might not always be defined to be a negative value
so there is a big assumption.  Secondly, anything greater than
-1000 allows other negative values to be considered valid ids.

Bug: 17243556
Change-Id: I2bbfcc2cfd2d7c4772dfb9c50af2dc88c0f315e2
2014-09-11 12:37:29 -07:00
Derek Tan
6d955b88c3 Merge "Update the comment in two APIs since we will persist the settings." into lmp-dev 2014-09-11 05:16:35 +00:00
Junda Liu
13e28bb938 Add ForSubscriber suffix to APIs w/ subId argument.
Bug: b/17255752
Change-Id: I142d8961aa4c1fa074833f70c404c955caea0870
2014-09-09 17:50:09 -07:00
Wink Saville
bc0272754d Change suffix UsingSubId to ForSubscriber.
Bug: 17255752
Change-Id: Ifd522888b5aaae111f642d1e35bd1bb939e539d4
2014-09-09 17:38:19 +00:00
Wink Saville
40e9f393df Merge "Change getCurrentPhoneType to SystemApi" into lmp-dev 2014-09-09 00:00:49 +00:00
Amit Mahajan
4009b98f73 Merge "Assisted dialing support of MO SMS" into lmp-dev 2014-09-08 23:56:31 +00:00
Wink Saville
96b3e61ff6 Change getCurrentPhoneType to SystemApi
Bug: 17394367
Change-Id: I293faa26884e8d63a833e624e6c9a201c7652683
2014-09-08 16:52:03 -07:00
Derek Tan
2bae510cce Update the comment in two APIs since we will persist the settings.
Bug: 17255752
Change-Id: I28926381e8e982579b38c19799078f7a3151aefe
2014-09-08 10:55:29 -07:00
Junda Liu
c6bd32e94f Merge "Hide APIs for simplified network settings." into lmp-dev 2014-09-06 00:55:30 +00:00
Derek Tan
54e883bedc Update the preferred network type APIs.
Bug: 17255752
Change-Id: I8f74749752f8d8c6cd5b28dd5fe4ed89a33481ed
2014-09-05 17:06:46 -07:00
Derek Tan
b5928445d1 Merge "Remove setCdmaSubscription API." into lmp-dev 2014-09-05 23:53:55 +00:00
Derek Tan
a0729d3487 Merge "Update the comment in sendEnvelope." into lmp-dev 2014-09-05 23:53:10 +00:00
Xia Ying
77ea3ee5ec Assisted dialing support of MO SMS
This is special for VZW requirement. Follow the specificaitons
of assisted dialing of MO SMS while traveling on VZW CDMA,
international CDMA or GSM markets.

Change-Id: I34a531b817095f4ce035f3f49a3bf7d6e2e8bc13
2014-09-05 16:52:56 -07:00
Shishir Agrawal
1244333998 Merge "API change: SetOperatorBrandOverride should not take iccId as a param." into lmp-dev 2014-09-05 23:51:40 +00:00
Junda Liu
b8025f3260 Hide APIs for simplified network settings.
Bug: b/17255752
Change-Id: Ibbe5d5cdbc2398ba0df2103bd7a33b98dc977734
2014-09-05 16:46:38 -07:00
Shishir Agrawal
d2cfa92146 API change: SetOperatorBrandOverride should not take iccId as a param.
Taking ICCID as a parameter is not scure since a carrier can override the
brand for other carriers. We should override only the current ICCID.

Bug: 17390144

Change-Id: I9be2cb5c5fa15367fcb3b548b6e601a294e84dbc
2014-09-05 15:37:44 -07:00
Steven Liu
9b656ee320 Plus code handling for non-NANP CDMA carrier
Since most of CDMA network do not support phone number with "+" for
international dialing, current AOSP support the "+" handling for
NANP CDMA network, this part add the support for non-NANP CDMA Network,
convert "+" to right IDD(International Direct Dialing) code. And adding
a new property for current IDD.

Bug: 17210134

Change-Id: I369083169bb3504f8de9774b65f3993dd561c525
2014-09-05 22:13:11 +00:00
Derek Tan
1eda68766b Update the comment in sendEnvelope.
Bug: 17255752
Change-Id: I4b56447e28bc9838b9ae0425a3673891647116d1
2014-09-05 14:56:32 -07:00
Derek Tan
274baa73c5 Remove setCdmaSubscription API.
Bug: 17255752
Change-Id: I0adc5c3d1b690d86f538c084d17d239f7ffccfca
2014-09-05 14:48:11 -07:00
Shishir Agrawal
949bb79f70 Merge "IccOpenLogicalChannelResponse: Adding final to fa few constants." into lmp-dev 2014-09-05 14:48:20 +00:00
Wink Saville
905bb54108 More cleanup prior to unhiding
Adding comments and rename publci SubInfoRecord instance variables

Change-Id: I25a56d779c63a3f483d7a43c5c123404bf489fa3
2014-09-04 17:10:23 -07:00
Shishir Agrawal
ed62dd4e7f IccOpenLogicalChannelResponse: Adding final to fa few constants.
Bug: 17390620 
Change-Id: I81d02b5b0d6e353a04d46663baad1b90398f5b36
2014-09-04 23:15:27 +00:00
Tom Taylor
7a96207e2b Add mcc/mnc to SubInfoRecord
Bug 17157686

Change-Id: I47d19dea73f038a8d748f95dd33452da62ebf26b
2014-09-04 14:05:20 -07:00
Nancy Chen
81a0cbcda3 Merge "Remove check for voicemail number when parsing URI phone number." into lmp-dev 2014-09-04 19:21:30 +00:00
Wink Saville
cf39f86b50 Merge "Add PhoneStateListener(Looper looper) and some documentation." into lmp-dev 2014-09-03 23:37:17 +00:00
Wink Saville
2e40ba9dca Add PhoneStateListener(Looper looper) and some documentation.
Bug: 17374935
Change-Id: I1eeb77fd7478cb81cde92f43a26ed19697323e6a
2014-09-03 15:44:02 -07:00
Wink Saville
f5bca080a2 Hide SubscriptionManager using individual @hide on fields and methods.
Doing this so the unhide for API Council will just be unhiding a few
fields/methods.

Change-Id: Iebc995c1aebe1f17a6552c28f771be7584bf0acb
2014-09-03 15:41:36 -07:00
Wink Saville
8a38a203a9 Rename getActivatedXxx to getActiveXxx
Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28
2014-09-03 12:22:54 -07:00
Nancy Chen
fe99099ea7 Remove check for voicemail number when parsing URI phone number.
Getting the voicemail number will be done in Telephony instead of in
PhoneNumberUtils which is called by Telecomm.

Bug: 17317190
Change-Id: Ia88a56516b4f57ac62dc5696ae359fd042fec040
2014-09-03 11:05:31 -07:00
Wink Saville
c650e0b12a Prepare to make SubscriptionManager public.
Sync SubscriptionManager and its dependentes between lmp-dev
and lmp-sprout-dev.

In SubscriptionManager and SubscriptionController:
-Rename getActivatedSubInfoList to getActiveSubInfoList.
-Remove context as a parameter
-Cleanup

Change-Id: Ie06ced3e7ff5a3d06b3b47892fed22b4bb8972c7
2014-09-02 22:46:42 -07:00
Diego Pontoriero
3892fc0349 Change TelephonyManager method name to accurately reflect functionality.
Bug: 17163860
Change-Id: I4390d79c49831454146a42b89520a16984c5f260
2014-08-28 13:50:36 -07:00
Shishir Agrawal
ef489ef8ef Modify IccOpenLogicalChannelResponse: Document and rename constants.
Bug: 17189780

Change-Id: Iac96e3bc7265d20f21b29d4a05b615c5ff3cdd6e
2014-08-25 09:09:41 -07:00
giseok.seo
83749f3479 Use proper ril.ecclist when no sim state
Bug: 17139446
Signed-off-by: giseok.seo <giseok.seo@lge.com>
Change-Id: I2f420973b29092b8a6cceb8cf4bd77d0ee8372bd
2014-08-22 20:27:20 +00:00
Junda Liu
cad78a801d Merge "Add getCdmaMdn and getCdmaMin as system api to telmgr." into lmp-dev 2014-08-21 04:43:39 +00:00
Amit Mahajan
dbc6689664 Merge "Adding APIs to get IMEI/MEID" into lmp-dev 2014-08-21 00:16:54 +00:00
Amit Mahajan
284f1ec16e Adding APIs to get IMEI/MEID
Change-Id: I553b7c019b20a64ff1049f35b0e3999ab82b7cce
2014-08-20 17:02:17 -07:00
Junda Liu
2b2469b07d Add getCdmaMdn and getCdmaMin as system api to telmgr.
Bug: b/16966140
Change-Id: I36d8f850eca7c392f7ed5186254ef9862d4177f7
2014-08-14 22:21:12 -07:00
Shishir Agrawal
64820af4e5 Add public qualifier to TelephonyManager.TeleiccExchangeSimIO.
Seems to have gotten overlooked in the last change.

Bug: 17031384
Change-Id: If7f92c128ddddd606510d7acf88168aebc061e80
2014-08-14 12:24:48 -07:00
Wink Saville
125cf62d59 Fix CellIdentityLte.equals
Bug: 16902094
Change-Id: I92786dc792bf318d2236212eb2acf955ec41e066
2014-08-12 22:39:35 +00:00
Shishir Agrawal
43d94347a6 Return APDU status code on tramsit channel command failure.
Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
2014-08-05 17:06:51 -07:00
Wink Saville
063b8d665e Fix double DBG check.
Change-Id: I45e175df698240b80374f98043b50a014fd9779a
2014-08-01 13:14:50 -07:00
Wink Saville
6d13bc8e3b Turn off extra debugging
Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
2014-08-01 12:36:54 -07:00
Shishir Agrawal
1521e5ad31 IccOpenLogicalChannelResponse: Single character fix.
Change-Id: I345e9a6b4cefc1d96111a7cf62dc402fd48b35c0
2014-07-31 19:08:15 -07:00
Shishir Agrawal
a122e8df74 Add new APIs iccExchangeSimIO and iccTransmitApduBasicChannel to TelephonyManager.
The new APIs are needed to support SEEK.

Also modifies TelephonyManager.iccOpenLogicalChannel to return the status of
the command.

Change-Id: Iff2674fb0e23210f2579cb883e64571347ade5e6
2014-07-30 18:09:53 -07:00