-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Android tv server #11245
Add Android tv server #11245
Conversation
7fe42f0
to
0938e17
Compare
Any one could help to have a look at the 2 CI issues? Thanks
|
The simplest way, but takes some time to run, is To just regenerate the
and generally speaking you can find out which template ( You will also want to rebase on tip to fix the |
Did you read the TSan output in the CI job? Your code is reading mChipStackIsLocked while not holding the lock, which ends up with a data race: one thread is reading the boolean (not holding the lock) at the same time as another thread is writing the boolean (while holding the lock). Which means that the answer you will get from the read will be random depending on how the threads race against each other. In general, I don't understand what those changes are trying to do. Obviously Now unlocking when not locked is in fact weird, and the check in
So the thing we should really be checking in
Stack trace? And steps to reproduce? Please file an issue with this information and @-mention me in it. |
8b6896c
to
e05557a
Compare
Yes, that make sense, I debuged into this today, and found that 'unlock is called when is not locked' is in my pre code which is fixed now, so it is no problem now, thanks. |
Yes, I know it is from tv-app.zap and app-templates.json, but any document about zap format? Or I need to read its code? While I debuged on this issue today and found that:
|
The .zap file is representing whatever was selected in the UI. You can run the UI as:
Presumably you would want to enable the client side of the administrator commissioning cluster there, and enable these commands.
Right, so your real issue is that Device::OpenPairingWindow is linked in and then pulls in all this other stuff.
This is on Android? Is that doing a static link or dynamic link? |
Yes, it is android.
Yes, android, I am doing some test on |
ea78d84
to
4b89008
Compare
wow, it is amazing, thanks. |
4b89008
to
7773687
Compare
I think I found some way to fix it, I added '-fvisibility=hidden' to all symbols and declare jni functions to JNIEXPORT (visibility=default) |
7773687
to
5289a6f
Compare
PR #11245: Size comparison from 9b26453 to 5289a6f Increases (8 builds for linux)
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
Fast tracking, given platform specific code. |
* added app server jni * added getQrCodeFromPayload in SetupPayloadParser * added TVServer app for android * fix BLE error * fix ci issue * fix restyled errors * fix ci issue * fix Tests / Test Suites - Linux (tsan) ci issue * fix zap issue, we should not add unneed functions in zap but fix undefined issue Conflicts fixed: scripts/build/build/targets.py scripts/build/testdata/build_all_except_host.txt scripts/build/testdata/glob_star_targets_except_host.txt
* added app server jni * added getQrCodeFromPayload in SetupPayloadParser * added TVServer app for android * fix BLE error * fix ci issue * fix restyled errors * fix ci issue * fix Tests / Test Suites - Linux (tsan) ci issue * fix zap issue, we should not add unneed functions in zap but fix undefined issue
Problem
Change overview
Added a tv app for android
Testing