/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
H A D | bundle_info_utils.cpp | 45 void BundleInfoUtils::CopyBundleInfo(int32_t flags, BundleInfo *des, BundleInfo src) in CopyBundleInfo() argument 47 if (des == nullptr) { in CopyBundleInfo() 51 SetBundleInfoBundleName(des, src.bundleName); in CopyBundleInfo() 52 SetBundleInfoLabel(des, src.label); in CopyBundleInfo() 53 SetBundleInfoVersionName(des, src.versionName); in CopyBundleInfo() 54 SetBundleInfoBigIconPath(des, src.bigIconPath); in CopyBundleInfo() 55 SetBundleInfoCodePath(des, src.codePath); in CopyBundleInfo() 56 SetBundleInfoDataPath(des, src.dataPath); in CopyBundleInfo() 57 SetBundleInfoVendor(des, src.vendor); in CopyBundleInfo() 58 SetBundleInfoModuleInfos(des, sr in CopyBundleInfo() 87 CopyBundleInfoNoReplication(int32_t flags, BundleInfo *des, BundleInfo src) CopyBundleInfoNoReplication() argument [all...] |
H A D | ability_info_utils.cpp | 21 void AbilityInfoUtils::CopyAbilityInfo(AbilityInfo *des, AbilityInfo src) in CopyAbilityInfo() argument 23 if (des == nullptr) { in CopyAbilityInfo() 27 SetAbilityInfoBundleName(des, src.bundleName); in CopyAbilityInfo() 29 des->isVisible = src.isVisible; in CopyAbilityInfo() 30 des->abilityType = src.abilityType; in CopyAbilityInfo() 31 des->launchMode = src.launchMode; in CopyAbilityInfo() 32 SetAbilityInfoModuleName(des, src.moduleName); in CopyAbilityInfo() 33 SetAbilityInfoName(des, src.name); in CopyAbilityInfo() 34 SetAbilityInfoDescription(des, src.description); in CopyAbilityInfo() 35 SetAbilityInfoIconPath(des, sr in CopyAbilityInfo() 46 CopyBundleProfileToAbilityInfo(AbilityInfo *des, const BundleProfile &src) CopyBundleProfileToAbilityInfo() argument [all...] |
H A D | module_info_utils.cpp | 21 void ModuleInfoUtils::CopyModuleInfo(ModuleInfo *des, ModuleInfo src) in CopyModuleInfo() argument 23 if (des == nullptr) { in CopyModuleInfo() 26 SetModuleInfoModuleName(des, src.moduleName); in CopyModuleInfo() 28 SetModuleInfoName(des, src.name); in CopyModuleInfo() 29 SetModuleInfoDescription(des, src.description); in CopyModuleInfo() 30 SetModuleInfoModuleType(des, src.moduleType); in CopyModuleInfo() 31 SetModuleInfoDeviceType(des, src.deviceType, DEVICE_TYPE_SIZE); in CopyModuleInfo() 32 des->isDeliveryInstall = src.isDeliveryInstall; in CopyModuleInfo() 34 SetModuleInfoMetaData(des, src.metaData, METADATA_SIZE); in CopyModuleInfo()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/ |
H A D | ledger_lane_hub_test.cpp | 200 char des[LOCAL_MAX_SIZE] = {0}; in GetCommonLocalInfo() local 201 ret = LnnGetLocalStrInfo(STRING_KEY_DEV_UDID, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo() 202 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_UDID) == 0)); in GetCommonLocalInfo() 203 ret = LnnGetLocalStrInfo(STRING_KEY_NETWORKID, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo() 204 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_NETWORKID) == 0)); in GetCommonLocalInfo() 205 ret = LnnGetLocalStrInfo(STRING_KEY_UUID, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo() 206 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_UUID) == 0)); in GetCommonLocalInfo() 207 ret = LnnGetLocalStrInfo(STRING_KEY_DEV_TYPE, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo() 208 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_DEVTYPE) == 0)); in GetCommonLocalInfo() 209 ret = LnnGetLocalStrInfo(STRING_KEY_DEV_NAME, des, LOCAL_MAX_SIZ in GetCommonLocalInfo() 216 char des[LOCAL_MAX_SIZE] = {0}; GetBTLocalInfo() local 444 char des[LOCAL_MAX_SIZE] = {0}; HWTEST_F() local [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_client_stub_impl_test/src/ |
H A D | audio_policy_client_stub_impl_test.cpp | 116 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local 118 des.push_back(vec.get()); in HWTEST() 120 DeviceFilterByFlag(DeviceFlag::ALL_DEVICES_FLAG, des); in HWTEST() 132 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local 134 des.push_back(vec.get()); in HWTEST() 136 DeviceFilterByFlag(DeviceFlag::ALL_DISTRIBUTED_DEVICES_FLAG, des); in HWTEST() 148 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local 150 DeviceFilterByFlag(DeviceFlag::ALL_L_D_DEVICES_FLAG, des); in HWTEST() 162 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local 164 DeviceFilterByFlag(DeviceFlag::OUTPUT_DEVICES_FLAG, des); in HWTEST() 176 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local 192 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local 206 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local 222 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local [all...] |
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avsession_dumper_test.cpp | 483 AudioStandard::AudioDeviceDescriptor des; in HWTEST_F() local 484 castAudioDescriptors.push_back(des); in HWTEST_F() 502 sptr<AudioStandard::AudioDeviceDescriptor> des = new AudioStandard::AudioDeviceDescriptor(); in HWTEST_F() local 504 des->deviceId_ = 12; in HWTEST_F() 505 castAudioDescriptors.push_back(des); in HWTEST_F() 519 sptr<AudioStandard::AudioDeviceDescriptor> des = new AudioStandard::AudioDeviceDescriptor(); in HWTEST_F() local 521 des->deviceId_ = 11; in HWTEST_F() 522 castAudioDescriptors.push_back(des); in HWTEST_F() 535 AudioStandard::AudioDeviceDescriptor des; in HWTEST_F() local 536 EXPECT_EQ(avSessionService_->SelectOutputDevice(1, des), AVSESSION_ERRO in HWTEST_F() 548 AudioStandard::AudioDeviceDescriptor des; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_res_transform.cpp | 38 char *des = nullptr; in ConvertResInfoToBundleInfo() local 46 if (GLOBAL_GetValueById(bundleRes.moduleDescriptionId, resPath.c_str(), &des) < 0) { in ConvertResInfoToBundleInfo() 50 if (!ModuleInfoUtils::SetModuleInfoDescription(bundleInfo->moduleInfos, des)) { in ConvertResInfoToBundleInfo() 51 AdapterFree(des); in ConvertResInfoToBundleInfo() 55 AdapterFree(des); in ConvertResInfoToBundleInfo()
|
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/ |
H A D | ability_info_utils.h | 26 static void CopyAbilityInfo(AbilityInfo *des, AbilityInfo src); 28 static void CopyBundleProfileToAbilityInfo(AbilityInfo *des, const BundleProfile &src);
|
H A D | bundle_info_utils.h | 26 static void CopyBundleInfo(int32_t flags, BundleInfo *des, BundleInfo src); 27 static void CopyBundleInfoNoReplication(int32_t flags, BundleInfo *des, BundleInfo src);
|
H A D | module_info_utils.h | 24 static void CopyModuleInfo(ModuleInfo *des, ModuleInfo src);
|
/foundation/filemanagement/storage_service/services/storage_manager/volume/src/ |
H A D | volume_manager_service.cpp | 74 std::string des = description; in OnVolumeMounted() local 77 if (des == "") { in OnVolumeMounted() 79 des = "MySDCard"; in OnVolumeMounted() 81 des = "MyUSB"; in OnVolumeMounted() 83 des = "Default"; in OnVolumeMounted() 88 volumePtr->SetDescription(des); in OnVolumeMounted()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_navigation_utils.cpp | 145 void NativeNavigationUtils::DeepCopyStringValue(char* des, uint32_t desLength, const std::string& src) in DeepCopyStringValue() argument 147 if (des == nullptr || desLength == 0) { in DeepCopyStringValue() 152 des[0] = '\0'; in DeepCopyStringValue() 155 auto copyedSize = src.copy(des, desLength - 1 < src.length() ? desLength - 1 : src.length()); in DeepCopyStringValue() 159 des[copyedSize] = '\0'; in DeepCopyStringValue()
|
H A D | arkts_native_navigation_utils.h | 35 static void DeepCopyStringValue(char* des, uint32_t desLength, const std::string& src);
|
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_gatt_characteristic_parcel.cpp | 58 for (auto &des : descriptors_) { in Marshalling() 59 BluetoothGattDescriptor descriptor = BluetoothGattDescriptor(des); in Marshalling()
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestPlugin.cpp | 59 auto des = new uint8_t; in HWTEST() local 62 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK); in HWTEST() 65 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK); in HWTEST() 69 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK); in HWTEST() 73 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK); in HWTEST()
|
H A D | TestPluginSetting.cpp | 50 auto des = new uint8_t;
in HWTEST() local 53 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK);
in HWTEST() 56 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK);
in HWTEST() 60 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK);
in HWTEST() 64 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK);
in HWTEST()
|
/foundation/ability/ability_runtime/test/fuzztest/abilitycontext_fuzzer/ |
H A D | abilitycontext_fuzzer.cpp | 94 std::string des(data, size); in DoSomethingInterestingWithMyAPI() 95 abilityContext.GetPermissionDes(permissionName, des); in DoSomethingInterestingWithMyAPI()
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | typed_text.cpp | 407 int32_t TypedText::Utf16ToUtf32Word(const uint16_t* src, uint32_t& des) in Utf16ToUtf32Word() argument 419 des = (w1 & UTF16_LOW_MASK) + (((w2 & UTF16_LOW_MASK) + UTF16_HIGH_PARAM2) << UTF16_HIGH_SHIFT); in Utf16ToUtf32Word() 427 des = (w2 & UTF16_LOW_MASK) + (((w1 & UTF16_LOW_MASK) + UTF16_HIGH_PARAM2) << UTF16_HIGH_SHIFT); in Utf16ToUtf32Word() 432 des = w1; in Utf16ToUtf32Word()
|
H A D | typed_text.h | 94 static int32_t Utf16ToUtf32Word(const uint16_t* src, uint32_t& des);
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | fa_ability_context.h | 215 void GetPermissionDes(const std::string &permissionName, std::string &des);
|
/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/ |
H A D | external_volume_info_test.cpp | 254 std::string des = "label1"; in HWTEST_F() local 255 ret = vol.SetVolumeDescription(des); in HWTEST_F()
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gatt_server.cpp | 318 for (auto des = descriptors.begin(); des != descriptors.end(); des++) { 319 auto descAttribute = GetDescriptorAttribute(serverId_, i, item->GetUuid(), des->GetUuid()); 321 descAttribute->actualHandle = des->GetHandle();
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ability_context.cpp | 279 void AbilityContext::GetPermissionDes(const std::string &permissionName, std::string &des) in GetPermissionDes() argument 285 des = permissionDef.description; in GetPermissionDes()
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A D | storage_daemon_test.cpp | 458 std::string des = "des"; in HWTEST_F() local 459 auto ret = storageDaemon_->SetVolumeDescription(volId, des); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/moduletest/ability_test/ |
H A D | ability_context_test.cpp | 674 std::string des = "des"; in HWTEST_F() local 675 context_->GetPermissionDes(permissionName, des); in HWTEST_F() 676 EXPECT_TRUE(permissionName.length() != des.length()); in HWTEST_F()
|