Skip to content

Commit 161cd14

Browse files
authored
Rename TV channel cluster to channel cluster (project-chip#12999)
* Rename TvChannel cluster in TV Linux and Android App * Rename TvChannel cluster in other example apps * Rename TvChannel cluster in src/app folder * Zap regen * Resolved conflicts * Zap Regen zbog conflicts
1 parent 5988375 commit 161cd14

File tree

101 files changed

+2896
-8596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2896
-8596
lines changed

.github/.wordlist.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ CFLAGS
150150
cgit
151151
cgroup
152152
changeset
153+
Channel
153154
characterised
154155
CharString
155156
checkmark
@@ -999,7 +1000,6 @@ ttyACM
9991000
ttyACMx
10001001
ttymxc
10011002
ttyUSB
1002-
TvChannel
10031003
TXD
10041004
txt
10051005
UART

docs/guides/python_chip_controller_building.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ RelativeHumidityMeasurement
516516
Scenes
517517
SoftwareDiagnostics
518518
Switch
519-
TvChannel
519+
Channel
520520
TargetNavigator
521521
TemperatureMeasurement
522522
TestCluster

examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

+4-4
Original file line numberDiff line numberDiff line change
@@ -13579,10 +13579,10 @@
1357913579
]
1358013580
},
1358113581
{
13582-
"name": "TV Channel",
13582+
"name": "Channel",
1358313583
"code": 1284,
1358413584
"mfgCode": null,
13585-
"define": "TV_CHANNEL_CLUSTER",
13585+
"define": "CHANNEL_CLUSTER",
1358613586
"side": "client",
1358713587
"enabled": 0,
1358813588
"commands": [
@@ -13630,10 +13630,10 @@
1363013630
]
1363113631
},
1363213632
{
13633-
"name": "TV Channel",
13633+
"name": "Channel",
1363413634
"code": 1284,
1363513635
"mfgCode": null,
13636-
"define": "TV_CHANNEL_CLUSTER",
13636+
"define": "CHANNEL_CLUSTER",
1363713637
"side": "server",
1363813638
"enabled": 1,
1363913639
"commands": [

examples/all-clusters-app/esp32/main/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ set(SRC_DIRS_LIST
6363
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thermostat-server"
6464
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thermostat-user-interface-configuration-server"
6565
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thread-network-diagnostics-server"
66-
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/tv-channel-server"
66+
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/channel-server"
6767
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/scenes"
6868
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/software-diagnostics-server"
6969
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/switch-server"

examples/all-clusters-app/mbed/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ target_sources(${APP_TARGET} PRIVATE
122122
${APP_CLUSTERS}/target-navigator-server/target-navigator-server.cpp
123123
${APP_CLUSTERS}/thermostat-server/thermostat-server.cpp
124124
${APP_CLUSTERS}/thermostat-user-interface-configuration-server/thermostat-user-interface-configuration-server.cpp
125-
${APP_CLUSTERS}/tv-channel-server/tv-channel-server.cpp
125+
${APP_CLUSTERS}/channel-server/channel-server.cpp
126126
${APP_CLUSTERS}/operational-credentials-server/operational-credentials-server.cpp
127127
${APP_CLUSTERS}/test-cluster-server/test-cluster-server.cpp
128128
${APP_CLUSTERS}/occupancy-sensor-server/occupancy-sensor-server.cpp

examples/chip-tool/templates/tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function getTests()
171171
'TV_WakeOnLanCluster',
172172
'TV_ApplicationBasicCluster',
173173
'TV_MediaPlaybackCluster',
174-
'TV_TvChannelCluster',
174+
'TV_ChannelCluster',
175175
'TV_LowPowerCluster',
176176
'TV_ContentLauncherCluster',
177177
'TV_MediaInputCluster',

examples/common/pigweed/protos/attributes_service.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ enum ClusterType {
158158
ZCL_IAS_ACE_CLUSTER_ID = 0x0501;
159159
ZCL_IAS_WD_CLUSTER_ID = 0x0502;
160160
ZCL_WAKE_ON_LAN_CLUSTER_ID = 0x0503;
161-
ZCL_TV_CHANNEL_CLUSTER_ID = 0x0504;
161+
ZCL_CHANNEL_CLUSTER_ID = 0x0504;
162162
ZCL_TARGET_NAVIGATOR_CLUSTER_ID = 0x0505;
163163
ZCL_MEDIA_PLAYBACK_CLUSTER_ID = 0x0506;
164164
ZCL_MEDIA_INPUT_CLUSTER_ID = 0x0507;

examples/thermostat/thermostat-common/thermostat.zap

+4-4
Original file line numberDiff line numberDiff line change
@@ -12382,10 +12382,10 @@
1238212382
]
1238312383
},
1238412384
{
12385-
"name": "TV Channel",
12385+
"name": "Channel",
1238612386
"code": 1284,
1238712387
"mfgCode": null,
12388-
"define": "TV_CHANNEL_CLUSTER",
12388+
"define": "CHANNEL_CLUSTER",
1238912389
"side": "client",
1239012390
"enabled": 0,
1239112391
"commands": [
@@ -12433,10 +12433,10 @@
1243312433
]
1243412434
},
1243512435
{
12436-
"name": "TV Channel",
12436+
"name": "Channel",
1243712437
"code": 1284,
1243812438
"mfgCode": null,
12439-
"define": "TV_CHANNEL_CLUSTER",
12439+
"define": "CHANNEL_CLUSTER",
1244012440
"side": "server",
1244112441
"enabled": 0,
1244212442
"commands": [

examples/tv-app/android/App/app/src/main/java/com/tcl/chip/chiptvserver/service/MatterServant.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
import chip.platform.NsdManagerServiceResolver;
1010
import chip.platform.PreferencesConfigurationManager;
1111
import chip.platform.PreferencesKeyValueStoreManager;
12+
import com.tcl.chip.tvapp.ChannelManagerStub;
1213
import com.tcl.chip.tvapp.ContentLaunchManagerStub;
1314
import com.tcl.chip.tvapp.KeypadInputManagerStub;
1415
import com.tcl.chip.tvapp.LowPowerManagerStub;
1516
import com.tcl.chip.tvapp.MediaInputManagerStub;
1617
import com.tcl.chip.tvapp.MediaPlaybackManagerStub;
1718
import com.tcl.chip.tvapp.TvApp;
18-
import com.tcl.chip.tvapp.TvChannelManagerStub;
1919
import com.tcl.chip.tvapp.WakeOnLanManagerStub;
2020

2121
public class MatterServant {
@@ -38,7 +38,7 @@ public void init(@NonNull Context context) {
3838
tvApp.setContentLaunchManager(new ContentLaunchManagerStub());
3939
tvApp.setLowPowerManager(new LowPowerManagerStub());
4040
tvApp.setMediaPlaybackManager(new MediaPlaybackManagerStub());
41-
tvApp.setTvChannelManager(new TvChannelManagerStub());
41+
tvApp.setChannelManager(new ChannelManagerStub());
4242

4343
Context applicationContext = context.getApplicationContext();
4444
AndroidChipPlatform chipPlatform =

examples/tv-app/android/BUILD.gn

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ shared_library("jni") {
3838
"include/endpoint-configuration/EndpointConfigurationStorage.h",
3939
"include/target-navigator/TargetNavigatorManager.cpp",
4040
"include/target-navigator/TargetNavigatorManager.h",
41+
"java/ChannelManager.cpp",
42+
"java/ChannelManager.h",
4143
"java/ContentLauncherManager.cpp",
4244
"java/ContentLauncherManager.h",
4345
"java/KeypadInputManager.cpp",
@@ -49,8 +51,6 @@ shared_library("jni") {
4951
"java/MediaPlaybackManager.cpp",
5052
"java/MediaPlaybackManager.h",
5153
"java/TVApp-JNI.cpp",
52-
"java/TvChannelManager.cpp",
53-
"java/TvChannelManager.h",
5454
"java/WakeOnLanManager.cpp",
5555
"java/WakeOnLanManager.h",
5656
]
@@ -83,6 +83,10 @@ android_library("java") {
8383
]
8484

8585
sources = [
86+
"java/src/com/tcl/chip/tvapp/ChannelInfo.java",
87+
"java/src/com/tcl/chip/tvapp/ChannelLineupInfo.java",
88+
"java/src/com/tcl/chip/tvapp/ChannelManager.java",
89+
"java/src/com/tcl/chip/tvapp/ChannelManagerStub.java",
8690
"java/src/com/tcl/chip/tvapp/ContentLaunchBrandingInformation.java",
8791
"java/src/com/tcl/chip/tvapp/ContentLaunchManager.java",
8892
"java/src/com/tcl/chip/tvapp/ContentLaunchManagerStub.java",
@@ -98,10 +102,6 @@ android_library("java") {
98102
"java/src/com/tcl/chip/tvapp/MediaPlaybackManager.java",
99103
"java/src/com/tcl/chip/tvapp/MediaPlaybackManagerStub.java",
100104
"java/src/com/tcl/chip/tvapp/TvApp.java",
101-
"java/src/com/tcl/chip/tvapp/TvChannelInfo.java",
102-
"java/src/com/tcl/chip/tvapp/TvChannelLineupInfo.java",
103-
"java/src/com/tcl/chip/tvapp/TvChannelManager.java",
104-
"java/src/com/tcl/chip/tvapp/TvChannelManagerStub.java",
105105
"java/src/com/tcl/chip/tvapp/WakeOnLanManager.java",
106106
"java/src/com/tcl/chip/tvapp/WakeOnLanManagerStub.java",
107107
]

0 commit comments

Comments
 (0)