• Home
  • History
  • Annotate
  • only in /packages/services/Telecomm/testapps/src/com/android/
History log of /packages/services/Telecomm/testapps/src/com/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d3228c566052e894f651c494968481824aaf9ccb 18-Jul-2017 Hall Liu <hallliu@google.com> Change testapps to account for API change

Test: builds
Bug: 63769529
Change-Id: I8f4dbc8443a33b6358062a6f299192c9d50ffd1e
erver/telecom/testapps/TestRttActivity.java
2d03c79c4c1a71679b4f2b0bf1bc64c505777507 14-Jun-2017 Tyler Gunn <tgunn@google.com> Merge "Call handover improvements" into oc-dr1-dev am: 5288d29fc5
am: 5010208ceb

Change-Id: I18068b5dc90215ce53039e9f1e4650ac76bc55f7
5288d29fc5da8e433668d1c6068f9d5be088a9fd 13-Jun-2017 Tyler Gunn <tgunn@google.com> Merge "Call handover improvements" into oc-dr1-dev
141ef5805d18b0c8b71d2a50f77837e719672569 26-May-2017 Tyler Gunn <tgunn@google.com> Call handover improvements

- Set handover_from attribute when initiating a handover to another phone
account. This lets the recipient know where the call is coming from.
- Replace "handover successful" indicator on calls with a handover state.
This ensures there is sufficient state to ensure that if a call is
hung up before the handover is accepted that we don't treat that hangup
as if the handover was successful.
- Ensure failed handovers are not logged.
- Prevent EXTRA_IS_HANDOVER from being set for outgoing calls.

Test: Unit, Manual
Bug: 37977155
Bug: 38027075
Change-Id: Ie5240c28163714be71825e718daa560eb568330f
erver/telecom/testapps/SelfManagedConnectionService.java
03856a931c4ad78aaabc78e75b6d585c1defec13 13-Jun-2017 Jeff Sharkey <jsharkey@android.com> Revert "Follow revert back to oc-dev APIs."

This reverts commit a73119890564bb61aa5b96ca3404f09e03b6c6c9.
erver/telecom/testapps/TestRttActivity.java
843848776dbc2ea514a0832136f7c0b47a7cde37 13-Jun-2017 Jeff Sharkey <jsharkey@android.com> Follow revert back to oc-dev APIs. am: a731198905
am: 702d7f32d2

Change-Id: I5f5ffacd8c90bde8af6b8202f8677f792650f963
a73119890564bb61aa5b96ca3404f09e03b6c6c9 12-Jun-2017 Jeff Sharkey <jsharkey@android.com> Follow revert back to oc-dev APIs.

Test: builds, boots
Bug: 62431162
Change-Id: Ibee5f29da756b6922109b95c36fd340f02e1905e
erver/telecom/testapps/TestRttActivity.java
4e04c6c89b34c5540287358d5ba6403000e6fe67 08-Jun-2017 pkanwar <pkanwar@google.com> Changes to align with improvements to ImsiEncryptionInfo.

BUG: 35606429
Test: NA
Change-Id: I625a709ea2eedfbc989dffdbbf38b2e008de38fe
erver/telecom/testapps/TestCertActivity.java
c0d6043c27dde2ebcd68e74e7a63ba034236f7df 04-May-2017 pkanwar <pkanwar@google.com> Test app for IMSI privacy.

Create test app to download IMIS certificates, and parse the JSON.
The test app will also persist the certificates using TelephonyManager.

Bug: 35606429
Test: Manual
Change-Id: Icef53ffbd790f05c11a37c40d63f3252c8d7301c
erver/telecom/testapps/TestCertActivity.java
2351943f3dcda2ad546d302f8faaccccd8f120e9 29-Apr-2017 Tyler Gunn <tgunn@google.com> Merge "Fix USSD Api test app"
6aab9148451176be35e978723da82a7323c9cf29 26-Apr-2017 Tyler Gunn <tgunn@google.com> Fix USSD Api test app

The test app that sends USSD with the TelephonyManager API was broken and
would never receive callbacks. Corrected the issues.

Test: Manual
Bug: 37484804
Change-Id: I692b50e497b9aceebe80c87ec6efc25b6046a64b
erver/telecom/testapps/TestUssdActivity.java
1e6864ed8822880578a414692f59f215e9d31902 27-Apr-2017 Tyler Gunn <tgunn@google.com> Merge "Further call handover changes."
6f6f1c51c0675a67ef7d7e6ea9264429a4cb269d 18-Apr-2017 Tyler Gunn <tgunn@google.com> Further call handover changes.

Support logging self-managed calls based on PhoneAccount extra.
Support passing handover extras to the handover connection service.
Improve signalling to handover initiator on fail/success of hanndover.

Test: Manual
Bug: 37102939
Change-Id: Idd23d1f3489a640666ef20d51ed18e5b80028726
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedCallingActivity.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
ea4c6fb7dc46c96b5ecf2c2b81bce51fa58d774c 14-Apr-2017 Tyler Gunn <tgunn@google.com> Send PhoneAccount register/unregistered intents to default dialer.

