From c6857b336ba1d5f7abae669aa2670e633845fdd3 Mon Sep 17 00:00:00 2001 From: tianwenzhe Date: Mon, 21 Aug 2023 11:39:35 +0800 Subject: [PATCH] add headline Signed-off-by: tian-wenzhe411 --- .../src/main/ets/pages/model/FloatBall.ets | 14 ++++++++++++++ .../src/main/ets/pages/model/FloatWindowFun.ts | 15 ++++++++++++++- .../src/main/ets/pages/model/timeTools.ts | 14 ++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/validator/acts_validator/src/main/ets/pages/model/FloatBall.ets b/validator/acts_validator/src/main/ets/pages/model/FloatBall.ets index 9145b0e71..33f15b12f 100644 --- a/validator/acts_validator/src/main/ets/pages/model/FloatBall.ets +++ b/validator/acts_validator/src/main/ets/pages/model/FloatBall.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2023 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 socket from '@ohos.net.socket'; let tcp = socket.constructTCPSocketInstance(); diff --git a/validator/acts_validator/src/main/ets/pages/model/FloatWindowFun.ts b/validator/acts_validator/src/main/ets/pages/model/FloatWindowFun.ts index 839ade592..f8c1b4f6e 100644 --- a/validator/acts_validator/src/main/ets/pages/model/FloatWindowFun.ts +++ b/validator/acts_validator/src/main/ets/pages/model/FloatWindowFun.ts @@ -1,4 +1,17 @@ - +/* + * Copyright (c) 2023 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 window from '@ohos.window'; export class FloatWindowFun { diff --git a/validator/acts_validator/src/main/ets/pages/model/timeTools.ts b/validator/acts_validator/src/main/ets/pages/model/timeTools.ts index 1d42ab763..15509ae7a 100644 --- a/validator/acts_validator/src/main/ets/pages/model/timeTools.ts +++ b/validator/acts_validator/src/main/ets/pages/model/timeTools.ts @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2023 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. + */ export function fillNum(num) { if (num < 10) { return '0' + num -- GitLab