summaryrefslogtreecommitdiffstats
path: root/testapps/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Add call composer support to telecom testappHall Liu2021-02-232-0/+10
| | | | | | Bug: 181045366 Test: manual Change-Id: I0a8e503ee3c85a34de07b8e87e54ee7cfbac6a83
* Bind self-managed calls to InCallService that support these kind ofGrace Jia2021-01-191-1/+29
| | | | | | | | calls. Bug: 161144815 Test: TelecomUnitTest, manually test with test apps. Change-Id: Ifa3566d5e681b5ab41fb3123a25fc841fa96fe60
* Add new intent launch button in dialer test activityBrad Ebinger2020-03-031-0/+6
| | | | | | | | | Adds a new button to launch the contact discovery opt-in intent for testing. Bug: 111305845 Test: launch test dialer activity, send intent. Change-Id: I32e44eb3d26fe82f7acbb82d93eaee1377216086
* Capture disabled in call service of the default phone app and showGrace Jia2020-01-311-0/+10
| | | | | | | | | | notification to user. Add enable and disable service buttons in TestInCallUI for testing. Test: test manually with TelecomTestApp Bug: 147883088 Change-Id: I12ee37c03bddcac67119c10394151a88bf90c9cb
* Handle prioritized car mode in Telecom.Tyler Gunn2019-11-191-3/+24
| | | | | | | | | | | | Add basic support for receiving the broadcast that the prioritized car mode has changed in Telecom; rest of implementation TBD. Also added a fancy new car mode dialer app which can be used in car mode. Bug: 136109592 Test: Use new test app to verify enter/exit car mode with priority. Test: Run new CTS tests. Change-Id: I93daadf341e7c158260a1cc76efc6085a29f7a38 Merged-In: I93daadf341e7c158260a1cc76efc6085a29f7a38
* Add audio processing notification and testapp codeHall Liu2019-10-151-0/+15
| | | | | | | | | | Implement the persistent notification during audio processing and add code to the testapp to allow manual testing of the background call screening functionality. Bug: 140317205 Test: manual Change-Id: I15cb7fc064bbcccc5c08b76a704244a502d13268
* Update Telecom test app to support some car-mode operations.Tyler Gunn2019-09-161-0/+10
| | | | | | | | | Add ability to toggle car-mode and to enable/disable the carmode InCallService. Test: Manual test of a test app. Bug: 136109592 Change-Id: I6073b75cadb0a9a1b7969308bd1b0a5e754d7b8c
* Add support for reporting nuisance calls to CallScreeningService.Tyler Gunn2019-02-051-0/+10
| | | | | | | | | | | | | | Add new API to report nuisance calls from the default dialer. This API will relay the nuisance report on to the current call screening service if it has previously provided call id information for calls. Test: Manual using test app Test: Added CTS coverage Test: Added unit tests Bug: 63966743 Merged-In: I43c05ec9fa20f2df31da07c19090335c4d0154ca Change-Id: I43c05ec9fa20f2df31da07c19090335c4d0154ca
* Call Screening and Caller ID changesTyler Gunn2019-01-301-0/+5
| | | | | | | | | | | | | | | | - Fix bug where call screening service doesn't log calls. Ensure dialer and 3p app screened calls are logged. - Add ability to bind to a call screening service for outgoing calls in order for it to provide outgoing caller id. - Update test call screening service to support incoming and outgoing calls. - Refactor some call screening service filter code to make better reuse of binding logic. Bug: 63966743 Test: Manual, CTS Merged-In: I86d440fb45c08da01ce2159441d2b9efc53eb27c Change-Id: I86d440fb45c08da01ce2159441d2b9efc53eb27c
* Support Call Identification via CallScreeningService.Tyler Gunn2019-01-141-0/+33
| | | | | | | | | | | | | Support reporting CallIdentification information from a CallScreeningService. Adding support for logging this to the call log, as well as exposing it to the InCallService via the Call.Details object. Update RoleManagerAdapter to support call proxy app. Bug: 63966743 Test: Manual with test app. Merged-In: I896cde3e91c862abdc7bb2a82bb0d85749bfbc11 Change-Id: I896cde3e91c862abdc7bb2a82bb0d85749bfbc11
* Merge changes Ib66706ca,Ibd7c7f97android-wear-p-preview-2android-o-mr1-iot-release-1.0.0Hall Liu2018-05-021-1/+45
|\ | | | | | | | | | | * changes: Create new list of BT devices when querying Integrate the BT multi-hfp apis with Telecom
| * Integrate the BT multi-hfp apis with TelecomHall Liu2018-05-021-1/+45
| | | | | | | | | | | | | | | | | | Add a call to setActiveDevice when setting a bluetooth device Test: unit, testapps Change-Id: Ibd7c7f976c2caf834228745f8bedf24767d500b8 Merged-In: I3a2f0ae4e683bd18332f5b986c2936040187b1dc Fixes: 78653642
* | Update Telecom test app to support bluetooth for self-managed calls.Tyler Gunn2018-04-271-2/+7
|/ | | | | | | | | | | | | Add support for bluetooth route in the telecom test app. Also, update the test connectionservice to set mediaplayer properties so that its speech uses the correct audio attributes to more accurately emulate how a real voip app would do things. And yes, the buttons are now emojis in the test UI. :) Bug: 78770358 Test: Manually tested. Change-Id: I69c595fef852717caad38719abf33911dec3dd86
* Update self-managed CS logging and telecom test app.Tyler Gunn2018-03-232-38/+52
| | | | | | | | | | | | | | | | | | Updating telecom test app to support: - Focus gained and lost. - Holdable calls. These updates help test the new SMCS apis and call swapping functionality. Updated telecom logging to make it more clear why things are happening: - Add overloads of hold/unhold methods that allow specifying a reason for the operation. This lets us make the telecom dumpsys more clear by indicating why something was held/unheld. - Add disconnect overload which allows specifying reason for disconnect. Bug: 75303815 Test: Manual Change-Id: I1717d68d07b71d74bcf3be3cd2ac310bd3cd62b4
* Mark self-managed calls as "read" when logged.Tyler Gunn2018-03-091-0/+5
| | | | | | | | | | | | | | | When self-maanged calls are logged to the call log, ensure that the is_read flag is set to 1. This is important for missed calls. Missed calls which are unread trigger a missed-call notification. Realistically we expect the app to handle the missed called notification on its own, so marking them as read makes sense. Also updated the example self managed calling test app to support missed calls. Yay. Test: Added unit tests for this scenario, used manual test harness. Bug: 67637603 Change-Id: If8488e9ad81f0b4df8d4296e10fb89f3cb56d728
* Test app for IMSI privacy.pkanwar2017-05-182-0/+54
| | | | | | | | | 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
* Merge "Fix USSD Api test app"Tyler Gunn2017-04-291-1/+6
|\
| * Fix USSD Api test appTyler Gunn2017-04-281-1/+6
| | | | | | | | | | | | | | | | | | 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
* | Further call handover changes.Tyler Gunn2017-04-241-0/+5
|/ | | | | | | | | | 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
* Support Connection handover between ConnectionServices.Tyler Gunn2017-04-102-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge "Self-Managed Incoming Call Disambiguation UX." am: b77f30fa1f am: ↵Tyler Gunn2017-03-311-57/+74
|\ | | | | | | | | | | | | | | be4ff39882 am: c6e9cba5a9 Change-Id: I6f186038a14efe86d31bcc4616f194dd40b1981f
| * Self-Managed Incoming Call Disambiguation UX.Tyler Gunn2017-03-301-57/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * Implement mid-call RTT initiation and teardownHall Liu2017-03-071-2/+13
| | | | | | | | | | | | | | | | | | 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
* | API review cleanups. am: 115c06ee64 am: aa59fe7535Tyler Gunn2017-03-072-0/+44
|\| | | | | | | | | | | am: 124b43d958 Change-Id: I9203a225f2c320f370343c5431d586ae87747156
| * API review cleanups.android-o-preview-1o-previewTyler Gunn2017-03-062-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Implement mid-call RTT initiation and teardownHall Liu2017-03-011-2/+13
| | | | | | | | | | | | | | | | Adds functionality to testapps and to framework to allow for local and remote initiation and disconnection of RTT. Test: manual Change-Id: I0e8248b495a7d3750c840591f1fa5388b34a32e2
* | Add support for RTT calls (part 1) am: dd68bc36a3 am: 399f7e50b0Hall Liu2017-02-223-2/+73
|\| | | | | | | | | | | am: 1d36154ab9 Change-Id: Id768015a354c9a3428b4c817507d058df6ea15f7
| * Add support for RTT calls (part 1)Hall Liu2017-02-213-2/+73
| | | | | | | | | | | | | | | | | | | | 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
| * Self Managed CS implementation.Tyler Gunn2017-02-062-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Self Managed CS implementation.Tyler Gunn2017-02-032-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Provide an API to make USSD calls and read the responses.pkanwar2016-11-031-0/+32
|/ | | | | | Test: will be added in a subsequent CL. Bug: 30973910 Change-Id: Ie92441b6435775d9b6d74f9a0777064d9839d6dc
* Revert "Revert "Support car-mode UI in telecom.""Santos Cordon2016-01-212-0/+92
| | | | | | This reverts commit 88cda8452124d43c145d54a97477dc5cf8a32a58. Change-Id: Icfd1ab3ed3af39f62bd828dceb5ff2d4d517cb91
* Revert "Support car-mode UI in telecom."Brad Ebinger2016-01-212-92/+0
| | | | | | This reverts commit d3182912911d167e4a5a8d379cef11c619d18d36. Change-Id: I48da1122846b18c03bec486ee2bf977f721723a2
* Support car-mode UI in telecom.Santos Cordon2016-01-202-0/+92
| | | | | | | | 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
* Add default dialer checks to Telecom/TelephonyYorke Lee2015-04-291-0/+5
| | | | | | | | | | | | | 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
* Exercise voicemail permissions in Test DialerYorke Lee2015-04-271-0/+5
| | | | | Bug: 20333102 Change-Id: Icc244816518a558ba5b841d7d9e070b3c6c34e8b
* Split unit tests and interactive test apps apartIhab Awad2015-04-021-0/+37
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