diff --git a/OAT.xml b/OAT.xml index 07b40aa9cd72f6e9458965da589f864053d9c842..4bd82536817ae49d9d53b683b88ff9e4e83a15d4 100644 --- a/OAT.xml +++ b/OAT.xml @@ -107,6 +107,11 @@ + + + + + diff --git a/example/ohos/build-profile.json5 b/example/ohos/build-profile.json5 index a8471bb3c9d7a3dd2efa6f84a9cadbafb8b7d85b..1d12140d202702d7c73d64f1b291fe5c45a660ce 100644 --- a/example/ohos/build-profile.json5 +++ b/example/ohos/build-profile.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "app": { "signingConfigs": [], diff --git a/example/ohos/entry/build-profile.json5 b/example/ohos/entry/build-profile.json5 index d4eb8338607d9a94b31ba33948ed5179f07e76bb..20c75049f2d45e57d267899b6547c79fb6aa84c1 100644 --- a/example/ohos/entry/build-profile.json5 +++ b/example/ohos/entry/build-profile.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "apiType": 'stageMode', "buildOption": { diff --git a/example/ohos/entry/hvigorfile.ts b/example/ohos/entry/hvigorfile.ts index 5e7108ae1d15631f1a0278910ea31946503d3dee..80e4ec5b81689f238c34614b167a0b9e9c83e8d9 100644 --- a/example/ohos/entry/hvigorfile.ts +++ b/example/ohos/entry/hvigorfile.ts @@ -1,17 +1,2 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { hapTasks } from '@ohos/hvigor-ohos-plugin'; diff --git a/example/ohos/entry/oh-package.json5 b/example/ohos/entry/oh-package.json5 index dcd1632045a14f8bc20d605f16eee628dcb3e565..127e86cfae56e33f4542a2bcf5c3d0e0c01569cc 100644 --- a/example/ohos/entry/oh-package.json5 +++ b/example/ohos/entry/oh-package.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "name": "entry", "version": "1.0.0", diff --git a/example/ohos/entry/src/main/module.json5 b/example/ohos/entry/src/main/module.json5 index 63ae86af5516e85791e004b35e95eb3e8ce23ddc..1907287490006721d809d991e51e0adcd0ccabfc 100644 --- a/example/ohos/entry/src/main/module.json5 +++ b/example/ohos/entry/src/main/module.json5 @@ -1,17 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ { "module": { "name": "entry", diff --git a/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets b/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets index 7b6a10b5f84b485df6a4ba6d80fe8fc6712e51d2..8abf7f2f44c0e56110df8c09b2524a4ca37bc993 100644 --- a/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 hilog from '@ohos.hilog'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' diff --git a/example/ohos/entry/src/ohosTest/ets/test/List.test.ets b/example/ohos/entry/src/ohosTest/ets/test/List.test.ets index b399d60709a4322d50da0f3f6a98d696a053736f..d766fe249dfc3ada636f27e64d9b64451ce32c93 100644 --- a/example/ohos/entry/src/ohosTest/ets/test/List.test.ets +++ b/example/ohos/entry/src/ohosTest/ets/test/List.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 abilityTest from './Ability.test' export default function testsuite() { diff --git a/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets b/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets index 147c1063bb2ab3eaeafc74cbb12308edd133bd8a..e3f6e911d3fffba1e1795c60ed1ee4db15b386fd 100644 --- a/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets +++ b/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 UIAbility from '@ohos.app.ability.UIAbility'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; import hilog from '@ohos.hilog'; diff --git a/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets b/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets index 0e287ba64e8c8eea7b28e917d49b10bf6b0d4313..166366593a7e55ef17e6619f68a4c46214814858 100644 --- a/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets +++ b/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets @@ -1,17 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 hilog from '@ohos.hilog'; @Entry diff --git a/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts b/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts index 93df354af774b5ee68c7ab5841af5c4ede8e3bd9..92a16d84e8870da219c51d9f1342c79203c1f42d 100644 --- a/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts +++ b/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 hilog from '@ohos.hilog'; import TestRunner from '@ohos.application.testRunner'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; diff --git a/example/ohos/entry/src/ohosTest/module.json5 b/example/ohos/entry/src/ohosTest/module.json5 index 702f02ac4cb09f00c88d3cccefaabe249cfad3f6..87631d3a1063ffadf6d6d73835cc89e49cad410f 100644 --- a/example/ohos/entry/src/ohosTest/module.json5 +++ b/example/ohos/entry/src/ohosTest/module.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "module": { "name": "entry_test", diff --git a/example/ohos/hvigor/hvigor-config.json5 b/example/ohos/hvigor/hvigor-config.json5 index a4f62f0d6c5722e0d27e35ef9e052c5ccc9d80d3..f70ecd4112d94f9aa555adf898d53f18bf58f3e9 100644 --- a/example/ohos/hvigor/hvigor-config.json5 +++ b/example/ohos/hvigor/hvigor-config.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "modelVersion": "5.0.0", "dependencies": { diff --git a/example/ohos/hvigorfile.ts b/example/ohos/hvigorfile.ts index e73f4fe7cdeca99f22952bf733801f18f94621e6..0a7e3d8d74177458336fa2f524032b873cbe9552 100644 --- a/example/ohos/hvigorfile.ts +++ b/example/ohos/hvigorfile.ts @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 { appTasks } from '@ohos/hvigor-ohos-plugin'; export default { diff --git a/example/ohos/oh-package.json5 b/example/ohos/oh-package.json5 index de3451f9c3c67b8ee0450ed6f1defe28be270016..8f72a6f6c86d7c91b97dd324494dda410ec79c80 100644 --- a/example/ohos/oh-package.json5 +++ b/example/ohos/oh-package.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "modelVersion": "5.0.0", "name": "apptemplate", diff --git a/ohos/build-profile.json5 b/ohos/build-profile.json5 index 4e389528a54e97a60e25b74cde11ac3e9492dc90..8677d79e87e01be8762e90d6aad1527d4cdb7092 100644 --- a/ohos/build-profile.json5 +++ b/ohos/build-profile.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "apiType": "stageMode", "buildOption": { diff --git a/ohos/hvigorfile.ts b/ohos/hvigorfile.ts index 78650b57634166b2cfda876f6365e88e117d3cca..120de5c3954f9e94e9725d4f2504f4c75a617733 100644 --- a/ohos/hvigorfile.ts +++ b/ohos/hvigorfile.ts @@ -1,16 +1 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - export { harTasks } from '@ohos/hvigor-ohos-plugin'; \ No newline at end of file diff --git a/ohos/index.ets b/ohos/index.ets index fefaeda3845334c35478c7aeb656f03c096930dd..173f236bdc0825939303559364701b2ce04f6e26 100644 --- a/ohos/index.ets +++ b/ohos/index.ets @@ -1,17 +1,2 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 BitmapPlugin from './src/main/ets/components/plugin/BitmapPlugin'; export default BitmapPlugin; diff --git a/ohos/oh-package.json5 b/ohos/oh-package.json5 index 0fffc571466fb375bbeafe0f8a651294fb7047fb..0e228b6f2868fee70765d03a4b98199dfd663ceb 100644 --- a/ohos/oh-package.json5 +++ b/ohos/oh-package.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - { "name": "bitmap", "version": "1.0.0", diff --git a/ohos/src/main/ets/components/plugin/BitmapPlugin.ets b/ohos/src/main/ets/components/plugin/BitmapPlugin.ets index 7385c17ac4f16734f17ab33543290d1a03e2dbbd..c410762746e4102028cd0738da6d46aae9a4275c 100644 --- a/ohos/src/main/ets/components/plugin/BitmapPlugin.ets +++ b/ohos/src/main/ets/components/plugin/BitmapPlugin.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 { FlutterPlugin, FlutterPluginBinding } from '@ohos/flutter_ohos/src/main/ets/embedding/engine/plugins/FlutterPlugin'; import MethodChannel, { MethodCallHandler, MethodResult } from '@ohos/flutter_ohos/src/main/ets/plugin/common/MethodChannel'; import MethodCall from '@ohos/flutter_ohos/src/main/ets/plugin/common/MethodCall'; diff --git a/ohos/src/main/module.json5 b/ohos/src/main/module.json5 index c91403bc40401873fa894d0111c0d5698118381f..079b2022406108d4a2e4e2a45091d21ad62a3c6a 100644 --- a/ohos/src/main/module.json5 +++ b/ohos/src/main/module.json5 @@ -1,19 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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. - */ - - { "module": { "name": "bitmap", diff --git a/ohos/src/test/List.test.ets b/ohos/src/test/List.test.ets index 1228ead3fe732255d8c4be4ed6d7322355dec195..12ddf6a9a9e09489e6c97403e95cb9ae8acccd9d 100644 --- a/ohos/src/test/List.test.ets +++ b/ohos/src/test/List.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 localUnitTest from './LocalUnit.test'; export default function testsuite() { diff --git a/ohos/src/test/LocalUnit.test.ets b/ohos/src/test/LocalUnit.test.ets index ab44088b2dd57b0d5782f30028044833f94438c6..0ff1b637bfd318d84ac57ef0d6e44d6f41369f47 100644 --- a/ohos/src/test/LocalUnit.test.ets +++ b/ohos/src/test/LocalUnit.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development 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 { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; export default function localUnitTest() {