summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
* Use thread safe set for RemoteConnection.mListenersSailesh Nepal2014-08-151-1/+4
| | | | | | | | | | Switch from HashSet to set backed by a ConcurrentHashMap to prevent ConcurrentModificationExceptions. (Relanding ag/521178. This got reveretd in ag/520450). Bug: 16901565 Change-Id: I997898ed94f305d9b8c57eead04e0dfe6c04a884
* Include more state in ParcelableConnectionSailesh Nepal2014-08-152-3/+36
| | | | | | | | This fixes a bug where setting status hints wouldn't work. Bug: 17044602 Change-Id: Ife85b2d53ead38f54dac350adc09b8c9d052fda4
* Merge "Add extras for outgoing call" into lmp-devNancy Chen2014-08-123-6/+46
|\
| * Add extras for outgoing callNancy Chen2014-08-143-6/+46
| | | | | | | | | | | | | | | | | | To be able to pass information from dialer to incallui, telecomm.Call needs to hold extra information. Add this extra bundle to the intent. Bug: 15284651 Change-Id: Ie462c35ece41647c7104c657cc1de947ff284729
* | Make sure we're obtaining themed drawables correctlyAlan Viverette2014-08-142-2/+2
|/ | | | Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
* Final structural tweaks to Telecomm API (1/8)Ihab Awad2014-08-1340-1070/+1116
| | | | | | Bug: 16416927 Bug: 16494880 Change-Id: I45fbe287c410cbb5e1b985f320b862d732811f43
* Override StatusHints.equalsSailesh Nepal2014-08-121-0/+19
| | | | | Bug: 16979621 Change-Id: I858a4718a8815be18214400d3bc1d9054b99434e
* Fix incorrect connection ID for remote connection serviceIhab Awad2014-08-123-14/+43
| | | | | | | | | | Also cleans up incidental issues including: * Remote connection service disconnects from the service it represents if it is not currently handling any connections; hope to avert excessive service pinning in the future. * Fix destroyed connection handling. Bug: 16828152 Change-Id: Id4555f91ddac5e9c1a12ce00bfd1ee0d6d2cb1d9
* Merge "Use thread safe set for RemoteConnection.mListeners" into lmp-devSailesh Nepal2014-08-091-1/+3
|\
| * Use thread safe set for RemoteConnection.mListenersSailesh Nepal2014-08-091-1/+3
| | | | | | | | | | | | | | | | Switch from HashSet to set backed by a ConcurrentHashMap to prevent ConcurrentModificationExceptions. Bug: 16901565 Change-Id: I7666ef61e94994963b2c2634a9a250365e753888
* | Merge "Adding camera failure/ready session events." into lmp-devTyler Gunn2014-08-091-3/+18
|\ \ | |/ |/|
| * Adding camera failure/ready session events.Tyler Gunn2014-08-081-3/+18
| | | | | | | | | | | | | | | | The VT provider can use these to inform In-Call of a camera failure and the camera becoming ready again after recovery. Bug: 16900653 Change-Id: I279176860b30d02f55732b327ac3385eff8d19a8
* | Use thread safe set for adapter setJay Shrauner2014-08-081-2/+4
| | | | | | | | | | | | | | | | Switch from HashSet to set backed by a ConcurrentHashMap to prevent ConcurrentModificationExceptions. Bug:16898286 Change-Id: I5d94b403469e98c5f5431fc1d0ad020985100cfd
* | Merge "Better comments for the CONNECTING state." into lmp-devNancy Chen2014-08-072-3/+6
|\ \ | |/ |/|
| * Better comments for the CONNECTING state.Nancy Chen2014-08-082-3/+6
| | | | | | | | | | | | | | More readable for developers. Bug: 16396523 Change-Id: I8db0949fcd62eb4d76db978a1633fbf6004035a6
* | Aidl changes related to VideoCallProvider in Ims.Andrew Lee2014-08-082-11/+11
|/ | | | | | | | | | | | | | | + Added a getVideoCallProvider function in IImsCallSession + Added IImsVideoCallProvider aidl. This is used for communication between Telephony and the ImsService. It is redundant with IVideoCallProvider on some level, but see associated bug and comments in the class for more detail. + Added IImsVideoCallCallback. This is used for communicationing callback invocations from ImsService to Telephony. It is redundant with IVideoCallCallback for same reason in bugs/comments. + Some minor formatting changes. Bug: 16886403 Change-Id: I03de12d4432f837e0930bc077307509b645493e0
* Add "CONNECTING" state for before outgoing call broadcast returnsNancy Chen2014-08-072-0/+13
| | | | | | | | | Immediately add a call to Telecomm before the outgoing call broadcast intent returns, this will reduce the latency for the InCallUI by allowing the InCallActivity to start before Telecomm has responded. Bug: 16396523 Change-Id: Iada2a6bdb803794a765b81edb2dfb0953445ae43
* Remove ldaps from AOSP code.Santos Cordon2014-08-075-11/+7
| | | | | Bug: 16327484 Change-Id: I1fbeed8e1642e8228310cf0e7b95c4809b50901b
* "Implement" formerly abstract methods VideoCallProvider.Andrew Lee2014-08-061-14/+39
| | | | | | | | | | | | | | Provide null-op methods so there is greater flexibility for classes which extend this base class, but might not support all its methods. In the future, if we add more methods to the *.aidl interface, this class can work with binaries which extend this class but don't implement all the methods since the superclass now implements those methods. Left onSetPreviewSurface and onSetDisplaySurface as abstract. Bug: 16842159 Change-Id: Ie7fea6ef5d473e3924ef370392f380603a568800
* Add setConferenceable() API from ConnectionService to incall. (1/4)Santos Cordon2014-08-0613-33/+249
| | | | Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
* Finalize implementation of Remote Connection Service (1/4)Ihab Awad2014-08-058-447/+848
| | | | Change-Id: I3788c9ab03a979f22ab628637adf6d520038cb6e
* Revert "Make Connection threadsafe"Santos Cordon2014-08-051-314/+92
| | | | | | This reverts commit 53488bf3d152eb0ecacca5716c763e8cd7ab28ae. Change-Id: Ia13c510279e600e8bd1445fd63e2cd6503f4077e
* Make Connection threadsafeEvan Charlton2014-08-011-92/+314
| | | | | | | | | Punt all modification calls to the UI thread to avoid concurrency issues. This also makes all callback events (e.g., onAbort()) be called on the same thread. Bug: 16731451 Change-Id: I4dfd7493538724b3249780272411e61d956b146a
* Adding video width/height to camera capabilities.Tyler Gunn2014-07-301-3/+34
| | | | | Bug: 16602621 Bug: 16573836 Change-Id: Idaca4b6d889bf7910fcc37bee7ef478e2fbe3af3
* Connection creation and service wiring for WiFi call managers (1/3)Ihab Awad2014-07-295-54/+128
| | | | | Bug: 16469413 Change-Id: I019922f76f54d2fa376513a6284d6322959a8235
* Convert VideoState into an inner class.Andrew Lee2014-07-294-49/+110
| | | | | | | | | - Add helper functions to make it easier to figure out properties of a particular video state, to make things more convenient. - Update references and documentation. Bug: 16629892 Change-Id: I621532e8cab080afd56e5db739b9edbee6261f74
* Add new proximity sensors in Telecomm (1/3)Yorke Lee2014-07-293-0/+51
| | | | | | | | | Add the following two APIs in Telecomm and use them in InCallUI setProximitySensorOn setProximitySensorOff(boolean turnScreenOnImmediately) Bug: 16573954 Change-Id: I8219e9c659f4ea4493f5cd5c8bcaa95a98d180e2
* Merge "Fix WTF when creating a lazily initialized connection" into lmp-devSailesh Nepal2014-07-241-0/+2
|\
| * Fix WTF when creating a lazily initialized connectionSailesh Nepal2014-07-281-0/+2
| | | | | | | | Change-Id: I16af7e99d07f83b17f111acbf0a3285d09cee13e
* | Handle synchronous failed connectionSailesh Nepal2014-07-291-15/+3
|/ | | | Change-Id: I406ccbdd1f70c85456b6e0d689332cf40a756707
* Move VideoCallProvider into ConnectionService.Andrew Lee2014-07-286-348/+330
| | | | | Bug: 16494880 Change-Id: I0778197d06fcd219db4a1e1fa065e69026254a99
* Merge "Make creating the Connection synchronous" into lmp-devEvan Charlton2014-07-246-142/+283
|\
| * Make creating the Connection synchronousEvan Charlton2014-07-256-142/+283
| | | | | | | | | | | | | | Get rid of CreateConnectionResponse and have the ConnectionService return the built connection instead. Change-Id: Ibbf896e5b188b98eb386d6624d3a5d5cacf49922
* | Adding missing break statement in VideoCallProvider.Tyler Gunn2014-07-251-0/+1
|/ | | | | | | | Related to cl/510948 Bug: 16494880 Bug: 16495203 Change-Id: I4de0dccb886efbd119bd75b1285fdc84210c94fb
* Add VideoCall and VideoCall.Listener as an inner classes of Call.Andrew Lee2014-07-2516-704/+654
| | | | | | Bug: 16494880 Bug: 16495203 Change-Id: Ife3b6723374ea5fbbff4927c4f9168d075be21e1
* Hide multiple-account information if there is only a single accountNancy Chen2014-07-231-0/+10
| | | | | | | | Adding an API method to telecomm to determine whether there is a single account. Bug: 16483795 Change-Id: If30d3a53458b4c784995f3f9e471c8163a8175a4
* Merge "Change display Strings to CharSequence (1/3)" into lmp-devSantos Cordon2014-07-222-16/+16
|\
| * Change display Strings to CharSequence (1/3)Santos Cordon2014-07-222-16/+16
| | | | | | | | | | Bug: 16416927 Change-Id: Id8b6e5029a8a1f61bbbf71661abe4d487c01002a
* | Don't throw RemoteException in public RemoteCallVideoClient APIs.Andrew Lee2014-07-221-23/+43
| | | | | | | | | | | | | | | | - Hide constructor. - No longer implements IBinder.DeathRecipient. - Catch RemoteExceptions instead of throwing RemoteExceptions. Change-Id: Iaa049cab9e24120d3ea732e1ede78cc6fcd0ad71
* | Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs."Andrew Lee2014-07-221-43/+23
| | | | | | | | | | | | This reverts commit 080b1f58eb877e1ac375768c6f951cc61a3cdbae. Change-Id: I0dc963b3f4efe1479a7a94b8d851b89d15480d17
* | Don't throw RemoteException in public RemoteCallVideoClient APIs.Andrew Lee2014-07-221-23/+43
|/ | | | | | | | - Hide constructor. - No longer implements IBinder.DeathRecipient. - Catch RemoteExceptions instead of throwing RemoteExceptions. Change-Id: Id666818b868c61f17b0701e4590d4e36f12c7b01
* Expose call settings as public API (1/3)Yorke Lee2014-07-211-0/+6
| | | | | | | | Other settings activities like wifi settings, mobile network settings etc are all accessible by third party apps via public intents, so make CallFeaturesSettings similarly available. Bug: 16298644 Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
* Merge "Add video call profile constructor which takes video state only." ↵Andrew Lee2014-07-191-0/+9
|\ | | | | | | into lmp-dev
| * Add video call profile constructor which takes video state only.Andrew Lee2014-07-211-0/+9
| | | | | | | | | | Bug: 16014280 Change-Id: I218256ae1e20783084412758cf5a44f7f5dec52e
* | Sent initial data to telecomm on connection creation. (1/3)Santos Cordon2014-07-217-28/+228
| | | | | | | | | | | | | | | | | | Telecomm was not sending the initial state for new connections forcing the connection services to postpone when they set data on the connection which resulted in hacky code. This CL makes use of a ParcelableConnection to send the intial connection data. Change-Id: If571414aba19fa1bb282e30632431962b8366cf4
* | Catch RemoteException when setting the camera or zoom.Andrew Lee2014-07-211-4/+10
|/ | | | | Bug: 16014280 Change-Id: I7542a0f294929fac589260ab596730d89948c89e
* Revert "Change display Strings to CharSequence (1/2)"Santos Cordon2014-07-212-16/+16
| | | | | | This reverts commit b5e0084414258ff294e7d94bcf9f8492f8ab2d25. Change-Id: I095483414f5e0076c0967b6f1955a0fe71f2b8d9
* Change display Strings to CharSequence (1/2)Santos Cordon2014-07-212-16/+16
| | | | | Bug: 16416927 Change-Id: I81cd3572f3931cd97611621a1db12bea165bda56
* Change telecomm APIs from protected to public (1/3)Santos Cordon2014-07-214-23/+23
| | | | | Bug: 16416927 Change-Id: I859c80a120fa59bba12a5c6bfca17fa57613a6aa
* Move ACTION_CONNECTION_SERVICE into ConnectionService. (1/3)Santos Cordon2014-07-212-7/+9
| | | | | Bug: 16416927 Change-Id: If2d1c19134d2245677f7e0b3d94b118d9b50e751