A few cleanups:
1. When sending the register/unregister phone account intents, previously
there was no attempt made to ensure the intents were only sent when a
new account was added, or an existing one was removed. Cleaned this up
so that we don't over-send the intents.
2. Minor fix to account diff string in PhoneAccountRegistrar which would
cause icon to always be shown as a diff; removed since bitmaps can't be
compared.
3. Also sending the intents to the default dialer app as an explicit
intent.
Cherry-pick from aosp master to resolve conflicts.

Test: Manual
Bug: 37106957
Change-Id: I7fdaa3e225df6fe3aaf292f9b0b93042f69ca469
erver/telecom/testapps/TestInCallServiceBroadcastReceiver.java
b7471f6f2568c4bb159dc1e284cf8c3704dfb2ea 11-Apr-2017 Tyler Gunn <tgunn@google.com> Merge "Support Connection handover between ConnectionServices."
6f9ceb2c1fbb9565cc6f6fdf32e996e8a1eab7c8 06-Apr-2017 Tyler Gunn <tgunn@google.com> Support Connection handover between ConnectionServices.

Call:
- added support for initiation of handover on receipt of the
EVENT_REQUEST_HANDOVER call event.
CallAudioManager:
- suppress disconnect tone when handover is in process for a call.
CallsManager:
- when the ConnectionService adds a new incoming call with
EXTRA_IS_HANDOVER, this indicates that the call is being added as the
destination for the handover. Adding logic to find the ongoing call on
the device which will be handed over to this new call, and confirm that
handover is supported by both ConnectionService.
- on call removal, clean up handover call references.
- When calls change state, handle completion or failure of overall
handover.
- ensure it is possible to add handover calls when there are other ongoing
calls which would normally prevent them from being added.
TestApps:
- Added ability to initiate handover from Test Incall UI.
- Added ability to receive handover from test self-mgd calling app.

Test: Manual
Bug: 37102939
Change-Id: Idfa4325bb1aee34abad5cdb3d8edb48f0186692e
erver/telecom/testapps/HandoverActivity.java
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallUI.java
099e711b8f31666f989dc22ec21c35bbf4004c71 05-Apr-2017 Hall Liu <hallliu@google.com> Merge "Do not set PROPERTY_IS_RTT in testapps" am: e42440cca9 am: 001a02caa2
am: 5a7f4317e2

Change-Id: I84faf74d8211d83403b3ac19d0b0c64c4a6d082e
e42440cca9f3eaa3d3d13e3e8df5016c8d511e44 05-Apr-2017 Hall Liu <hallliu@google.com> Merge "Do not set PROPERTY_IS_RTT in testapps"
f19e93c865ad756ada44f0592f7cde60552c04ef 29-Mar-2017 pkanwar <pkanwar@google.com> Address API concerns for isConcurrentVoiceAndDataAllowed and
OnReceiveUssdResponseCallback.

Bug: 35766890
Test: Existing tests.
Change-Id: Iec63aabc08cdbe4e7a8a20bdab320f8ea740443f
(cherry picked from commit 8d02743aba4d668b40ada9420662afd22a4e7857)
erver/telecom/testapps/TestUssdActivity.java
66d27bb87cc8e1b721a380fad3d22570d84f2f16 03-Apr-2017 Pankaj Kanwar <pkanwar@google.com> Merge "Address API concerns for isConcurrentVoiceAndDataAllowed and OnReceiveUssdResponseCallback."
e0d7233f24a808e61e16f49881292269b2669583 31-Mar-2017 Tyler Gunn <tgunn@google.com> Merge "Self-Managed Incoming Call Disambiguation UX." am: b77f30fa1f am: be4ff39882
am: c6e9cba5a9

Change-Id: I6f186038a14efe86d31bcc4616f194dd40b1981f
ca766d28471cc41d9ef33682a41edd1f99448d42 08-Mar-2017 Tyler Gunn <tgunn@google.com> Self-Managed Incoming Call Disambiguation UX.

- Handle auto-disconnect of foreground call when answering a self-managed
call.
- Enforce restriction that the PhoneAccount associated with a self-managed
CS must have a label which is the app's name.
- Ensure self-managed phone accounts can't be registered with
call provider, connection manager, or sim sub capabilities.
- Add "incoming call" UX which is shown when a new incoming call from a
self-managed CS comes in and there is an existing call for another CS.

Test: Unit, manual
Bug: 34159263
Merged-In: I371be9baa6f56c77aa83349977c0131f0e319047
Change-Id: I371be9baa6f56c77aa83349977c0131f0e319047
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedCallListAdapter.java
erver/telecom/testapps/SelfManagedCallingActivity.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
2b17f23d3257dec66d965ac7b4a59aa2226b43a5 08-Mar-2017 Tyler Gunn <tgunn@google.com> Self-Managed Incoming Call Disambiguation UX.

- Handle auto-disconnect of foreground call when answering a self-managed
call.
- Enforce restriction that the PhoneAccount associated with a self-managed
CS must have a label which is the app's name.
- Ensure self-managed phone accounts can't be registered with
call provider, connection manager, or sim sub capabilities.
- Add "incoming call" UX which is shown when a new incoming call from a
self-managed CS comes in and there is an existing call for another CS.

