Home
last modified time | relevance | path

Searched refs:appIcon (Results 1 – 12 of 12) sorted by relevance

/foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include/
Ddm_app_image_info.h80 if (appIcon != nullptr) { in ~DmAppImageInfo()
81 delete[] appIcon; in ~DmAppImageInfo()
82 appIcon = nullptr; in ~DmAppImageInfo()
115 return appIcon; in GetAppIcon()
139 if (appIcon != nullptr && appIconLen > 0) { in SaveIconData()
140 delete[] appIcon; in SaveIconData()
141 appIcon = nullptr; in SaveIconData()
144 appIcon = new (std::nothrow) uint8_t[appIconLen_] { 0 }; in SaveIconData()
146 if (appIcon != nullptr) { in SaveIconData()
148 if (memcpy_s(appIcon, (uint32_t)appIconLen, appIcon_, appIconLen_) != 0) { in SaveIconData()
[all …]
/foundation/distributedhardware/devicemanager/ext/mini/interfaces_mini/inner_kits/native_cpp/include/
Ddm_app_image_info.h80 if (appIcon != nullptr) { in ~DmAppImageInfo()
81 delete[] appIcon; in ~DmAppImageInfo()
82 appIcon = nullptr; in ~DmAppImageInfo()
115 return appIcon; in GetAppIcon()
138 if (appIcon != nullptr && appIconLen > 0) { in SaveIconData()
139 delete[] appIcon; in SaveIconData()
140 appIcon = nullptr; in SaveIconData()
143 appIcon = new (std::nothrow) uint8_t[appIconLen_] {0}; in SaveIconData()
145 if (appIcon != nullptr) { in SaveIconData()
147 if (memcpy_s(appIcon, appIconLen, appIcon_, appIconLen_) != 0) { in SaveIconData()
[all …]
/foundation/distributedhardware/devicemanager/display/entry/src/main/js/default/pages/index/
Dindex.js52 appIcon: null,
109 appIcon: uint8ArrayToBase64(data.appIcon), property
116 } else if (data.appIcon) {
/foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/src/message/
Dmsg_request_auth.cpp174 uint8_t *appIcon = nullptr; in DecodeDeviceInfo() local
176 msg->GetDecodeAppInfo(iconStr, &appIcon, appIconLen); in DecodeDeviceInfo()
177 if (appIcon != nullptr) { in DecodeDeviceInfo()
178 msg->mImageInfo_.ResetIcon(appIcon, appIconLen); in DecodeDeviceInfo()
179 free(appIcon); in DecodeDeviceInfo()
/foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/authentication/
Ddm_auth_manager.h84 std::string appIcon; member
108 std::string appIcon; member
/foundation/distributedhardware/devicemanager/ext/mini/interfaces_mini/kits/js/src/
Dnative_devicemanager_js.cpp408 uint8_t *appIcon = nullptr; in DmAuthParamToJsAuthParamy() local
409 JSIValue appIconBuffer = JSI::CreateArrayBuffer(appIconLen, appIcon); in DmAuthParamToJsAuthParamy()
410 if (appIcon != nullptr && in DmAuthParamToJsAuthParamy()
411 … memcpy_s(appIcon, appIconLen, reinterpret_cast<const void*>(authParam.imageinfo.GetAppIcon()), in DmAuthParamToJsAuthParamy()
/foundation/distributedhardware/devicemanager/
DREADME_zh.md183 "appIcon": new Uint8Array(), // app图标,可选参数,可不填
/foundation/distributedhardware/devicemanager/interfaces/kits/js_mini/src/
Dnative_devicemanager_js.cpp424 uint8_t *appIcon = nullptr; in DmAuthParamToJsAuthParamy() local
425 JSIValue appIconBuffer = JSI::CreateArrayBuffer(appIconLen, appIcon); in DmAuthParamToJsAuthParamy()
426 if (appIcon != nullptr && in DmAuthParamToJsAuthParamy()
427 … memcpy_s(appIcon, appIconLen, reinterpret_cast<const void*>(authParam.imageinfo.GetAppIcon()), in DmAuthParamToJsAuthParamy()
/foundation/distributedhardware/devicemanager/services/devicemanagerservice/src/authentication/
Dauth_message_processor.cpp57 jsonObj[TAG_APP_ICON] = authRequestContext_->appIcon; in CreateAuthRequestMessage()
Ddm_auth_manager.cpp131 authRequestContext_->appIcon = jsonObject[APP_ICON_KEY]; in AuthenticateDevice()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/etsDmsDemo/dmsDemo/entry/src/main/ets/model/
DRemoteDeviceModel.ets172 "appIcon": '',
/foundation/distributedhardware/devicemanager/interfaces/kits/js/src/
Dnative_devicemanager_js.cpp659 void *appIcon = nullptr; in DmAuthParamToJsAuthParam() local
661 napi_create_arraybuffer(env, appIconLen, &appIcon, &appIconBuffer); in DmAuthParamToJsAuthParam()
662 if (appIcon != nullptr && in DmAuthParamToJsAuthParam()
663 … memcpy_s(appIcon, appIconLen, reinterpret_cast<const void *>(authParam.imageinfo.GetAppIcon()), in DmAuthParamToJsAuthParam()