• 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 request from '@ohos.request';
38import cacheDownload from '@ohos.request.cacheDownload';
39import runningLock from '@ohos.runningLock';
40import screenLock from '@ohos.screenLock';
41import settings from '@ohos.settings';
42import systemCapability from '@ohos.systemCapability';
43import systemDateTime from '@ohos.systemDateTime';
44import systemParameter from '@ohos.systemparameter';
45import systemParameterEnhance from '@ohos.systemParameterEnhance';
46import systemTime from '@ohos.systemTime';
47import systemTimer from '@ohos.systemTimer';
48import thermal from '@ohos.thermal';
49import update from '@ohos.update';
50import usb from '@ohos.usb';
51import usbManager from '@ohos.usbManager';
52import wallpaper from '@ohos.wallpaper';
53import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
54import zlib from '@ohos.zlib';
55import commonEventManager from '@ohos.commonEventManager';
56import emitter from '@ohos.events.emitter';
57import StaticSubscriberExtensionAbility from '@ohos.application.StaticSubscriberExtensionAbility';
58import StaticSubscriberExtensionContext from '@ohos.application.StaticSubscriberExtensionContext';
59import Battery, { BatteryResponse, GetStatusOptions } from '@system.battery';
60import Brightness, {
61  BrightnessModeResponse, BrightnessResponse, GetBrightnessModeOptions, GetBrightnessOptions,
62  SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions
63} from '@system.brightness';
64import Device, { DeviceResponse, GetDeviceOptions } from '@system.device';
65import Request, {
66  DownloadRequestOptions, DownloadResponse, OnDownloadCompleteOptions,
67  OnDownloadCompleteResponse, RequestData, RequestFile, UploadRequestOptions, UploadResponse
68} from '@system.request';
69import systemLoad from '@ohos.resourceschedule.systemload';
70import intelligentVoice from '@ohos.ai.intelligentVoice';
71
72export {
73  AsyncCallback, Battery, BatteryResponse, Brightness, BrightnessModeResponse,
74  BrightnessResponse, BusinessError, Callback, Device, DeviceResponse,
75  DownloadRequestOptions, DownloadResponse, ErrorCallback, GetBrightnessModeOptions,
76  GetBrightnessOptions, GetDeviceOptions, GetStatusOptions, OnDownloadCompleteOptions,
77  OnDownloadCompleteResponse, PrintExtensionAbility, Request, RequestData, RequestFile,
78  SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions, UploadRequestOptions,
79  UploadResponse, WallpaperExtensionAbility, appAccount, batteryInfo, batteryStats, brightness, charger, configPolicy,
80  customConfig, deviceAttest, deviceInfo, distributedAccount, osAccount, pasteboard, power, print, request, cacheDownload, runningLock,
81  screenLock, settings, systemCapability, systemDateTime, systemParameter, systemParameterEnhance, systemTime,
82  systemTimer, thermal, update, usb, usbManager, wallpaper, zlib, commonEventManager, emitter, StaticSubscriberExtensionAbility,
83  StaticSubscriberExtensionContext, systemLoad, intelligentVoice
84};
85