Test: Unit, manual
Bug: 34159263
Change-Id: I371be9baa6f56c77aa83349977c0131f0e319047
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedCallListAdapter.java
erver/telecom/testapps/SelfManagedCallingActivity.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
847e66586972c596b2273dda9d5e14342f131053 17-Mar-2017 Hall Liu <hallliu@google.com> Do not set PROPERTY_IS_RTT in testapps

Functionality moved into framework.

Test: CTS
Change-Id: I1e9d5f9992a7260e81f9034de3f5b91dd46ef3c9
erver/telecom/testapps/RttChatbot.java
erver/telecom/testapps/TestConnectionService.java
erver/telecom/testapps/TestRttActivity.java
8d02743aba4d668b40ada9420662afd22a4e7857 29-Mar-2017 pkanwar <pkanwar@google.com> Address API concerns for isConcurrentVoiceAndDataAllowed and
OnReceiveUssdResponseCallback.

Bug: 35766890
Test: Existing tests.
Change-Id: Iec63aabc08cdbe4e7a8a20bdab320f8ea740443f
erver/telecom/testapps/TestUssdActivity.java
b8b5a6976b44f92494971672ca3c1e6a71974d54 15-Feb-2017 Hall Liu <hallliu@google.com> Implement mid-call RTT initiation and teardown

Adds functionality to testapps and to framework to allow for local and
remote initiation and disconnection of RTT.

Test: manual
Merged-In: I0e8248b495a7d3750c840591f1fa5388b34a32e2
Change-Id: I0e8248b495a7d3750c840591f1fa5388b34a32e2
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/RttChatbot.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestConnectionService.java
erver/telecom/testapps/TestInCallUI.java
erver/telecom/testapps/TestRttActivity.java
1edf04a086db22869f0858536eb68bbdf5736ece 07-Mar-2017 Tyler Gunn <tgunn@google.com> API review cleanups. am: 115c06ee64 am: aa59fe7535
am: 124b43d958

Change-Id: I9203a225f2c320f370343c5431d586ae87747156
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
erver/telecom/testapps/IncomingSelfManagedCallActivity.java
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedCallNotificationReceiver.java
erver/telecom/testapps/SelfManagedCallingActivity.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
aeece4ec4184b76e0ac2e8a012af05638ad866f6 15-Feb-2017 Hall Liu <hallliu@google.com> Implement mid-call RTT initiation and teardown

Adds functionality to testapps and to framework to allow for local and
remote initiation and disconnection of RTT.

Test: manual
Change-Id: I0e8248b495a7d3750c840591f1fa5388b34a32e2
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/RttChatbot.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestConnectionService.java
erver/telecom/testapps/TestInCallUI.java
erver/telecom/testapps/TestRttActivity.java
86f417aa84995ffba44ea98b32d5ba4ee338aa6f 22-Feb-2017 Hall Liu <hallliu@google.com> Add support for RTT calls (part 1) am: dd68bc36a3 am: 399f7e50b0
am: 1d36154ab9

Change-Id: Id768015a354c9a3428b4c817507d058df6ea15f7
dd68bc36a3278557b1c4d9183ed9e3dee077eb20 26-Jan-2017 Hall Liu <hallliu@google.com> Add support for RTT calls (part 1)

Adds logic for handling RTT call initiation and communication with the
InCallService and the ConnectionService and includes changes to the
testapps that exercise this functionality. This change handles RTT
initiation from the beginning of a call.

Change-Id: I3d713b662a100b2e0ad817b92005f044bcc60c62
Test: manual, through testapps
erver/telecom/testapps/CallListAdapter.java
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/CallServiceNotifier.java
erver/telecom/testapps/RttChatbot.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestConnectionService.java
erver/telecom/testapps/TestDialerActivity.java
erver/telecom/testapps/TestInCallUI.java
erver/telecom/testapps/TestRttActivity.java
9517c960762f1ac4a3c558ff834fa1ace69f1e39 26-Jan-2017 Tyler Gunn <tgunn@google.com> Self Managed CS implementation.

Implementation for self-managed connection service APIs.

Add ability for self-managed CS to:
- register a phone account and have it be auto-enabled.
- add ability for self-managed calls, ensuring only self-manage calls
can be added.

Add implementations for new isXCallPermitted APIs.
Filter self-managed calls from InCallServices.
Ensure self managed connection creation doesn't use emergency call CS.
Add ability to set audio route from self-managed connection
Overhaul some of the CallsManager getCallsWithState methods to support
other use cases for self-managed calls (also use steams/filters.. Ooo aah)

Test: Manual
Bug: 34159263
Merged-In: I3131fd48ee5c5aa36c0e88992fa51879af07d495
Change-Id: I3131fd48ee5c5aa36c0e88992fa51879af07d495
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedCallListAdapter.java
erver/telecom/testapps/SelfManagedCallingActivity.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
a90ba73e6ca2e7e3ef88e41477bf595e03f9359f 26-Jan-2017 Tyler Gunn <tgunn@google.com> Self Managed CS implementation.

Implementation for self-managed connection service APIs.

Add ability for self-managed CS to:
- register a phone account and have it be auto-enabled.
- add ability for self-managed calls, ensuring only self-manage calls
can be added.

Add implementations for new isXCallPermitted APIs.
Filter self-managed calls from InCallServices.
Ensure self managed connection creation doesn't use emergency call CS.
Add ability to set audio route from self-managed connection
Overhaul some of the CallsManager getCallsWithState methods to support
other use cases for self-managed calls (also use steams/filters.. Ooo aah)

