/foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include/ |
D | dm_app_image_info.h | 80 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/ |
D | dm_app_image_info.h | 80 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/ |
D | index.js | 52 appIcon: null, 109 appIcon: uint8ArrayToBase64(data.appIcon), property 116 } else if (data.appIcon) {
|
/foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/src/message/ |
D | msg_request_auth.cpp | 174 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/ |
D | dm_auth_manager.h | 84 std::string appIcon; member 108 std::string appIcon; member
|
/foundation/distributedhardware/devicemanager/ext/mini/interfaces_mini/kits/js/src/ |
D | native_devicemanager_js.cpp | 408 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/ |
D | README_zh.md | 183 "appIcon": new Uint8Array(), // app图标,可选参数,可不填
|
/foundation/distributedhardware/devicemanager/interfaces/kits/js_mini/src/ |
D | native_devicemanager_js.cpp | 424 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/ |
D | auth_message_processor.cpp | 57 jsonObj[TAG_APP_ICON] = authRequestContext_->appIcon; in CreateAuthRequestMessage()
|
D | dm_auth_manager.cpp | 131 authRequestContext_->appIcon = jsonObject[APP_ICON_KEY]; in AuthenticateDevice()
|
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/etsDmsDemo/dmsDemo/entry/src/main/ets/model/ |
D | RemoteDeviceModel.ets | 172 "appIcon": '',
|
/foundation/distributedhardware/devicemanager/interfaces/kits/js/src/ |
D | native_devicemanager_js.cpp | 659 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()
|