• 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 distributedAccount from '@ohos.account.distributedAccount';
23import osAccount from '@ohos.account.osAccount';
24import PrintExtensionAbility from '@ohos.app.ability.PrintExtensionAbility';
25import { AsyncCallback, BusinessError, Callback, ErrorCallback } from '@ohos.base';
26import batteryInfo from '@ohos.batteryInfo';
27import batteryStats from '@ohos.batteryStatistics';
28import brightness from '@ohos.brightness';
29import charger from '@ohos.charger';
30import deviceAttest from '@ohos.deviceAttest';
31import deviceInfo from '@ohos.deviceInfo';
32import pasteboard from '@ohos.pasteboard';
33import power from '@ohos.power';
34import print from '@ohos.print';
35import request from '@ohos.request';
36import runningLock from '@ohos.runningLock';
37import screenLock from '@ohos.screenLock';
38import settings from '@ohos.settings';
39import systemCapability from '@ohos.systemCapability';
40import systemDateTime from '@ohos.systemDateTime';
41import systemParameter from '@ohos.systemparameter';
42import systemParameterEnhance from '@ohos.systemParameterEnhance';
43import systemTime from '@ohos.systemTime';
44import systemTimer from '@ohos.systemTimer';
45import thermal from '@ohos.thermal';
46import update from '@ohos.update';
47import usb from '@ohos.usb';
48import usbManager from '@ohos.usbManager';
49import wallpaper from '@ohos.wallpaper';
50import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
51import zlib from '@ohos.zlib';
52import commonEventManager from '@ohos.commonEventManager';
53import emitter from '@ohos.events.emitter';
54import StaticSubscriberExtensionAbility from '@ohos.application.StaticSubscriberExtensionAbility';
55import StaticSubscriberExtensionContext from '@ohos.application.StaticSubscriberExtensionContext';
56import Battery, { BatteryResponse, GetStatusOptions } from '@system.battery';
57import Brightness, {
58  BrightnessModeResponse, BrightnessResponse, GetBrightnessModeOptions, GetBrightnessOptions,
59  SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions
60} from '@system.brightness';
61import Device, { DeviceResponse, GetDeviceOptions } from '@system.device';
62import Request, {
63  DownloadRequestOptions, DownloadResponse, OnDownloadCompleteOptions,
64  OnDownloadCompleteResponse, RequestData, RequestFile, UploadRequestOptions, UploadResponse
65} from '@system.request';
66
67export {
68  AsyncCallback, Battery, BatteryResponse, Brightness, BrightnessModeResponse,
69  BrightnessResponse, BusinessError, Callback, Device, DeviceResponse,
70  DownloadRequestOptions, DownloadResponse, ErrorCallback, GetBrightnessModeOptions,
71  GetBrightnessOptions, GetDeviceOptions, GetStatusOptions, OnDownloadCompleteOptions,
72  OnDownloadCompleteResponse, PrintExtensionAbility, Request, RequestData, RequestFile,
73  SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions, UploadRequestOptions,
74  UploadResponse, WallpaperExtensionAbility, appAccount, batteryInfo, batteryStats, brightness, charger,
75  deviceAttest, deviceInfo, distributedAccount, osAccount, pasteboard, power, print, request, runningLock,
76  screenLock, settings, systemCapability, systemDateTime, systemParameter, systemParameterEnhance, systemTime,
77  systemTimer, thermal, update, usb, usbManager, wallpaper, zlib, commonEventManager, emitter, StaticSubscriberExtensionAbility,
78  StaticSubscriberExtensionContext
79};
80