aboutsummaryrefslogtreecommitdiff
path: root/crypto
AgeCommit message (Collapse)Author
2022-05-10Add adbd pairing tests to mainline test mapping for adbd.Joshua Duong
Bug: 208857210 Bug: 208845038 Original change: https://android-review.googlesource.com/c/platform/packages/modules/adb/+/2078299 Change-Id: I9ff767452e1f67fc749ae2df47790e03e6b6ad78 (cherry picked from commit 52cd26d8da13ef1aa8eae1b361900a30212dc410) Change-Id: I098e7d162dfe8d469f32641aaca62d365b1757c8
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