2609 Commits

Author SHA1 Message Date
Jack Yu
6714030083 merge from master
Change-Id: Ic03669db3f4595336a7dbc13ffc77d055d11acf9
2015-12-10 12:27:58 -08:00
Tyler Gunn
fbdb8fb3d0 Merge commit '9aadad47a0085c4298307781a423064207933f0b' into tgunn-mncvtdev-to-master-2015-12-04 2015-12-04 21:04:50 -08:00
Robert Greenwalt
afa16001a8 Check permissions on getDeviceId.
This needs the package name passed in, so the aidl changes.

bug:25778215
Change-Id: I9e5ff24c630e11a047f884e52b0b39f870c18e1d
2015-12-04 11:51:49 -08:00
Amit Mahajan
d13fb587b9 Merge "Make some static functions public so telephony tests can access them" 2015-11-24 23:34:11 +00:00
Amit Mahajan
44297f3eef Added PHONE_TYPE_CDMA_LTE
Bug: 25793157
Change-Id: I06b1033fc6775edb679ac6f5de4556a3b1fea977
2015-11-19 11:38:56 -08:00
Jack Yu
39daf8d6f1 Added getServiceState API to TelephonyManager.
Added the new API getServiceState to TelephonyManager so
the client can directly retrieve the service state without
being a phone state listener or broadcast receiver.

bug: 21207640
Change-Id: Icef46877bbc844d382cd910b15abd8f6b1d57b23
2015-11-09 14:09:54 -08:00
Tyler Gunn
9370f14af9 Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev am: 8b86c76296 am: 48a0c3ae8d am: e0eaa03307
am: 6ebf6a27a7

* commit '6ebf6a27a772f3a21b575aaa88df46f773934214':
  Improve comment on EXTRA_CALL_RAT_TYPE.
2015-11-03 05:04:36 +00:00
Tyler Gunn
3ffb08aa5c Improve comment on EXTRA_CALL_RAT_TYPE.
Adding comments to EXTRA_CALL_RAT_TYPE to make it clear what it is used
for, and what values are expected.

Bug: 20144385
Change-Id: I248aca61abc8a57d7aeef650e48cc498e41c859b
2015-11-02 11:24:57 -08:00
Pavel Zhamaitsiak
6ccc46ad83 Merge "IMS: Support For Per-Call RAT Info" into mnc-dr-dev am: 4ec415800f am: b5ab0ec3c0 am: 22baf9b3c1
am: 6df638a380

* commit '6df638a380c176a4283409edd0a50c458b445618':
  IMS: Support For Per-Call RAT Info
2015-10-30 14:47:02 +00:00
Omkar Kolangade
3b0437eda3 IMS: Support For Per-Call RAT Info
Adding the extra key that will be used to
propagate RAT information for each call via
call extras. The key is used in IMS Service.

Bug: 20144385
Change-Id: Ia7ca81d661afb579fd25315036c43489b1dca50d
2015-10-29 19:00:26 -07:00
Amit Mahajan
8bc92f3458 Make some static functions public so telephony tests can access them
Change-Id: I69ab45853db8a7f70644201751452605b07d19c1
2015-10-29 20:05:50 +00:00
Paul Jensen
627bc36eb7 Remove dead ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN
I centralized all the provisioning APN logic in Telephony back in
89e0f09 so this intent is now unused.

Bug:24451710
Change-Id: I401ac3e46442c8921545c88fee228873261ebd2b
2015-10-15 08:30:54 -04:00
Shishir Agrawal
47edf95b9d am 3649c699: am 773afa28: am 04feedd4: am 896f738c: Merge "Allow non-persistent manual network selection." into mnc-dr-dev
* commit '3649c699adf7e58411012a7fe6efa26f11de32b3':
  Allow non-persistent manual network selection.
2015-09-18 02:23:33 +00:00
Wenyi Wang
750bb8549c Modified getCallerInfo to handle silent ringtone (comment added)
Bug: 12800232
Change-Id: Ib382acdffe39ec063825ae79f80352a5e5636bc4
2015-09-16 16:32:07 -07:00
Shishir Agrawal
e25bd01ad6 Allow non-persistent manual network selection.
Allow the API to specify if the selection should be persisted across reboots.
This also has the side affect of not notifying the user when signal is lost.

Necessary becasue the API might be used transparent to the user and the
notifications will be bizarre.

Bug: 23971948
Change-Id: Ibb15144fb8a61f63a9c967d875d9ce8c70520ff0
2015-09-10 14:42:08 -07:00
Pavel Zhamaitsiak
566886f797 Merge "IMS: Fix registrationFeatureCapabilityChanged declaration in AIDL" into mnc-dr-dev 2015-09-04 16:09:02 +00:00
Pavel Zhamaitsiak
0f1ddb586b IMS: Fix registrationFeatureCapabilityChanged declaration in AIDL
Two arrays are passed from caller (in this case IMS service
implementation) to listener (in this case client of ImsManager).
Listener is not modifying arrays and caller is not expecting
data to be returned back.

Bug: 23749309
Change-Id: I6231cfd16852acfca88ee43e8538b2440058d774
2015-09-02 11:01:34 -07:00
Sungmin Choi
dd8efa820b Add TDSCDMA family
Bug: 22639018
Change-Id: I7a65337838ef3dfa24ce8b59564ec831c5cb5094
2015-08-31 10:41:49 -07:00
Ji Yang
f520f022db am 499f084d: Merge "Add API to let carrier app send SMS without auto perisisting." into mnc-dev
* commit '499f084d9e7bb3323ed447b16f548bad9b886aa7':
  Add API to let carrier app send SMS without auto perisisting.
2015-07-29 22:46:16 +00:00
Ji Yang
216813c9e1 Add API to let carrier app send SMS without auto perisisting.
Bug: 22773702
Change-Id: I976a8268ce95fe9fc5bb046ce744a1cddefc8eeb
2015-07-29 13:30:55 -07:00
Sanket Padawe
c83e0571e5 am ea975b12: Merge "Add new API for handling DB query per subId." into mnc-dev
* commit 'ea975b122fee3ac0fe766d2b58bb420b82e5dd95':
  Add new API for handling DB query per subId.
2015-07-16 05:14:13 +00:00
Sanket Padawe
ea975b122f Merge "Add new API for handling DB query per subId." into mnc-dev 2015-07-16 05:01:23 +00:00
Roshan Pius
06179c75c8 am 4e9c63cb: Merge "Handle exceptions when accessing Content providers." into mnc-dev
* commit '4e9c63cbe1712f750d5eaaa044e957c7f7696bf8':
  Handle exceptions when accessing Content providers.
2015-07-15 22:26:55 +00:00
Sanket Padawe
dc49309cef Add new API for handling DB query per subId.
+ Add new API for handling DB query and Resources object per subscription.
+ Add constants for column name of DB storing subscription info.
+ Add a common settings file for multi-tab

Bug: 22360525
Change-Id: Icf6d35bdbe31618e2a95df450aee12b99d3aea7a
2015-07-14 14:21:43 -07:00
Roshan Pius
93018a4d98 Handle exceptions when accessing Content providers.
BUG: 21638129
Change-Id: I88f7dcf67e395f49136a1f434fbd9c75e15cddad
2015-07-14 11:20:42 -07:00
Robert Greenwalt
66f59dc1bd am 1570b6b3: Merge "Enable EMERGENCY mobile connections." into mnc-dev
* commit '1570b6b3c7d1d41a52555312d161d0afe4b81df3':
  Enable EMERGENCY mobile connections.
2015-07-10 18:38:22 +00:00
Robert Greenwalt
d30a3d6693 am 1ebcb6f8: Merge "Fix permissions." into mnc-dev
* commit '1ebcb6f8b2f989c84311555f4961506dba959d37':
  Fix permissions.
