diff --git a/LICENSE b/LICENSE index 261eeb9e..4947287f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,4 @@ + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -173,29 +174,4 @@ incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. + END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/OAT.xml b/OAT.xml index eb9f7eb6..635a69fd 100644 --- a/OAT.xml +++ b/OAT.xml @@ -12,7 +12,7 @@ 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. - + Notes: This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun. --> diff --git a/interfaces/innerkits/storage_manager/native/disk.h b/interfaces/innerkits/storage_manager/native/disk.h index bb7f722f..5c126029 100644 --- a/interfaces/innerkits/storage_manager/native/disk.h +++ b/interfaces/innerkits/storage_manager/native/disk.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 diff --git a/interfaces/kits/js/storage_manager/@ohos.storageStatistics.d.ts b/interfaces/kits/js/storage_manager/@ohos.storageStatistics.d.ts index 438e07ea..1e207cfc 100644 --- a/interfaces/kits/js/storage_manager/@ohos.storageStatistics.d.ts +++ b/interfaces/kits/js/storage_manager/@ohos.storageStatistics.d.ts @@ -1,5 +1,5 @@ /* -* Copyright (C) 2021 Huawei Device Co., Ltd. +* Copyright (C) 2022 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 diff --git a/interfaces/kits/js/storage_manager/@ohos.volumeManager.d.ts b/interfaces/kits/js/storage_manager/@ohos.volumeManager.d.ts index e688a031..a6e1bd4e 100644 --- a/interfaces/kits/js/storage_manager/@ohos.volumeManager.d.ts +++ b/interfaces/kits/js/storage_manager/@ohos.volumeManager.d.ts @@ -1,5 +1,5 @@ /* -* Copyright (C) 2021 Huawei Device Co., Ltd. +* Copyright (C) 2022 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 diff --git a/interfaces/kits/js/storage_manager/BUILD.gn b/interfaces/kits/js/storage_manager/BUILD.gn index 0c9f94aa..37ef65b2 100644 --- a/interfaces/kits/js/storage_manager/BUILD.gn +++ b/interfaces/kits/js/storage_manager/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# Copyright (c) 2022 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 diff --git a/services/storage_daemon/client/storage_daemon_client.cpp b/services/storage_daemon/client/storage_daemon_client.cpp index b989043a..404694e5 100644 --- a/services/storage_daemon/client/storage_daemon_client.cpp +++ b/services/storage_daemon/client/storage_daemon_client.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 diff --git a/services/storage_daemon/crypto/src/base_key.cpp b/services/storage_daemon/crypto/src/base_key.cpp index c661185b..1ed87be9 100644 --- a/services/storage_daemon/crypto/src/base_key.cpp +++ b/services/storage_daemon/crypto/src/base_key.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 diff --git a/services/storage_daemon/crypto/src/key_ctrl.cpp b/services/storage_daemon/crypto/src/key_ctrl.cpp index b99f695a..b538f876 100644 --- a/services/storage_daemon/crypto/src/key_ctrl.cpp +++ b/services/storage_daemon/crypto/src/key_ctrl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 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 diff --git a/services/storage_daemon/crypto/src/key_manager.cpp b/services/storage_daemon/crypto/src/key_manager.cpp index b5a3ef95..7b705fba 100644 --- a/services/storage_daemon/crypto/src/key_manager.cpp +++ b/services/storage_daemon/crypto/src/key_manager.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 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 diff --git a/services/storage_daemon/crypto/test/BUILD.gn b/services/storage_daemon/crypto/test/BUILD.gn index 657012cf..4d837711 100644 --- a/services/storage_daemon/crypto/test/BUILD.gn +++ b/services/storage_daemon/crypto/test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (C) 2021 Huawei Device Co., Ltd. +# Copyright (C) 2022 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 diff --git a/services/storage_daemon/crypto/test/crypto_key_test.cpp b/services/storage_daemon/crypto/test/crypto_key_test.cpp index 92966e42..83775c6d 100644 --- a/services/storage_daemon/crypto/test/crypto_key_test.cpp +++ b/services/storage_daemon/crypto/test/crypto_key_test.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 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 diff --git a/services/storage_daemon/ipc/test/BUILD.gn b/services/storage_daemon/ipc/test/BUILD.gn index 13b2d38b..35694713 100644 --- a/services/storage_daemon/ipc/test/BUILD.gn +++ b/services/storage_daemon/ipc/test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# Copyright (c) 2022 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 diff --git a/services/storage_daemon/utils/test/common/help_utils.cpp b/services/storage_daemon/utils/test/common/help_utils.cpp index d2db099a..990e40fc 100644 --- a/services/storage_daemon/utils/test/common/help_utils.cpp +++ b/services/storage_daemon/utils/test/common/help_utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 diff --git a/services/storage_manager/innerkits_impl/test/disk_test.cpp b/services/storage_manager/innerkits_impl/test/disk_test.cpp index e492e3f3..bd0cd3d5 100644 --- a/services/storage_manager/innerkits_impl/test/disk_test.cpp +++ b/services/storage_manager/innerkits_impl/test/disk_test.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2022 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