Home
last modified time | relevance | path

Searched refs:littleIcon (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp715 std::shared_ptr<PixelMap> littleIcon = MakePixelMap(ICON_SIZE, ICON_SIZE); in HWTEST_F() local
716 req->SetLittleIcon(littleIcon); in HWTEST_F()
749 std::shared_ptr<PixelMap> littleIcon = MakePixelMap(ICON_SIZE, ICON_SIZE); in HWTEST_F() local
750 req->SetLittleIcon(littleIcon); in HWTEST_F()
783 std::shared_ptr<PixelMap> littleIcon = MakePixelMap(ICON_SIZE, ICON_SIZE); in HWTEST_F() local
784 req->SetLittleIcon(littleIcon); in HWTEST_F()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h510 * @param littleIcon Indicates the icon of the notification.
512 void SetLittleIcon(const std::shared_ptr<Media::PixelMap> &littleIcon);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp1257 std::shared_ptr<PixelMap> littleIcon = MakePixelMap(ICON_SIZE, ICON_SIZE); in HWTEST_F() local
1258 req.SetLittleIcon(littleIcon); in HWTEST_F()
1289 std::shared_ptr<PixelMap> littleIcon = MakePixelMap(ICON_SIZE, ICON_SIZE); in HWTEST_F() local
1290 req.SetLittleIcon(littleIcon); in HWTEST_F()
1321 std::shared_ptr<PixelMap> littleIcon = MakePixelMap(ICON_SIZE, ICON_SIZE); in HWTEST_F() local
1322 req.SetLittleIcon(littleIcon); in HWTEST_F()
H A Dans_innerkits_module_publish_test.cpp232 auto littleIcon = notificationRequest.GetLittleIcon(); in CheckCaseOneResult() local
234 littleIcon->GetImageInfo(outImageInfo); in CheckCaseOneResult()
235 GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00100 :: littleIcon :: width : " << outImageInfo.size.width; in CheckCaseOneResult()
236 GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00100 :: littleIcon :: height : " << outImageInfo.size.height; in CheckCaseOneResult()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp300 void NotificationRequest::SetLittleIcon(const std::shared_ptr<Media::PixelMap> &littleIcon) in SetLittleIcon() argument
302 littleIcon_ = littleIcon; in SetLittleIcon()
303 if (littleIcon != nullptr) { in SetLittleIcon()
305 littleIcon->GetImageInfo(outImageInfo); in SetLittleIcon()
783 ", littleIcon = " + (littleIcon_ ? "not null" : "null") + in Dump()
1239 ANS_LOGE("Failed to write the flag which indicate whether littleIcon is null"); in Marshalling()
1266 ANS_LOGE("Failed to write littleIcon"); in Marshalling()
1271 ANS_LOGE("Failed to write littleIcon"); in Marshalling()
1663 ANS_LOGE("Failed to read littleIcon"); in ReadFromParcel()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_request.cpp235 std::shared_ptr<Media::PixelMap> littleIcon = request->GetLittleIcon(); in SetNotificationRequestByPixelMap() local
236 if (littleIcon) { in SetNotificationRequestByPixelMap()
239 smallIconResult = Media::PixelMapNapi::CreatePixelMap(env, littleIcon); in SetNotificationRequestByPixelMap()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp1018 std::shared_ptr<Media::PixelMap> littleIcon = request->GetLittleIcon(); in SetNotificationRequestByPixelMap() local
1020 if (littleIcon) { in SetNotificationRequestByPixelMap()
1021 auto native = FFIData::Create<Media::PixelMapImpl>(littleIcon); in SetNotificationRequestByPixelMap()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp1499 auto littleIcon = request.GetLittleIcon(); in CheckImageSize() local
1500 if (NotificationRequest::CheckImageOverSizeForPixelMap(littleIcon, MAX_ICON_SIZE)) { in CheckImageSize()

Completed in 24 milliseconds