• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file
18 * @kit BasicServicesKit
19 */
20
21import appAccount from '@ohos.account.appAccount';
22import configPolicy from '@ohos.configPolicy';
23import customConfig from '@ohos.customization.customConfig';
24import distributedAccount from '@ohos.account.distributedAccount';
25import osAccount from '@ohos.account.osAccount';
26import PrintExtensionAbility from '@ohos.app.ability.PrintExtensionAbility';
27import { AsyncCallback, BusinessError, Callback, ErrorCallback } from '@ohos.base';
28import batteryInfo from '@ohos.batteryInfo';
29import batteryStats from '@ohos.batteryStatistics';
30import brightness from '@ohos.brightness';
31import charger from '@ohos.charger';
32import deviceAttest from '@ohos.deviceAttest';
33import deviceInfo from '@ohos.deviceInfo';
34import pasteboard from '@ohos.pasteboard';
35import power from '@ohos.power';
36import print from '@ohos.print';
37import scan from '@ohos.scan';
38import request from '@ohos.request';
39import cacheDownload from '@ohos.request.cacheDownload';
40import runningLock from '@ohos.runningLock';
41import screenLock from '@ohos.screenLock';
42import settings from '@ohos.settings';
43import systemCapability from '@ohos.systemCapability';
44import systemDateTime from '@ohos.systemDateTime';
45import systemParameter from '@ohos.systemparameter';
46import systemParameterEnhance from '@ohos.systemParameterEnhance';
47import systemTime from '@ohos.systemTime';
48import systemTimer from '@ohos.systemTimer';
49import thermal from '@ohos.thermal';
50import update from '@ohos.update';
51import usb from '@ohos.usb';
52import usbManager from '@ohos.usbManager';
53import serialManager from '@ohos.usbManager.serial';
54import wallpaper from '@ohos.wallpaper';
55import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
56import zlib from '@ohos.zlib';
57import commonEventManager from '@ohos.commonEventManager';
58import emitter from '@ohos.events.emitter';
59import StaticSubscriberExtensionAbility from '@ohos.application.StaticSubscriberExtensionAbility';
60import StaticSubscriberExtensionContext from '@ohos.application.StaticSubscriberExtensionContext';
61import Battery, { BatteryResponse, GetStatusOptions } from '@system.battery';
62import Brightness, {
63  BrightnessModeResponse, BrightnessResponse, GetBrightnessModeOptions, GetBrightnessOptions,
64  SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions
65} from '@system.brightness';
66import Device, { DeviceResponse, GetDeviceOptions } from '@system.device';
67import Request, {
68  DownloadRequestOptions, DownloadResponse, OnDownloadCompleteOptions,
69  OnDownloadCompleteResponse, RequestData, RequestFile, UploadRequestOptions, UploadResponse
70} from '@system.request';
71import systemLoad from '@ohos.resourceschedule.systemload';
72import intelligentVoice from '@ohos.ai.intelligentVoice';
73import SelectionExtensionAbility from '@ohos.selectionInput.SelectionExtensionAbility';
74import { PanelInfo, PanelType } from '@ohos.selectionInput.SelectionPanel';
75import selectionManager from '@ohos.selectionInput.selectionManager';
76import SelectionExtensionContext from '@ohos.selectionInput.SelectionExtensionContext';
77
78export {
79  AsyncCallback, Battery, BatteryResponse, Brightness, BrightnessModeResponse,
80  BrightnessResponse, BusinessError, Callback, Device, DeviceResponse,
81  DownloadRequestOptions, DownloadResponse, ErrorCallback, GetBrightnessModeOptions,
82  GetBrightnessOptions, GetDeviceOptions, GetStatusOptions, OnDownloadCompleteOptions,
83  OnDownloadCompleteResponse, PrintExtensionAbility, Request, RequestData, RequestFile,
84  SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions, UploadRequestOptions,
85  UploadResponse, WallpaperExtensionAbility, appAccount, batteryInfo, batteryStats, brightness, charger, configPolicy,
86  customConfig, deviceAttest, deviceInfo, distributedAccount, osAccount, pasteboard, power, print, scan, request, cacheDownload, runningLock,
87  screenLock, settings, systemCapability, systemDateTime, systemParameter, systemParameterEnhance, systemTime,
88  systemTimer, thermal, update, usb, usbManager, serialManager, wallpaper, zlib, commonEventManager, emitter, StaticSubscriberExtensionAbility,
89  StaticSubscriberExtensionContext, systemLoad, intelligentVoice, selectionManager, SelectionExtensionAbility,
90  PanelInfo, PanelType, SelectionExtensionContext
91};
92
93/*** if arkts 1.2 */
94import zlib from '@ohos.zlib';
95
96export {
97  zlib
98};
99/*** endif */
100