Skip to content
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

[java-matter-controller] Convert from java to kotlin phase I #25384

Merged
merged 3 commits into from
Mar 3, 2023
Merged

[java-matter-controller] Convert from java to kotlin phase I #25384

merged 3 commits into from
Mar 3, 2023

Conversation

yufengwangca
Copy link
Contributor

Currently, java-matter-controller is written in Java, we have request from our internal team to convert it to kotlin to better align with our internal development and easy to integrate with our internal utility libs written in kotlin, such as TLV writter and reader, etc...

Fix: Convert java matter controller test program from java version into kotlin version #25253

@github-actions
Copy link

github-actions bot commented Mar 1, 2023

PR #25384: Size comparison from 20c65a2 to d1ca1cc

Decreases (1 build for cc32xx)
platform target config section 20c65a2 d1ca1cc change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262893 20262892 -1 -0.0
Full report (2 builds for cc32xx, mbed)
platform target config section 20c65a2 d1ca1cc change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930167 930167 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262893 20262892 -1 -0.0
.debug_line 2657205 2657205 0 0.0
.debug_loc 2799993 2799993 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467448 2467448 0 0.0
.bss 215804 215804 0 0.0
.data 5880 5880 0 0.0
.text 1430092 1430092 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 1, 2023

PR #25384: Size comparison from e75d35a to 43b9663

Full report (7 builds for cc32xx, mbed, nrfconnect, qpg)
platform target config section e75d35a 43b9663 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930167 930167 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262892 20262892 0 0.0
.debug_line 2657205 2657205 0 0.0
.debug_loc 2799993 2799993 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467448 2467448 0 0.0
.bss 215804 215804 0 0.0
.data 5880 5880 0 0.0
.text 1430092 1430092 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1167796 1167796 0 0.0
bss 143423 143423 0 0.0
rodata 136352 136352 0 0.0
text 808180 808180 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1112816 1112816 0 0.0
bss 142579 142579 0 0.0
rodata 113196 113196 0 0.0
text 777324 777324 0 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1372880 1372880 0 0.0
bss 105902 105902 0 0.0
rodata 213740 213740 0 0.0
text 767752 767752 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151668 1151668 0 0.0
.bss 99804 99804 0 0.0
.data 852 852 0 0.0
.text 598764 598764 0 0.0
lock-app qpg6105+debug (read/write) 1118876 1118876 0 0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565976 565976 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

PR #25384: Size comparison from 1a1d0c3 to 1209b25

Full report (1 build for cc32xx)
platform target config section 1a1d0c3 1209b25 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262923 20262923 0 0.0
.debug_line 2657815 2657815 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

PR #25384: Size comparison from 0062c5d to b586bb5

Increases (1 build for cc32xx)
platform target config section 0062c5d b586bb5 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262927 20262928 1 0.0
Full report (1 build for cc32xx)
platform target config section 0062c5d b586bb5 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262927 20262928 1 0.0
.debug_line 2657820 2657820 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

PR #25384: Size comparison from 0062c5d to c800ef7

Increases (1 build for cc32xx)
platform target config section 0062c5d c800ef7 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262927 20262928 1 0.0
Full report (1 build for cc32xx)
platform target config section 0062c5d c800ef7 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262927 20262928 1 0.0
.debug_line 2657820 2657820 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0

@yufengwangca yufengwangca merged commit 0573c94 into project-chip:master Mar 3, 2023
@yufengwangca yufengwangca deleted the pr/kotlin/convert branch March 3, 2023 16:04
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…-chip#25384)

* [java-matter-controller] Convert from java to kotlin phase I

* Address review comments

* Move constants outside the class instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants