161210 Commits

Author SHA1 Message Date
Andrew Lee
8eb87f0da8 DO NOT MERGE Rename Call*Listener to Call*Callback.
Deprecate the existing Listener methods and interfaces so that they
can be replaced.

Bug: 20160491
Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
2015-04-16 17:11:35 -07:00
Santos Cordon
7e24657d07 DO NOT MERGE Move Phone.java APIs into InCallService
This change is one step in the right direction of getting rid of
Phone.java.

Phone.java was deemed superfluous and this change moves the methods
previously exposed in Phone.java into InCallService.  This was done by
having InCallService listen to Phone and pipe the calls as appropriate.
However, state still lives in Phone and we eventually want to move that
code into InCallService.  That will be done in a later CL.

Bug: 20160495
Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
2015-04-16 16:50:17 -07:00
Jay Shrauner
7f22726ff3 Merge "DO NOT MERGE Remove connection substate" into m-wireless-dev 2015-04-16 23:23:21 +00:00
xinhe
7f61051949 enable RTT capability exception
Bug:20299517
Change-Id: I497cc08b90f720d1717e107f93f75fda4212c8a8
2015-04-16 15:34:00 -07:00
Jay Shrauner
6f20a6a2b4 DO NOT MERGE Remove connection substate
Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
2015-04-16 15:05:05 -07:00
Andrew Lee
c8769de831 Add StatusHints to public API.
Change-Id: Ib7bcc7396e2c8bea338290445cbe85d3283a03c0
2015-04-16 14:00:36 -07:00
Andrew Lee
3e3e2f2b9c Fix missing comma.
Change-Id: Ied739e7f1b6d548237821db553f27994b0ee92af
2015-04-16 13:49:30 -07:00
Andrew Lee
0f51da328d resolve merge conflicts of edc625f to m-wireless-dev.
Change-Id: Ibbcd764505ccc38f9f61c96993d979a099f1cc6b
2015-04-16 13:11:55 -07:00
Yorke Lee
167c3a717f DO NOT MERGE Change hasVoicemailNumber to getVoicemailNumber
Bug: 20223485
Change-Id: I293572bb6c32c5084fe684e7cfe7bd2bbfb5443b
2015-04-16 12:40:23 -07:00
Andrew Lee
4467b98724 Update current APIs on m-wireless-dev.
Change-Id: I3c090773f3fadf0c1ca9483eb1265cba4939b411
2015-04-16 12:20:46 -07:00
Paul Jensen
25a217c0fb Add captive portal API.
This API allows apps other than the system's CaptivePortalLogin
to handle signing in to captive portals.

bug:19416463
Change-Id: I27fce5856b635233e6ff66396d50ccabedd76cf5
2015-04-16 16:53:10 +00:00
Tyler Gunn
04b18ec153 Merge "Fix incorrect Conference time for IMS conference calls." into m-wireless-dev 2015-04-16 16:38:23 +00:00
Tyler Gunn
75958420f2 Support for multiple VideoCall.Listeners for a VideoCall.
The current code assumes that only a single instance of VideoCall will be
provided to the default system InCall UI.  Ideally multiple
InCallService implementations should be able to use the VideoCall APIs.
Note: it only really makes sense for a single InCallService to get/set
the video surfaces.

- Fixed bug in ParcelableCall which would cause a new instance of
VideoCallImpl to be created every time a call is updated from Telecom.
Added a flag to ParcelableCall to indicate whether the parcel includes a
change to the video provider information, which is used when unparceling
to determine whether to set/create the video call impl.
- Renamed "setVideoCallback" to "addVideocallback".
- Modified Connection.VideoProvider code to keep a list of Video callbacks
and fire off all of them when Video Provider changes occur.

Bug: 20092420
Change-Id: Ic16b6afe1b7532cc64d006c133adbae57946d97d
2015-04-16 16:37:25 +00:00
Tyler Gunn
bd1f9ece87 Fix incorrect Conference time for IMS conference calls.
Looks like the connectTimeMillis parameter to ParcelableConference
got removed when partner CLs were merged in.  Adding it back fixes
the problem.

Bug: 20159830
Change-Id: Ibe067f64f8faea6fd1eb157e5073bc702978c511
2015-04-16 08:38:10 -07:00
fenglu
2bbd2b6830 LCE service implementation - connectivity side
Change-Id: If11bd99c44c7dc8d2aa2bc05a10e04421739baa6
2015-04-15 23:13:52 -07:00
Jay Shrauner
e14bbcc0e2 DO NOT MERGE Hide getUserSelectedOutgoingPhoneAccount
Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
2015-04-15 20:49:15 -07:00
Nancy Chen
48903511b0 Add keys for visual voicemail carrier configuration values
Each carrier has its own set of visual voicemail configuration values
to be retrieved from the carrier config manager API.

