d0fe76e8e74ac515cacc492fa2c783cf2247ac05 |
|
20-Mar-2017 |
Brad Ebinger <breadley@google.com> |
Fix Telecom Unit Tests 1) Add/Fix VideoProviderTests 2) Update tests to accommodate ContentProvider changes Test: Telecom Unit Tests Change-Id: I8ac65a4686937bfb3954f1d87ca8d1e4ee492644
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
115c06ee64e209cda99abdc1fbd23fd65aa6da47 |
|
02-Mar-2017 |
Tyler Gunn <tgunn@google.com> |
API review cleanups. - Modify the video call permission check to use the API version of the caller to determine whether to use the API26 SESSION_EVENT_CAMERA_PERMISSION_ERROR event. If the caller is using an older API, use the more generic SESSION_EVENT_CAMERA_FAILURE. - Update the sample Self Managed calling app to use the incoming call UX guidance specified in the Javadocs. - Fix bug in InCallController which could cause InCallService to see self-managed connections. Test: Manual Bug: 35767096 Bug: 35767711 Change-Id: I3e5e2b84eb026eec37f884029bb77d446a04e255
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
d8a27d5fc787f8839d3185f2b9137a8c2f1d68a0 |
|
01-Dec-2016 |
Tyler Gunn <tgunn@google.com> |
When setting camera, ensure calling user is the same as logged in user. When the VideoProvider API is used to change the camera, in addition to performing permission checks on the caller, adding logic to ensure that the calling UserHandle is the currently logged in User (this is to ensure that a background app can't access the camera). Test: Unit, manual Bug: 32747443 Change-Id: I0856f991c520dd1f5fa0146919941c052cba8a01
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
f1dcfdb99763740e9fd1ab036f6c06a312f197ad |
|
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, plus manual tests. Bug: 32747443 Change-Id: Ib96114502fe459b0429a87c5d13640b68ae6a2f7
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
8f98f10d53f4f7aa1605a37313a6186f90dc6c0e |
|
21-Oct-2016 |
Brad Ebinger <breadley@google.com> |
resolve merge conflicts of 953e1af to stage-aosp-master Test: Manual Testing Change-Id: I3c8cac2c8b3634db7a20cceda434e6db6cdb05ca
|
953e1af643b66df6f931d76c23bcc54147668cd4 |
|
06-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Switch to using android.telecom.Log in Telecom Sorry. Test: All affected unit tests still pass. Bug: 26571395 Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
609992b6d222e54a74cc7e6af06173090103a28a |
|
01-Sep-2016 |
Hall Liu <hallliu@google.com> |
Fix broken and flaky unit tests Fix unit tests to make them pass consistently in order to enable presubmit testing. Bug: 31041734 Change-Id: I1eba7302ae740cb2a0284003d999fd3274941e38
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
f15dc33f87f88e21ef745952a68af65c86e1bf1e |
|
08-Jun-2016 |
Tyler Gunn <tgunn@google.com> |
Filter external calls when InCallService doesn't support them. Use TelecomManager#METADATA_INCLUDE_EXTERNAL_CALLS metadata to check whether an InCallService supports external calls. Will only send external calls to an InCallService which has correct Metadata to indicate that it wants to be informed of external calls. This required some changes to how InCallController keeps track of the incallservices. I have added an InCallServiceInfo class which tracks the component name of an ICS as well as whether it supports external calls. The change to CallsManager#getFirstCallWithState and getNumCallsWithSate ensures that when TelecomServiceImpl checks to see if there are ongoing calls it doesn't consider external calls when checking if there is an ongoing call, and also when determining if room needs to be made for a call. Bug: 27458894 Change-Id: I69652877332be8527fb16a38c692b6f51a92e469
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
e091ab90e37845cf4771051a6d2ce0ebadee4fe7 |
|
19-Dec-2015 |
Hall Liu <hallliu@google.com> |
CallAudioManager refactoring Separates the handling of audio mode and audio focus into a state machine and brings ringing, tone generation, and ringbacks under the control of CallAudioManager. (cherry picked from commit fc2270137059e855756769752899d613e27d12a8) Change-Id: Idd765550c907150117b8b66f76e88868ae3785c2
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|
b492f4c845e61fac17c0e523363607d2dd6ba987 |
|
15-Dec-2015 |
Tyler Gunn <tgunn@google.com> |
Add Video API unit tests, fix auto speakerphone logic. - Move some of the single call Telecom system tests to a new BasicCallTests class. - Change visibility of some methods in TelecomSystemTest to faciliate the creation of other system test classes. - Added VideoProviderTest which exercises the Video APIs. - Created Mock Video Provider. Change-Id: Id314c18b77e8c635fbde0232a1ccfae851a3071c
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/VideoProviderTest.java
|