Test: Manual
Bug: 34159263
Change-Id: I3131fd48ee5c5aa36c0e88992fa51879af07d495
erver/telecom/testapps/SelfManagedCallList.java
erver/telecom/testapps/SelfManagedCallListAdapter.java
erver/telecom/testapps/SelfManagedCallingActivity.java
erver/telecom/testapps/SelfManagedConnection.java
erver/telecom/testapps/SelfManagedConnectionService.java
dc4c14d7a4c75c009c04496c7bc2bf1b1942ead8 31-Oct-2016 pkanwar <pkanwar@google.com> Provide an API to make USSD calls and read the responses.

Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Ie92441b6435775d9b6d74f9a0777064d9839d6dc
erver/telecom/testapps/TestUssdActivity.java
1e37be5dd86a51b90e461f09dc8a89effe4aee21 11-Jul-2016 Tyler Gunn <tgunn@google.com> Finalize multiendpoint functionality.

1) Handle the PULLING state throughout telecom.
2) When parcelling calls to send to InCallServices, remap PULLING state
to DIALING if an InCallService doesn't support external calls. This
ensures compatibility for things like Android Wear/Auto.
3) Ensure add call isn't disabled because of external calls.
4) Modify InCallController to handle changes to whether a call is external
or not. For IncallServices that do not support external calls, we will
add the call when an external call becomes a regular call, and we will
remove it when a regular call becomes external.

Change-Id: I1bf6c1f7e182834c3ab1ed34cd119467a4698993
erver/telecom/testapps/TestConnectionService.java
14fd8f3d5a86b0b1d56f27d7a638d8d4b29e766d 31-Mar-2016 Santos Cordon <santoscordon@google.com> Merge "Dynamic InCallService switching." into nyc-dev
501b9b3775232bb3033afd9f1fd608dd07d0b91e 07-Mar-2016 Santos Cordon <santoscordon@google.com> Dynamic InCallService switching.

Be able to switch between in-call services UIs.

Created a tree data structure to handle switching between InCallServices
depending on the state of the system. Tree looks like this:

CarModeSwitchingConnection
| |
+------+ +-------+
| |
CarModeConnection EmergencyConnection
|
|
DefaultDialerConnection

Bug: 24571147
Change-Id: I0999fad4185321d5211172aed2f1d60fe8f5fe3a
erver/telecom/testapps/TestCallList.java
571d5e66b8cbee023702b4b0a2a1c28663c5a7f8 15-Mar-2016 Tyler Gunn <tgunn@google.com> Add connection properties to Connections.

- Per suggestion of API council, moving properties of a Connection from
CAPABILITIES_* to PROPERTIES_*.

Bug: 27458894
Change-Id: I484783727c840a56882bca79c35280a4a338256d
erver/telecom/testapps/TestConnectionManager.java
961694a9750626c067be960170bc95f10b5efcc2 22-Mar-2016 Tyler Gunn <tgunn@google.com> Support for enhanced call/connection extras.

Plumbing in support for InCall UIs to update the extras of a connection.
Adding in unit tests for connection and call extra set/get methods.

Bug: 27458894
Change-Id: I9ce526bf293c9f5dd03642391d459fcfa03c31ef
erver/telecom/testapps/TestConnectionService.java
f78a72f8a1054726aa6f85a21372d917576906dd 21-Jan-2016 Santos Cordon <santoscordon@google.com> Revert "Revert "Support car-mode UI in telecom.""

This reverts commit 88cda8452124d43c145d54a97477dc5cf8a32a58.

Change-Id: Icfd1ab3ed3af39f62bd828dceb5ff2d4d517cb91
erver/telecom/testapps/CallListAdapter.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallServiceImpl.java
erver/telecom/testapps/TestInCallUI.java
88cda8452124d43c145d54a97477dc5cf8a32a58 21-Jan-2016 Brad Ebinger <breadley@google.com> Revert "Support car-mode UI in telecom."

This reverts commit d3182912911d167e4a5a8d379cef11c619d18d36.

Change-Id: I48da1122846b18c03bec486ee2bf977f721723a2
erver/telecom/testapps/CallListAdapter.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallServiceImpl.java
erver/telecom/testapps/TestInCallUI.java
d3182912911d167e4a5a8d379cef11c619d18d36 11-Dec-2015 Santos Cordon <santoscordon@google.com> Support car-mode UI in telecom.

Add additional step to look for and bind to a car-mode UI if the device
is currently in car-mode. Add a system state component to listen for
car-mode changes.

Change-Id: I5124b46f43b47bda39cf3d0f882378cf69b0505b
erver/telecom/testapps/CallListAdapter.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallServiceImpl.java
erver/telecom/testapps/TestInCallUI.java
141c4bf96b6091833d3d321a2503f6ab5aa80441 16-Dec-2015 Tyler Gunn <tgunn@google.com> Enhance TestConnectionService to support 1-way video calls.

- added support for receiving 1-way video calls; this is useful when
testing receiving calls from a different device that does support 1-way
video calls and we want to ensure our implementation handles it.
- also add "capability_video_calling_relies_on_presence"

