summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Connection.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Standardize stateToString return valuesYorke Lee2015-07-141-6/+6
| | | | | Bug: 20303674 Change-Id: I884029614c8ce36120c1fc039ef33c0e6736ed5c
* Merge "Add capability to indicate a conference will never have children." ↵Anthony Lee2015-07-021-2/+26
|\ | | | | | | into mnc-dev
| * Add capability to indicate a conference will never have children.Tyler Gunn2015-06-291-2/+26
| | | | | | | | | | | | | | | | Used to mark IMS conference calls so that it is possible to know that we never expect child calls to be associated with the conference. Bug: 21085329 Change-Id: I7e5c82622ed382e431d4156878c28b37421e1e35
* | Telecom API council changes.Santos Cordon2015-06-291-2/+34
|/ | | | | | | | | - adding more javadocs. - fixing javadoc on isEnabled - renaming to CONFIGURE_PHONE_ACCOUNT Bug: 21573551 Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
* Fix crash when doing conferencing over Wi-FiSailesh Nepal2015-06-211-0/+3
| | | | | | | | | | The problem was that we were calling Connection.getAudioState in the conferencing code. This led to a null pointer exception. Fix was to add a null pointer check. BUG: 21957102 Change-Id: Ibad0f6cc70a5bc4a30023beb857125802bc35cd4
* Correct issues with VideoProvider discovered via CTS tests.Tyler Gunn2015-06-121-24/+40
| | | | | | | | | | | | | | | | | While authoring the CTS tests I discovered a few issues with the VideoProvider. 1. The VideoProvider's default handler should be on the main Looper, similar to other Telecom components. 2. When calling IVideoCallbacks, the try/catch for RemoteExceptions was around the for-loop which iterates over the various VideoCallbacks. If one was to fail, the other VideoCallbacks would not be called. 3. The mVideoCallbacks hashmap should use a ConcurrentHashMap; in CTS tests I ran into a few concurrency exceptions related to the various InCallServices registering callbacks while other methods on the provider were being called. Bug: 21802841 Change-Id: Ib0d46daf03554309044e9efaa991a15cb2c4b46b
* Add support for specifying looper on VideoProviders.Tyler Gunn2015-06-101-2/+22
| | | | | | | | | Added constructor for VideoProviders to allow creating instances where the Looper is specified. This is required for creating VideoProviderProxy instances within Telecom. Bug: 20232310 Change-Id: Ieb31e499caca9d65ff4b52c287e030c0ceeeb6ee
* Merge "Add API docs for RemoteConnection VideoProvider/Callback." into mnc-devTyler Gunn2015-06-091-1/+2
|\
| * Add API docs for RemoteConnection VideoProvider/Callback.Tyler Gunn2015-06-041-1/+2
| | | | | | | | | | Bug: 21573551 Change-Id: I434d83fa84f9515634776820b2e6a8004cf693ee
* | API Cleanup: Remove VideoState class.Tyler Gunn2015-06-031-1/+1
|/ | | | | | | | | - Remove VideoState class. - Replace references to VideoState constants with VideoProfile equivalent. - Push VideoState static methods into VideoProfile. Bug: 21573551 Change-Id: I1bca02772b5b7d86643f612824b07faef7618725
* Cleanup Video API javadoc.Tyler Gunn2015-05-291-57/+184
| | | | | | | | | - Cleaned up documentation and added more details where possible. - Also added cross references from the VideoProvider and VideoCall APIs to make it more clear what the link is between the two. Bug: 21520606 Change-Id: I0a79450d69841df5850061311a523b37688efc49
* Add extras to Connections/Calls. (1/3)Santos Cordon2015-05-281-0/+26
| | | | | | | | | | | Two major changes: 1) Add the notion of extras to a Connection. These extras will be parceled through to InCallService as Call.getExtras() 2) The previously existing Call.getExtras() has been renamed to getIntentExtras(). This name better describes the fact that these particular extras are from the original CALL or INCOMING_CALL intents. Change-Id: I08c1baf4f08d54757f98012f0c08b423a707c53d
* Make Conferenceable an abstract classYorke Lee2015-05-131-1/+1
| | | | | Bug: 21066017 Change-Id: Ibcbccfc7b1380e417b464aed9b968cbc0a6a1cc2
* Rename AudioState to CallAudioStateYorke Lee2015-05-131-5/+31
| | | | | | | | | | | | | Deprecate AudioState class and make methods @SystemApi where necessary to minimize impact to SystemApi Replace usages of AudioState inside Telecom sub-systems Fire both onCallAudioStateChanged and onAudioStateChanged callbacks for backward compatibility Support both setAudioState and setCallAudioState for all classes Bug: 21040387 Bug: 21088300 Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7
* More video related API fixesYorke Lee2015-05-121-13/+30
| | | | | | | | | | | | | | | | | android.telecom.Connection.VideoProvider * onSetPauseImage takes Uri instead of String * changeCallDataUsage -> setCallDataUsage * add quality constants to changeVideoQuality() docs android.telecom.InCallService.VideoCall * setPauseImage takes Uri instea dof String android.telecom.VideoProfile.VideoState * Move constants to VideoProfile, prefix with STATE_ Bug: 21040387 Bug: 21066505 Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
* Fixes for APi reviewYorke Lee2015-05-121-1/+1
| | | | | | | | | Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
* Un-@hiding some missed VT APIs.Tyler Gunn2015-05-081-11/+0
| | | | | Bug: 20947116 Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
* Change sendSessionModifyRequest VideoProvider API signature.Tyler Gunn2015-05-061-7/+19
| | | | | | | | | | | | | | Including a fromProfile in addition to the requestedProfile. - Changed VideoCallImpl to generate the fromVideoProfile based on the call's current videoState. This ensures the InCall UI only needs to pass in the new video profile; the VideoCall Impl already has enough knowledge to generate the fromProfile. - Changed VideoCallImpl to track the current videoQuality, which forms a part of the fromVideoProfile. Bug: 20704229 Change-Id: I89f293f03a2b13fc8c1dcfd8a07ab8640d3950e0
* Merge commit '17455a3' into master_mergePrerepa Viswanadham2015-05-011-0/+12
|\
| * Add plumbing for merge failures and renable button. (3/4)Anthony Lee2015-04-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The merge failure is not plumbed up through any layer that can trap the callback and act on it. The first part of this fix is to create that plumbing. Then we need to reenable the merge button. At this point in time, we leverage the fact that forcing the call to reassess its capabilities will poke the InCallUI to reenable the merge button. In the future, we should plumb the merge failure all the way to InCallUI and not only handle the button but display UI to the user. The UI is currently being displayed by CallNotifier which is the wrong place. See b/20530631 for more details. Bug: 20229905 Change-Id: I0355ada46b484c6db4bee656c77386dd61be5e1f
| * DO NOT MERGE Remove connection substateJay Shrauner2015-04-161-78/+0
| | | | | | | | | | Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
* | Merge commit '7595842' into merge2Etan Cohen2015-04-241-28/+73
|\| | | | | | | Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
| * Support for multiple VideoCall.Listeners for a VideoCall.Tyler Gunn2015-04-161-28/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * DO NOT MERGE Make Telecom/InCallUI APIs publicJay Shrauner2015-04-151-5/+1
| | | | | | | | | | Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
| * DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL.Andrew Lee2015-04-151-6/+6
| | | | | | | | | | Bug: 20160395 Change-Id: Ib343fde5088f3a5823c73de6ab77564b4be0d12c
| * DO NOT MERGE Remove deprecated telecom APIs. Mark others final.Jay Shrauner2015-04-151-10/+0
| | | | | | | | | | Bug: Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
* | Merge "API Cleanup - rename IConferenceable to Conferenceable."Tyler Gunn2015-04-201-8/+8
|\ \
| * | API Cleanup - rename IConferenceable to Conferenceable.Tyler Gunn2015-04-201-8/+8
| | | | | | | | | | | | | | | Bug: 20165255 Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
* | | Remove connection substateJay Shrauner2015-04-161-78/+0
|/ / | | | | | | | | Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
* | Merge "am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release"Vinit Deshpande2015-04-161-2/+12
|\ \
| * | am b5e0cfb..557d2f5 from mirror-m-wireless-internal-releaseVinit Deshpande2015-04-141-2/+12
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API 238e0f9 OBEX Over L2CAP + SDP search API for BT profiles 31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID. bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev e75b9e3 Non-functional code cleanup of ConnectivityService. e593d0a Onfound onlost feature. 0326f58 Merge "API for config app." into m-wireless-dev e9b056f API for config app. d5351e7 RTT framework interface update 582b868 Unhide Network.openConnection(URL, Proxy). 0d719ca Fix typos in ConnectivityManager documentation. Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
| | * Cleanup of Video Call pause functionality.Tyler Gunn2015-04-071-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whether the paused videoState is available is dependent on the carrier's implementation of the VT spec. The original VT implementation assumed that this was stored in a system property accessed via InCall; these CLs move this to a Call/Connection capability which will ultimately support multisim video capable devices. - Added new connection/call capabilities. Bug: 16680364 Bug: 19820114 Change-Id: I3840f92270100811161120dffcfe297bef7c4ea2
* | | Make Telecom/InCallUI APIs publicJay Shrauner2015-04-151-5/+1
| | | | | | | | | | | | | | | Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
* | | Remove deprecated telecom APIs. Mark others final.Jay Shrauner2015-04-141-10/+0
|/ / | | | | | | | | Bug: Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
* | Merge "Merge commit 'e593d0a' into merge_work"Prerepa Viswanadham2015-04-121-3/+115
|\ \
| * | Merge commit 'e593d0a' into merge_workPrerepa Viswanadham2015-04-101-3/+115
| |\| | | | | | | | | | Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
| | * IMS-VT: Upgrade/Downgrade changeRekha Kumar2015-04-011-3/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Add isVideo API to VideoProfile.VideoState IMS-VT: Fix propagation of device orientation. Orientation received at VT Service is incorrect. Fixed propagation of device orientation to VT service. IMS-VT: Upgrade fix -Add session modify call timed out constant Notify listeners of video quality changed event - Propagate the video quality changed message to the UI. IMS: Add support for video quality - Add Config interface to get/set video quality IMS-VT: Multitasking feature -Support for video multitasking IMS-VT: Modification of data usage aidl Change data usage aidl interface to take parameter type long instead of int Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc Propagate the call substate changed message to the UI IMS-VT: Add call modifiable capability PhoneCapababilities call type modifiable constant added IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set IMS-VT: Enable Video conferencing. Enable Video conferencing. Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b IMS-VT: Add hide for setVideoProvider API Observed compilation error for SDK generation due to setVideoProvider API. Marking setVideoProvider as hide inorder to resolve the compilation error. IMS-VT: Add persist.radio.ims.audio.output for VT calls -- Add persist.radio.ims.audio.output to set the default speaker for VT calls. -- Add required constants IMS-VT: Add additional error codes for upgrade downgrade -Add support to send additional error codes to UI during upgrade downgrade. Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
* | | Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL.Andrew Lee2015-04-111-6/+6
|/ / | | | | | | | | Bug: 20160395 Change-Id: Ieb35f7b8a91022bae899b3fc093065c36d2d68c8
* | Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into ↵Prerepa Viswanadham2015-03-241-2/+2
|\| | | | | | | | | | | master_merge Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
| * resolve merge conflicts of bcb17eb to m-wireless-dev.Tyler Gunn2015-03-181-6/+13
| |\ | | | | | | | | | Change-Id: Ic8211fb14caec993c8e38c790006577493f7a607
| | * am 89f41eb3: Define the capability to speed up MT call audioDong Zhou2015-03-171-0/+9
| | |\ | | | | | | | | | | | | | | | | * commit '89f41eb39e910e220957ac861651ead17eff9085': Define the capability to speed up MT call audio
* | | \ resolved conflicts for merge of 00de38a1 to masterTyler Gunn2015-03-181-5/+12
|\ \ \ \ | | |_|/ | |/| | | | | | Change-Id: Ib1ac99ba7181ad79af94a04124380833bcb79a0c
| * | | Define the capability to speed up MT call audioDong Zhou2015-03-171-0/+9
| | | | | | | | | | | | | | | | | | | | Bug: 19656525 Change-Id: I0bc88e85b807871b2883a785efac91bd0e1f6d8d
* | | | am "Fix emergency callback number not shown for incoming calls."Vinit Deshpande2015-03-151-0/+12
|\ \ \ \ | | |/ / | |/| | | | | | | | | | merged from goog/mirror-m-wireless-internal-release 068085b Fix emergency callback number not shown for incoming calls.
| * | | Fix emergency callback number not shown for incoming calls.Tyler Gunn2015-03-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER. - Used in Telephony to indicate on an incoming call that the callback number should be shown. Bug: 18689292 Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
* | | | am "Indicate local and remote RX/TX capabilities for VT."Vinit Deshpande2015-03-151-8/+50
|\| | | | | | | | | | | | | | | | | | | merged from goog/mirror-m-wireless-internal-release 5e9e8bb Indicate local and remote RX/TX capabilities for VT.
| * | | Indicate local and remote RX/TX capabilities for VT.Andrew Lee2015-03-101-8/+50
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides more granular API support for representing the mix of state and capabilities of local and remote video clients. For our implementation, we are primarily concerned with bidirectional video calling. But, this provides support for representing certain error scenarios, and flexibility for other parties which may desire to implement one-way video calling. Change-Id: I0373ffd377c3547fa8dd98ab5fde4f8d616a1d2f
* | | am "Rename from VoWIFI to WIFI."Vinit Deshpande2015-03-151-4/+4
|\| | | | | | | | | | | | | | merged from goog/mirror-m-wireless-internal-release 1a8ae3e Rename from VoWIFI to WIFI.
| * | Rename from VoWIFI to WIFI.Andrew Lee2015-02-191-4/+4
| |/ | | | | | | | | | | | | Make capability labeling for calls over Wifi more generic. Bug: 19151548 Change-Id: I8b4adb0fb6f1e09f7c16d2d0f48bc7fe849a289e
* | Merge "Update setNextPostDialWaitChar API"Sailesh Nepal2015-02-021-5/+2
|\ \ | |/ |/|