summaryrefslogtreecommitdiff
path: root/cmds/telecom/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add telecom log marking shell command." am: 5b04c63c64 am: b984978ad7 ↵Tyler Gunn2022-04-131-0/+16
|\ | | | | | | | | | | | | | | | | am: 5f44a37baa Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2061586 Change-Id: I8b7c0ed95bb77dd0761eebafa2deb645ec728163 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Add telecom log marking shell command.Tyler Gunn2022-04-121-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We often get bugs where testers have executed a LONG list of test steps. It becomes extremely difficult to know where in the logs corresponds to which test script step. This adds a new telecom shell command: adb shell telecom log-mark Testing 1 2 3 This command adds a USER_LOG_MARK event log item to all ongoing calls and to the general telecom logs with the specified message. Test: Tested using the new shell command to mark the telecom logs in and out of calls. Fixes: 228895073 Change-Id: Ic11edc777e57a4fc8748a42c931379faf7cea671
* | cleanupOrphanPA's feature framework (2/2)*Thomas Stuart2022-01-191-0/+13
|/ | | | | | Bug: 210134615 Test: Unit + manual Change-Id: Ic350e4e45c0d1597c6f61e3e3e717b3a2c1bb099
* Merge "CallDiagnosticService API" am: c90335033b am: 9882ff4bf8 am: d3bf1aa209Tyler Gunn2021-03-031-0/+13
|\ | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607109 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie91efc29698d27946f83b751bef2fe89d612c9a2
| * CallDiagnosticService APITyler Gunn2021-02-251-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CallDiagnosticService API is an OEM-backed API which allows an OEM provided app to monitor the state of ongoing telephony calls on the device and to help the user navigate connectivity or audio issues related to these calls. It also provides a means for the app to send and receive device to device messages between devices during an ongoing call (where supported) in order to facilitate a better calling experience. Test: Added new CTS test suite for API. Test: Manual test of CDS behavior using telecom command line option to override the active CDS to the telecom test app implementation. Bug: 163085177 Change-Id: I1f37408d2aa6c630f0f9e3d6b6eb8a390d804d7e
| * Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li2020-08-311-0/+4
| |\ | | | | | | | | | | | | | | | Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
* | | Add Telecom command to reset car modeHall Liu2021-02-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a command to do a system-wide clobber of car mode in order to prevent cascading CTS failures. Fixes: 179264757 Test: manually fail one of the car mode CTS tests and observe Change-Id: Id363e04d212c5f4d01be23e818b5c5fd1d91eac5
* | | Merge "Run CtsTelecomTestCases in presubmit" am: 1b2995ca3f am: 0022d0dc37Hall Liu2020-07-281-0/+10
|\| | | |/ |/| | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1334115 Change-Id: I3c242b6e16e6176f398f14f4aca58a7be0b42eae
| * Run CtsTelecomTestCases in presubmitHall Liu2020-07-011-0/+10
| | | | | | | | | | | | | | | | | | Run Telecom CTS in presubmit, and include a few fixes to prevent flakiness in said presubmit. Fixes: 158798240 Test: presubmit Change-Id: I9b9e2f2604615e93301bc83be7c3545c6f80cb9c
* | Merge "Add telecom command to stop block suppression" am: afe114c2f5 am: ↵Treehugger Robot2020-06-261-1/+13
|\| | | | | | | | | | | | | | | 533a19175c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1350781 Change-Id: I4cface851f70245a7efc4063e54c2943f2d0e362
| * Add telecom command to stop block suppressionHall Liu2020-06-261-1/+13
| | | | | | | | | | | | | | | | | | Add a Telecom command to stop the number blocking suppression that happens after an emergency call. Bug: 158798240 Test: atest CtsTelecomTestCases Change-Id: I122de1962fb6aa48a3092c2aa323dcbdcbb8f42e
* | Temporarily fix for the "telecom" commandMakoto Onuki2020-02-201-0/+4
|/ | | | | | Bug: 148897549 Test: m telecom && adb sync && adb shell telecom set-sim-count 0 Change-Id: I0951aa78dd3a4cc45d0a849baf9bcac1b31ef339
* Update test to not assume 2 max SIMsJordan Liu2020-01-271-6/+2
| | | | | | Bug: 145710242 Test: passes existing tests Change-Id: I6546acb58a25d161634986348e7122e12c2b7c04
* Use sysprop library for telephony propsInseob Kim2019-12-171-3/+2
| | | | | | | | | Bug: 117924132 Bug: 141246285 Test: lunch blueline-userdebug; m checkbuild Change-Id: Idefa10b5bdeaff69496bc66730a7398258f3a38e Merged-In: Idefa10b5bdeaff69496bc66730a7398258f3a38e (cherry picked from commit 1b5e241b9217c4d8842925a29d1ca4228329538b)
* Remove telephony hidden api usages from commandsHall Liu2019-12-051-8/+9
| | | | | | | | | Remove usages of Telephony hidden APIs from Telecom's debugging commands Fixes: 141576016 Test: manual Change-Id: Ia1184f804b3b03104dd5c911b15c8c28190b2395 Merged-In: Ia1184f804b3b03104dd5c911b15c8c28190b2395
* Car mode InCallService changes.Tyler Gunn2019-11-261-10/+0
| | | | | | | | | | 1. Grant ENTER_CAR_MODE and CONTROL_INCALL_EXPERIENCE permissions to the shell identity for use within CTS tests. 2. Remove un-needed Telecom shell command. Test: unit tests, telecom CTS tests, manual testing Bug: 144345414 Change-Id: I54a2e723d6ef9552117e6cadf4ab7c449dd5e3cb
* Add Telecom command for setting connectionservice filterBrad Ebinger2019-09-301-12/+53
| | | | | | | | | | | | | | For testing we need the emergency call to go through the CTS ConnectionService. This is achieved by passing in a package name filter for testing, which restricts which ConnectionServices are available for emergency calling. For safety this filter will be bypassed if the user calls an actual emergency number (instead of a test number). Bug: 138741228 Test: atest CtsTelecomTestCases Change-Id: I656533e4a36a7bba48625bf6f763731991695aed
* Integrate the active emergency session listener in TelephonyRegistryShuo Qian2019-09-301-0/+17
| | | | | | | | | Add Telecom shell command: "adb shell telecom set-system-dialer" Test: PhoneStateListener cts Bug: 135204580 Merged-In: I5eaada6a671606642a849f0ff6fe964332d80d5f Change-Id: I5eaada6a671606642a849f0ff6fe964332d80d5f
* Add adb command for setting and getting SIMsJordan Liu2019-05-181-9/+80
| | | | | | Test: manually verified adb commands work Bug: 123643264 Change-Id: I5a9e42c23dfe217f9271b1b4d8b940375c04edc9
* Change command like set-default-dialer to be a test override.Tyler Gunn2019-04-301-8/+4
| | | | | | | | | | | RoleManager likes to terminate apps when roles are changed which does not work in CTS tests. We need to use a temp override in Telecom for now. Test: Run the CTS tests over, and over and over again. Bug: 131065482 Change-Id: Id36942f2813abdfa0020ce4805c492a69bd07d0e (cherry picked from commit 509ef150f23531b18fe29ef85337312f54535300)
* Add get/set user selected outgoing phone account APIs.Tyler Gunn2019-01-221-3/+26
| | | | | | | | | | | | | | | | | Promoting getUserSelectedOutgoingPhoneAccount to a public API accessible to the default dialer app, as well as to system priv apps such as the settings app. Promoting setUserSelectedOutgoingPhoneAccount to a system API accessible to apps such as the settings app. Add telecom shell commands to support changing the outgoing phone account in CTS tests. Bug: 119227574 Test: Manual Test: Added and ran new CTS test Change-Id: I204b2f01a1b6746aa35faf8aaacd30ebf53b9a5d
* Add the PhoneAccountSuggestionServiceHall Liu2018-12-171-30/+41
| | | | | | | | | Add a service base class for phone acct suggestion. Also add associated aidl plumbing and a new permission for the service to require. Test: CTS to come Bug: 111455117 Change-Id: I30d7d004bdddbab3dfbb5408c07775ea56d490fe
* Add Call redirection app in Telecom test-commandssqian2018-12-071-0/+10
| | | | | | Bug: 64959558 Test: Treehugger Change-Id: I15cb3b766c4c5fbef4e50824ccda0f3328643cf9
* Add telecom test-commands for maintaining role overrides.Tyler Gunn2018-12-031-0/+33
| | | | | | | | | | This allows for easier testing of role-dependencies for Telecom (since RoleManager is not yet fully implemented). Bug: 63966743 Test: Manual Merged-In: I92fd86411d1312be2255ec0634f059cd8e4bfc26 Change-Id: I92fd86411d1312be2255ec0634f059cd8e4bfc26
* Add support for wait-on-handlers command.Tyler Gunn2017-02-061-2/+12
| | | | | | | | | | Add support for wait on handlers adb telecom command. Used in CTS tests to ensure work is completed once all Telecom handlers have finished their current work. Test: CTS, Manual Bug: 34159263 Change-Id: I14acc0a04710b445c172629c2327813ee73a5a55
* Telecom shell command accepts userhandle as argument of phone accountTony Mak2016-01-191-8/+25
| | | | | | | We need a sort of way to enable phone account in managed profile for writing cts running in managed profile. Change-Id: I2e869e792c6e145c93a314f64a5de98e2f6e315f
* Add a command to register SIM Phone account.Roshan Pius2015-07-281-0/+24
| | | | | | | | | Phone accounts with SIM_SUBSCRIPTION capabiltiy needs system permission. Hence adding a command to add sunc phone accounts for CTS testing of remote connections. BUG: 20303674 Change-Id: Ieb7349f906ec8209776ffbe39ed3633f01ba1e7c
* Add adb shell telecom get-system-dialerYorke Lee2015-06-111-2/+13
| | | | | Bug: 20303674 Change-Id: I7ce52e94c434846c262f2d6cc6d41992e259b45f
* Add phone permissions to ShellYorke Lee2015-06-031-2/+2
| | | | | | | | | These are needed for adb shell telecom commands to work on non-eng builds. Also fix a couple of typos in telecom documentation. Change-Id: Ia219ff78f5d65878e43e6b9216f979185495ce7f
* Add adb shell command to register/unregister phone accountsYorke Lee2015-06-031-7/+37
| | | | | Bug: 21583012 Change-Id: I3fd525259860fd9e0f9fda5b77cbb9ee7bfab6ca
* Allow default dialer changes and phone account enable/disable via ADBYorke Lee2015-06-021-0/+134
Add commands accessible via adb shell that can be used for CTS tests without the need for adb root *set-phone-account-enabled *set-phone-account-disabled *set-default-dialer *get-default-dialer Modify enablePhoneAccount/setDefaultDialer to indicate success. Remove now unused functionality in ProtectedEnableAccountPreferenceActivity and ProtectedChangeDefaultDialerActivity. Bug: 21583012 Change-Id: I542d145cc969334c004b8344fbbb01f278256f9d