Change-Id: I417cd439aa8d6bebb5c35ec18fe5f5592535551c
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/CallServiceNotifier.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestConnectionService.java
369c8740adecbb47a17171f861322a76588a6319 08-Oct-2015 Tyler Gunn <tgunn@google.com> Add store/retrieve of PhoneAccount extras to PhoneAccountRegistry.

- Add write/read to parser.
- Add Unit test case for XML parsing.
- Add test extra data test ConnectionService phone accounts.

Bug: 22806380
Change-Id: Ib01843ee859616eb6674f070a674b792d52b8869
erver/telecom/testapps/CallServiceNotifier.java
24b6d7743ea4c896afe51830b2600527f97916c9 03-Aug-2015 Tyler Gunn <tgunn@google.com> Pass call subject from ACTION_CALL intent to Connections.

- Added code in test connection service to faciliate testing call subjects.

Bug: 22685114
Change-Id: I729a574107cc2913f8cff956b03876053e4c44de
erver/telecom/testapps/CallServiceNotifier.java
erver/telecom/testapps/TestConnectionService.java
504a7f92a570dc6e619811a868da7a86b7716624 19-Jun-2015 Santos Cordon <santoscordon@google.com> Add dial extras to test app.

Change-Id: Ibd15b0d9f75a22291c96cd4cc6192de17527fcb4
erver/telecom/testapps/TestDialerActivity.java
86014fcf9ec86e198a1ebac7c46e0e5c630735d7 12-Jun-2015 Tyler Gunn <tgunn@google.com> Play tone when video upgrade request is received.

Added a VideoProviderProxy which intermediates between the VideoProvider
in the ConnectionService and the InCallService.

Changed CallsManager to listen for session modification requests via the
VideoProviderProxy and report these to its listeners via the
CallsManagerListeberBase.

Changed InCallToneMonitor to listen for session modification requests and
to play a tone when a request to upgrade is received.

Also, added an intent in the TestInCallService which I neglected to commit
in a previous CL.

Bug: 20232310
Change-Id: I1b105968f519ff6b166bbd02cb57b1cf68d2cea9
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallServiceBroadcastReceiver.java
5b8824979e929250a46791c785b8459512236585 03-Jun-2015 Tyler Gunn <tgunn@google.com> API Cleanup: Remove references to VideoState class.

- Replace use of VideoState static methods with VideoProfile equivalent.
- Replace use of VideoState consts with VideoProfile equivalent.

Bug: 21573551
Change-Id: I567abaf4b6c0de51656869d1c7367a7ff3e51cd1
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestConnectionService.java
c849155bb5edb5a89f1e055bb593ac65aa3be83e 29-May-2015 Tyler Gunn <tgunn@google.com> Fix build break.

- This was local and I forgot to repo upload it.

Bug: 21474356
Change-Id: I1ce4102a44abd031843ae9c1376dc02b3ebc0487
erver/telecom/testapps/TestManagedVideoProvider.java
a955f69f199fad0faf2798ebf3ca136a9cf0bc8b 14-May-2015 Santos Cordon <santoscordon@google.com> Merge "[2/4] Use new Icon class in PhoneAccount." into mnc-dev
9c30c280f0007eb32d3ae9a7cad8ceb68120ca41 14-May-2015 Santos Cordon <santoscordon@google.com> [2/4] Use new Icon class in PhoneAccount.

Bug: 21088522
Change-Id: If57c3cb2f1c6630b6bd66e55862bec564e817945
erver/telecom/testapps/CallServiceNotifier.java
2a66f7b906b225413ae33f72e70a75e4f9c883c0 13-May-2015 Yorke Lee <yorkelee@google.com> Rename AudioState to CallAudioState

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
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestConnectionService.java
36004e70d54d4f8063733cc8b85150b1931e1c03 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
erver/telecom/testapps/TestManagedVideoProvider.java
erver/telecom/testapps/TestVideoProvider.java
0f215ce43e23f8c72b8caeb710946ae40dac07d3 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: I5602031786a845eb8b7b62e64db511f32b4ac2ec
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestManagedVideoProvider.java
erver/telecom/testapps/TestVideoProvider.java
596c396ff31cc66ec6cf0d3cbc7044e69c0c8cef 01-May-2015 Yorke Lee <yorkelee@google.com> Add CNAP name to TestConnectionService

Allows the ability to test CNAP functionality in the
Dialer without actually receiving a real call.

Bug: 10121624

Change-Id: Id02d2e873c61ef05db9d3e2bda5bdf4296db4070
erver/telecom/testapps/TestConnectionService.java
65ff448549b700e025894ea170d36043d45ecfa6 06-May-2015 Yorke Lee <yorkelee@google.com> Merge "Use current userhandle when querying for default dialer" into mnc-dev
0bd4de37ac94b371a1f54891da0fe3df2da8fb6e 06-May-2015 Tyler Gunn <tgunn@google.com> Change sendSessionModifyRequest VideoProvider API signature.

- Update Test Video providers.

Bug: 20704229
Change-Id: I493d25cc68ecd18a6fac228f49d421ad8696793b
erver/telecom/testapps/TestManagedVideoProvider.java
erver/telecom/testapps/TestVideoProvider.java
4e4ed74f1c29ede44450f78354755bfabfb1fc4f 06-May-2015 Yorke Lee <yorkelee@google.com> Use current userhandle when querying for default dialer

