aboutsummaryrefslogtreecommitdiff
path: root/crypto
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-27adb: Include string.h for strlen and memcpyBiswapriyo Nath
Change-Id: Idd53f45c05fa5d54d6df9c495eeea953cda50108
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-08-03[adb] Correctly read host/user name on Windows.Joshua Duong
Bug: 162111908 Test: On linux/mac: HOSTNAME="" adb keygen mykey; cat mykey.pub # Also LOGNAME HOSTNAME="测试" adb keygen mykey; cat mykey.pub HOSTNAME="test" adb keygen mykey; cat mykey.pub Test: On Windows: set COMPUTERNAME=&& adb keygen mykey && powershell -command "get-content -encoding utf8 mykey.pub" # Also USERNAME set COMPUTERNAME=测试&& adb keygen mykey && powershell -command "get-content -encoding utf8 mykey.pub" set COMPUTERNAME=test&& adb keygen mykey && powershell -command "get-content -encoding utf8 mykey.pub" Change-Id: I62c952c511a620286aa4e05b1763361406e9f89a
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-21[adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation.Joshua Duong
Bug: 111434128, 119493510, 119494503 Test: Enable wireless debugging in Settings UI, click "pair with pairing code" to generate pairing code. On client, 'adb pair <ip_address>', enter pairing code at prompt and hit enter. Pairing should complete. 'adb logcat'. Change-Id: I86527bd3fc52e30a8e08ec5843dc3e100abf91fa Exempt-From-Owner-Approval: approved already
2020-02-11Move adb RSA utilities into its own library.Joshua Duong
Since both the client and daemon will now be generating keys. BUG: b/111434128 Test: atest adb_crypto_test Change-Id: I6fac562ae5629ab30b6639fbd88d822dae6e96bd