0d55a309ff576dbe64d3bacaa318222d35125b39 |
|
20-Mar-2017 |
Brad Ebinger <breadley@google.com> |
Helper method in VideoCallImpl for testing Test: Telecom Unit Tests Change-Id: Ie619850bd6a0a0bb599dc6d69c43757604723ee0
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
159f35c8e4a2d5902cbbeb8d3b9a80bddf247de3 |
|
02-Mar-2017 |
Tyler Gunn <tgunn@google.com> |
API review cleanups/changes. - Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed to accept the connection mgr phone account as the first parameter. - For the video APIs, pass the target SDK of the caller into along so that the Telecom permission check can have fallback behavior for older API versions. - Add guidance for how UX should be shown in onShowIncomingCallUi API. API guidance follows how the Dialer app shows its notification and full screen UX. Test: Manual, CTS. Bug: 35767711 Bug: 35767096 Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
bf9c6fdb43413929787ee3abeb76e5aabd1551d8 |
|
09-Nov-2016 |
Tyler Gunn <tgunn@google.com> |
Perform camera permission and app ops check when setting camera for VT. When a calling InCallService attempts to use the setCamera API on the VideoCall, Telecom will perform a permission check to ensure that the caller has the correct camera permission and passes the app-ops camera check. A failure to set the camera will result in a callback via the call session event API. This got a little messy as the app ops package name needs to come from the InCallService, and handler usage in the VideoProvider API means we had to pass around the uid/pid of the caller, obtained before we trampoline onto the handler. Test: Unit tests added, manual testing performed. Bug: 32747443 Change-Id: I555a04f9c3fb45e60bb811f64ba855ccf2e3b0e2
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
584ba6c1d156af1a1295fb101cd085577ac82ece |
|
08-Dec-2015 |
Tyler Gunn <tgunn@google.com> |
Remove dependency on android.telecom.Call in VideoCallImpl for testing. VideoCallImpl had a depedency on android.telecom.Call, which was used to get the current video state of a call when the user issues a session modify request (we need to know what the video state was before the request was sent). This proved problematic for unit tests, as android.telecom.Call is a final class and cannot be mocked. These changes assume the VideoCallImpl will instead have a video state property, which is updated by the Call whenever it changes. This removes the dependency on the Call, and makes it possible to unit test the API. Change-Id: Ie67255d68b23e32aa177b30ac6439632fad5cc27
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
73831680cd7e47df103cf60a2230ed411e5d3b93 |
|
06-Jun-2015 |
Etan Cohen <etancohen@google.com> |
Merge commit '2226933' into merge
|
e988cf779e19e2e321eb59361107e3819e39ce3b |
|
29-May-2015 |
Tyler Gunn <tgunn@google.com> |
Fix NullPointerException in VideoCallImpl. There were instances of NPEs due to a null mHandler in the VideoCallImpl. Traced the problem down to InCallService implementations which do not register a VideoCall Callback (e.g. gearhead). Added null checks for uses of mHandler. Bug: 21474154 Change-Id: I44dffde5e46529cc62912d417ad23c7b7dd1a1ba
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
56acbc410093b9854060c3a32c68a60d95cdca85 |
|
12-May-2015 |
Yorke Lee <yorkelee@google.com> |
DO NOT MERGE Fixes for APi review Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
6d3a7575e102e44514c1f834bd497f6b26e96769 |
|
13-May-2015 |
Yorke Lee <yorkelee@google.com> |
DO NOT MERGE More video related API fixes 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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
32f24731604fd81289a39619bbc925b65184b505 |
|
13-May-2015 |
Yorke Lee <yorkelee@google.com> |
More video related API fixes 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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
400470fab932fe3374149ab89386e460ea161002 |
|
12-May-2015 |
Yorke Lee <yorkelee@google.com> |
Fixes for APi review Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
73a8912a4dd8e435cc85201d7171ef4125eabf2b |
|
24-Apr-2015 |
Andrew Lee <anwlee@google.com> |
DO NOT MERGE Add handler parameter for callbacks. Bug: 20160491 Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
4538216a31d15b01e18c7b504e51031da0ce6e40 |
|
06-May-2015 |
Tyler Gunn <tgunn@google.com> |
Change sendSessionModifyRequest VideoProvider API signature. 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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
f18217248d647a29f64bc8f360667887e145d6d8 |
|
01-May-2015 |
Tyler Gunn <tgunn@google.com> |
Change sendSessionModifyRequest VideoProvider API signature. 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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
011728fc3a4368b601844d225d1f37bf48ea5735 |
|
24-Apr-2015 |
Andrew Lee <anwlee@google.com> |
Add handler parameter for callbacks. Bug: 20160491 Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
1418054108e3811db80e28496b335514b51b10f4 |
|
25-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Rename removeVideoCallListener to unregisterCallback Change-Id: Ie6b5ac9131e81900efc7d3fa67056aa47d566a44
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
89427249308b7db10e8c3d352b79097f94912b84 |
|
23-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Fix build due to merge of 7595842 and renaming due to 8eb87f0 I.e. rename mVideoCallback -> mCallback. Line with original name was added in mwd, renaming was done in master. The renaming CL was cherry-picked to mwd (and build probably fixed there). Change-Id: I462a0fedd00293a148404e1419740bf492ae5de9
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
d7b4b81274e8a0f885be553ea8e153ea5447798d |
|
24-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Merge commit '7595842' into merge2 Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
|
8eb87f0da838c5ca371a54ff2fc5924bf8664ba9 |
|
15-Apr-2015 |
Andrew Lee <anwlee@google.com> |
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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
da80c870a8c6d796446c373db9c9a989ebf8a388 |
|
15-Apr-2015 |
Andrew Lee <anwlee@google.com> |
Rename Call*Listener to Call*Callback. Deprecate the existing Listener methods and interfaces so that they can be replaced. Bug: 20160491 Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
75958420f2d294ceda517c2782b294002dc2969f |
|
15-Apr-2015 |
Tyler Gunn <tgunn@google.com> |
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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
07366813cdf3768dcd69a1f744023747564d654a |
|
25-Mar-2015 |
Rekha Kumar <rekhak@codeaurora.org> |
IMS-VT: Upgrade/Downgrade change -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
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|
ef9f6f957d897ea0ed82114185b8fa3fefd4917b |
|
13-Sep-2014 |
Tyler Gunn <tgunn@google.com> |
Renaming Telecomm to Telecom. - Changing package from android.telecomm to android.telecom - Changing package from com.android.telecomm to com.android.server.telecomm. - Renaming TelecommManager to TelecomManager. Bug: 17364651 Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
/frameworks/base/telecomm/java/android/telecom/VideoCallImpl.java
|