Home
last modified time | relevance | path

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

12345678

/applications/standard/app_samples/code/Solutions/IM/Chat/entry/src/main/ets/pages/
DChatDetailPage.ets35 msg = new TextMessage($r('app.string.message1'))
78 LazyForEach(this.chatDetailData, (msg: MessageBase) => {
80 ChatItemView({ msg: msg, imgFile: $imgFile })
82 }, (msg: MessageBase) => msg.msgId)
104 let msg = new TextMessage(this.keyboardStr)
106 .toString(), this.userMyself, this.userFriend, msg, 1, this.tdate.getSeconds())
118 let msg = new ImageMessage(40, 50, imagestr)
119 … MessageBase(this.chatDetailData.totalCount().toString(), this.userMyself, this.userFriend, msg, 2)
187 let msg
191 msg = new MessageBase('1000', user1, user2, content, 3, tdate.getSeconds()) // 消息构成
[all …]
DFriendsPage.ets75 LazyForEach(this.friendListData, (msg: EMContact) => {
77 EMContactItemView({ image: msg.userImage, text: msg.userName })
82 … params: { chatImage: msg.userImage, chatName: msg.userName, chatId: msg.userId } })
84 }, (msg: EMContact) => msg.userId)
/applications/standard/camera/common/src/main/ets/default/utils/
DEventLog.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/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/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/security_privacy_center/CertificateManager/product/phone/src/main/ets/common/util/
DLogUtil.ts52 debug(msg): void {
54 console.info(msg);
58 log(msg): void {
60 console.log(msg);
64 info(msg): void {
66 console.info(msg);
70 warn(msg): void {
72 console.warn(msg);
76 error(msg): void {
78 console.error(msg);
/applications/standard/app_samples/code/Solutions/IM/Chat/features/chatlist/src/main/ets/pages/
DChatListPage.ets61 chatViewBuilder(msg: ChatModel) {
64 ReusableChatView(new Message(msg))
67 ChatView(new Message(msg))
73 OptChatViewBuilder(msg: ChatModel) {
76 ReusableOptLayoutChatView(new Message(msg))
79 OptLayoutChatView(new Message(msg))
85 deleteAction(msg: ChatModel) {
91 this.chatListLazy.deleteData(msg);
93 let index = this.chatListArray.indexOf(msg);
135 LazyForEach(this.chatListLazy, (msg: ChatModel) => {
[all …]
DChatDetailPage.ets84 msg = new TextMessage($r('app.string.message1'));
143 LazyForEach(this.chatDetailData, (msg: MessageBase) => {
145 ChatItemView({ msg: msg });
147 }, (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);
269 let msg: TextMessage | ImageMessage;
272 msg = new TextMessage(chatDetailMsgList[i % Constants.MOCK_ELEMENT_COUNT]);
[all …]
/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/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/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/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/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/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/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.debug(`${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/entry/src/main/ets/common/
DMsgBase.ets69 …constructor(id: string, from: EMContact, to: EMContact, msg: MessageBody, ty: number, time?: numbe…
73 this.msgBody = msg
91 constructor(msg: string | Resource) {
93 this.msg = msg
96 msg: string | Resource
120 return this.msg + ' ' +
124 constructor(hei: number, wid: number, img: string | Resource, msg: string) {
129 this.msg = msg
135 msg: string
/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.ts62 broadcastMessage(context, msg) {
63 Logger.info(TAG, `broadcastMessage ${msg}`)
66 this.put(msg, num)
81 setOnMessageReceivedListener(context, msg, callback) {
82 Logger.info(TAG, `setOnMessageReceivedListener ${msg}`)
89 if (data.insertEntries[i].key === msg) {
90 … Logger.info(TAG, `insertEntries receive ${msg} ${JSON.stringify(data.insertEntries[i].value)}`)
96 if (data.updateEntries[i].key === msg) {
97 … Logger.info(TAG, `updateEntries receive ${msg} ${JSON.stringify(data.updateEntries[i].value)}`)
/applications/standard/dlp_manager/entry/src/main/ets/common/
Dutils.ets122 … 'msg': $r('app.string.MESSAGE_APP_NOT_HAVE_PERM_VISIT', err.message.split(", contact:")?.[1])
125 …return { 'title': $r('app.string.TITLE_APP_ERROR'), 'msg': $r('app.string.MESSAGE_APP_INSIDE_ERROR…
127 …return { 'title': $r('app.string.TITLE_APP_ERROR'), 'msg': $r('app.string.MESSAGE_APP_GET_ACCOUNT_…
130 …return { 'title': $r('app.string.TITLE_APP_ERROR'), 'msg': $r('app.string.MESSAGE_APP_NO_ACCOUNT_E…
132 …return { 'title': $r('app.string.TITLE_APP_ERROR'), 'msg': $r('app.string.MESSAGE_APP_PARAM_ERROR'…
134 …return { 'title': $r('app.string.TITLE_APP_ERROR'), 'msg': $r('app.string.MESSAGE_APP_GET_FILE_ASS…
136 return { 'msg': $r('app.string.MESSAGE_DLP_OPEN_REJECT') } as Record<string, Resource>;
138 … return { 'msg': $r('app.string.MESSAGE_DLP_ENCRYPTION_REJECTED') } as Record<string, Resource>;
140 …return { 'msg': $r('app.string.MESSAGE_DLP_SYSTEM_NEED_TO_BE_UPGRADED')} as Record<string, Resourc…
142 …return { 'title': $r('app.string.TITLE_SERVICE_ERROR'), 'msg': $r('app.string.MESSAGE_SERVICE_INSI…
[all …]
/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/Solutions/Game/DistributedDataGobang/entry/src/main/ets/Model/
DKvStoreModel.ts81 setOnMessageReceivedListener(context, msg, callback) {
82 Logger.info(TAG, `setOnMessageReceivedListener: ${msg}`)
90 Logger.info(TAG, 'entries[i].key = ' + entries[i].key + ' and msg = ' + msg)
91 if (entries[i].key === msg) {
93 Logger.info(TAG, `Entries receive, ${msg} = ${value}`)
/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

12345678