Home
last modified time | relevance | path

Searched refs:ANS_LOGE (Results 1 – 25 of 82) sorted by relevance

1234

/base/notification/distributed_notification_service/frameworks/core/src/
Dans_manager_proxy.cpp41 ANS_LOGE("[Publish] fail: notification is null ptr."); in Publish()
47 ANS_LOGE("[Publish] fail: write interface token failed."); in Publish()
52 ANS_LOGE("[Publish] fail: write label failed."); in Publish()
57 ANS_LOGE("[Publish] fail: write notification parcelable failed"); in Publish()
65 ANS_LOGE("[Publish] fail: transact ErrCode=%{public}d", result); in Publish()
70 ANS_LOGE("[Publish] fail: read result failed."); in Publish()
81 ANS_LOGE("[Cancel] fail: write interface token failed."); in Cancel()
86 ANS_LOGE("[Cancel] fail: write notificationId failed"); in Cancel()
91 ANS_LOGE("[Cancel] fail: write label failed"); in Cancel()
99 ANS_LOGE("[Cancel] fail: transact ErrCode=%{public}d", result); in Cancel()
[all …]
Dans_subscriber_proxy.cpp36 ANS_LOGE("[InnerTransact] fail: get Remote fail code %{public}u", code); in InnerTransact()
46 ANS_LOGE("[InnerTransact] fail: ipcErr=%{public}d code %{public}d", err, code); in InnerTransact()
50 ANS_LOGE("[InnerTransact] fail: ipcErr=%{public}d code %{public}d", err, code); in InnerTransact()
60 ANS_LOGE("[OnConnected] fail: write interface token failed."); in OnConnected()
68 ANS_LOGE("[OnConnected] fail: transact ErrCode=ERR_ANS_TRANSACT_FAILED"); in OnConnected()
77 ANS_LOGE("[OnDisconnected] fail: write interface token failed."); in OnDisconnected()
85 ANS_LOGE("[OnDisconnected] fail: transact ErrCode=ERR_ANS_TRANSACT_FAILED"); in OnDisconnected()
94 ANS_LOGE("[OnConsumed] fail: notification is nullptr."); in OnConsumed()
100 ANS_LOGE("[OnConsumed] fail: write interface token failed."); in OnConsumed()
105 ANS_LOGE("[OnConsumed] fail: write notification failed."); in OnConsumed()
[all …]
Dans_notification.cpp39 ANS_LOGE("GetAnsManagerProxy fail."); in AddSlotByType()
48 ANS_LOGE("Failed to add notification slots because input slots size is 0."); in AddNotificationSlots()
52 ANS_LOGE("GetAnsManagerProxy fail."); in AddNotificationSlots()
60 ANS_LOGE("Failed to create NotificationSlot ptr."); in AddNotificationSlots()
72 ANS_LOGE("GetAnsManagerProxy fail."); in RemoveNotificationSlot()
81 ANS_LOGE("GetAnsManagerProxy fail."); in RemoveAllSlots()
91 ANS_LOGE("GetAnsManagerProxy fail."); in GetNotificationSlot()
100 ANS_LOGE("GetAnsManagerProxy fail."); in GetNotificationSlots()
109 ANS_LOGE("Invalid bundle name."); in GetNotificationSlotNumAsBundle()
114 ANS_LOGE("GetAnsManagerProxy fail."); in GetNotificationSlotNumAsBundle()
[all …]
Dans_manager_stub.cpp267 ANS_LOGE("[OnRemoteRequest] fail: invalid interface token!"); in OnRemoteRequest()
273 ANS_LOGE("[OnRemoteRequest] fail: unknown code!"); in OnRemoteRequest()
279 ANS_LOGE("[OnRemoteRequest] fail: not find function!"); in OnRemoteRequest()
288ANS_LOGE("[OnRemoteRequest] fail: Failed to call interface %{public}u, err:%{public}d", code, resu… in OnRemoteRequest()
296 ANS_LOGE("[HandlePublish] fail: read label failed"); in HandlePublish()
302 ANS_LOGE("[HandlePublish] fail: notification ReadParcelable failed"); in HandlePublish()
308 ANS_LOGE("[HandlePublish] fail: write result failed, ErrCode=%{public}d", result); in HandlePublish()
318 ANS_LOGE("[HandleCancel] fail: read notificationId failed"); in HandleCancel()
324 ANS_LOGE("[HandleCancel] fail: read label failed"); in HandleCancel()
330 ANS_LOGE("[HandleCancel] fail: write result failed, ErrCode=%{public}d", result); in HandleCancel()
[all …]
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_notification_manager.cpp63 ANS_LOGE("database_ is nullptr."); in DistributedNotificationManager()
71 ANS_LOGE("ffrt start!"); in ~DistributedNotificationManager()
76 ANS_LOGE("ffrt end!"); in ~DistributedNotificationManager()
97 ANS_LOGE("database_ is invalid."); in GenerateLocalDistributedKey()
139 ANS_LOGE("key <%{public}s> is invalid.", key.c_str()); in CheckDeviceId()
150 ANS_LOGE("ffrt start!"); in OnDatabaseInsert()
152 ANS_LOGE("Serial queue is invalid."); in OnDatabaseInsert()
156 ANS_LOGE("ffrt enter!"); in OnDatabaseInsert()
163 ANS_LOGE("key <%{public}s> is invalid.", key.c_str()); in OnDatabaseInsert()
170 ANS_LOGE("convert json to request failed. key:%{public}s", key.c_str()); in OnDatabaseInsert()
[all …]
Ddistributed_database.cpp44 ANS_LOGE("init device manager failed, ret:%{public}d", ret); in GetKvDataManager()
49 ANS_LOGE("register devStateCallback failed, ret:%{public}d", ret); in GetKvDataManager()
68 ANS_LOGE("kvDataManager is nullptr."); in CheckKvDataManager()
92 ANS_LOGE("kvDataManager GetSingleKvStore failed ret = 0x%{public}x", status); in GetKvStore()
102 ANS_LOGE("kvStore SubscribeKvStore failed ret = 0x%{public}x", status); in GetKvStore()
117 ANS_LOGE("kvStore is nullptr."); in CheckKvStore()
133 ANS_LOGE("kvStore is nullptr."); in PutToDistributedDB()
138 ANS_LOGE("KvStore flow control."); in PutToDistributedDB()
146 ANS_LOGE("kvStore Put() failed ret = 0x%{public}x", status); in PutToDistributedDB()
158 ANS_LOGE("kvStore is nullptr."); in GetFromDistributedDB()
[all …]
Ddistributed_preferences_database.cpp72 ANS_LOGE("kvDataManager GetSingleKvStore failed ret = 0x%{public}x", status); in GetKvStore()
100 ANS_LOGE("kvStore flow control."); in PutToDistributedDB()
110 ANS_LOGE("kvStore Put() failed ret = 0x%{public}x", status); in PutToDistributedDB()
125 ANS_LOGE("kvStore flow control."); in GetFromDistributedDB()
134 ANS_LOGE("kvStore Get() failed ret = 0x%{public}x", status); in GetFromDistributedDB()
149 ANS_LOGE("kvStore flow control."); in GetEntriesFromDistributedDB()
157 ANS_LOGE("kvStore GetEntries() failed ret = 0x%{public}x", status); in GetEntriesFromDistributedDB()
171 ANS_LOGE("kvStore flow control."); in DeleteToDistributedDB()
180 ANS_LOGE("kvStore Delete() failed ret = 0x%{public}x", status); in DeleteToDistributedDB()
195 ANS_LOGE("kvDataManager flow control."); in ClearDatabase()
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_conversational_content.cpp57 ANS_LOGE("Failed to create message"); in AddConversationalMessage()
67 ANS_LOGE("Message can not be null"); in AddConversationalMessage()
101 ANS_LOGE("Cannot convert basicContent to JSON"); in ToJson()
107 ANS_LOGE("Cannot convert messageUser to JSON"); in ToJson()
123 ANS_LOGE("Cannot convert conversationalMessage to JSON"); in ToJson()
136 ANS_LOGE("Invalid JSON object"); in FromJson()
142 ANS_LOGE("Failed to create conversationalContent instance"); in FromJson()
165 ANS_LOGE("Failed to parse message "); in FromJson()
182 ANS_LOGE("Failed to write basic"); in Marshalling()
187 ANS_LOGE("Failed to write conversation title"); in Marshalling()
[all …]
Dnotification_content.cpp24 ANS_LOGE("NotificationNormalContent can not be null"); in NotificationContent()
35 ANS_LOGE("NotificationLongTextContent can not be null"); in NotificationContent()
46 ANS_LOGE("NotificationPictureContent can not be null"); in NotificationContent()
57 ANS_LOGE("NotificationConversationalContent can not be null"); in NotificationContent()
68 ANS_LOGE("NotificationMultiLineContent can not be null"); in NotificationContent()
79 ANS_LOGE("NotificationMediaContent can not be null"); in NotificationContent()
120 ANS_LOGE("Invalid content. Cannot convert to JSON."); in ToJson()
126 ANS_LOGE("Cannot convert content to JSON"); in ToJson()
137 ANS_LOGE("Invalid JSON object"); in FromJson()
142 ANS_LOGE("Incomplete NotificationContent json object. Cannot convert content from JSON."); in FromJson()
[all …]
Dnotification_request.cpp748 ANS_LOGE("Cannot convert objects to JSON"); in ToJson()
758 ANS_LOGE("Invalid JSON object"); in FromJson()
764 ANS_LOGE("Failed to create request instance"); in FromJson()
827 ANS_LOGE("Failed to write notification Id"); in Marshalling()
832 ANS_LOGE("Failed to write color"); in Marshalling()
837 ANS_LOGE("Failed to write badge number"); in Marshalling()
842 ANS_LOGE("Failed to write progress value"); in Marshalling()
847 ANS_LOGE("Failed to write progress max"); in Marshalling()
852 ANS_LOGE("Failed to write create time"); in Marshalling()
857 ANS_LOGE("Failed to write delivery time"); in Marshalling()
[all …]
Dnotification_picture_content.cpp64 ANS_LOGE("Cannot convert basicContent to JSON"); in ToJson()
78 ANS_LOGE("Invalid JSON object"); in FromJson()
84 ANS_LOGE("Failed to create pictureContent instance"); in FromJson()
110 ANS_LOGE("Failed to write basic"); in Marshalling()
115 ANS_LOGE("Failed to write expanded title"); in Marshalling()
120 ANS_LOGE("Failed to write brief text"); in Marshalling()
126 ANS_LOGE("Failed to write the flag which indicate whether bigPicture is null"); in Marshalling()
132 ANS_LOGE("Failed to write bigPicture"); in Marshalling()
154 ANS_LOGE("Failed to read basic"); in ReadFromParcel()
159 ANS_LOGE("Failed to read expanded title"); in ReadFromParcel()
[all …]
Dnotification_long_text_content.cpp83 ANS_LOGE("Cannot convert basicContent to JSON"); in ToJson()
97 ANS_LOGE("Invalid JSON object"); in FromJson()
103 ANS_LOGE("Failed to create longTextContent instance"); in FromJson()
128 ANS_LOGE("Failed to write basic"); in Marshalling()
133 ANS_LOGE("Failed to write expanded title"); in Marshalling()
138 ANS_LOGE("Failed to write brief text"); in Marshalling()
143 ANS_LOGE("Failed to write longText"); in Marshalling()
164 ANS_LOGE("Failed to read basic"); in ReadFromParcel()
169 ANS_LOGE("Failed to read expanded title"); in ReadFromParcel()
174 ANS_LOGE("Failed to read brief text"); in ReadFromParcel()
[all …]
Dnotification_multiline_content.cpp78 ANS_LOGE("Cannot convert basicContent to JSON"); in ToJson()
92 ANS_LOGE("Invalid JSON object"); in FromJson()
98 ANS_LOGE("Failed to create multiLineContent instance"); in FromJson()
123 ANS_LOGE("Failed to write basic"); in Marshalling()
128 ANS_LOGE("Failed to write expanded title"); in Marshalling()
133 ANS_LOGE("Failed to write brief text"); in Marshalling()
138 ANS_LOGE("Failed to write all lines"); in Marshalling()
159 ANS_LOGE("Failed to read basic"); in ReadFromParcel()
164 ANS_LOGE("Failed to read expanded title"); in ReadFromParcel()
169 ANS_LOGE("Failed to read brief text"); in ReadFromParcel()
[all …]
Dnotification_conversational_message.cpp81 ANS_LOGE("Cannot convert sender to JSON"); in ToJson()
95 ANS_LOGE("Invalid JSON object"); in FromJson()
101 ANS_LOGE("Failed to create conversationalMessage instance"); in FromJson()
142 ANS_LOGE("Failed to write arrived time"); in Marshalling()
147 ANS_LOGE("Failed to write text"); in Marshalling()
152 ANS_LOGE("Failed to write sender"); in Marshalling()
158 ANS_LOGE("Failed to write the flag which indicate whether uri is null"); in Marshalling()
164 ANS_LOGE("Failed to write uri"); in Marshalling()
170 ANS_LOGE("Failed to write MIME type"); in Marshalling()
193 ANS_LOGE("Failed to read text"); in ReadFromParcel()
[all …]
Dnotification_action_button.cpp32 ANS_LOGE("icon or wantAgent can not be null when isContextual is true"); in Create()
40 ANS_LOGE("create WantParams object failed"); in Create()
61 ANS_LOGE("create NotificationActionButton object failed"); in Create()
143 ANS_LOGE("The userInput is invalid."); in AddMimeTypeOnlyUserInput()
148 ANS_LOGE("The userInput is not a particular MIME types."); in AddMimeTypeOnlyUserInput()
239 ANS_LOGE("Invalid JSON object"); in FromJson()
245 ANS_LOGE("Failed to create actionButton instance"); in FromJson()
278 ANS_LOGE("Failed to write title"); in Marshalling()
283 ANS_LOGE("Failed to write flag autoCreatedReplies"); in Marshalling()
288 ANS_LOGE("Failed to write flag isContextual"); in Marshalling()
[all …]
Dpush_callback_stub.cpp36 ANS_LOGE("local descriptor is not equal to remote"); in OnRemoteRequest()
49 ANS_LOGE("pushCallBackStub is nullptr!"); in OnRemoteRequest()
58 ANS_LOGE("Failed to write reply "); in OnRemoteRequest()
76 ANS_LOGE("Write interface token failed."); in OnCheckNotification()
81 ANS_LOGE("Connect done element error."); in OnCheckNotification()
87 ANS_LOGE("Get Remote fail."); in OnCheckNotification()
94 ANS_LOGE("Connect done fail, error: %{public}d", error); in OnCheckNotification()
Dmessage_user.cpp124 ANS_LOGE("Invalid JSON object"); in FromJson()
130 ANS_LOGE("Failed to create messageUse instance"); in FromJson()
166 ANS_LOGE("Failed to write key"); in Marshalling()
171 ANS_LOGE("Failed to write name"); in Marshalling()
176 ANS_LOGE("Failed to write isMachine"); in Marshalling()
181 ANS_LOGE("Failed to write isUserImportant"); in Marshalling()
187 ANS_LOGE("Failed to write VALUE_NULL"); in Marshalling()
192 ANS_LOGE("Failed to write VALUE_OBJECT"); in Marshalling()
196 ANS_LOGE("Failed to write uri"); in Marshalling()
203 ANS_LOGE("Failed to write the flag which indicate whether pixelMap is null"); in Marshalling()
[all …]
Dnotification_slot.cpp226 ANS_LOGE("Failed to write id"); in Marshalling()
231 ANS_LOGE("Failed to write name"); in Marshalling()
236 ANS_LOGE("Failed to write isLightEnabled"); in Marshalling()
241 ANS_LOGE("Failed to write isVibrationEnabled"); in Marshalling()
246 ANS_LOGE("Failed to write isShowBadge"); in Marshalling()
251 ANS_LOGE("Failed to write isBypassDnd"); in Marshalling()
256 ANS_LOGE("Failed to write description"); in Marshalling()
261 ANS_LOGE("Failed to write lightColor"); in Marshalling()
266 ANS_LOGE("Failed to write level"); in Marshalling()
271 ANS_LOGE("Failed to write type"); in Marshalling()
[all …]
Dnotification_basic_content.cpp71 ANS_LOGE("Invalid JSON object"); in ReadFromJson()
92 ANS_LOGE("Failed to write text"); in Marshalling()
97 ANS_LOGE("Failed to write title"); in Marshalling()
102 ANS_LOGE("Failed to write additional text"); in Marshalling()
112 ANS_LOGE("Failed to read text"); in ReadFromParcel()
117 ANS_LOGE("Failed to read title"); in ReadFromParcel()
122 ANS_LOGE("Failed to read additional text"); in ReadFromParcel()
Dnotification_user_input.cpp58 ANS_LOGE("The param of inputKey is empty"); in Create()
64 ANS_LOGE("create NotificationUserInput object failed"); in Create()
77 ANS_LOGE("The param of inputKey is empty"); in Create()
83 ANS_LOGE("Setting editType to enable requires permitFreeFormInput to be set to true"); in Create()
88 ANS_LOGE("options and permitMimeTypes cannot be empty at the same time"); in Create()
101 ANS_LOGE("create NotificationUserInput object failed"); in Create()
164 ANS_LOGE("The mimeType is invalid."); in SetPermitMimeTypes()
253 ANS_LOGE("Invalid JSON object"); in FromJson()
259 ANS_LOGE("Failed to create userInput instance"); in FromJson()
303 ANS_LOGE("Failed to write inputKey"); in Marshalling()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_push_callback.cpp40 ANS_LOGE("pushCallBackObject_ nullptr"); in IsEqualPushCallBackObject()
46 ANS_LOGE("Failed to get value"); in IsEqualPushCallBackObject()
57 ANS_LOGE("pushCallBackObject_ nullptr"); in OnCheckNotification()
63 ANS_LOGE("Failed to get value"); in OnCheckNotification()
91 ANS_LOGE("Invalid JSON object"); in ConvertJsonStringToValue()
98 ANS_LOGE("Invalid JSON object pkgName"); in ConvertJsonStringToValue()
105 ANS_LOGE("Invalid JSON object notifyId"); in ConvertJsonStringToValue()
112 ANS_LOGE("Invalid JSON object contentType"); in ConvertJsonStringToValue()
122 ANS_LOGE("funcResult TypeOf error."); in ConvertFunctionResult()
128 ANS_LOGE("obj is nullptr."); in ConvertFunctionResult()
[all …]
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_subscriber_manager.cpp66 ANS_LOGE("subscriber is null."); in AddSubscriber()
74 ANS_LOGE("Failed to create NotificationSubscribeInfo ptr."); in AddSubscriber()
94 ANS_LOGE("queue is nullptr"); in AddSubscriber()
97 ANS_LOGE("ffrt start!"); in AddSubscriber()
99 ANS_LOGE("ffrt enter!"); in AddSubscriber()
103 ANS_LOGE("ffrt end!"); in AddSubscriber()
112 ANS_LOGE("subscriber is null."); in RemoveSubscriber()
118 ANS_LOGE("queue is nullptr"); in RemoveSubscriber()
121 ANS_LOGE("ffrt start!"); in RemoveSubscriber()
124 ANS_LOGE("ffrt enter!"); in RemoveSubscriber()
[all …]
Dnotification_rdb_data_mgr.cpp115 ANS_LOGE("notification rdb init fail"); in Init()
129 ANS_LOGE("notification rdb is null"); in Destroy()
138 ANS_LOGE("failed to destroy db store"); in Destroy()
149 ANS_LOGE("notification rdb is null"); in InsertData()
162ANS_LOGE("Insert operation failed, result: %{public}d, key=%{public}s.", ret, key.c_str()); in InsertData()
173 ANS_LOGE("notification rdb is null"); in InsertBatchData()
187 ANS_LOGE("Insert batch operation failed, result: %{public}d.", ret); in InsertBatchData()
199 ANS_LOGE("notification rdb is null"); in DeleteData()
209 ANS_LOGE("Delete operation failed, result: %{public}d, key=%{public}s.", in DeleteData()
221 ANS_LOGE("notification rdb is null"); in DeleteBathchData()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dsubscribe.cpp56 ANS_LOGE("request is null"); in SetSubscribeCallbackData()
61 ANS_LOGE("sortingMap is null"); in SetSubscribeCallbackData()
69 ANS_LOGE("SetNotification call failed"); in SetSubscribeCallbackData()
78 ANS_LOGE("SetNotificationSortingMap call failed"); in SetSubscribeCallbackData()
156 ANS_LOGE("work is null"); in UvQueueWorkOnCanceled()
162 ANS_LOGE("dataWorkerData is null"); in UvQueueWorkOnCanceled()
177 ANS_LOGE("Failed to convert data to JS"); in UvQueueWorkOnCanceled()
199 ANS_LOGE("request is null"); in OnCanceled()
204 ANS_LOGE("sortingMap is null"); in OnCanceled()
214 ANS_LOGE("loop instance is nullptr"); in OnCanceled()
[all …]
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_json_convert.h48 ANS_LOGE("Converter : Invalid base object"); in ConvertToJson()
65 ANS_LOGE("Converter : Invalid base object"); in ConvertToJsonString()
71 ANS_LOGE("Converter : Cannot convert to JSON object"); in ConvertToJsonString()
89 ANS_LOGE("Converter : Invalid JSON object"); in ConvertFromJson()
106 ANS_LOGE("Converter : Invalid JSON string"); in ConvertFromJsonString()
112 ANS_LOGE("Converter : Invalid JSON object"); in ConvertFromJsonString()

1234