Bug:19236241
Change-Id: Ic1d59a13d2203c70aba178c315c47ec2661ea56e
2015-04-15 17:35:58 -07:00
Pierre Vandwalle
cd405fedea Merge "add HAL PNO config parameter" into m-wireless-dev 2015-04-16 00:24:11 +00:00
Pierre Vandwalle
66143cacd8 Merge "add disconnected scan parameter, add bytes[] container to scanResults" into m-wireless-dev 2015-04-16 00:24:05 +00:00
Pierre Vandwalle
3876fb5728 add HAL PNO config parameter
Change-Id: I847ec3a9cbd9f0036a4de7b88667f26f7880d7b1
2015-04-15 17:09:47 -07:00
Jonathan Basseri
3031bf9611 Adding Carrier Config API.
UICC privileged carrier apps will extend CarrierConfigService to provide
carrier-specific configuration. Apps/services will use
CarrierConfigManager to read the current configuration.

CarrierConfigManager also defines the set of configuration variables and
their default values.

Bug: b/19483786
Change-Id: I027211b43276afd6fe893ae50048c52f2aed5cf5
2015-04-15 16:06:51 -07:00
Jay Shrauner
1cf9b6bec1 DO NOT MERGE Make Telecom/InCallUI APIs public
Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-04-15 14:42:24 -07:00
Yorke Lee
383932ad8e DO NOT MERGE Make defaultOutgoingPhoneAccount public
Bug: 20224972
Change-Id: Ided1aab01d5014bd608d0d139975f933f64341c5
2015-04-15 14:24:36 -07:00
Andrew Lee
18ac20ef9c Merge "DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL." into m-wireless-dev 2015-04-15 20:54:02 +00:00
Jay Shrauner
3452b39692 Merge "DO NOT MERGE Hide Voicemail APIs" into m-wireless-dev 2015-04-15 20:24:28 +00:00
Jay Shrauner
870edddcbe DO NOT MERGE Hide Voicemail APIs
Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
2015-04-15 13:17:11 -07:00
Andre Eisenbach
42beb0f029 Merge "Fix make update-api" into m-wireless-dev 2015-04-15 20:12:48 +00:00
Andrew Lee
e268f4c28e DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL.
Bug: 20160395
Change-Id: Ib343fde5088f3a5823c73de6ab77564b4be0d12c
2015-04-15 13:08:21 -07:00
Jay Shrauner
62ad27e864 DO NOT MERGE Hide Voicemails.{insert, deleteAll, setStatus}
Bug:20162722
Change-Id: Idbd9a643c4870b48ee1230e344717f50507936d8
2015-04-15 12:38:20 -07:00
Yorke Lee
b67927126f Fix make update-api
Change-Id: Iaee002c64096fbd6ba05d6484cc50840146a4af0
2015-04-15 11:55:20 -07:00
Jay Shrauner
193de667ed DO NOT MERGE Remove deprecated telecom APIs. Mark others final.
Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
2015-04-15 11:05:50 -07:00
Andrew Lee
edc625f52e Add StatusHints to Conference object.
+ Consolidated ParcelableConference constructors; only one is used.

Bug: 20181703
Change-Id: Iad49f10404e1c1eedc4ef68525bde0f10a8dfc97
2015-04-15 11:05:19 -07:00
Casper Bonde
d05bd467ba Add support for Bluetooth Sim Access Profile (2/4)
Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
2015-04-15 10:54:08 -07:00
Nitin Arora
6ddbb5e55f Bluetooth LE background operation mode (2/2)
Changes include new framework APIs to enable and disable Bluetooth LE
separately from Bluetooth Classic. Along with handling the new states
in the Bluetooth manager service.

Change-Id: Idf667981f48fcbcb6dfda1aa77ea8bab1b2361f0
2015-04-15 16:26:42 +00:00
Erik Kline
104b0f1353 multinetwork API: native implementation
Bug: 19537384
Change-Id: I04f4a7de2b1e583989b67a853df6ab50289c2185
2015-04-15 15:52:31 +09:00
Yorke Lee
de93575d86 Merge "DO NOT MERGE Changes for TelecomManager API review" into m-wireless-dev 2015-04-15 01:41:10 +00:00
Jay Shrauner
1b057f559e DO NOT MERGE Add constructor without zoom
Add constructor without zoom params. Reorder params in constructor
with zoom to move zoom params to the end of the param list (API
guidelines). Reorder code to match param ordering. Tag all zoom related
methods with @hide.