2015-07-10 18:38:15 +00:00
Robert Greenwalt
1570b6b3c7 Merge "Enable EMERGENCY mobile connections." into mnc-dev 2015-07-10 18:23:24 +00:00
Robert Greenwalt
9bc8299ca0 Fix permissions.
Legacy API should not need new permissions.
Also found some more hidden/system that should have permissions.

bug:22379438
bug:19257083
Change-Id: I24be0a90dffcffe03d25982a9b02eedcf03fbd59
2015-07-10 09:42:08 -07:00
Robert Greenwalt
4bd4389616 Enable EMERGENCY mobile connections.
Hooks the ConnectivityManager.TYPE_MOBILE_EMERGENCY,
PhoneConstants.APN_TYPE_EMERGENCY, and NetworkCapabilities.NET_CAPABILITY_EIMS
together so carrier apps can request connections to this APN.

bug:21785357
Change-Id: Id92a5e28d19407cc7a8f8b5478b23457f2f7f89d
2015-07-09 14:49:35 -07:00
Robert Greenwalt
031b947766 am 348988c5: Merge "Fix permissions on TelephonyManager" into mnc-dev
* commit '348988c5704a5a6eb6aec093e295c2d9f00ee33c':
  Fix permissions on TelephonyManager
2015-07-09 03:34:47 +00:00
Robert Greenwalt
348988c570 Merge "Fix permissions on TelephonyManager" into mnc-dev 2015-07-09 03:19:26 +00:00
Robert Greenwalt
8e7b195474 am 8b0f3873: Merge "Add/Fix Permission check on SubscriptionManager." into mnc-dev
* commit '8b0f3873a04103f6886fdc2fb79b9a3963567720':
  Add/Fix Permission check on SubscriptionManager.
2015-07-08 21:41:06 +00:00
Robert Greenwalt
6e4a98f870 Fix permissions on TelephonyManager
bug:19257083
Change-Id: I063d36bbe7ece9d83aac7c490d1b44e55da2c286
2015-07-07 11:52:15 -07:00
Robert Greenwalt
278b8f9509 Add/Fix Permission check on SubscriptionManager.
Things that are modifing should check the modify permission.

bug: 19259681
Change-Id: I27c7501d6777deec902b9cd47e194eadef391869
2015-07-06 15:16:46 -07:00
Shriram Ganesh
ddf570e822 MWI,phantom call,Suppl services, error codes
1. IMS MWI Feature
- Add new API to update waiting
voice message count, for UI
propagation based on RFC 3842

2. phantom call support

Supplementary services

3. IMS : Incoming Call Barring
- Modified existing API to support
   request like registration,activation,
   deactivation,erasure,interogation.

4.Unsol supplementary service notification
- send unsol supplementary notification to UI
- add call history info

Miscellaneous
5. Ims: Originate conference call in DIALING state

6. IMS: Addition of Extras to ImsCallProfile
- Add EXTRA string definitions to ImsCallProfile

7. IMS: Definition of error code
- answered elsewhere
- FDN call failure

8.
- Propagate IMS supplementary services to telephony framework
- Introduce call forwarding history info.

Bug: 21725750
Squash of 2 earlier CLs:
         Change-Id: I52a64e9a5df3479189f62921a01655a50fb386fc
         Change-Id: Idc3a433785e84a3d683cbcfc7fb90f0b89dced12

Change-Id: I428ce3c6a043e43b86dea41622e0a828d8b45e53
2015-07-06 11:28:19 -07:00
Etan Cohen
b304fc0aaf Rename VoLTE/WFC enable API to available - add VT available API.
Renamed API to use consistent semantics: available refers to the current
state of the service rather then whether feature is enabled by device/carrier/
user.

Added VT API to match VoLTE/WFC.

Change-Id: Ifb31f123db77e731e75a982b8594168f59a289e7
2015-07-06 11:28:18 -07:00
Shriram Ganesh
ef0cde848b IMS: Map pay phone and unknown presentation with OIR.
Current code does not map pay phone and unknown
presentation with OIR.
Add code to map pay phone and unknown presentation
with OIR correctly.

