/base/notification/common_event_service/services/test/unittest/ |
D | common_event_publish_system_event_test.cpp | 94 * @tc.desc: Verify Publish System CommonEvent success 98 /* Publish */ 109 // make publish info 114 // publish system event 124 * @tc.desc: Verify Publish System CommonEvent fail because is not systemapp 128 /* Publish */ 139 // make publish info 144 // publish system event 154 * @tc.desc: Verify Publish mapped System CommonEvent 179 /* Publish */ [all …]
|
D | common_event_sticky_test.cpp | 100 /* Publish */ 109 // make publish info 136 /* Publish */ 146 // make publish info 184 /* Publish */ 194 // make publish info 217 /* Publish */ 226 // make publish info 249 /* Publish */ 258 // make publish info [all …]
|
D | common_event_publish_permission_event_unit_test.cpp | 103 * 2. publish permission is not empty 123 /* Publish */ 144 * 2. publish permission is not empty 165 /* Publish */ 187 * 2. publish permission is not empty 208 /* Publish */ 230 * 2. publish permission is not empty 251 /* Publish */ 273 * 2. publish permission is empty 313 * 2. publish permission is empty [all …]
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
D | ans_module_test.cpp | 155 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req), (int)ERR_OK); 156 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req1), (int)ERR_OK); 183 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req), (int)ERR_OK); 184 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req1), (int)ERR_OK); 185 EXPECT_EQ((int)g_advancedNotificationService->Publish("testLabel1", req2), (int)ERR_OK); 199 * @tc.desc : Test publish notifications when slot not found, add it. 225 g_advancedNotificationService->Publish(label, req); 234 * @tc.desc : Test publish notification when slot type is SERVICE_REMINDER. 272 // publish request 273 g_advancedNotificationService->Publish(label, req); [all …]
|
/base/notification/common_event_service/tools/cem/include/ |
D | common_event_command.h | 31 " publish publish a common event with options\n" 35 "usage: cem publish [<options>]\n" 39 " publish a common event\n"; 55 constexpr char STRING_PUBLISH_COMMON_EVENT_OK[] = "publish the common event successfully.\n"; 56 constexpr char STRING_PUBLISH_COMMON_EVENT_NG[] = "error: failed to publish the common event.\n"; 58 constexpr char USER_PUBLISH_COMMON_EVENT_NG[] = "error: user version cannot publish common events.\…
|
/base/notification/common_event_service/tools/test/unittest/cem/ |
D | common_event_command_publish_test.cpp | 52 std::string cmd_ = "publish"; 95 * @tc.desc: Verify the "cem publish" command. 113 * @tc.desc: Verify the "cem publish xxx" command. 132 * @tc.desc: Verify the "cem publish -x" command. 151 * @tc.desc: Verify the "cem publish -xxx" command. 170 * @tc.desc: Verify the "cem publish --x" command. 188 * @tc.desc: Verify the "cem publish --xxx" command. 206 * @tc.desc: Verify the "cem publish -h" command. 225 * @tc.desc: Verify the "cem publish --help" command. 244 * @tc.desc: Verify the "cem publish -e" command. [all …]
|
/base/update/update_app/feature/ota/src/main/ets/notify/ |
D | NotificationHelper.ets | 98 await notification.publish(notificationRequest).catch((err) => { 99 this.logError('showDownloading notification publish failed because ' + JSON.stringify(err)); 144 await notification.publish(notificationRequest).catch((err) => { 145 this.logError('showInstalling publish failed because ' + JSON.stringify(err)); 167 await notification.publish(request).then(() => { 168 this.logInfo('showUpgradeFailed publish promise success.'); 170 this.logError('showUpgradeFailed publish promise failed because ' + JSON.stringify(err)); 192 await notification.publish(request).then(() => { 193 this.logInfo('showUpgradeSuccess publish promise success.'); 195 this.logError('showUpgradeSuccess publish promise failed because ' + JSON.stringify(err));
|
/base/notification/common_event_service/interfaces/inner_api/ |
D | common_event_manager.h | 48 * @param publishInfo Indicates the publish info. 57 * @param publishInfo Indicates the publish info. 66 * @param publishInfo Indicates the publish info. 77 * @param publishInfo Indicates the publish info. 88 * @param publishInfo Indicates the publish info. 99 * @param publishInfo Indicates the publish info. 111 * @param publishInfo Indicates the publish info. 123 * @param publishInfo Indicates the publish info. 136 * @param publishInfo Indicates the publish info.
|
/base/notification/common_event_service/tools/test/systemtest/cem/ |
D | common_event_command_publish_system_test.cpp | 148 * @tc.desc: Verify the "cem publish -e <name>" command. 169 // publish a common event 170 std::string command = "cem publish -e " + STRING_EVENT; 205 * @tc.desc: Verify the "cem publish -e <name> -c <code> -d <data>" command. 229 // publish a common event with code and data 230 …std::string command = "cem publish -e " + STRING_EVENT + " -c " + STRING_CODE + " -d " + STRING_DA… 265 * @tc.desc: Verify the "cem publish -e <name> -c <code>" command. 289 // publish a common event with code and data 290 std::string command = "cem publish -e " + STRING_EVENT + " -c " + STRING_CODE_TWO; 325 * @tc.desc: Verify the "cem publish -e <name> -d <data>" command. [all …]
|
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/ |
D | actsCESDataTest.cpp | 727 …* 2.Verify the function of CommonEventData when publish order event: SetCode SetData Get… 764 // publish 793 …* 2.Verify the function of CommonEventData when publish order event: SetCode SetData Get… 830 // publish 859 …* 2.Verify the function of CommonEventData when publish order event: SetCode SetData Get… 899 // publish 928 …* 2.Verify the function of CommonEventData when publish order event: SetCode SetData Get… 968 // publish 997 …* 2.Verify the function of CommonEventData when publish order event: SetCode SetData Get… 1037 // publish [all …]
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mgr_notify.cpp | 54 POWER_HILOGI(FEATURE_SUSPEND, "Start to publish event %{public}s at %{public}lld", in PublishScreenOffEvents() 57 …POWER_HILOGI(FEATURE_SUSPEND, "Publish event %{public}s done", screenOffWant_->GetAction().c_str()… in PublishScreenOffEvents() 62 POWER_HILOGI(FEATURE_WAKEUP, "Start to publish event %{public}s at %{public}lld", in PublishScreenOnEvents() 65 … POWER_HILOGI(FEATURE_WAKEUP, "Publish event %{public}s done", screenOnWant_->GetAction().c_str()); in PublishScreenOnEvents()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ans_innerkits_module_setting_test.cpp | 110 ….desc : Set a specified application can publish notification, get the specified application c… 112 …* @tc.expected : Set a specified application can publish notification success, get the specified … 113 * publish notification. 130 …* @tc.desc : Set a specified application do not publish notification, get the specified appli… 131 * publish notification. 132 …* @tc.expected : Set a specified application do not publish notification success, get the specifi… 133 * not publish notification.
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_notification.h | 131 * @return Returns publish notification result. 140 * @param label Indicates the label of the notification to publish. 143 * @return Returns publish notification result. 203 …* @brief Allows another application to act as an agent to publish notifications in the name of you… 206 …* @param agent Indicates the name of the application bundle that can publish notifications for you… 212 …* @brief Obtains the name of the application bundle that can publish notifications in the name of … 214 …* @param agent Indicates the name of the application bundle that can publish notifications for you… 221 * @brief Checks whether your application has permission to publish notifications by calling 226 * @param canPublish Indicates whether your application has permission to publish notifications. 227 * @return Returns can publish notification as bundle result. [all …]
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_helper.h | 133 * @return Returns publish notification result. 142 * @param label Indicates the label of the notification to publish. 145 * @return Returns publish notification result. 205 …* @brief Allows another application to act as an agent to publish notifications in the name of you… 208 …* @param agent Indicates the name of the application bundle that can publish notifications for you… 214 …* @brief Obtains the name of the application bundle that can publish notifications in the name of … 216 …* @param agent Indicates the name of the application bundle that can publish notifications for you… 223 * @brief Checks whether your application has permission to publish notifications by calling 228 * @param canPublish Indicates whether your application has permission to publish notifications. 229 * @return Returns can publish notification as bundle result. [all …]
|
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/ |
D | NotificationServiceExtAbility.ts | 39 CommonEventManager.publish( 45 () => { console.info(TAG, 'publish DIALOG_CRASHED succeeded'); } 110 CommonEventManager.publish( 116 () => { console.info(TAG, 'publish CLICKED succeeded'); } 195 CommonEventManager.publish( 200 () => { console.info(TAG, 'publish DIALOG_SERVICE_DESTROYED succeeded'); }
|
/base/account/os_account/services/accountmgr/src/ |
D | account_event_provider.cpp | 58 StartTraceAdapter("Ohos account event publish."); in EventPublish() 59 /* publish */ in EventPublish() 69 ACCOUNT_LOGI("No common event part, do not publish anything! event %{public}s.", event.c_str()); in EventPublish()
|
/base/time/time_service/services/time/src/ |
D | time_service_notify.cpp | 43 …TIME_HILOGD(TIME_MODULE_SERVICE, "Start to publish event %{public}s at %{public}lld", want.GetActi… in PublishEvents() 47 … TIME_HILOGE(TIME_MODULE_SERVICE, "failed to Publish event %{public}s", want.GetAction().c_str()); in PublishEvents() 50 TIME_HILOGI(TIME_MODULE_SERVICE, "Publish event %{public}s done", want.GetAction().c_str()); in PublishEvents()
|
/base/notification/common_event_service/frameworks/native/src/ |
D | common_event_publish_info.cpp | 88 EVENT_LOGE("common event Publish Info write permission failed"); in Marshalling() 94 EVENT_LOGE("common event Publish Info write ordered failed"); in Marshalling() 100 EVENT_LOGE("common event Publish Info write sticky failed"); in Marshalling() 105 EVENT_LOGE("common event Publish Info write bundleName failed"); in Marshalling()
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | missed_call_notification.cpp | 75 TELEPHONY_LOGI("publish missed call event result : %{public}d", result); in PublishMissedCallEvent() 87 TELEPHONY_LOGI("publish missed call event with number result : %{public}d", resultWithNumber); in PublishMissedCallEvent() 110 TELEPHONY_LOGI("publish missed call notification result : %{public}d", result); in PublishMissedCallNotification() 141 …TELEPHONY_LOGI("publish unread missed call event with number result : %{public}d", resultWithNumbe… in NotifyUnReadMissedCall() 143 TELEPHONY_LOGE("publish unread missed call event with number error"); in NotifyUnReadMissedCall()
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_notify.cpp | 148 BATTERY_HILOGD(COMP_SVC, "failed to publish battery charge type event"); in PublishChargeTypeChangedEvent() 204 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish BATTERY_CHANGED event"); in PublishChangedEvent() 226 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish BATTERY_CHANGED_INNER event"); in PublishChangedEventInner() 254 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish battery_low event"); in PublishLowEvent() 283 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish battery_okay event"); in PublishOkayEvent() 314 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish power_connected event"); in PublishPowerConnectedEvent() 353 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish power_disconnected event"); in PublishPowerDisconnectedEvent() 385 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish battery charing event"); in PublishChargingEvent() 417 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish battery charing event"); in PublishDischargingEvent()
|
/base/powermgr/display_manager/state_manager/service/native/src/ |
D | display_system_ability.cpp | 40 if (!Publish(service)) { in OnAddSystemAbility() 41 DISPLAY_HILOGE(COMP_SVC, "Failed to publish service"); in OnAddSystemAbility()
|
/base/notification/common_event_service/services/src/ |
D | common_event_manager_service_ability.cpp | 48 if (!Publish(service_.get())) { in OnStart() 49 EVENT_LOGE("Failed to publish CommonEventManagerService to SystemAbilityMgr"); in OnStart()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | inner_app_account_manager.cpp | 72 ACCOUNT_LOGE("failed to publish account"); in DeleteAccount() 90 ACCOUNT_LOGE("failed to publish account"); in SetAccountExtraInfo() 104 ACCOUNT_LOGE("failed to publish account"); in EnableAppAccess() 118 ACCOUNT_LOGE("failed to publish account"); in DisableAppAccess() 160 ACCOUNT_LOGE("failed to publish account"); in SetAssociatedData() 182 ACCOUNT_LOGE("failed to publish account"); in SetAccountCredential() 201 ACCOUNT_LOGE("failed to publish account"); in DeleteAccountCredential() 247 ACCOUNT_LOGE("failed to publish account"); in SetOAuthToken()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | init.cpp | 26 #include "publish.h" 45 DECLARE_NAPI_FUNCTION("publish", Publish), in NotificationInit()
|
/base/global/i18n/services/src/ |
D | i18n_service_ability.cpp | 99 bool status = Publish(this); in OnStart() 101 HiLog::Info(LABEL, "I18nServiceAbility Publish success."); in OnStart() 103 HiLog::Info(LABEL, "I18nServiceAbility Publish failed."); in OnStart()
|