aboutsummaryrefslogtreecommitdiff
path: root/tls
AgeCommit message (Collapse)Author
2024-05-29Remove unit tests from mts-adbd and mainline/adbd-mainline presubmitsStephen Hines
These unit tests don't really benefit from being run on older mainline releases, so remove them. The problem with running them on older releases is that they depend on libc++, which won't match. If we move to use a static libc++ (as seen in the link below), we also need to do extra work to remove other symbols with a version script, so that the other C++ users can still depend on the older platform libc++. This is not worth the extra confusion as it provides low/no value. https://android-review.googlesource.com/c/platform/packages/modules/adb/+/3101841 Bug: http://b/342542917 Test: TBD Change-Id: I322d493f862a4ccea9478ec77e951423b314ba67
2024-04-22Migrate Test Targets to New Android Ownership ModelAditya Choudhary
This CL is created as a best effort to migrate test targets to the new Android ownership model. It is based on historical data from repository history and insights from git blame. Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary attribution in this CL, please create a new CL to fix that. For detailed guidelines and further information on the migration please refer to the link below, go/new-android-ownership-model Bug: 304529413 Test: N/A Change-Id: Id064843b942cb1b7f7d77c99327374561e642e3b
2022-10-26adb: Include limits.h for INT_MAX macroBiswapriyo Nath
Change-Id: I21ff07838fbfa62478b90d4dac8a69794b5fc34b
2022-10-23Include functional header for std::functionBiswapriyo Nath
This fixes the following compiler error: adb/tls/include/adb/tls/tls_connection.h:51:31: error: 'function' in namespace 'std' does not name a template type 51 | using CertVerifyCb = std::function<int(X509_STORE_CTX*)>; | ^~~~~~~~ Change-Id: I017525742ffe8865f5ab392fa8a9f43cd7bb723d
2022-04-27Add adbd pairing tests to mainline test mapping for adbd.Joshua Duong
Bug: 208857210 Bug: 208845038 Test: presubmit Change-Id: I5e0347c3c3b1f3f3bf527595609b3e2f066c33c3
2021-11-22Set min_sdk_versionJooyung Han
Many modules requiring min_sdk_version have been used without setting it, but hard-coded in allowlist. Bug: 158059172 Test: m Change-Id: Idc7ad2e7f704eeca6adedd8ec136f691cfefb65d
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/adbBob Badour
Added SPDX-license-identifier-Apache-2.0 to: Android.bp apex/Android.bp crypto/Android.bp crypto/tests/Android.bp fastdeploy/Android.bp libs/adbconnection/Android.bp libs/libadbd_fs/Android.bp pairing_auth/Android.bp pairing_auth/tests/Android.bp pairing_connection/Android.bp pairing_connection/tests/Android.bp proto/Android.bp tls/Android.bp tls/tests/Android.bp tools/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Id2087906a4e095ad8380cc646299b3739d82aed9
2020-11-04Fix references to system/core.Josh Gao
Test: treehugger Change-Id: Iea04e15d1bf266cc6da495b554ba0dfd8d125641
2020-10-18Migrate system/core/adb to packages/modules/adbBaligh Uddin
Adding new path to visibility rule, as b/170958306 prevents adding new changes to a project being introduced in the same topic. We need to do this ahead of the migration and then cleanup after the migration is complete. BUG: 167963357 Test: TH Change-Id: Id02e4ea3a6d387bad7b2dbd5d0a38f662d0254fc
2020-03-30Statically link libadbd into minadbd.Josh Gao
Bug: http://b/150317254 Test: booted aosp_walleye-eng into recovery Change-Id: Ie479ae2fbaf1006228a531dab26c7d535ed403db
2020-02-28Remove pairing_auth, pairing_connection from recovery.Joshua Duong
Also remove statically linking libc++, because these libraries are not exported native shared libraries. We are slightly over the 12MB limit for ramdisk recovery size, so let's remove the adb pairing libraries, since they won't be used in recovery mode. These are only used in normal boot mode, and currently, only by adb client. The pairing server is used by system server. Bug: 150317254 Test: Check size of ramdisk-recovery.img in walleye, walleye-hwasam build to be under 12MB. Also verify installed-files-recovery.txt no longer contains libadb_pairing*. Also put phone into recovery mode, check system/lib64 for no libadb_pairing*. Change-Id: Ida7c4fdc9dda2b09091b853feac8df8f125e4274 Merged-In: Ida7c4fdc9dda2b09091b853feac8df8f125e4274 (cherry picked from commit afc2cf0dec44fb7a65f418d0928b5c2c63bbc6cd) Exempt-From-Owner-Approval: cherry-pick
2020-02-18Some minor fixes to libadb_tls_connection.Joshua Duong
Bug: 111434128 Test: atest adb_tls_connection_test Exempt-From-Owner-Approval: approved Change-Id: I4c23cc6ba5b14b65122e61297554dedabf43d0b4
2020-02-14[adbwifi] Add tls_connection library.Joshua Duong
Bug: 111434128, 119494503, 119493510 Test: atest adb_tls_connection_test Exempt-From-Owner-Approval: yolo? Change-Id: Ie9b629e4cb955702cec890bbb89a6a762e4b71b3