* Copyright (c) Huawei Device Co., Ltd. 2024-2025. All rights reserved.
* 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.
*/
const TAG: string = 'TestConstants';
export class TestConstants {
static readonly TAG = 'DTTest';
static readonly DELAY_MIN_TIME: number = 50;
static readonly DELAY_TWO_HUNDRED_MILLISECOND: number = 200;
static readonly DELAY_500_MS: number = 500;
static readonly DELAY_ONE_SECOND: number = 1000;
static readonly DELAY_TWO_SECOND: number = 2000;
static readonly DELAY_THREE_SECOND: number = 3000;
static readonly DELAY_FIVE_SECOND: number = 5000;
static readonly DELAY_NINE_SECOND: number = 9000;
static readonly DELAY_TWENTY_SECOND: number = 20000;
static readonly DELAY_INTO_SAVE_POWER_MODE: number = 61000;
static readonly KEY_UNLOCK: string = 'uinput -T -m 300 2700 280 200';
static readonly KEY_POWER: string = 'uinput -K -d 18 -u 18';
static readonly KEY_SNIP: string = 'uinput -K -d 18 -d 17 -u 17 -u 18';
static readonly SNAPSHOT: string = 'snapshot_display';
static readonly START_UP: string = 'aa start -a com.ohos.camera.MainAbility -b com.ohos.camera';
static readonly KILL_PID: string = 'pidof com.ohos.camera |xargs kill -9';
static readonly START_UP_PICKER_DEMO: string = 'aa start -a EntryAbility -b com.example.PerfectDemo';
static readonly START_UP_CAMERA_SHELL: string = 'hdc shell aa start -a com.ohos.camera.MainAbility -b com.ohos.camera --ps camerashell';
}