android_packages_modules_Co.../thread
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kangping Dong 2e49f00e29 [Thread] fix SparseArray hash for ActiveOperationalDataset
The existing ActiveOperationalDataset#hashCode has an issue that it's
depending on the SparseArray#hasCode which doesn't override the
Object#hashCode method. The consequence is that when the
ActiveOperationalDataset is used as a key in a container, there will
be a miss even if two ActiveOperationalDataset objects have the same
content.

This commit fixes this issue by using a dedicated
byteArraySparseArrayHasCode() method which computes the content hashcode
with Arrays.deepHashCode(). Also fixes the issue that mUnknownTlvs is
not counted in hashCode().

Flag: EXEMPT trivial bugfix
Change-Id: I085d3bf0bdf4bb73bb995fc28dd3857437f9743e
2025-06-10 21:01:22 +08:00
..
apex thread: rename init.34rc to ot-daemon.34rc for clarity 2024-08-30 18:43:42 +00:00
demoapp Enable ThreadNetworkDemoApp for TV launcher 2024-12-16 22:57:58 -08:00
docs [Thread] update the RRO config for OEM Android Border Router guide 2025-03-19 05:13:36 -07:00
framework [Thread] fix SparseArray hash for ActiveOperationalDataset 2025-06-10 21:01:22 +08:00
scripts [Thread] enhance make-pretty.sh 2024-08-12 06:21:58 +00:00
service [Thread] add vendor & model name support for net diag 2025-03-21 17:20:15 +08:00
tests [Thread] fix SparseArray hash for ActiveOperationalDataset 2025-06-10 21:01:22 +08:00
OWNERS [Thread] move Thread into com.android.tethering 2023-08-23 14:28:50 +08:00
README.md [docs] initial Thread Border Router vendor guide 2024-08-20 19:23:35 +08:00
TEST_MAPPING [Thread] create standalone border router test module 2025-03-17 10:50:38 +08:00

Thread

Bring the Thread networking protocol to Android.

Try Thread with Cuttlefish

# Get the code and go to the Android source code root directory

source build/envsetup.sh
lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
m

launch_cvd

Open https://localhost:8443/ in your web browser, you can find the Thread demoapp (with the Thread logo) in the cuttlefish instance. Open it and have fun with Thread!

More docs