mirror of
https://gitee.com/openharmony/applications_screenlock
synced 2024-11-22 22:09:53 +00:00
zjjv3
Signed-off-by: 18671941053 <zoujunjie6@huawei.com>
This commit is contained in:
parent
862f16a38a
commit
95633348d6
@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { ConvertLunarCalendar } from '../../../../../common/src/main/ets/default/LunarCalendar'
|
||||
import {ConvertLunarCalendar} from '../../../../../common/src/main/ets/default/LunarCalendar'
|
||||
|
||||
export class DateTimeCommon {
|
||||
|
||||
|
@ -18,8 +18,8 @@ import {CommonEventSubscriber} from "commonEvent/commonEventSubscriber";
|
||||
import {createOrGet} from "./SingleInstanceHelper";
|
||||
import {sEventManager} from "./event/EventManager";
|
||||
import {Log} from "./Log";
|
||||
import { obtainLocalEvent } from "./event/EventUtil";
|
||||
import { debounce } from "./Decorators";
|
||||
import {obtainLocalEvent} from "./event/EventUtil";
|
||||
import {debounce} from "./Decorators";
|
||||
export const SCREEN_CHANGE_EVENT = "screenChangeEvent";
|
||||
|
||||
const TAG = "ScreenLockManager";
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Log } from './Log';
|
||||
import {Log} from './Log';
|
||||
|
||||
const TAG = 'Common-StyleManager';
|
||||
|
||||
|
@ -14,10 +14,10 @@
|
||||
*/
|
||||
|
||||
import commonEvent from "@ohos.commonEvent";
|
||||
import { CommonEventData } from "commonEvent/commonEventData";
|
||||
import {CommonEventData} from "commonEvent/commonEventData";
|
||||
import {sEventManager} from "../event/EventManager";
|
||||
import {Log} from "../Log";
|
||||
import { SCREEN_CHANGE_EVENT } from "../ScreenLockManager";
|
||||
import {SCREEN_CHANGE_EVENT} from "../ScreenLockManager";
|
||||
|
||||
export type CommonEventManager = {
|
||||
subscriberCommonEvent: () => Promise<void>;
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
import ServiceExtensionContext from "application/ServiceExtensionContext";
|
||||
import {Log} from "../Log";
|
||||
import { EventParser, START_ABILITY_EVENT, Event, LocalEvent } from "./EventUtil";
|
||||
import { Callback, createEventBus, EventBus } from "./EventBus";
|
||||
import {EventParser, START_ABILITY_EVENT, Event, LocalEvent} from "./EventUtil";
|
||||
import {Callback, createEventBus, EventBus} from "./EventBus";
|
||||
|
||||
export type unsubscribe = () => void;
|
||||
export type Events = string | string[];
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { StatusBarGroupComponentData } from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
|
||||
import {StatusBarGroupComponentData} from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
|
||||
import StatusBarVM from '../../../../../../screenlock/src/main/ets/com/ohos/vm/StatusBarVM'
|
||||
import {Log, TimeEventArgs, TIME_CHANGE_EVENT, sEventManager, unsubscribe, sTimeManager} from '@ohos/common'
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import Constants, {NotificationLayout as Layout} from '../../common/constants';
|
||||
import {NotificationLayout as Layout} from '../../common/constants';
|
||||
import {Log} from '@ohos/common'
|
||||
import SettingDialog from './settingDialog';
|
||||
import ConfirmDialog from './confirmDialog'
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import Constants, {NotificationLayout as Layout} from '../../common/constants';
|
||||
import {NotificationLayout as Layout} from '../../common/constants';
|
||||
import GeneralItem from './generalItem';
|
||||
import CustomItem from './customItem';
|
||||
import {Log} from '@ohos/common'
|
||||
|
@ -17,7 +17,7 @@ import {Log, Trace, SysFaultLogger, FaultID} from '@ohos/common'
|
||||
import ScreenLockMar from '@ohos.screenLock';
|
||||
import windowManager from '@ohos.window'
|
||||
import Constants from '../common/constants'
|
||||
import { Callback } from '@ohos.base';
|
||||
import {Callback} from '@ohos.base';
|
||||
|
||||
const TAG = 'ScreenLock-ScreenLockModel';
|
||||
|
||||
|
@ -19,9 +19,9 @@ import Router from '@system.router';
|
||||
import commonEvent from '@ohos.commonEvent';
|
||||
import hiDebug from '@ohos.hidebug';
|
||||
import systemParameter from '@ohos.systemparameter';
|
||||
import { CommonEventPublishData } from 'commonEvent/commonEventPublishData';
|
||||
import {CommonEventPublishData} from 'commonEvent/commonEventPublishData';
|
||||
import {Callback} from '@ohos.base';
|
||||
import { UIContext } from '@ohos.arkui.UIContext';
|
||||
import {UIContext} from '@ohos.arkui.UIContext';
|
||||
|
||||
const TAG = 'ScreenLock-ScreenLockService';
|
||||
const URI_DIGITALPASSWORD = 'pages/digitalPassword'
|
||||
|
@ -17,7 +17,7 @@ import {Log, sEventManager, unsubscribe} from '@ohos/common'
|
||||
import ViewModel from '../../vm/accountsViewModel';
|
||||
import Constants from '../../common/constants';
|
||||
import {UserData} from '../../data/userData';
|
||||
import { ACCOUNTS_REFRESH_EVENT } from '../../model/accountsModel'
|
||||
import {ACCOUNTS_REFRESH_EVENT} from '../../model/accountsModel'
|
||||
|
||||
const TAG = 'ScreenLock-Accounts'
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import {Log, Trace} from '@ohos/common'
|
||||
import Constants from '../common/constants'
|
||||
import BaseViewModel, {service, AuthType, AuthSubType} from './baseViewModel'
|
||||
import BaseViewModel, {service, AuthSubType} from './baseViewModel'
|
||||
import {Callback} from '@ohos.base';
|
||||
|
||||
const TAG = 'ScreenLock-CustomPSDViewModel'
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import {Log, Trace} from '@ohos/common'
|
||||
import Constants from '../common/constants'
|
||||
import BaseViewModel, {service, AuthType, AuthSubType} from './baseViewModel'
|
||||
import BaseViewModel, {service, AuthSubType} from './baseViewModel'
|
||||
import {Callback} from '@ohos.base';
|
||||
|
||||
const TAG = 'ScreenLock-DigitalPSDViewModel'
|
||||
|
@ -16,7 +16,7 @@
|
||||
import Constants from '../common/constants';
|
||||
import mSignalModel from '../signalModel';
|
||||
import {Log} from '@ohos/common'
|
||||
import { StatusBarGroupComponentData} from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
|
||||
import {StatusBarGroupComponentData} from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
|
||||
import StatusBarVM from '../../../../../../screenlock/src/main/ets/com/ohos/vm/StatusBarVM'
|
||||
|
||||
const TAG = 'SignalComponent-SignalIcon'
|
||||
|
@ -17,7 +17,7 @@ import commonEvent from "@ohos.commonEvent";
|
||||
import Radio from '@ohos.telephony.radio';
|
||||
import Sim from '@ohos.telephony.sim';
|
||||
import Observer from '@ohos.telephony.observer';
|
||||
import { Log } from '@ohos/common'
|
||||
import {Log} from '@ohos/common'
|
||||
import Constants from './common/constants';
|
||||
|
||||
const TAG = 'SignalStatus-SignalModel';
|
||||
|
@ -18,7 +18,7 @@ import windowManager from '@ohos.window'
|
||||
import display from '@ohos.display'
|
||||
import {Log, AbilityManager, sTimeManager} from '@ohos/common'
|
||||
import Constants from '../../../../../../features/screenlock/src/main/ets/com/ohos/common/constants'
|
||||
import { UIContext } from '@ohos.arkui.UIContext'
|
||||
import {UIContext} from '@ohos.arkui.UIContext'
|
||||
|
||||
const TAG = "ScreenLock-ServiceExtAbility"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user