Home
last modified time | relevance | path

Searched full:msg (Results 1 – 25 of 173) sorted by relevance

1234567

/applications/standard/settings/common/utils/src/main/ets/default/baseUtil/
DLogUtil.ts25 debug(msg): void {
26 HiLog.debug(DOMAIN, TAG, msg);
29 log(msg): void {
30 HiLog.info(DOMAIN, TAG, msg);
33 info(msg): void {
34 HiLog.info(DOMAIN, TAG, msg);
37 warn(msg): void {
38 HiLog.warn(DOMAIN, TAG, msg);
41 error(msg): void {
42 HiLog.error(DOMAIN, TAG, msg);
/applications/standard/camera/common/src/main/ets/default/utils/
DReportUtil.ts26 MSG: "Failed to open camera"
35 MSG: "Error in camera operation"
44 MSG: "Abnormal photographing"
53 MSG: "Abnormal media drop"
62 MSG: "Switch camera timeout"
71 MSG: "Recording start timeout"
80 MSG: "Recording stop timeout"
89 MSG: "Startup timeout"
98 MSG: "Photo taking timeout"
108 MSG: "take a picture"
[all …]
/applications/standard/calendardata/common/src/main/ets/utils/
DLog.ets25 public static log(classTag: string, msg: string) {
26 console.log(TAG + "--" + classTag + ":" + msg);
29 public static debug(classTag: string, msg: string) {
30 console.debug(TAG + "--" + classTag + ":" + msg);
33 public static info(classTag: string, msg: string) {
34 console.info(TAG + "--" + classTag + ":" + msg);
37 public static warn(classTag: string, msg: string) {
38 console.warn(TAG + "--" + classTag + ":" + msg);
41 public static error(classTag: string, msg: string) {
42 console.error(TAG + "--" + classTag + ":" + msg);
/applications/standard/call/mobiledatasettings/src/main/ets/common/utils/
DLogUtils.ts22 * 3. msg should be short and valuable.
32 d(TAG, msg): void {
33 console.debug('[mobiledatasettings:]' + TAG + ':' + msg);
36 i(TAG, msg): void {
37 console.info('[mobiledatasettings:]' + TAG + ':' + msg);
40 w(TAG, msg): void {
41 console.warn('[mobiledatasettings:]' + TAG + ':' + msg);
44 e(TAG, msg): void {
45 console.error('[mobiledatasettings:]' + TAG + ':' + msg);
/applications/standard/call/entry/src/main/ets/common/utils/
DLogUtils.ts22 * 3. msg should be short and valuable.
32 d(TAG, msg): void {
33 console.debug('[callui:]' + TAG + ':' + msg);
36 i(TAG, msg): void {
37 console.info('[callui:]' + TAG + ':' + msg);
40 w(TAG, msg): void {
41 console.warn('[callui:]' + TAG + ':' + msg);
44 e(TAG, msg): void {
45 console.error('[callui:]' + TAG + ':' + msg);
/applications/standard/app_samples/code/Solutions/IM/Chat/features/chatlist/src/main/ets/pages/
DChatListPage.ets62 chatViewBuilder(msg: ChatModel) {
65 ReusableChatView(new Message(msg))
68 ChatView(new Message(msg))
74 OptChatViewBuilder(msg: ChatModel) {
77 ReusableOptLayoutChatView(new Message(msg))
80 OptLayoutChatView(new Message(msg))
86 deleteAction(msg: ChatModel) {
92 this.chatListLazy.deleteData(msg);
94 let index = this.chatListArray.indexOf(msg);
136 LazyForEach(this.chatListLazy, (msg: ChatModel) => {
[all …]
DChatDetailPage.ets85 msg = new TextMessage($r('app.string.message1'));
144 LazyForEach(this.chatDetailData, (msg: MessageBase) => {
146 ChatItemView({ msg: msg });
148 }, (msg: MessageBase) => msg.msgId)
180 let msg = new TextMessage(this.keyboardStr);
182 .toString(), this.userMyself, this.userFriend, msg, 1, this.todayDate.getSeconds());
195 let msg = new ImageMessage(40, 50, imageStr);
197 .toString(), this.userMyself, this.userFriend, msg, 2);
271 let msg: TextMessage | ImageMessage;
274 msg = new TextMessage(chatDetailMsgList[i % Constants.MOCK_ELEMENT_COUNT]);
[all …]
/applications/standard/contacts_data/entry/src/main/ets/common/utils/
DLogUtils.ts20 d(TAG, msg): void {
21 console.debug('[ContactsData:]' + TAG + ':' + msg);
24 i(TAG, msg): void {
25 console.info('[ContactsData:]' + TAG + ':' + msg);
28 w(TAG, msg): void {
29 console.warn('[ContactsData:]' + TAG + ':' + msg);
32 e(TAG, msg): void {
33 console.error('[ContactsData:]' + TAG + ':' + msg);
/applications/standard/notes/common/utils/src/main/ets/default/baseUtil/
DLogUtil.ets29 static debug(tag: string, msg: string, ...args: any[]) {
31 hilog.info(this.CONTACTS_DOMAIN, this.prefix(tag), msg, args);
33 hilog.debug(this.CONTACTS_DOMAIN, this.prefix(tag), msg, args);
37 static info(tag: string, msg: string, ...args: any[]) {
38 hilog.info(this.CONTACTS_DOMAIN, this.prefix(tag), msg, args);
41 static warn(tag: string, msg: string, ...args: any[]) {
42 hilog.warn(this.CONTACTS_DOMAIN, this.prefix(tag), msg, args);
45 static error(tag: string, msg: string, ...args: any[]) {
46 hilog.error(this.CONTACTS_DOMAIN, this.prefix(tag), msg, args);
/applications/standard/contacts/common/src/main/ets/util/
DHiLog.ets22 * 3. msg should be short and valuable.
43 static d(tag: string, msg: string, ...args: any[]) {
44 Log.debug(DOMAIN, TAG, this.prefix(tag) + msg, args);
47 static i(tag: string, msg: string, ...args: any[]) {
48 Log.info(DOMAIN, TAG, this.prefix(tag) + msg, args);
51 static w(tag: string, msg: string, ...args: any[]) {
52 Log.warn(DOMAIN, TAG, this.prefix(tag) + msg, args);
55 static e(tag: string, msg: string, ...args: any[]) {
56 Log.error(DOMAIN, TAG, this.prefix(tag) + msg, args);
/applications/standard/mms/entry/src/main/ets/utils/
DHiLog.ets22 * 3. msg should be short and valuable.
45 static d(tag: string, msg: string, ...args: any[]) {
46 Log.debug(DOMAIN, TAG, this.prefix(tag) + msg, args);
49 static i(tag: string, msg: string, ...args: any[]) {
50 Log.info(DOMAIN, TAG, this.prefix(tag) + msg, args);
53 static w(tag: string, msg: string, ...args: any[]) {
54 Log.warn(DOMAIN, TAG, this.prefix(tag) + msg, args);
57 static e(tag: string, msg: string, ...args: any[]) {
58 Log.error(DOMAIN, TAG, this.prefix(tag) + msg, args);
/applications/standard/photos/feature/browser/src/main/ets/default/view/album/
DRecycleAlbum.ets56 .onError((msg?: MsgOnError) => {
57 if (msg) {
58 Log.debug(TAG, `image load failed and its componentWidth is: ${msg.componentWidth}`);
59 … Log.debug(TAG, `image load failed and its componentHeight is: ${msg.componentHeight}`);
62 .onComplete((msg?: MsgOnComplete) => {
63 if (msg) {
64 Log.debug(TAG, `image load successfully and its width is: ${msg.width}`);
65 Log.debug(TAG, `image load successfully and its height is: ${msg.height}`);
66 … Log.debug(TAG, `image load successfully and its componentWidth is: ${msg.componentWidth}`);
67 … Log.debug(TAG, `image load successfully and its componentHeight is: ${msg.componentHeight}`);
/applications/standard/dlp_manager/entry/src/main/ets/common/
DGetAlertMessage.ets106 … return { 'msg': $r('app.string.MESSAGE_APP_GET_ACCOUNT_ERROR') } as Record<string, Resource>;
109 return { 'msg': $r('app.string.MESSAGE_APP_NO_ACCOUNT_ERROR') } as Record<string, Resource>;
111 … return { 'msg': $r('app.string.MESSAGE_APP_GET_FILE_ASSET_ERROR') } as Record<string, Resource>;
114 … return { 'msg': $r('app.string.MESSAGE_NOT_AUTHORIZED_APPLICATION') } as Record<string, Resource>;
117 return { 'msg': $r('app.string.network_invalid') } as Record<string, Resource>;
122 return { 'msg': $r('app.string.MESSAGE_SERVICE_INSIDE_ERROR') } as Record<string, Resource>;
124 return { 'msg': $r('app.string.MESSAGE_APP_FILE_PARAM_ERROR') } as Record<string, Resource>;
126 return { 'msg': $r('app.string.MESSAGE_APP_NOT_HAVE_PERM') } as Record<string, Resource>;
128 … return { 'msg': $r('app.string.This_File_is_Open_By_Other_App') } as Record<string, Resource>;
130 return { 'msg': $r('app.string.network_invalid') } as Record<string, Resource>;
[all …]
/applications/standard/camera/common/src/main/ets/default/worker/
DAsyncManager.ts72 // public postMessage(msg: any): AsyncManager {
73 // this.mWorker.postMessage(msg)
78 public postMessage(msg: Message): void {
80 this.appEventBus.emit('MAIN_TO_WORKER', [msg]);
84 public onMessage(msg: Message): void {
85 Log.info(`${TAG} onMessage uidata: ${JSON.stringify(msg.data)}`);
88 public onmessageerror(msg: Message): void {
92 public onerror(msg: Message): void {
96 public onexit(msg: Message): void {
DWorkerManager.ts38 // public postMessage(msg: any): void {
39 // Log.info(`${TAG} postMessage: ${JSON.stringify(msg)}`)
40 // WorkerManager.parentPort.postMessage(msg)
44 public postMessage(msg: ActionData): void {
45 Log.info(`${TAG} postMessage: ${JSON.stringify(msg)}`);
46 this.onMessage(msg);
/applications/standard/app_samples/code/Solutions/IM/Chat/features/chatlist/src/main/ets/viewmodel/
DMsgBase.ets58 …constructor(id: string, from: ChatContact, to: ChatContact, msg: MessageBody, type: number, time?:…
62 this.msgBody = msg;
83 constructor(msg: string | Resource) {
85 this.msg = msg;
88 msg: string | Resource
112 return this.msg + ' ' +
116 constructor(height: number, width: number, image: string | Resource, msg: string) {
121 this.msg = msg;
127 msg: string
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/model/
DKvStoreModel.js66 broadcastMessage(msg) { argument
67 logger.debug(TAG, `broadcastMessage ${msg}`)
71 self.put(msg, num)
87 setOnMessageReceivedListener(msg, callback) { argument
88 logger.debug(TAG, `setOnMessageReceivedListener ${msg}`)
95 if (data.insertEntries[i].key === msg) {
96 … logger.debug(TAG, `insertEntries receive ${msg}=${JSON.stringify(data.insertEntries[i].value)}`)
102 if (data.updateEntries[i].key === msg) {
103 … logger.debug(TAG, `updateEntries receive ${msg}=${JSON.stringify(data.updateEntries[i].value)}`)
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/main/ets/model/
DKvStoreModel.ts63 broadcastMessage(context, msg) {
64 Logger.info(TAG, `broadcastMessage ${msg}`)
67 this.put(msg, num)
96 setOnMessageReceivedListener(context, msg, callback) {
97 Logger.info(TAG, `setOnMessageReceivedListener ${msg}`)
104 if (data.insertEntries[i].key === msg) {
105 … Logger.info(TAG, `insertEntries receive ${msg} ${JSON.stringify(data.insertEntries[i].value)}`)
111 if (data.updateEntries[i].key === msg) {
112 … Logger.info(TAG, `updateEntries receive ${msg} ${JSON.stringify(data.updateEntries[i].value)}`)
/applications/standard/photos/feature/editor/src/main/ets/default/view/
DCropStyleBar.ets37 interface Msg {
165 let msg: Msg = {
168 ReportToBigDataUtil.report(BigDataConstants.PHOTO_EDIT_TYPE_ID, msg);
174 let msg: Msg = {
177 ReportToBigDataUtil.report(BigDataConstants.PHOTO_EDIT_TYPE_ID, msg);
183 let msg: Msg = {
186 ReportToBigDataUtil.report(BigDataConstants.PHOTO_EDIT_TYPE_ID, msg);
/applications/standard/app_samples/code/DocsSample/ApplicationModels/StageServiceWidgetCards/entry/src/main/ets/updatebystatusformability/
DUpdateByStatusFormAbility.ts108 hilog.info(DOMAIN_NUMBER, TAG, 'onFormEvent formId:' + formId + 'msg:' + message);
112 let msg: Record<string, string> = JSON.parse(message);
113 if (msg.selectA !== undefined) {
114 hilog.info(DOMAIN_NUMBER, TAG, 'onFormEvent selectA info:' + msg.selectA);
115 await storeDB.put('A' + formId, msg.selectA);
117 if (msg.selectB !== undefined) {
118 hilog.info(DOMAIN_NUMBER, TAG, 'onFormEvent selectB info:' + msg.selectB);
119 await storeDB.put('B' + formId, msg.selectB);
/applications/standard/systemui/product/pc/controlpanel/src/main/ets/workers/
DPluginDataSourceWorker.js28 parentPort.onmessage = (msg) => { argument
29 Log.showInfo(TAG, `onMessage, msg = ${JSON.stringify(msg)}`);
30 let data = msg.data;
95 …TAG, `onerror, lineno = ${data.lineno}, msg = ${data.message}, filename = ${data.filename}, col = …
98 , MSG: "Abnormal occurrence"}); property
/applications/standard/app_samples/code/Solutions/Game/DistributedDataGobang/entry/src/main/ets/Model/
DKvStoreModel.ts91 setOnMessageReceivedListener(context, msg, callback) {
92 Logger.info(TAG, `setOnMessageReceivedListener: ${msg}`)
100 Logger.info(TAG, 'entries[i].key = ' + entries[i].key + ' and msg = ' + msg)
101 if (entries[i].key === msg) {
103 Logger.info(TAG, `Entries receive, ${msg} = ${value}`)
/applications/standard/call/entry/src/main/ets/common/components/
DIncomingCom.ets93 globalThis.calluiAbilityContext?.resourceManager.getString(obj.msg.id, (err, typeName) => {
135 msg: $r('app.string.backLater')
139 msg: $r('app.string.answerThePhone')
143 msg: $r('app.string.contactMeLater')
147 msg: $r('app.string.beThereSoon')
155 type: 'msg',
167 * @param {string} msg - Send SMS content
171 this.mCallServiceProxy.rejectCall(this.callData.callId, obj.msg);
207 if (type === 'msg') {
/applications/standard/systemui/product/phone/statusbar/src/main/ets/workers/
DPluginDataSourceWorker.js27 parentPort.onmessage = (msg) => { argument
28 Log.showInfo(TAG, `onMessage, msg = ${JSON.stringify(msg)}`);
29 let data = msg.data;
95 …`onerror, lineno = ${data.lineno}, msg = ${data.message}, filename = ${data.filename}, col = ${dat…
/applications/standard/systemui/product/phone/dropdownpanel/src/main/ets/workers/
DPluginDataSourceWorker.js27 parentPort.onmessage = (msg) => { argument
28 Log.showInfo(TAG, `onMessage, msg = ${JSON.stringify(msg)}`);
29 let data = msg.data;
95 …`onerror, lineno = ${data.lineno}, msg = ${data.message}, filename = ${data.filename}, col = ${dat…

1234567