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 9145b0e71b8c5fa416ef64e08b1a7434b86dbe97..33f15b12f0099e35ea2d5727d3f4356b8ace2e75 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 839ade592cbb50acf710333cc2eb9d36989e6d1a..f8c1b4f6e2924352b01eff387efa14a5d9a36c8d 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 1d42ab763590d76f93f38509050a8febed15a5fa..15509ae7a374bbdaedb41cd77334878031e0865f 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