Also update TestDialerActivity to use placeCall API.

Bug: 20696062
Change-Id: I65f9585f7659009e76456c4613de48f0558dd0b5
erver/telecom/testapps/TestDialerActivity.java
ac30f08f0ef02e67d77a2f01c9d1018fe61a1605 05-May-2015 Tyler Gunn <tgunn@google.com> DO NOT MERGE Add ability to specify video state through TestInCallService intent.

TestInCallService has an "ACTION_SEND_UPGRADE_REQUEST_FROM_TEST_INCALL_SERVICE"
intent.
Added support to specify an int videoState as part of the intent so that
the caller can test sending video requests that our InCall may not
support (e.g. incoming 1-way request when in audio-only).

Bug: 20090022
Change-Id: I283575cc296444bbdadcdec5c1caa1593c1eed3b
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallServiceBroadcastReceiver.java
4d2ec4a721e8ed8f2e064c914cd07378da168d08 05-May-2015 Prerepa Viswanadham <dham@google.com> Merge changes from topic 'mwd-merge-050415' into mnc-dev

* changes:
Merge commit '336b6a1' into merge_try2
Merge commit '51d0dfa' into merge_try2
736fe75ad682ac2663bd3e8613521144e2269cab 02-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '336b6a1' into merge_try2

Change-Id: I471327b21bb250640a17dac06251bd45227910e5
8835a0854f42d1cd104975a8dfc4a6f21081275a 01-May-2015 Yorke Lee <yorkelee@google.com> Merge "Add activity to handle default dialer requests" into mnc-dev
b5c5d44062ff3d992e0985424382e4596d386085 28-Apr-2015 Yorke Lee <yorkelee@google.com> Add activity to handle default dialer requests

* ChangeDefaultDialerDialog provides the UI that can be used by
apps to request that the user select their package as the default
dialer.

* Add various manifest entries, strings etc for use in the UI

* Exercise TelecomManager.ACTION_CHANGE_DEFAULT_DIALER in
TestDialerActivity

Bug: 20304411

Change-Id: Ibc6678c44290f5c9aa00c294b55db74c2c6e09eb
erver/telecom/testapps/TestDialerActivity.java
1d01d894cd1a5ac006524fc2a11674632d6c6cb2 01-May-2015 Andrew Lee <anwlee@google.com> Merge "Change unregisterCallback to destroy." into mnc-dev
a9f922acf5971d7dc2fa1d7ecc2702caacac331e 27-Apr-2015 Andrew Lee <anwlee@google.com> Change unregisterCallback to destroy.

Bug: 20160491
Change-Id: I482d2fb981c5c2537d7bd792cd807b5c4a58264a
erver/telecom/testapps/TestCallList.java
581dbe94f1cab2d5fda91e2a4624431c50d09976 30-Apr-2015 Yorke Lee <yorkelee@google.com> Add RESPOND_VIA_TEXT capability to TestConnectionService

Change-Id: I7b85f7173abbedec84720f71fa2bc1487d8a9fe1
erver/telecom/testapps/TestConnectionService.java
5310196deda80ace064a7d5bc672dbe1974906b9 30-Apr-2015 Yorke Lee <yorkelee@google.com> Add default dialer checks to Telecom/Telephony

Check for the default dialer or the modify phone state permission
for various TelecomManager/TelephonyManager methods.

Make sure to check the user-selected default rather than the
hardcoded package name.

Exercise this code in TestDialerActivity.

Bug: 20304458
Change-Id: Ic04cd8f2ba98e1d54c39549ae89d3e11cd5cdafb
erver/telecom/testapps/TestDialerActivity.java
33b6729930a10ddd784b7bb2e8c2e6509c54ef54 28-Apr-2015 Tyler Gunn <tgunn@google.com> Intent handling fixes for TestInCallService and TestCallActivity.

I had added the android:process to the TestCallActivity section in the
manifest. This made my test intent work, but broke the intents in the
TestCallActivity which communicated back to the TestConnectionService.

Correctected this by adding a new BroadcastReceiver which is used to handle
intents for the TestInCallService.

Change-Id: I665b381a5519b0a1ddac39f580ce6482615dcffa
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestInCallServiceBroadcastReceiver.java
fbc956311259d1cdd5978cb0b652d1561f06a33c 27-Apr-2015 Yorke Lee <yorkelee@google.com> Exercise voicemail permissions in Test Dialer

Bug: 20333102
Change-Id: Icc244816518a558ba5b841d7d9e070b3c6c34e8b
erver/telecom/testapps/TestDialerActivity.java
3e77ce24a17564818a5fe8f4d20eac7285f1bcf7 23-Apr-2015 Etan Cohen <etancohen@google.com> Fix build - renaming variables.

Change-Id: I3f7652a0372dca59cddc122a89676a1b7238788d
erver/telecom/testapps/TestCallList.java
5b2c59e20e1fafeafa8f50cc8b9dc0df15cdd812 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '0751e61' into merge2
92694519535c54f542b4ef3973e9c1934f2feeff 23-Apr-2015 Santos Cordon <santoscordon@google.com> Move CallState and rename PRE_DIAL_WAIT.

