summaryrefslogtreecommitdiffstats
path: root/telecomm/java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Hiding missed Video telephony related APIs." into lmp-devTyler Gunn2014-08-222-0/+4
|\
| * Hiding missed Video telephony related APIs.Tyler Gunn2014-08-222-0/+4
| | | | | | | | | | Bug: 17188135 Change-Id: I9b569936bff285463d32df878efb26041917c51b
* | Merge "Hiding Video telephony related APIs." into lmp-devTyler Gunn2014-08-225-0/+11
|\ \ | |/ |/|
| * Hiding Video telephony related APIs.Tyler Gunn2014-08-215-0/+11
| | | | | | | | | | Bug: 17188135 Change-Id: I2d4111dbad2430968a458f8f3bf4f2ca1becbbdd
* | Additional changes for Conference.Santos Cordon2014-08-214-8/+43
|/ | | | | | | | | | | | | | | | 1) Connection.setConference() checked to see if the conference was valid before setting it. This prevented us from populating child connections on a new conference until it was added. Now we allow it but dont sent the update unless the conference has already been sent. 2) removed unnecessary ArrayList<>() wrappers on CopyOnWriteLists. 3) Updated disconnect/hold/unhold so that they are sent to Conference objects as well as Connection objects. 4) Added support for separating a child conference call. 5) Additional Logging Bug: 15621105 Bug: 17136172 Change-Id: I939c36bc9694b9d81f0ff582e2fbe335006aa485
* Merge "Make AudioState modes static constants" into lmp-devYorke Lee2014-08-191-6/+6
|\
| * Make AudioState modes static constantsYorke Lee2014-08-201-6/+6
| | | | | | | | | | | | | | This enables the ability to use them in switch statements Bug: 17161247 Change-Id: Iee3da676f2cd52a09d36b58da4ba4640bd8998c5
* | Merge "Clean up and fix bugs in ConnectionService.createConnection" into lmp-devSailesh Nepal2014-08-203-65/+57
|\ \ | |/ |/|
| * Clean up and fix bugs in ConnectionService.createConnectionSailesh Nepal2014-08-203-65/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL fixes serveral issues with the createConnection code: - it uses failureCode/failureMessage which were never set. Renamed to disconnectCode and disconnectMessage and set those fields in Connection.setDisconnected - Connection.CANCELED_CONNECTION was static and it caused lots of log spew which was confusing. Changed to create a new connection every time, same as failure - moved sNullConnection from Connection to ConnectionService - made FailureSignalingConnection private and removed type checks for it. Using disconnect code is better, this is already what ConnectionServiceWrapper does Note, the current code still expects connections to be cancelled or failed in synchronously. This bug is being tracked separately. Bug: 17156304 Change-Id: I0b13a78b738c4bf37a69de9fd5dcd17be0c45c14
* | Merge "Made all classes required for an InCallService @SystemApi" into lmp-devSantos Cordon2014-08-204-0/+9
|\ \ | |/ |/|
| * Made all classes required for an InCallService @SystemApiGabriel Peal2014-08-204-0/+9
| | | | | | | | Bug: 17153048 Change-Id: I6b46969e976a47fd814022939a99b823fcb7b2bd
* | Merge "ConnectionService API has only one completed callback (1/3)" into lmp-devIhab Awad2014-08-198-262/+117
|\ \ | |/ |/|
| * ConnectionService API has only one completed callback (1/3)Ihab Awad2014-08-198-262/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | Refactor ConnectionService API so it has only one "completed" callback, and connection state and failure codes indicates what happened. Previous design where we had separate callbacks for failure, cancellation and success was error prone because it was easy to forget to implement one of them. Bug: 16993846 Bug: 17070939 Change-Id: I84bf5d041cf78193ccf80db201b08db3b7014830
* | Merge "Exposing in-call API to other implementing classes. (1/4)" into lmp-devTyler Gunn2014-08-161-0/+8
|\ \ | |/ |/|
| * Exposing in-call API to other implementing classes. (1/4)Tyler Gunn2014-08-181-0/+8
| | | | | | | | | | | | | | - Adding service_interface constant to InCallService. Bug: 16133960 Change-Id: I4ace89bc3300428d2c56ed43e47ccd12a9f9748a
* | Merge "Make AudioState constructors public" into lmp-devSailesh Nepal2014-08-161-2/+0
|\ \
| * | Make AudioState constructors publicSailesh Nepal2014-08-171-2/+0
| |/ | | | | | | | | | | | | This is needed for unit tests. Bug: 17073934 Change-Id: I04659faa54ba03247519237450b0a26f66958e8c
* | Update conference call APIs.Santos Cordon2014-08-1810-131/+657
|/ | | | | | | | | | Clean up conference call APIs to use a distinct type separate from Connection. Also allow the addition of Conference calls at any point using addConference() API method. Bug:16844332 Bug:16449372 Change-Id: I34e45fde1aa43559f5f4e29b990929c188b16875
* Removing permission check in ConnectionService.Tyler Gunn2014-08-151-22/+0
| | | | | | | This breaks RemoteConnectionServices, such as hangouts. Bug: 16171070 Change-Id: I9b53fefe9c3246abb1e9e11109957fb2f8502de8
* Merge "Add BIND_CONNECTION_SERVICE permission." into lmp-devTyler Gunn2014-08-151-2/+23
|\
| * Add BIND_CONNECTION_SERVICE permission.Tyler Gunn2014-08-151-2/+23
| | | | | | | | | | | | | | | | - Added system permission. - Added enforcement in ConnectionService API class. Bug: 16171070 Change-Id: Idbd26a31e8f6bb59d3e881a1e5885a44026f2fbd
* | Merge "Fix problems with wiring of initializing calls (1/2)" into lmp-devIhab Awad2014-08-151-5/+2
|\ \
| * | Fix problems with wiring of initializing calls (1/2)Ihab Awad2014-08-141-5/+2
| | | | | | | | | | | | | | | Bug: 16993846 Change-Id: I3ed4dd30559511f51b3650bf99bd704ae73d2165
* | | Prevent ConcurrentModificationExceptionsJay Shrauner2014-08-155-63/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use sets backed by ConcurrentHashMaps instead of HashSets, and CopyOnWriteArrayLists instead of ArrayLists, to prevent concurrent exceptions if listeners try to remove themselves in callbacks while iterating over the listeners. Bug:16325026 Change-Id: I55e081eda6ba19fa466bbf019c648bbdaf833c33
* | | 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