Bug: 22123243
Change-Id: I7610db8547a0f0f5529c2627879047dd9a45cf9f
2015-06-29 15:54:54 -07:00
Shriram Ganesh
8d8c51f19e IMS: Initialize audio quality with NONE instead of AMR_WB.
Initial value of audio quality needs to be set to NONE to avoid
wrong quality value during MO call setup.

Bug: 22122298
Change-Id: I06173abe38c9be1e9499c8c0958f985c45709f1c
2015-06-29 08:49:10 -07:00
Anil Muthineni
7a5cc8b3de am 627bd99e: Merge "Write size of operators in writeToParcel()" into mnc-dev
* commit '627bd99ef617cfee67d44d186fa5d72380a6a4cf':
  Write size of operators in writeToParcel()
2015-06-26 23:53:52 +00:00
Anil Muthineni
554beb58db Write size of operators in writeToParcel()
- So that the operators are read correctly while reading
  from parcel.

Bug: 21563489
Change-Id: Icb5571a261144810f075855372791d4291255eec
2015-06-26 16:31:00 -07:00
Tyler Gunn
6901c3b6d7 IMS: Supplementary services
- Propagate IMS supplementary services to telephony framework
- Introduce call forwarding history info.

Bug: 21725750
Change-Id: Idc3a433785e84a3d683cbcfc7fb90f0b89dced12
2015-06-24 13:49:44 -07:00
Shishir Agrawal
87318900a7 am c242d9d2: Merge "Adding hidden TM calls to scan/select cell networks." into mnc-dev
* commit 'c242d9d2aeececeda4c980dfa119b3414d818424':
  Adding hidden TM calls to scan/select cell networks.
2015-06-22 18:29:41 +00:00
Shishir Agrawal
c242d9d2ae Merge "Adding hidden TM calls to scan/select cell networks." into mnc-dev 2015-06-22 18:19:58 +00:00
Shishir Agrawal
d4f2bcdab5 Adding hidden TM calls to scan/select cell networks.
TM.getCellNetworkScanResults: Performs a radio scan for networks and returns
a list of OperatorInfo.

Tm.setNetworkSelectionModeManual: Manually selects a network and returns the
status of the selection.

Bug: 21563489
Change-Id: If64f30d6f1ed373c1d90433688389307f3dfee8c
2015-06-19 13:53:12 -07:00
Fyodor Kupolov
af4e05a2ee am 7e603d69: Merge "OP_READ_PHONE_STATE AppOp check for getMergedSubscriberIds" into mnc-dev
* commit '7e603d69947566bd17ac76820fde59ac9fd11c0c':
  OP_READ_PHONE_STATE AppOp check for getMergedSubscriberIds
2015-06-18 23:23:59 +00:00
Omkar Kolangade
1cce1ec352 IMS RAT Reporting in Registration Unsol
Adding a parameter to the IMS registration complete
and progressing callbacks allowing frameworks to be
notified of the radio access technology over which
IMS is registered.

Bug: 21902225
Change-Id: I3b340da3776b617fd9d944585672bce51c5d9c1e
2015-06-18 12:32:14 -07:00
Fyodor Kupolov
d24e4eafdb OP_READ_PHONE_STATE AppOp check for getMergedSubscriberIds
Bug: 21726452
Bug: 21878243
Change-Id: I390386e28d8f948b8672a212ac413dfa61e54a15
2015-06-17 15:34:03 -07:00
Fyodor Kupolov
edd358cfe0 am 27a88a3e: Merge "Additional OP_READ_PHONE_STATE AppOps checks for telephony" into mnc-dev
* commit '27a88a3eb6a6a456ea3ec1b81a8fb26333f904a5':
  Additional OP_READ_PHONE_STATE AppOps checks for telephony
2015-06-16 17:29:52 +00:00
Fyodor Kupolov
27a88a3eb6 Merge "Additional OP_READ_PHONE_STATE AppOps checks for telephony" into mnc-dev 2015-06-16 17:15:03 +00:00