Bug:20160534
Change-Id: Ic2149af82a5450666c49b8757daf6950bcb68977
2015-04-14 17:34:43 -07:00
Pierre Vandwalle
127217a340 add disconnected scan parameter, add bytes[] container to scanResults
Change-Id: I201b52064ea764ddd406c25c86f41887029ff225
2015-04-14 17:16:15 -07:00
Yorke Lee
0bce89050a DO NOT MERGE Changes for TelecomManager API review
* clearAccounts -> clearPhoneAccounts
* handleMMi(PhoneAccountHandle, String) -> handleMMi(String, PhoneAccountHandle)
* hasMultipleCallCapableAccounts -> removed
Bug: 20160799

Change-Id: Ifcd26474f04b71aa725299b6016004151b76bc31
2015-04-14 17:12:04 -07:00
Yorke Lee
2287a01bb9 DO NOT MERGE Remove proximity methods in TelecomManager
Bug: 20160495
Change-Id: Ib0156cf170d16b48f97e08027c912fc3f45691fb
2015-04-14 16:04:22 -07:00
Tyler Gunn
9561e7410b Prevent merging conference calls hosted on peer device.
automerge: 6b91ebf

* commit '6b91ebf58c928987ead635bb1c49a16965d4c835':
  Prevent merging conference calls hosted on peer device.
2015-04-14 18:19:11 +00:00
Paul Jensen
3541e9f469 Deprecate connectivity APIs relying on integer network types.
Recommend ConnectivityManager.getAllNetworks() and various state
inspection functions as a way forward.

Bug:19608294
Change-Id: Ibd53629995897047fc532ffa56f079dfba10a7c7
2015-04-14 17:51:27 +00:00
Paul Jensen
557d2f5489 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev 2015-04-14 11:56:59 +00:00
tturney
ab5267a403 Fix onLost/onFound logic in isSettingsAndFilterComboAllowed
bug: b/20185066

Change-Id: If9e3fecd12ee86aa12fa63688babeff694bee62e
2015-04-13 14:56:27 -07:00
Paul Jensen
bfd17b75a6 Add ConnectivityManager.reportNetworkConnectivity() API
This new API allows reporting networks that are perceived to provide Internet
connectivity and networks that are not.  This allows the framework to avoid
needlessly reevaluating networks where the apps perception matches the
framework's perception.  This was not possible with the prior API,
reportBadNetwork.

Bug: 16214361
Change-Id: Id4409bd7538854bd837231fb50e693c10a62b4f2
2015-04-13 18:48:54 +00:00
Casper Bonde
238e0f934f OBEX Over L2CAP + SDP search API for BT profiles
- Updated OBEX to support SRM
- Added support for OBEX over l2cap and SRM.
- Minor bugfixes, and reduce CPU load ALOT
- Added support to send responses without body data.
- Extend BluetoothSocket to support L2CAP
- Added functionality to get the channel number
  needed to be able to create an SDP record with the channel number.
- Added interface to get socket type and max packet sizes.
- Added interface to perform SDP search and get the resulting
  SDP record data.

Change-Id: I9d37a00ce73dfffc0e3ce03eab5511ba3a86e5b8
2015-04-11 01:49:11 +00:00
Paul Jensen
31a94f48bf Add ConnectivityManager.getActiveNetwork().
Rework NetID allocation in ConnectivityService so registerNetworkAgent() can
return the allocated NetID.

Bug: 19416463
Change-Id: I68e395552cf27422c80b4dfae5db5d56a0d68f5d
2015-04-10 14:03:13 +00:00
Paul Jensen
bf18bedced Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev 2015-04-10 13:26:14 +00:00
Tyler Gunn
db8784e28a Merge "Cleanup of Video Call pause functionality." into m-wireless-dev 2015-04-09 02:06:24 +00:00
Paul Jensen
e75b9e3555 Non-functional code cleanup of ConnectivityService.
1. Remove ConnectivityService.findConnectionTypeForIface() as this can be done
   just as easily with supported APIs now.
2. Avoid making copies of Network objects as this precludes reuse of Network
   internals (e.g. socket factory, connection pool).

Change-Id: I52f92e35d769d8350471f485e408169608630082
2015-04-08 07:46:49 -04:00