Home
last modified time | relevance | path

Searched refs:get (Results 1 - 25 of 2466) sorted by relevance

12345678910>>...99

/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_affinity_parser_test/src/
H A Daudio_affinity_parser_test.cpp37 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
55 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
74 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
93 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
95 audioAffinity_->ParseInternal(node.get()); in HWTEST()
98 node.get()->type = XML_ELEMENT_NODE; in HWTEST()
99 audioAffinity_->ParseInternal(node.get()); in HWTEST()
111 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
114 audioAffinity_->ParserAffinityGroups(node.get(), DeviceFlag::ALL_DEVICES_FLAG); in HWTEST()
117 node.get() in HWTEST()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dopenssl_crypto.cpp42 if (EVP_DecryptInit_ex(ctx.get(), EVP_aes_256_gcm(), NULL, reinterpret_cast<const uint8_t*>(shield.data.get()), in AESDecrypt()
43 reinterpret_cast<const uint8_t*>(keyContext_.rndEnc.data.get())) != in AESDecrypt()
50 if (EVP_DecryptUpdate(ctx.get(), reinterpret_cast<uint8_t*>(plainText.data.get()), &outlen, in AESDecrypt()
51 reinterpret_cast<const uint8_t*>(keyContext_.rndEnc.data.get() + GCM_NONCE_BYTES), in AESDecrypt()
60 if (EVP_CIPHER_CTX_ctrl(ctx.get(), EVP_CTRL_GCM_SET_TAG, GCM_MAC_BYTES, in AESDecrypt()
62 keyContext_.rndEnc.data.get() + GCM_NONCE_BYTES + plainText.size))) != in AESDecrypt()
67 if (EVP_DecryptFinal_ex(ctx.get(), reinterpret_cast<uint8_t*>(plainText.data.get() in AESDecrypt()
[all...]
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp77 req->SetUrl(urlString.get()); in JsObjectToRequestData()
86 if (jsHeaders != nullptr && !JSI::ValueIsUndefined(jsHeaders.get()) && JSI::ValueIsObject(jsHeaders.get())) { in JsObjectToRequestData()
87 GetNameValue(jsHeaders.get(), const_cast<std::map<std::string, std::string> &>(req->GetHeader())); in JsObjectToRequestData()
98 if (keys == nullptr || JSI::ValueIsUndefined(keys.get()) || !JSI::ValueIsArray(keys.get())) { in GetNameValue()
99 HTTP_REQUEST_ERROR("get name value failed"); in GetNameValue()
103 uint32_t length = JSI::GetArrayLength(keys.get()); in GetNameValue()
105 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> key(JSI::GetPropertyByIndex(keys.get(), index), in GetNameValue()
107 if (key == nullptr || JSI::ValueIsUndefined(key.get()) || !JS in GetNameValue()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_decoder/
H A Dvideo_decoder.cpp53 ret = OH_VideoDecoder_SetSurface(codec_.get(), sampleInfo.window.get()); in Config()
64 ret = OH_VideoDecoder_Prepare(codec_.get()); in Config()
74 int ret = OH_VideoDecoder_Start(codec_.get()); in Start()
83 int ret = OH_VideoDecoder_Flush(codec_.get()); in Flush()
92 int32_t ret = OH_VideoDecoder_Stop(codec_.get()); in Stop()
101 int32_t ret = OH_VideoDecoder_Reset(codec_.get()); in Reset()
109 return std::shared_ptr<OH_AVFormat>(OH_VideoDecoder_GetOutputDescription(codec_.get()), OH_AVFormat_Destroy); in GetFormat()
117 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_WIDTH, sampleInfo.videoWidth); in Configure()
118 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_HEIGH in Configure()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata.cpp117 id_ = std::get<int32_t>(id); in SetFileId()
127 uri_ = std::get<string>(uri); in SetUri()
137 filePath_ = std::get<string>(filePath); in SetFilePath()
147 relativePath_ = std::get<string>(relativePath); in SetRelativePath()
157 mimeType_ = std::get<string>(mimeType); in SetFileMimeType()
167 mediaType_ = static_cast<MediaType>(std::get<int32_t>(mediaType)); in SetFileMediaType()
177 name_ = std::get<string>(name); in SetFileName()
187 size_ = std::get<int64_t>(size); in SetFileSize()
197 dateAdded_ = std::get<int64_t>(dateAdded); in SetFileDateAdded()
207 dateModified_ = std::get<int64_ in SetFileDateModified()
[all...]
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsContextTest.cpp76 TLSContext::SetMinAndMaxProtocol(tlsContext.get()); in HWTEST_F()
77 bool isInitTlsContext = TLSContext::InitTlsContext(tlsContext.get(), configuration); in HWTEST_F()
79 bool isSetCipherList = TLSContext::SetCipherList(tlsContext.get(), configuration); in HWTEST_F()
81 bool isSetSignatureAlgorithms = TLSContext::SetSignatureAlgorithms(tlsContext.get(), configuration); in HWTEST_F()
83 TLSContext::GetCiphers(tlsContext.get()); in HWTEST_F()
84 TLSContext::UseRemoteCipher(tlsContext.get()); in HWTEST_F()
85 bool setCaAndVerify = TLSContext::SetCaAndVerify(tlsContext.get(), configuration); in HWTEST_F()
87 bool setLocalCert = TLSContext::SetLocalCertificate(tlsContext.get(), configuration); in HWTEST_F()
89 bool setKeyAndCheck = TLSContext::SetKeyAndCheck(tlsContext.get(), configuration); in HWTEST_F()
91 TLSContext::SetVerify(tlsContext.get()); in HWTEST_F()
[all...]
/foundation/communication/netstack/test/unittest/tls_test/client/
H A DTlsContextTest.cpp76 TLSContext::SetMinAndMaxProtocol(tlsContext.get()); in HWTEST_F()
77 bool isInitTlsContext = TLSContext::InitTlsContext(tlsContext.get(), configuration); in HWTEST_F()
79 bool isSetCipherList = TLSContext::SetCipherList(tlsContext.get(), configuration); in HWTEST_F()
81 bool isSetSignatureAlgorithms = TLSContext::SetSignatureAlgorithms(tlsContext.get(), configuration); in HWTEST_F()
83 TLSContext::GetCiphers(tlsContext.get()); in HWTEST_F()
84 TLSContext::UseRemoteCipher(tlsContext.get()); in HWTEST_F()
85 bool setCaAndVerify = TLSContext::SetCaAndVerify(tlsContext.get(), configuration); in HWTEST_F()
87 bool setLocalCert = TLSContext::SetLocalCertificate(tlsContext.get(), configuration); in HWTEST_F()
89 bool setKeyAndCheck = TLSContext::SetKeyAndCheck(tlsContext.get(), configuration); in HWTEST_F()
91 TLSContext::SetVerify(tlsContext.get()); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Ddownload_manager_preview.cpp71 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_URL, url.c_str());
72 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_WRITEFUNCTION, OnWritingMemory);
73 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_WRITEDATA, &dataOut);
75 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_USERAGENT, "libcurl-agent/1.0");
76 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_URL, url.c_str());
77 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_VERBOSE, 1L);
78 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_ERRORBUFFER, errorStr.data());
82 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXY, proxy.host.c_str());
83 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXYPORT, proxy.port);
85 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_NOPROX
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/
H A Ddemuxer.cpp39 int32_t fileFd = fileno(file_.get()); in Init()
51 demuxer_ = std::shared_ptr<OH_AVDemuxer>(OH_AVDemuxer_CreateWithSource(source_.get()), OH_AVDemuxer_Destroy); in Init()
53 auto sourceFormat = std::shared_ptr<OH_AVFormat>(OH_AVSource_GetSourceFormat(source_.get()), OH_AVFormat_Destroy); in Init()
66 ret = OH_AVDemuxer_ReadSampleBuffer(demuxer_.get(), videoTrackId_, in FillBuffer()
70 ret = OH_AVDemuxer_ReadSample(demuxer_.get(), videoTrackId_, in FillBuffer()
79 int32_t ret = OH_AVDemuxer_SeekToTime(demuxer_.get(), position, sampleInfo_->dataProducerInfo.seekMode); in Seek()
97 OH_AVFormat_GetIntValue(sourceFormat.get(), OH_MD_KEY_TRACK_COUNT, &trackCount); in GetVideoTrackInfo()
102 std::shared_ptr<OH_AVFormat>(OH_AVSource_GetTrackFormat(source_.get(), index), OH_AVFormat_Destroy); in GetVideoTrackInfo()
103 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_TRACK_TYPE, &trackType); in GetVideoTrackInfo()
106 OH_AVDemuxer_SelectTrackByID(demuxer_.get(), inde in GetVideoTrackInfo()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_dns_sd_service_response.cpp45 unsigned char t = static_cast<unsigned char>(istream.get()); in FetchTxtData()
54 istream.read(ptr.get(), t); in FetchTxtData()
56 std::istringstream iss(ptr.get()); in FetchTxtData()
61 t = istream.get(); in FetchTxtData()
73 unsigned char t = static_cast<unsigned char>(istream.get()); in FetchDnsName()
78 t = istream.get(); in FetchDnsName()
90 istream.read(ptr.get(), t); in FetchDnsName()
91 dnsName.append(ptr.get(), 0, t); in FetchDnsName()
94 t = istream.get(); in FetchDnsName()
118 dnsType = static_cast<int>(static_cast<size_t>(istream.get()) << CHAR_BI in ParseData()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_encoder/
H A Dvideo_encoder.cpp60 ret = OH_VideoEncoder_Prepare(codec_.get()); in Config()
70 int ret = OH_VideoEncoder_Start(codec_.get()); in Start()
79 int ret = OH_VideoEncoder_Flush(codec_.get()); in Flush()
88 int32_t ret = OH_VideoEncoder_Stop(codec_.get()); in Stop()
97 int32_t ret = OH_VideoEncoder_Reset(codec_.get()); in Reset()
105 return std::shared_ptr<OH_AVFormat>(OH_VideoEncoder_GetInputDescription(codec_.get()), OH_AVFormat_Destroy); in GetFormat()
112 int32_t ret = OH_VideoEncoder_NotifyEndOfStream(codec_.get()); in NotifyEndOfStream()
123 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_WIDTH, sampleInfo.videoWidth); in Configure()
124 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_HEIGHT, sampleInfo.videoHeight); in Configure()
125 OH_AVFormat_SetDoubleValue(format.get(), OH_MD_KEY_FRAME_RAT in Configure()
[all...]
/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dsecure_data.cpp29 if (memset_s(data_.get(), length_, 0, length_) != EOK) { in ~SecureData()
40 data_.get()[length_] = 0; in SecureData()
41 if (memcpy_s(data_.get(), length_, secureData.c_str(), length_) != EOK) { in SecureData()
51 data_.get()[length_] = 0; in SecureData()
52 if (memcpy_s(data_.get(), length_, secureData, length_) != EOK) { in SecureData()
70 data_.get()[length_] = 0; in operator =()
71 if (memcpy_s(data_.get(), length_, secureData.Data(), length_) != EOK) { in operator =()
80 return data_.get(); in Data()
/foundation/communication/netstack/utils/napi_utils/src/
H A Dsecure_char.cpp26 (void)memset_s(data_.get(), length_, 0, length_); in ~SecureChar()
35 data_.get()[length_] = 0; in SecureChar()
36 if (memcpy_s(data_.get(), length_, SecureChar.c_str(), length_) != EOK) { in SecureChar()
46 data_.get()[length_] = 0; in SecureChar()
47 if (memcpy_s(data_.get(), length_, SecureChar, length_) != EOK) { in SecureChar()
65 data_.get()[length_] = 0; in operator =()
66 if (memcpy_s(data_.get(), length_, SecureChar.Data(), length_) != EOK) { in operator =()
75 return data_.get(); in Data()
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp242 groupId = jsonObject[TAG_GROUP_ID].get<std::string>(); in CreateResponseAuthMessage()
270 int32_t msgType = jsonObject[TAG_MSG_TYPE].get<int32_t>(); in ParseMessage()
305 authResponseContext_->publicKey = json[TAG_PUBLICKEY].get<std::string>(); in ParsePublicKeyMessageExt()
313 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseAuthResponseMessageExt()
316 authResponseContext_->token = json[TAG_TOKEN].get<std::string>(); in ParseAuthResponseMessageExt()
319 authResponseContext_->confirmOperation = json[TAG_CONFIRM_OPERATION].get<int32_t>(); in ParseAuthResponseMessageExt()
322 authResponseContext_->requestId = json[TAG_REQUEST_ID].get<int64_t>(); in ParseAuthResponseMessageExt()
329 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseResponseFinishMessage()
332 authResponseContext_->isFinish = json[TAG_AUTH_FINISH].get<bool>(); in ParseResponseFinishMessage()
339 authResponseContext_->authType = json[TAG_AUTH_TYPE].get<int32_ in GetAuthReqMessage()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dinner_model_test.cpp945 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
970 liteGraph.get()->all_tensors_.emplace_back(tp); in HWTEST_F()
971 liteGraph.get()->sub_graphs_.emplace_back(subGraph); in HWTEST_F()
975 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
992 liteGraph.get()->all_nodes_.emplace_back(nullptr); in HWTEST_F()
994 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
1008 liteGraph.get()->all_nodes_.emplace_back(node); in HWTEST_F()
1010 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
1033 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive)); in HWTEST_F()
1035 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffe in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/
H A Ddevice_manager_test.cpp88 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
113 liteGraph.get()->all_tensors_.emplace_back(tp); in HWTEST_F()
114 liteGraph.get()->sub_graphs_.emplace_back(subGraph); in HWTEST_F()
118 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
135 liteGraph.get()->all_nodes_.emplace_back(nullptr); in HWTEST_F()
137 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
151 liteGraph.get()->all_nodes_.emplace_back(node); in HWTEST_F()
153 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
176 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive)); in HWTEST_F()
178 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffe in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_server_impl.cpp47 auto status = OhCloudExtCloudSyncGetServiceInfo(pServer.get(), &info); in GetServerInfo()
52 status = OhCloudExtCloudInfoGetUser(pInfo.get(), &result.user); in GetServerInfo()
59 status = OhCloudExtCloudInfoGetId(pInfo.get(), &id, reinterpret_cast<unsigned int *>(&idLen)); in GetServerInfo()
66 OhCloudExtCloudInfoGetTotalSpace(pInfo.get(), &totalSpace); in GetServerInfo()
69 OhCloudExtCloudInfoGetRemainSpace(pInfo.get(), &remainSpace); in GetServerInfo()
72 OhCloudExtCloudInfoEnabled(pInfo.get(), &result.enableCloud); in GetServerInfo()
74 status = OhCloudExtCloudInfoGetAppInfo(pInfo.get(), &briefInfo); in GetServerInfo()
89 auto status = OhCloudExtHashMapIterGetKeyValuePair(briefInfo.get(), &keys, &values); in GetAppInfo()
96 OhCloudExtVectorGetLength(pKeys.get(), reinterpret_cast<unsigned int *>(&keysLen)); in GetAppInfo()
98 OhCloudExtVectorGetLength(pValues.get(), reinterpret_cas in GetAppInfo()
[all...]
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dsystem_defined_appitem_test.cpp68 auto object = std::get<std::shared_ptr<Object>>(systemDefinedAppItem.value_); in HWTEST_F()
69 EXPECT_EQ(std::get<std::string>(object->value_[UNIFORM_DATA_TYPE]), "openharmony.app-item"); in HWTEST_F()
185 EXPECT_EQ(std::get<std::string>(items[APP_ID]), valueType.appId_); in HWTEST_F()
186 EXPECT_EQ(std::get<std::string>(items[APP_NAME]), valueType.appName_); in HWTEST_F()
187 EXPECT_EQ(std::get<std::string>(items[APP_ICON_ID]), valueType.appIconId_); in HWTEST_F()
188 EXPECT_EQ(std::get<std::string>(items[APP_LABEL_ID]), valueType.appLabelId_); in HWTEST_F()
189 EXPECT_EQ(std::get<std::string>(items[BUNDLE_NAME]), valueType.bundleName_); in HWTEST_F()
190 EXPECT_EQ(std::get<std::string>(items[ABILITY_NAME]), valueType.abilityName_); in HWTEST_F()
211 auto object = std::get<std::shared_ptr<Object>>(valueType.value_); in HWTEST_F()
212 auto details = std::get<st in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/interfaces/
H A Dcomposelistitem.js193 get iconStyle() {
194 return this.__iconStyle.get();
199 get icon() {
200 return this.__icon.get();
205 get primaryText() {
206 return this.__primaryText.get();
211 get secondaryText() {
212 return this.__secondaryText.get();
217 get description() {
218 return this.__description.get();
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dcgroup_event_handler.cpp221 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleProcessStateChanged()
245 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleAbilityStateChanged()
258 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleAbilityStateChanged()
278 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleExtensionStateChanged()
291 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleExtensionStateChanged()
[all...]
/foundation/distributeddatamgr/preferences/test/js/unittest/preferences/src/
H A DPreferencesCallBackJsunit.test.js65 let pre = await mPreferences.get(KEY_TEST_STRING_ELEMENT, "defaultvalue")
137 * @tc.name get defaultValue callback interface test
139 * @tc.desc get defaultValue callback interface test
142 mPreferences.get(KEY_TEST_STRING_ELEMENT, "defaultValue", function (err, ret) {
149 * @tc.name get float callback interface test
151 * @tc.desc get float callback interface test
155 mPreferences.get(KEY_TEST_FLOAT_ELEMENT, 0.0, function (err, ret) {
162 * @tc.name get int callback interface test
164 * @tc.desc get int callback interface test
168 mPreferences.get(KEY_TEST_INT_ELEMEN
[all...]
H A DPreferencesPromiseJsunit.test.js63 let pre = await mPreferences.get(KEY_TEST_STRING_ARRAY_ELEMENT, ['123', '321']);
77 let pre = await mPreferences.get(KEY_TEST_NUMBER_ARRAY_ELEMENT, [123, 321]);
91 let pre = await mPreferences.get(KEY_TEST_BOOL_ARRAY_ELEMENT, [false, true]);
144 let per = await mPreferences.get(KEY_TEST_STRING_ELEMENT, "defaultvalue");
228 * @tc.name get string promise interface test
230 * @tc.desc get string promise interface test
233 const promise = mPreferences.get(KEY_TEST_STRING_ELEMENT, "defaultValue");
242 * @tc.name get float promise interface test
244 * @tc.desc get float promise interface test
248 const promise = mPreferences.get(KEY_TEST_FLOAT_ELEMEN
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinner_mission_info.cpp78 missionName = value[KEY_MISSION_NAME].get<std::string>(); in FromJsonStr()
83 launchMode = value[KEY_LAUNCH_MODE].get<int32_t>(); in FromJsonStr()
87 isTemporary = value[KEY_IS_TEMPORARY].get<bool>(); in FromJsonStr()
91 startMethod = value[KEY_START_METHOD].get<int32_t>(); in FromJsonStr()
95 bundleName = value[KEY_BUNDLE_NAME].get<std::string>(); in FromJsonStr()
99 uid = value[KEY_UID].get<int32_t>(); in FromJsonStr()
103 specifiedFlag = value[KEY_SPEC_FLAG].get<std::string>(); in FromJsonStr()
107 missionInfo.id = value[KEY_MISSION_ID].get<int32_t>(); in FromJsonStr()
111 missionInfo.runningState = value[KEY_RUNNING_STATE].get<int32_t>(); in FromJsonStr()
115 missionInfo.lockedState = value[KEY_LOCKED_STATE].get<boo in FromJsonStr()
[all...]
/foundation/multimedia/ringtone_library/services/ringtone_setting/src/
H A Dringtone_metadata.cpp95 toneId_ = std::get<int32_t>(toneId); in SetToneId()
105 data_ = std::get<std::string>(data); in SetData()
115 size_ = std::get<int64_t>(size); in SetSize()
125 displayName_ = std::get<std::string>(displayName); in SetDisplayName()
135 title_ = std::get<std::string>(title); in SetTitle()
145 mediaType_ = std::get<int32_t>(mediaType); in SetMediaType()
155 toneType_ = std::get<int32_t>(toneType); in SetToneType()
165 mimeType_ = std::get<std::string>(mimeType); in SetMimeType()
175 sourceType_ = std::get<int32_t>(sourceType); in SetSourceType()
185 dateAdded_ = std::get<int64_ in SetDateAdded()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_thread_looper_impl.h62 if (std::get<time_t>(a) != std::get<time_t>(b)) { in operator ()()
63 return std::get<time_t>(a) < std::get<time_t>(b); in operator ()()
66 return std::get<message_t>(a).get() < std::get<message_t>(b).get(); in operator ()()

Completed in 15 milliseconds

12345678910>>...99