diff --git a/BUILD.gn b/BUILD.gn index 50675aa..b9a0baf 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,4 +1,15 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. +# Copyright (c) 2024-2024 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") diff --git a/OAT.xml b/OAT.xml deleted file mode 100644 index 8d5724a..0000000 --- a/OAT.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/include/cast_session_common.h b/include/cast_session_common.h index a698591..b153782 100644 --- a/include/cast_session_common.h +++ b/include/cast_session_common.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast session implement class. * Author: zhangge * Create: 2022-07-19 diff --git a/include/cast_session_enums.h b/include/cast_session_enums.h index 217b46c..118d487 100644 --- a/include/cast_session_enums.h +++ b/include/cast_session_enums.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Enumarations ralated to Cast session. * Author: yuezihao * Create: 2023-11-06 diff --git a/include/cast_session_impl.h b/include/cast_session_impl.h index 6e91a53..c6d7615 100644 --- a/include/cast_session_impl.h +++ b/include/cast_session_impl.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast session implement class. * Author: zhangge * Create: 2022-07-19 diff --git a/include/cast_session_impl_class.h b/include/cast_session_impl_class.h index 6bc4c50..a858bf5 100644 --- a/include/cast_session_impl_class.h +++ b/include/cast_session_impl_class.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast session implement class. * Author: gaoshuai * Create: 2023-11 diff --git a/include/cast_session_impl_stub.h b/include/cast_session_impl_stub.h index 5a354bf..465b47b 100644 --- a/include/cast_session_impl_stub.h +++ b/include/cast_session_impl_stub.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast session implement stub class. * Author: zhangge * Create: 2022-06-15 diff --git a/include/cast_session_listener_impl_proxy.h b/include/cast_session_listener_impl_proxy.h index 5d42879..ce44288 100644 --- a/include/cast_session_listener_impl_proxy.h +++ b/include/cast_session_listener_impl_proxy.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast session listener implement proxy class. * Author: zhangge * Create: 2022-6-15 diff --git a/src/cast_session_impl.cpp b/src/cast_session_impl.cpp index 95e3369..de63b97 100644 --- a/src/cast_session_impl.cpp +++ b/src/cast_session_impl.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast Session implement realization. * Author: lijianzhao * Create: 2022-01-25 diff --git a/src/cast_session_impl_stub.cpp b/src/cast_session_impl_stub.cpp index ddb5712..388d0f0 100644 --- a/src/cast_session_impl_stub.cpp +++ b/src/cast_session_impl_stub.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast session implement stub class. * Author: zhangge * Create: 2022-06-15 diff --git a/src/cast_session_listener_impl_proxy.cpp b/src/cast_session_listener_impl_proxy.cpp index 9a0547c..4b10d1c 100644 --- a/src/cast_session_listener_impl_proxy.cpp +++ b/src/cast_session_listener_impl_proxy.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast session listener implement proxy class. * Author: zhangge * Create: 2022-6-15 diff --git a/src/cast_session_listeners.cpp b/src/cast_session_listeners.cpp index ec01671..f610e68 100644 --- a/src/cast_session_listeners.cpp +++ b/src/cast_session_listeners.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast Session implement realization. * Author: zhangge * Create: 2022-07-19 diff --git a/src/cast_session_state.cpp b/src/cast_session_state.cpp index 15c0ee7..6082eba 100644 --- a/src/cast_session_state.cpp +++ b/src/cast_session_state.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast Session states realization. * Author: zhangge * Create: 2022-07-19 diff --git a/src/channel/BUILD.gn b/src/channel/BUILD.gn index b7acc36..4263b33 100644 --- a/src/channel/BUILD.gn +++ b/src/channel/BUILD.gn @@ -1,5 +1,15 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. - +# Copyright (c) 2024-2024 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") config("cast_session_channel_config") { diff --git a/src/channel/include/channel.h b/src/channel/include/channel.h index 31e88ab..225f011 100644 --- a/src/channel/include/channel.h +++ b/src/channel/include/channel.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Channel for transmitting data * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/channel_info.h b/src/channel/include/channel_info.h index bad86ba..a742552 100644 --- a/src/channel/include/channel_info.h +++ b/src/channel/include/channel_info.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: link type of channel and the calling module type * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/channel_listener.h b/src/channel/include/channel_listener.h index 75ef655..bb02576 100644 --- a/src/channel/include/channel_listener.h +++ b/src/channel/include/channel_listener.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: channel listener * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/channel_manager.h b/src/channel/include/channel_manager.h index 936db02..f2603c6 100644 --- a/src/channel/include/channel_manager.h +++ b/src/channel/include/channel_manager.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: channel manager * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/channel_manager_listener.h b/src/channel/include/channel_manager_listener.h index 1706017..6c50e48 100644 --- a/src/channel/include/channel_manager_listener.h +++ b/src/channel/include/channel_manager_listener.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: the listener for channel listener * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/channel_request.h b/src/channel/include/channel_request.h index 7b623a4..e93b47d 100644 --- a/src/channel/include/channel_request.h +++ b/src/channel/include/channel_request.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: channel request * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/connection.h b/src/channel/include/connection.h index 507ff6d..4bb4215 100644 --- a/src/channel/include/connection.h +++ b/src/channel/include/connection.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: connection class * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/include/connection_listener.h b/src/channel/include/connection_listener.h index a1242a7..6c84cba 100644 --- a/src/channel/include/connection_listener.h +++ b/src/channel/include/connection_listener.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Connection listener * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/src/channel_manager.cpp b/src/channel/src/channel_manager.cpp index a06f526..7988dab 100644 --- a/src/channel/src/channel_manager.cpp +++ b/src/channel/src/channel_manager.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: channel manager * Author: sunhong * Create: 2022-01-19 diff --git a/src/channel/src/softbus/softbus_connection.cpp b/src/channel/src/softbus/softbus_connection.cpp index db43fba..568a3b9 100644 --- a/src/channel/src/softbus/softbus_connection.cpp +++ b/src/channel/src/softbus/softbus_connection.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: softbus connection. * Author: sunhong * Create: 2022-01-22 diff --git a/src/channel/src/softbus/softbus_connection.h b/src/channel/src/softbus/softbus_connection.h index 9917fd4..4749cfb 100644 --- a/src/channel/src/softbus/softbus_connection.h +++ b/src/channel/src/softbus/softbus_connection.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: softbus connection. * Author: sunhong * Create: 2022-01-22 diff --git a/src/channel/src/softbus/softbus_wrapper.cpp b/src/channel/src/softbus/softbus_wrapper.cpp index 0920ea8..14227f8 100644 --- a/src/channel/src/softbus/softbus_wrapper.cpp +++ b/src/channel/src/softbus/softbus_wrapper.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: softbus wrapper interface. * Author: sunhong * Create: 2022-01-22 diff --git a/src/channel/src/softbus/softbus_wrapper.h b/src/channel/src/softbus/softbus_wrapper.h index b8df64a..500b46b 100644 --- a/src/channel/src/softbus/softbus_wrapper.h +++ b/src/channel/src/softbus/softbus_wrapper.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: softbus wrapper interface. * Author: sunhong * Create: 2022-01-22 diff --git a/src/channel/src/tcp/tcp_connection.cpp b/src/channel/src/tcp/tcp_connection.cpp index 09eb804..0e38dd9 100644 --- a/src/channel/src/tcp/tcp_connection.cpp +++ b/src/channel/src/tcp/tcp_connection.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: tcp connection. * Author: renshuang * Create: 2023-09-25 diff --git a/src/channel/src/tcp/tcp_connection.h b/src/channel/src/tcp/tcp_connection.h index fea1e6b..88227b7 100644 --- a/src/channel/src/tcp/tcp_connection.h +++ b/src/channel/src/tcp/tcp_connection.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: tcp connection. * Author: renshuang * Create: 2023-09-25 diff --git a/src/channel/src/tcp/tcp_socket.cpp b/src/channel/src/tcp/tcp_socket.cpp index 07d852d..6e8daba 100644 --- a/src/channel/src/tcp/tcp_socket.cpp +++ b/src/channel/src/tcp/tcp_socket.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: tcp socket. * Author: renshuang * Create: 2023-09-25 diff --git a/src/channel/src/tcp/tcp_socket.h b/src/channel/src/tcp/tcp_socket.h index 482a012..60ce362 100644 --- a/src/channel/src/tcp/tcp_socket.h +++ b/src/channel/src/tcp/tcp_socket.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: tcp socket. * Author: renshuang * Create: 2023-09-25 diff --git a/src/mirror/BUILD.gn b/src/mirror/BUILD.gn index 71445b5..e73903f 100644 --- a/src/mirror/BUILD.gn +++ b/src/mirror/BUILD.gn @@ -1,5 +1,15 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. - +# Copyright (c) 2024-2024 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") config("cast_session_mirror_config") { diff --git a/src/mirror/include/mirror_player_impl.h b/src/mirror/include/mirror_player_impl.h index a3a3264..c97e1c7 100644 --- a/src/mirror/include/mirror_player_impl.h +++ b/src/mirror/include/mirror_player_impl.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Mirror player implement class. * Author: zhangjingnan * Create: 2023-05-29 diff --git a/src/mirror/include/mirror_player_impl_stub.h b/src/mirror/include/mirror_player_impl_stub.h index a2d0f33..c934e68 100644 --- a/src/mirror/include/mirror_player_impl_stub.h +++ b/src/mirror/include/mirror_player_impl_stub.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast mirrpr player implement stub class. * Author: zhangjingnan * Create: 2023-05-27 diff --git a/src/mirror/src/mirror_player_impl.cpp b/src/mirror/src/mirror_player_impl.cpp index f1976d7..7b36685 100644 --- a/src/mirror/src/mirror_player_impl.cpp +++ b/src/mirror/src/mirror_player_impl.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Mirror player implement realization. * Author: zhangjingnan * Create: 2023-05-29 diff --git a/src/mirror/src/mirror_player_impl_stub.cpp b/src/mirror/src/mirror_player_impl_stub.cpp index 3e1dddb..19ad989 100644 --- a/src/mirror/src/mirror_player_impl_stub.cpp +++ b/src/mirror/src/mirror_player_impl_stub.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast mirror player implement stub class. * Author: zhangjingnan * Create: 2023-05-17 diff --git a/src/rtsp/BUILD.gn b/src/rtsp/BUILD.gn index b4a2aa8..c3579eb 100644 --- a/src/rtsp/BUILD.gn +++ b/src/rtsp/BUILD.gn @@ -1,5 +1,15 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. - +# Copyright (c) 2024-2024 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") config("cast_session_rtsp_config") { diff --git a/src/rtsp/include/i_rtsp_controller.h b/src/rtsp/include/i_rtsp_controller.h index 4b9a36e..f1c7a23 100644 --- a/src/rtsp/include/i_rtsp_controller.h +++ b/src/rtsp/include/i_rtsp_controller.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp controller * Author: zhangge * Create: 2022-07-13 diff --git a/src/rtsp/include/rtsp_basetype.h b/src/rtsp/include/rtsp_basetype.h index be87663..d893aed 100644 --- a/src/rtsp/include/rtsp_basetype.h +++ b/src/rtsp/include/rtsp_basetype.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp constant * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/include/rtsp_listener.h b/src/rtsp/include/rtsp_listener.h index fc2ba30..4df6e09 100644 --- a/src/rtsp/include/rtsp_listener.h +++ b/src/rtsp/include/rtsp_listener.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp listener * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/include/rtsp_param_info.h b/src/rtsp/include/rtsp_param_info.h index 7013453..ebfd0ae 100644 --- a/src/rtsp/include/rtsp_param_info.h +++ b/src/rtsp/include/rtsp_param_info.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp parameter class * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_channel_manager.cpp b/src/rtsp/src/rtsp_channel_manager.cpp index 50d5497..07185a2 100644 --- a/src/rtsp/src/rtsp_channel_manager.cpp +++ b/src/rtsp/src/rtsp_channel_manager.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp parameter class * Author: dingkang * Create: 2022-01-28 diff --git a/src/rtsp/src/rtsp_channel_manager.h b/src/rtsp/src/rtsp_channel_manager.h index 6cd8532..7837195 100644 --- a/src/rtsp/src/rtsp_channel_manager.h +++ b/src/rtsp/src/rtsp_channel_manager.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp network management * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_controller.cpp b/src/rtsp/src/rtsp_controller.cpp index 9d9614f..a680a9a 100644 --- a/src/rtsp/src/rtsp_controller.cpp +++ b/src/rtsp/src/rtsp_controller.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp controller * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_controller.h b/src/rtsp/src/rtsp_controller.h index ab29951..0d3afc7 100644 --- a/src/rtsp/src/rtsp_controller.h +++ b/src/rtsp/src/rtsp_controller.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp controller * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_listener_inner.h b/src/rtsp/src/rtsp_listener_inner.h index 971cfb2..cdae1ac 100644 --- a/src/rtsp/src/rtsp_listener_inner.h +++ b/src/rtsp/src/rtsp_listener_inner.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp internal listener * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_package.cpp b/src/rtsp/src/rtsp_package.cpp index 0438e01..53504f8 100644 --- a/src/rtsp/src/rtsp_package.cpp +++ b/src/rtsp/src/rtsp_package.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp package * Author: dingkang * Create: 2022-01-28 diff --git a/src/rtsp/src/rtsp_package.h b/src/rtsp/src/rtsp_package.h index f6bd221..4688e67 100644 --- a/src/rtsp/src/rtsp_package.h +++ b/src/rtsp/src/rtsp_package.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp package * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_param_info.cpp b/src/rtsp/src/rtsp_param_info.cpp index 084ee3f..f9d5e85 100644 --- a/src/rtsp/src/rtsp_param_info.cpp +++ b/src/rtsp/src/rtsp_param_info.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp parameter class * Author: dingkang * Create: 2022-01-24 diff --git a/src/rtsp/src/rtsp_parse.cpp b/src/rtsp/src/rtsp_parse.cpp index ba2fae0..1daf65e 100644 --- a/src/rtsp/src/rtsp_parse.cpp +++ b/src/rtsp/src/rtsp_parse.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp parse class * Author: dingkang * Create: 2022-01-28 diff --git a/src/rtsp/src/rtsp_parse.h b/src/rtsp/src/rtsp_parse.h index 3ec9820..7a6101b 100644 --- a/src/rtsp/src/rtsp_parse.h +++ b/src/rtsp/src/rtsp_parse.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: rtsp parsing data packet class * Author: dingkang * Create: 2022-01-24 diff --git a/src/stream/BUILD.gn b/src/stream/BUILD.gn index ad7bf78..641a566 100644 --- a/src/stream/BUILD.gn +++ b/src/stream/BUILD.gn @@ -1,4 +1,15 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. +# Copyright (c) 2024-2024 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") diff --git a/src/stream/include/cast_stream_common.h b/src/stream/include/cast_stream_common.h index 1492d8d..5c096d5 100644 --- a/src/stream/include/cast_stream_common.h +++ b/src/stream/include/cast_stream_common.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream common. * Author: zhangjingnan * Create: 2023-3-11 diff --git a/src/stream/include/cast_stream_manager_client.h b/src/stream/include/cast_stream_manager_client.h index 802b273..8ed3cf5 100644 --- a/src/stream/include/cast_stream_manager_client.h +++ b/src/stream/include/cast_stream_manager_client.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast stream manager client class. * Author: zhangjingnan * Create: 2023-08-30 diff --git a/src/stream/include/cast_stream_manager_server.h b/src/stream/include/cast_stream_manager_server.h index 74f833c..0989a31 100644 --- a/src/stream/include/cast_stream_manager_server.h +++ b/src/stream/include/cast_stream_manager_server.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast stream manager server class. * Author: zhangjingnan * Create: 2023-08-30 diff --git a/src/stream/include/i_cast_stream_listener.h b/src/stream/include/i_cast_stream_listener.h index 93528bf..1e36309 100644 --- a/src/stream/include/i_cast_stream_listener.h +++ b/src/stream/include/i_cast_stream_listener.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream listener interface. * Author: huangchanggui * Create: 2023-02-01 diff --git a/src/stream/include/i_cast_stream_manager.h b/src/stream/include/i_cast_stream_manager.h index 649cd7e..c7902f0 100644 --- a/src/stream/include/i_cast_stream_manager.h +++ b/src/stream/include/i_cast_stream_manager.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: cast stream manager interface. * Author: huangchanggui * Create: 2023-02-01 diff --git a/src/stream/include/i_cast_stream_manager_client.h b/src/stream/include/i_cast_stream_manager_client.h index e72109e..5f8585a 100644 --- a/src/stream/include/i_cast_stream_manager_client.h +++ b/src/stream/include/i_cast_stream_manager_client.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: cast stream manager client interface. * Author: zhangjingnan * Create: 2023-09-01 diff --git a/src/stream/include/i_cast_stream_manager_server.h b/src/stream/include/i_cast_stream_manager_server.h index 537707c..c1b3939 100644 --- a/src/stream/include/i_cast_stream_manager_server.h +++ b/src/stream/include/i_cast_stream_manager_server.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: cast stream manager server interface. * Author: zhangjingnan * Create: 2023-09-01 diff --git a/src/stream/src/cast_stream_manager_client.cpp b/src/stream/src/cast_stream_manager_client.cpp index d21c7a2..22c450e 100644 --- a/src/stream/src/cast_stream_manager_client.cpp +++ b/src/stream/src/cast_stream_manager_client.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast stream manager client definition, which processes and sends client's instructions. * Author: zhangjingnan * Create: 2023-08-30 diff --git a/src/stream/src/cast_stream_manager_server.cpp b/src/stream/src/cast_stream_manager_server.cpp index 6899e06..0aa0c8a 100644 --- a/src/stream/src/cast_stream_manager_server.cpp +++ b/src/stream/src/cast_stream_manager_server.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast stream manager server definition, which processes and sends server's instructions. * Author: zhangjingnan * Create: 2023-08-31 diff --git a/src/stream/src/i_cast_stream_manager.cpp b/src/stream/src/i_cast_stream_manager.cpp index ae07f40..9674add 100644 --- a/src/stream/src/i_cast_stream_manager.cpp +++ b/src/stream/src/i_cast_stream_manager.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: I Cast stream manager definition, which send instructions to the peer and * recv instructions from peer, bridges the session and player client. * Author: zhangjingnan diff --git a/src/stream/src/local/include/cast_local_file_channel_client.h b/src/stream/src/local/include/cast_local_file_channel_client.h index a8e0385..38ef2b8 100644 --- a/src/stream/src/local/include/cast_local_file_channel_client.h +++ b/src/stream/src/local/include/cast_local_file_channel_client.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast local file channel client operation * Author: liaoxin * Create: 2023-4-20 diff --git a/src/stream/src/local/include/cast_local_file_channel_server.h b/src/stream/src/local/include/cast_local_file_channel_server.h index e4d6aac..8c9626f 100644 --- a/src/stream/src/local/include/cast_local_file_channel_server.h +++ b/src/stream/src/local/include/cast_local_file_channel_server.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast local file channel server operation * Author: liaoxin * Create: 2023-4-20 diff --git a/src/stream/src/local/include/i_cast_local_file_channel.h b/src/stream/src/local/include/i_cast_local_file_channel.h index aa0862b..3e67607 100644 --- a/src/stream/src/local/include/i_cast_local_file_channel.h +++ b/src/stream/src/local/include/i_cast_local_file_channel.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply local file channel class. * Author: huangchanggui * Create: 2023-04-20 diff --git a/src/stream/src/local/include/i_data_listener.h b/src/stream/src/local/include/i_data_listener.h index 3cac5d0..685595a 100644 --- a/src/stream/src/local/include/i_data_listener.h +++ b/src/stream/src/local/include/i_data_listener.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply data listener interface definition * Author: huangchanggui * Create: 2023-04-20 diff --git a/src/stream/src/local/include/local_data_source.h b/src/stream/src/local/include/local_data_source.h index 6623614..d3ea5b7 100644 --- a/src/stream/src/local/include/local_data_source.h +++ b/src/stream/src/local/include/local_data_source.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply local data source cache implement class * Author: huangchanggui * Create: 2023-04-20 diff --git a/src/stream/src/local/src/cast_local_file_channel_client.cpp b/src/stream/src/local/src/cast_local_file_channel_client.cpp index 8aa900e..3432c48 100644 --- a/src/stream/src/local/src/cast_local_file_channel_client.cpp +++ b/src/stream/src/local/src/cast_local_file_channel_client.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast local file channel client impl * Author: liaoxin * Create: 2023-04-20 diff --git a/src/stream/src/local/src/cast_local_file_channel_common.cpp b/src/stream/src/local/src/cast_local_file_channel_common.cpp index fb89711..f3af780 100644 --- a/src/stream/src/local/src/cast_local_file_channel_common.cpp +++ b/src/stream/src/local/src/cast_local_file_channel_common.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast local file channel common impl * Author: liaoxin * Create: 2023-04-20 diff --git a/src/stream/src/local/src/cast_local_file_channel_common.h b/src/stream/src/local/src/cast_local_file_channel_common.h index a932316..395b6f2 100644 --- a/src/stream/src/local/src/cast_local_file_channel_common.h +++ b/src/stream/src/local/src/cast_local_file_channel_common.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast local file channel common * Author: liaoxin * Create: 2023-4-20 diff --git a/src/stream/src/local/src/cast_local_file_channel_server.cpp b/src/stream/src/local/src/cast_local_file_channel_server.cpp index a511109..e9b530a 100644 --- a/src/stream/src/local/src/cast_local_file_channel_server.cpp +++ b/src/stream/src/local/src/cast_local_file_channel_server.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: Cast local file channel server impl * Author: liaoxin * Create: 2023-04-20 diff --git a/src/stream/src/local/src/local_data_source.cpp b/src/stream/src/local/src/local_data_source.cpp index a5defc0..c87cdab 100644 --- a/src/stream/src/local/src/local_data_source.cpp +++ b/src/stream/src/local/src/local_data_source.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply local data source cache implement class * Author: huangchanggui * Create: 2023-04-20 diff --git a/src/stream/src/player/include/cast_stream_player.h b/src/stream/src/player/include/cast_stream_player.h index bc57fd9..c06d4e7 100644 --- a/src/stream/src/player/include/cast_stream_player.h +++ b/src/stream/src/player/include/cast_stream_player.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player. * Author: zhangjingnan * Create: 2023-1-11 diff --git a/src/stream/src/player/include/cast_stream_player_common.h b/src/stream/src/player/include/cast_stream_player_common.h index b91b108..bd6f5e8 100644 --- a/src/stream/src/player/include/cast_stream_player_common.h +++ b/src/stream/src/player/include/cast_stream_player_common.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player common. * Author: zhangjingnan * Create: 2023-3-11 diff --git a/src/stream/src/player/include/cast_stream_player_manager.h b/src/stream/src/player/include/cast_stream_player_manager.h index b3bfc8b..77c19a7 100644 --- a/src/stream/src/player/include/cast_stream_player_manager.h +++ b/src/stream/src/player/include/cast_stream_player_manager.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player manager. * Author: zhangjingnan * Create: 2023-1-11 diff --git a/src/stream/src/player/include/cast_stream_player_utils.h b/src/stream/src/player/include/cast_stream_player_utils.h index 504ae95..180f36f 100644 --- a/src/stream/src/player/include/cast_stream_player_utils.h +++ b/src/stream/src/player/include/cast_stream_player_utils.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player utils. * Author: zhangjingnan * Create: 2023-8-11 diff --git a/src/stream/src/player/include/i_stream_player_impl.h b/src/stream/src/player/include/i_stream_player_impl.h index e107d5b..28c5c34 100644 --- a/src/stream/src/player/include/i_stream_player_impl.h +++ b/src/stream/src/player/include/i_stream_player_impl.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply stream player implement interface. * Author: huangchanggui * Create: 2023-01-12 diff --git a/src/stream/src/player/include/remote_player_controller.h b/src/stream/src/player/include/remote_player_controller.h index cf9413d..e0b6bfc 100644 --- a/src/stream/src/player/include/remote_player_controller.h +++ b/src/stream/src/player/include/remote_player_controller.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: stream player remote controller realization. * Author: huangchanggui * Create: 2023-02-01 diff --git a/src/stream/src/player/include/stream_player_impl_stub.h b/src/stream/src/player/include/stream_player_impl_stub.h index 0b6cc30..3f7cfa3 100644 --- a/src/stream/src/player/include/stream_player_impl_stub.h +++ b/src/stream/src/player/include/stream_player_impl_stub.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply stream player implement stub class. * Author: huangchanggui * Create: 2023-01-13 diff --git a/src/stream/src/player/include/stream_player_listener_impl_proxy.h b/src/stream/src/player/include/stream_player_listener_impl_proxy.h index 71f51dc..d71d5a0 100644 --- a/src/stream/src/player/include/stream_player_listener_impl_proxy.h +++ b/src/stream/src/player/include/stream_player_listener_impl_proxy.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply stream player listener implement proxy class. * Author: huangchanggui * Create: 2023-01-13 diff --git a/src/stream/src/player/src/cast_stream_player.cpp b/src/stream/src/player/src/cast_stream_player.cpp index 2fdacc3..c0e26fc 100644 --- a/src/stream/src/player/src/cast_stream_player.cpp +++ b/src/stream/src/player/src/cast_stream_player.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player. * Author: zhangjingnan * Create: 2023-1-11 diff --git a/src/stream/src/player/src/cast_stream_player_manager.cpp b/src/stream/src/player/src/cast_stream_player_manager.cpp index e0e56d2..cd97881 100644 --- a/src/stream/src/player/src/cast_stream_player_manager.cpp +++ b/src/stream/src/player/src/cast_stream_player_manager.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player manager. * Author: zhangjingnan * Create: 2023-1-11 diff --git a/src/stream/src/player/src/cast_stream_player_utils.cpp b/src/stream/src/player/src/cast_stream_player_utils.cpp index 0cf867e..04f30b7 100644 --- a/src/stream/src/player/src/cast_stream_player_utils.cpp +++ b/src/stream/src/player/src/cast_stream_player_utils.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast stream player utils. * Author: zhangjingnan * Create: 2023-8-11 diff --git a/src/stream/src/player/src/remote_player_controller.cpp b/src/stream/src/player/src/remote_player_controller.cpp index 160ead8..564dde9 100644 --- a/src/stream/src/player/src/remote_player_controller.cpp +++ b/src/stream/src/player/src/remote_player_controller.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: stream player remote controller realization. * Author: huangchanggui * Create: 2023-02-01 diff --git a/src/stream/src/player/src/stream_player_impl_stub.cpp b/src/stream/src/player/src/stream_player_impl_stub.cpp index 484fcfb..1d2f132 100644 --- a/src/stream/src/player/src/stream_player_impl_stub.cpp +++ b/src/stream/src/player/src/stream_player_impl_stub.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply stream player implement stub class. * Author: huangchanggui * Create: 2023-01-13 diff --git a/src/stream/src/player/src/stream_player_listener_impl_proxy.cpp b/src/stream/src/player/src/stream_player_listener_impl_proxy.cpp index 22faa02..2a4f7aa 100644 --- a/src/stream/src/player/src/stream_player_listener_impl_proxy.cpp +++ b/src/stream/src/player/src/stream_player_listener_impl_proxy.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: supply cast session listener implement proxy class. * Author: huangchanggui * Create: 2023-01-13 diff --git a/src/utils/BUILD.gn b/src/utils/BUILD.gn index f0f97ae..80c3bc2 100644 --- a/src/utils/BUILD.gn +++ b/src/utils/BUILD.gn @@ -1,4 +1,15 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. +# Copyright (c) 2024-2024 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") diff --git a/src/utils/include/cast_timer.h b/src/utils/include/cast_timer.h index 4b1d1fc..cbf48f4 100644 --- a/src/utils/include/cast_timer.h +++ b/src/utils/include/cast_timer.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #ifndef CAST_TIMER_H #define CAST_TIMER_H diff --git a/src/utils/include/encrypt_decrypt.h b/src/utils/include/encrypt_decrypt.h index e1b2db0..80300cf 100644 --- a/src/utils/include/encrypt_decrypt.h +++ b/src/utils/include/encrypt_decrypt.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: encrypt and decrypt data module * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/include/handler.h b/src/utils/include/handler.h index d9f1081..3e2970d 100644 --- a/src/utils/include/handler.h +++ b/src/utils/include/handler.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: handler module for send message and handle message in a looper * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/include/message.h b/src/utils/include/message.h index d530eb6..ec64dd8 100644 --- a/src/utils/include/message.h +++ b/src/utils/include/message.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: message definition * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/include/permission.h b/src/utils/include/permission.h index e9bc260..547e3e7 100644 --- a/src/utils/include/permission.h +++ b/src/utils/include/permission.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: add permission utils * Author: zhangge * Create: 2023-05-11 diff --git a/src/utils/include/state_machine.h b/src/utils/include/state_machine.h index e50425c..09f3e34 100644 --- a/src/utils/include/state_machine.h +++ b/src/utils/include/state_machine.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: state machine function realization. * Author: lijianzhao * Create: 2022-01-25 diff --git a/src/utils/include/utils.h b/src/utils/include/utils.h index 3eaf33f..f78ae6f 100644 --- a/src/utils/include/utils.h +++ b/src/utils/include/utils.h @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: common method for cast session * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/src/cast_timer.cpp b/src/utils/src/cast_timer.cpp index 771f646..55e0cdb 100644 --- a/src/utils/src/cast_timer.cpp +++ b/src/utils/src/cast_timer.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include "cast_timer.h" #include "cast_engine_log.h" diff --git a/src/utils/src/encrypt_decrypt.cpp b/src/utils/src/encrypt_decrypt.cpp index 9706609..848d3f2 100644 --- a/src/utils/src/encrypt_decrypt.cpp +++ b/src/utils/src/encrypt_decrypt.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: encrypt and decrypt data module * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/src/handler.cpp b/src/utils/src/handler.cpp index 503c07e..27c1e62 100644 --- a/src/utils/src/handler.cpp +++ b/src/utils/src/handler.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: handler module for send message and handle message in a looper * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/src/message.cpp b/src/utils/src/message.cpp index bdf938b..07a955f 100644 --- a/src/utils/src/message.cpp +++ b/src/utils/src/message.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: message definition * Author: lijianzhao * Create: 2022-01-19 diff --git a/src/utils/src/permission.cpp b/src/utils/src/permission.cpp index 8dccfa6..18aa57c 100644 --- a/src/utils/src/permission.cpp +++ b/src/utils/src/permission.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: add permission utils * Author: zhangge * Create: 2023-05-11 diff --git a/src/utils/src/state_machine.cpp b/src/utils/src/state_machine.cpp index 4ecbea1..7faf238 100644 --- a/src/utils/src/state_machine.cpp +++ b/src/utils/src/state_machine.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: state machine function realization. * Author: lijianzhao * Create: 2022-01-25 diff --git a/src/utils/src/utils.cpp b/src/utils/src/utils.cpp index 49a1c05..d7f46c1 100644 --- a/src/utils/src/utils.cpp +++ b/src/utils/src/utils.cpp @@ -1,5 +1,16 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved. + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * Description: common method for cast session * Author: lijianzhao * Create: 2022-01-19