CallState was a public API only being used by Telecom so I've moved it
into to Telecom and removed it from the public API. The translation
from CallState to Call.STATE_* was happening on the public Call object
which wasn't ideal (Call.java shouldn't have to know that other
representations of state exist). So I moved the translation into
InCallController.java and what we pass into ParcelableCall is now
Call.STATE_* constants.

Bug: 20532827
Bug: 20532435
Change-Id: I79ce36c7e971c1a49b857506c9a56cfe316069cf
erver/telecom/testapps/CallNotificationReceiver.java
77f10d87a98a5ee2401ed98d4f8a981023e30104 21-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Make calls from TestDialerActivity

Bug: 20348183
Change-Id: Ib4c5b08aa7fdfe61a3dc31a880541423be255543
erver/telecom/testapps/TestDialerActivity.java
562ad5e7577d13e0ac31c42ee6499543f4d1e684 21-Apr-2015 Yorke Lee <yorkelee@google.com> Make calls from TestDialerActivity

Bug: 20348183
Change-Id: Ib4c5b08aa7fdfe61a3dc31a880541423be255543
erver/telecom/testapps/TestDialerActivity.java
8a11444dd0802b199b8d2d84582f46154d21c149 16-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Use Callbacks instead of Listeners.

Change-Id: I108cfe06abbded9d2632b0d5207e8d80b53e6dbe
erver/telecom/testapps/TestCallList.java
fc0e227881bbb1c0795e5223d0594f13e1b2de12 16-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Remove connection substate

Bug:20300433
Change-Id: I4148ac2677598d4db60950712fda2a3be726d791
erver/telecom/testapps/TestConnectionManager.java
7cc486c725e2ae9b8051b4f36fd0c41ff3a8aca3 16-Apr-2015 Jay Shrauner <shrauner@google.com> Remove connection substate

Bug:20300433
Change-Id: I4148ac2677598d4db60950712fda2a3be726d791
erver/telecom/testapps/TestConnectionManager.java
28adac49563a104948ba6ab7e3f6d9ca12e552a7 16-Apr-2015 Yorke Lee <yorkelee@google.com> Add some capabilities back to TestConnectionService

Lost in bad merge from mwd -> master

Change-Id: I5e0fe714cd0338d82e3814b254d9e1c05df609ee
erver/telecom/testapps/TestConnectionService.java
633963ebba74f464cf134683ed985f8b237660cc 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.

- Modify InCallController to only update the VideoProvider in the parcelled
call data if it has changed.
- In InCallController, removed check that would prevent sending video
provider to other InCallServices other than the default incall UI.
- Created TestCallList and modified TestInCallServiceImpl to track all
calls and output some debug information about the calls/video callbacks.
- Added a new Test intent, ACTION_SEND_UPGRADE_TO_VIDEO_REQUEST which will
cause the TestInCallServiceImpl to loop through all telecom calls and
trigger the VideoCall API to send an upgrade to video request. THis is
to mimic how the telephony test team will be using a test InCallService
to control the device.

Bug: 20092420
Change-Id: Ib781551d5168bc095f58b7b62906a9e59e43958e
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestCallList.java
erver/telecom/testapps/TestInCallServiceImpl.java
b2dfc423ce184eb2c1411725f317338d1581cd96 15-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix build issues after the merge

Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
erver/telecom/testapps/TestConnectionService.java
95ac44451d432cbbb3908efed490e90a803edf22 15-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Suffix VT_LOCAL/VT_REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Id109cf1ee5206fc4a6d445716b6e5c8e20930b1c
erver/telecom/testapps/TestConnectionService.java
6f9edf4d801dce1d5bcc914aa2d4212cd28adc84 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am 817090c..60db0ce from mirror-m-wireless-internal-release

60db0ce merge in m-wireless-internal-release history after reset to 604757344ff406fc45b3c1279af2d484eee0e7a6
6047573 Merge "Allow default dialer to silence ringer" into m-wireless-dev
e3893f1 Allow default dialer to silence ringer
66f5296 merge in m-wireless-internal-release history after reset to 817090c6c6e43e13d2dbd6000c90331bfcbddaf8
b3e8a72 merge in m-wireless-internal-release history after reset to 959afe011bb4d41d7037844874acecb6e609e4f8
0be7b9d merge in m-wireless-internal-release history after reset to m-wireless-internal-dev
3631b8e merge in m-wireless-internal-release history after reset to 827480f426ae7154dedb4cdfa50065aa3820f0a9
411b7c0 merge in m-wireless-internal-release history after reset to 827480f426ae7154dedb4cdfa50065aa3820f0a9
3c73246 merge in m-wireless-internal-release history after reset to eb39aa2c275ee5755e93eb4bc5b3b10085a97948
55b0b65 merge in m-wireless-internal-release history after reset to b63b57e2c35c4769e756f47131c7ebbc0af42c59
bba7176 merge in m-wireless-internal-release history after reset to 226ae567a63a3ae8dd5292b127d59abf107417f4
2fd2e2a merge in m-wireless-internal-release history after reset to 226ae567a63a3ae8dd5292b127d59abf107417f4
84c4eca merge in m-wireless-internal-release history after reset to 226ae567a63a3ae8dd5292b127d59abf107417f4
ef8212f Fix problem with AsyncQueryHandler
ae3b8d0 Fix problem where incoming calls would hang and never complete
c5dcd58 Clear the calling identity when using the notification manager.

Change-Id: Ib288850421bdb4444a8c22c7d1da63af5c31b703
73ff372fda987a9e797d1c4ecf363a16b7d2abda 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am 959afe0..abcbce4 from mirror-m-wireless-internal-release

abcbce4 Fix deadlock around locking in AudioManager
5a1b1fd Merge "Add more capabilities to TestVideoProvider" into m-wireless-dev
e09b47b Add more capabilities to TestVideoProvider

Change-Id: I00a8a3bebd56a5f78b6b3fa3958d6cf3929b1834
90a319c06e77b369849b14f2bc3da99f4a81230e 11-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Use CameraCapabilities constructor w/o zoom params

Bug:20160534
Change-Id: I62cf20afeb22436ef4108db39b6067a9da627580
erver/telecom/testapps/TestVideoProvider.java
48105e1a3671c89bf7fb0dc1879221b7caa1351e 14-Apr-2015 Andrew Lee <anwlee@google.com> Merge commit '3631b8e' into mergemeister

Change-Id: I40c4794e1091b26c5cd366dc4baf55626b62a145
817090c6c6e43e13d2dbd6000c90331bfcbddaf8 10-Apr-2015 Yorke Lee <yorkelee@google.com> Add ability to send video upgrade requests using TestVideoProvider

Bug: 20090411
Change-Id: I5db96fd41efc3baee0d80c73988cc0d6fba23b37
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestConnectionService.java
2a6985f675b0b4000b2a5a53e7df2fd3b55e91a1 27-Mar-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Add ability to simulate missed calls

After initiating a call using
adb shell am start -a android.telecom.testapps.ACTION_START_INCOMING_CALL
-d "tel:14082932268"

Hang up the call using:
adb shell am start -a android.telecom.testapps.ACTION_HANGUP_CALLS

Bug: 19803865
Change-Id: I9ba12bac1eb5db5c19d0d830fc1e1e77cb3b86cb
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestConnectionService.java
e09b47b2f8b96780fc5c921785d73082cd932828 17-Mar-2015 Yorke Lee <yorkelee@google.com> Add more capabilities to TestVideoProvider

* Support outgoing video calls with TestConnectionService
* Add the ability to upgrade/downgrade between video/voice, with
a simulated delay.

Change-Id: Ie2408fcbf255023a55139618f1cc48f5ad4dcbce
erver/telecom/testapps/TestConnectionService.java
erver/telecom/testapps/TestVideoProvider.java
032f8e415661339bd1e9a2da5e295062a996a7f5 02-Apr-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Change parameter type of data usage
Change Data Usage methods to take parameters of type long
instead of int.

Change-Id: I6a277dedb5976261035084955ed8a90da256061a

IMS-VT: When TTY is ON, do not allow MO VT call
When TTY mode is ON, the user SHOULD NOT be allowed to make
a Mobile Originating (MO) VT call and an UI alert message will
be displayed explaining MO VT call cannot be initiated.

Propagate the call substate changed message to the UI

IMS-VT : Set the flag to start call with speaker on for incoming VT calls
- There seems to be a race condition between when InCallUI
enters the video mode and sets the speaker phone on and
when call state changes to active.
- As a result, the audio route gets reset to earpiece as we
are not setting speaker phone on flag for the incoming
case. This change fixes that issue.

IMS-VT: Set speaker phone to true only if bluetooth or headset is not connected

IMS-VT: Convert emergency video call to voice call.
Convert emergency video call to voice call.

Change-Id: I09b82dcb6308a1177716b77e87da68161000518b

IMS-VT: Enable Video conferencing.
Enable Video conferencing.

Change-Id: Ief145e0592e58de46c7a75d858effdd72fa8b476

IMS-VT: Check for property before enabling speaker for MT VT calls
Check persist.radio.ims.audio.output before enabling speaker
if property is set to disable speaker then MT VT calls should not
use the speaker.

Change-Id: I0c6288a8fd672c9b7a13edac11e29875d0df4eb7
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestManagedVideoProvider.java
erver/telecom/testapps/TestVideoProvider.java
945a82ea92bf4fcc8b505738760650f9fb74960b 02-Apr-2015 Ihab Awad <ihab@google.com> Split unit tests and interactive test apps apart

This CL splits the automated unit tests (*.tests package) and the
interactive test connection services (*.testapps package).

Apart from code hygiene and flexibility moving forward, this makes
Android manifest and build files, and the relevant dependencies,
simpler and easier to follow.

Change-Id: Id8c7763ae65f437fdfdabe8b0a4f3561adadbcb3
erver/telecom/testapps/CallNotificationReceiver.java
erver/telecom/testapps/CallServiceNotifier.java
erver/telecom/testapps/CameraThread.java
erver/telecom/testapps/TestCallActivity.java
erver/telecom/testapps/TestConnectionManager.java
erver/telecom/testapps/TestConnectionService.java
erver/telecom/testapps/TestDialerActivity.java
erver/telecom/testapps/TestInCallServiceImpl.java
erver/telecom/testapps/TestManagedVideoProvider.java
erver/telecom/testapps/TestVideoProvider.java