Home
last modified time | relevance | path

Searched refs:record (Results 51 - 75 of 424) sorted by relevance

12345678910>>...17

/foundation/ability/form_fwk/services/src/
H A Dform_host_record.cpp146 * @param record Form record.
148 void FormHostRecord::OnAcquire(int64_t id, const FormRecord &record) in OnAcquire() argument
155 formHostCallback_->OnAcquired(id, record, formHostClient_); in OnAcquire()
161 * @param record Form record.
163 void FormHostRecord::OnUpdate(int64_t id, const FormRecord &record) in OnUpdate() argument
170 formHostCallback_->OnUpdate(id, record, formHostClient_); in OnUpdate()
216 * @param record Form record
287 FormHostRecord record; CreateRecord() local
[all...]
H A Dform_data_mgr.cpp59 * @return Returns form record.
68 FormRecord record; in AllotFormRecord() local
73 record = CreateFormRecord(formInfo, callingUid, userId); in AllotFormRecord()
74 formRecords_.emplace(formInfo.GetFormId(), record); in AllotFormRecord()
79 record = CreateFormRecord(formInfo, callingUid, userId); in AllotFormRecord()
80 formRecords_.emplace(formInfo.GetFormId(), record); in AllotFormRecord()
82 record = info->second; in AllotFormRecord()
87 return record; in AllotFormRecord()
90 * @brief Delete form js info by form record.
100 HILOG_ERROR("form record no in DeleteFormRecord()
145 CreateHostRecord(const FormItemInfo &info, const sptr<IRemoteObject> &callerToken, const int callingUid, FormHostRecord& record) CreateHostRecord() argument
218 CreateFormJsInfo(const int64_t formId, const FormRecord &record, FormJsInfo &formInfo) CreateFormJsInfo() argument
596 FormRecord record; HasFormUserUids() local
759 HandleHostDiedForTempForms(const FormHostRecord &record, std::vector<int64_t> &recordTempForms) HandleHostDiedForTempForms() argument
947 GetUpdatedForm(const FormRecord &record, const std::vector<FormInfo> &targetForms, FormInfo &updatedForm) GetUpdatedForm() argument
1012 IsSameForm(const FormRecord &record, const FormInfo &formInfo) IsSameForm() argument
1342 ParseUpdateConfig(FormRecord &record, const FormItemInfo &info) const ParseUpdateConfig() argument
1357 ParseIntervalConfig(FormRecord &record, const int configDuration) const ParseIntervalConfig() argument
1375 ParseAtTimerConfig(FormRecord &record, const FormItemInfo &info) const ParseAtTimerConfig() argument
1408 IsFormCached(const FormRecord record) IsFormCached() argument
1856 GetPackageForm(const FormRecord &record, const BundlePackInfo &bundlePackInfo, AbilityFormInfo &abilityFormInfo) GetPackageForm() argument
1882 GetAbilityFormInfo(const FormRecord &record, const std::vector<T> &abilities, AbilityFormInfo &abilityFormInfo) GetAbilityFormInfo() argument
1902 IsSameForm(const FormRecord &record, const AbilityFormInfo &abilityFormInfo) IsSameForm() argument
2048 FormRecord record = recordPair.second; GetCastFormsCount() local
[all...]
H A Dform_item_info.cpp185 bool FormItemInfo::IsMatch(const FormRecord &record) const in IsMatch()
188 HILOG_DEBUG("FormRecord.bundleName :%{public}s", record.bundleName.c_str()); in IsMatch()
189 HILOG_DEBUG("FormRecord.moduleName :%{public}s", record.moduleName.c_str()); in IsMatch()
190 HILOG_DEBUG("FormRecord.abilityName :%{public}s", record.abilityName.c_str()); in IsMatch()
191 HILOG_DEBUG("FormRecord.formName :%{public}s", record.formName.c_str()); in IsMatch()
192 HILOG_DEBUG("FormRecord.specification :%{public}d", record.specification); in IsMatch()
200 return (record.bundleName == providerBundleName_) && (record.moduleName == moduleName_) in IsMatch()
201 && (record.abilityName == abilityName_) && (record in IsMatch()
[all...]
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/
H A Daccessibility_extension.cpp22 void AccessibilityExtension::Init(const std::shared_ptr<AbilityRuntime::AbilityLocalRecord> &record, in Init() argument
27 ExtensionBase<AccessibilityExtensionContext>::Init(record, application, handler, token); in Init()
32 const std::shared_ptr<AbilityRuntime::AbilityLocalRecord> &record, in CreateAndInitContext()
38 ExtensionBase<AccessibilityExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext()
39 if (!record) { in CreateAndInitContext()
40 HILOG_ERROR("AccessibilityExtension::CreateAndInitContext record is nullptr"); in CreateAndInitContext()
31 CreateAndInitContext( const std::shared_ptr<AbilityRuntime::AbilityLocalRecord> &record, const std::shared_ptr<AbilityRuntime::OHOSApplication> &application, std::shared_ptr<AbilityRuntime::AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp211 OH_UdmfRecord *record = OH_UdmfRecord_Create(); in HWTEST_F() local
214 int invalidRes1 = OH_UdmfData_AddRecord(nullptr, record); in HWTEST_F()
218 int invalidRes2 = OH_UdmfData_AddRecord(&unifiedData1, record); in HWTEST_F()
227 OH_UdmfRecord_Destroy(record); in HWTEST_F()
239 OH_UdmfRecord *record = OH_UdmfRecord_Create(); in HWTEST_F() local
241 int status = OH_UdmfData_AddRecord(unifiedData, record); in HWTEST_F()
244 OH_UdmfRecord_Destroy(record); in HWTEST_F()
284 OH_UdmfRecord *record = OH_UdmfRecord_Create(); in HWTEST_F() local
286 OH_UdmfRecord_AddPlainText(record, plainText); in HWTEST_F()
287 OH_UdmfData_AddRecord(unifiedData, record); in HWTEST_F()
335 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
366 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
389 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
439 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
531 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
574 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
606 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
674 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
690 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
717 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1189 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1345 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1369 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1546 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1586 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1667 OH_UdmfRecord* record = OH_UdmfRecord_Create(); HWTEST_F() local
1707 OH_UdmfRecord* record = OH_UdmfRecord_Create(); HWTEST_F() local
1759 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
1806 OH_UdmfRecord* record = OH_UdmfRecord_Create(); HWTEST_F() local
1834 OH_UdmfRecord* record = OH_UdmfRecord_Create(); HWTEST_F() local
2241 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
2282 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
2322 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
2361 OH_UdmfRecord *record = OH_UdmfRecord_Create(); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dextension_impl_test.cpp69 std::shared_ptr<AbilityLocalRecord> record; in HWTEST_F() local
75 impl->Init(application, record, extension, handler, token); in HWTEST_F()
90 std::shared_ptr<AbilityLocalRecord> record; in HWTEST_F() local
96 impl->Init(application, record, extension, handler, token); in HWTEST_F()
105 * @tc.desc: record is not null, others is null, Validation initialization failed.
114 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() local
120 impl->Init(application, record, extension, handler, token); in HWTEST_F()
136 std::shared_ptr<AbilityLocalRecord> record; in HWTEST_F() local
141 impl->Init(application, record, extension, handler, token); in HWTEST_F()
157 std::shared_ptr<AbilityLocalRecord> record; in HWTEST_F() local
180 std::shared_ptr<AbilityLocalRecord> record; HWTEST_F() local
202 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
225 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
282 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
307 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
363 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
389 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
442 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
499 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
526 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
563 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
594 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
621 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
648 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
673 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local
[all...]
H A Dpage_ability_impl_test.cpp76 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
87 pageAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F()
109 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
120 pageAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F()
141 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
152 pageAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F()
174 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
185 pageAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F()
207 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
218 pageAbilityImpl_->Init(application, record, abilit in HWTEST_F()
240 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
272 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
306 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
336 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
366 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
396 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
428 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
461 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
496 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
530 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
566 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
593 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
621 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
651 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
677 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
708 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
739 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
770 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
801 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
832 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
864 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_bus_center.c404 static int32_t SetDevDiscStaticMsgParamValve(SoftBusEvtReportMsg *msg, DevDiscoveryRecord *record) in SetDevDiscStaticMsgParamValve() argument
406 msg->paramArray[SOFTBUS_EVT_PARAM_ZERO].paramValue.u64v = record->startDiscoveryCnt; in SetDevDiscStaticMsgParamValve()
407 msg->paramArray[SOFTBUS_EVT_PARAM_ONE].paramValue.u64v = record->sendBroadCastCnt; in SetDevDiscStaticMsgParamValve()
408 msg->paramArray[SOFTBUS_EVT_PARAM_TWO].paramValue.u64v = record->recvBroadCastCnt; in SetDevDiscStaticMsgParamValve()
409 msg->paramArray[SOFTBUS_EVT_PARAM_THREE].paramValue.u64v = record->devFoundCnt; in SetDevDiscStaticMsgParamValve()
410 msg->paramArray[SOFTBUS_EVT_PARAM_FOUR].paramValue.u64v = record->businessDiscoveryCnt; in SetDevDiscStaticMsgParamValve()
459 DevDiscoveryRecord *record = &g_devDiscoveryRecord; in IsNeedReportDevDiscoveryRecordEvt() local
460 if (SoftBusMutexLock(&(record->lock)) != SOFTBUS_OK) { in IsNeedReportDevDiscoveryRecordEvt()
464 if ((record->businessDiscoveryCnt == 0) && (record in IsNeedReportDevDiscoveryRecordEvt()
1009 SetAuthResultMsgParamValve(SoftBusEvtReportMsg *msg, AuthResultRecord *record) SetAuthResultMsgParamValve() argument
1095 SetOnlineDurMsgParamValve(SoftBusEvtReportMsg *msg, DevOnlineDurRecord *record) SetOnlineDurMsgParamValve() argument
1179 SetBusCenterDurMsgParamValve(SoftBusEvtReportMsg *msg, BusCenterDuraRecord *record) SetBusCenterDurMsgParamValve() argument
1231 DevOnlineDurRecord *record = &g_devOnlineDurRecord; IsNeedReportOnlineDurRecordEvt() local
1277 BusCenterDuraRecord *record = &g_busCenterRecord[linkType]; IsNeedReportLnnDurRecordItem() local
1344 AuthResultRecord *record = &g_authResultRecord[linkType]; IsNeedReportAuthResultRecordItem() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_sys_event_receiver_test/
H A Dfms_form_sys_event_receiver_test.cpp164 FormItemInfo record; in CreateFormRecordAndFormInfo() local
165 record.SetFormId(formId); in CreateFormRecordAndFormInfo()
166 record.SetProviderBundleName(bundle); in CreateFormRecordAndFormInfo()
167 record.SetModuleName(PARAM_FORM_NAME); in CreateFormRecordAndFormInfo()
168 record.SetAbilityName(FORM_PROVIDER_ABILITY_NAME); in CreateFormRecordAndFormInfo()
169 record.SetFormName(PARAM_FORM_NAME); in CreateFormRecordAndFormInfo()
170 record.SetSpecificationId(PARAM_FORM_DIMENSION_VALUE); in CreateFormRecordAndFormInfo()
171 record.SetTemporaryFlag(true); in CreateFormRecordAndFormInfo()
173 FormDataMgr::GetInstance().AllotFormRecord(record, callingUid); in CreateFormRecordAndFormInfo()
181 FormDataMgr::GetInstance().AllotFormHostRecord(record, token in CreateFormRecordAndFormInfo()
207 FormItemInfo record; HWTEST_F() local
386 FormItemInfo record; HWTEST_F() local
476 FormItemInfo record; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/preload_uiext_state_observer_test/
H A Dpreload_uiext_state_observer_test.cpp72 auto record = preLoadUIExtStateObserver.extensionRecord_.lock(); in HWTEST_F() local
73 EXPECT_TRUE(record != nullptr); in HWTEST_F()
74 EXPECT_TRUE(record->hostPid_ != diedPid); in HWTEST_F()
98 auto record = preLoadUIExtStateObserver.extensionRecord_.lock(); in HWTEST_F() local
99 EXPECT_TRUE(record != nullptr); in HWTEST_F()
100 EXPECT_TRUE(record->hostPid_ == diedPid); in HWTEST_F()
117 auto record = preLoadUIExtStateObserver.extensionRecord_.lock(); in HWTEST_F() local
118 EXPECT_TRUE(record == nullptr); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/ability_debug_deal_test/
H A Dability_debug_deal_test.cpp82 auto record = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInfo); in HWTEST_F() local
83 EXPECT_NE(record, nullptr); in HWTEST_F()
84 EXPECT_FALSE(record->isAttachDebug_); in HWTEST_F()
85 const sptr<IRemoteObject> token = new Token(record); in HWTEST_F()
106 auto record = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInfo); in HWTEST_F() local
107 EXPECT_NE(record, nullptr); in HWTEST_F()
108 EXPECT_FALSE(record->isAttachDebug_); in HWTEST_F()
109 const sptr<IRemoteObject> token = new Token(record); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/connection_state_item_test/
H A Dconnection_state_item_test.cpp97 std::shared_ptr<ConnectionRecord> record = nullptr; in HWTEST_F() local
98 auto res = connectionStateItem->CreateConnectionStateItem(record); in HWTEST_F()
115 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( in HWTEST_F() local
117 auto res = connectionStateItem->CreateConnectionStateItem(record); in HWTEST_F()
148 std::shared_ptr<ConnectionRecord> record = nullptr; in HWTEST_F() local
150 auto res = connectionStateItem->AddConnection(record, data); in HWTEST_F()
168 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( in HWTEST_F() local
171 auto res = connectionStateItem->AddConnection(record, data); in HWTEST_F()
188 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( in HWTEST_F() local
191 auto res = connectionStateItem->AddConnection(record, dat in HWTEST_F()
208 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
228 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
247 std::shared_ptr<ConnectionRecord> record = nullptr; HWTEST_F() local
267 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
287 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
307 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
327 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
348 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
690 std::shared_ptr<ConnectionRecord> record = std::make_shared<ConnectionRecord>( HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dstart_ability_handler.cpp54 auto record = GetCallerRecord(); in SandboxExternalAuth() local
55 if (!record) { in SandboxExternalAuth()
59 sandboxExternalAuth = DlpUtils::SandboxAuthCheck(*record, want); in SandboxExternalAuth()
92 auto record = GetCallerRecord(); in GetCallerAppIndex() local
93 callerAppIndex = record ? record->GetAppIndex() : 0; in GetCallerAppIndex()
H A Dconnection_state_item.cpp24 * ConnectedExtension,This class is used to record a connected extension.
28 static std::shared_ptr<ConnectedExtension> CreateConnectedExtension(std::shared_ptr<ConnectionRecord> record) in CreateConnectedExtension() argument
30 if (!record) { in CreateConnectedExtension()
34 auto targetExtension = record->GetAbilityRecord(); in CreateConnectedExtension()
114 * ConnectedDataAbility,This class is used to record a connected data ability.
119 const std::shared_ptr<DataAbilityRecord> &record) in CreateConnectedDataAbility()
121 if (!record) { in CreateConnectedDataAbility()
125 auto targetAbility = record->GetAbilityRecord(); in CreateConnectedDataAbility()
245 const std::shared_ptr<ConnectionRecord> &record) in CreateConnectionStateItem()
247 if (!record) { in CreateConnectionStateItem()
118 CreateConnectedDataAbility( const std::shared_ptr<DataAbilityRecord> &record) CreateConnectedDataAbility() argument
244 CreateConnectionStateItem( const std::shared_ptr<ConnectionRecord> &record) CreateConnectionStateItem() argument
262 AddConnection(std::shared_ptr<ConnectionRecord> record, AbilityRuntime::ConnectionData &data) AddConnection() argument
306 RemoveConnection(std::shared_ptr<ConnectionRecord> record, AbilityRuntime::ConnectionData &data) RemoveConnection() argument
[all...]
H A Dpending_want_manager.cpp138 void PendingWantManager::MakeWantSenderCanceledLocked(PendingWantRecord &record) in MakeWantSenderCanceledLocked() argument
142 record.SetCanceled(); in MakeWantSenderCanceledLocked()
143 for (auto &callback : record.GetCancelCallbacks()) { in MakeWantSenderCanceledLocked()
144 callback->Send(record.GetKey()->GetRequestCode()); in MakeWantSenderCanceledLocked()
219 sptr<PendingWantRecord> record = iface_cast<PendingWantRecord>(obj); in SendWantSender() local
221 return record->SenderInner(info); in SendWantSender()
244 sptr<PendingWantRecord> record = iface_cast<PendingWantRecord>(obj); in CancelWantSender() local
245 CancelWantSenderLocked(*record, true); in CancelWantSender()
248 void PendingWantManager::CancelWantSenderLocked(PendingWantRecord &record, bool cleanAbility) in CancelWantSenderLocked() argument
252 MakeWantSenderCanceledLocked(record); in CancelWantSenderLocked()
408 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetPendingWantUid() local
426 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetPendingWantUserId() local
445 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetPendingWantBundleName() local
467 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetPendingWantCode() local
486 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetPendingWantType() local
505 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); RegisterCancelListener() local
531 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); UnregisterCancelListener() local
565 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetPendingRequestWant() local
591 auto record = GetPendingWantRecordByCode(targetRecord->GetKey()->GetCode()); GetWantSenderInfo() local
[all...]
/foundation/arkui/ace_engine/adapter/ohos/capability/udmf/
H A Dudmf_impl.cpp217 auto record = std::make_shared<UDMF::Link>(url, description); in AddLinkRecord() local
222 udData->GetUnifiedData()->AddRecord(record); in AddLinkRecord()
232 for (auto record : records) { in GetLinkRecord()
233 UDMF::UDType type = record->GetType(); in GetLinkRecord()
235 UDMF::Link* link = reinterpret_cast<UDMF::Link*>(record.get()); in GetLinkRecord()
263 for (auto record : records) { in GetHtmlRecord()
264 UDMF::UDType type = record->GetType(); in GetHtmlRecord()
266 UDMF::Html* html = reinterpret_cast<UDMF::Html*>(record.get()); in GetHtmlRecord()
277 auto record = std::make_shared<UDMF::SystemDefinedPixelMap>(data); in AddPixelMapRecord() local
283 record in AddPixelMapRecord()
292 auto record = std::make_shared<UDMF::Image>(uri); AddImageRecord() local
302 auto record = std::make_shared<UDMF::PlainText>(selectedStr, ""); AddPlainTextRecord() local
332 auto record = std::make_shared<UDMF::Image>(u); AddFileUriRecord() local
410 auto record = std::make_shared<UDMF::ApplicationDefinedRecord>("OPENHARMONY_STYLED_STRING_UDMF", data); AddSpanStringRecord() local
[all...]
/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
H A Dwork_scheduler_extension.cpp35 void WorkSchedulerExtension::Init(const std::shared_ptr<AppExecFwk::AbilityLocalRecord>& record, in Init() argument
40 ExtensionBase<WorkSchedulerExtensionContext>::Init(record, application, handler, token); in Init()
44 const std::shared_ptr<AppExecFwk::AbilityLocalRecord>& record, in CreateAndInitContext()
50 ExtensionBase<WorkSchedulerExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext()
51 if (record == nullptr) { in CreateAndInitContext()
43 CreateAndInitContext( const std::shared_ptr<AppExecFwk::AbilityLocalRecord>& record, const std::shared_ptr<AppExecFwk::OHOSApplication>& application, std::shared_ptr<AppExecFwk::AbilityHandler>& handler, const sptr<IRemoteObject>& token) CreateAndInitContext() argument
/foundation/window/window_manager/extension/window_extension/src/
H A Dwindow_extension.cpp46 void WindowExtension::Init(const std::shared_ptr<AbilityRuntime::AbilityLocalRecord>& record, in Init() argument
51 ExtensionBase<WindowExtensionContext>::Init(record, application, handler, token); in Init()
56 const std::shared_ptr<AbilityRuntime::AbilityLocalRecord>& record, in CreateAndInitContext()
61 if (!record) { in CreateAndInitContext()
62 WLOGFE("WindowExtension::CreateAndInitContext record is nullptr"); in CreateAndInitContext()
64 return ExtensionBase<WindowExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext()
55 CreateAndInitContext( const std::shared_ptr<AbilityRuntime::AbilityLocalRecord>& record, const std::shared_ptr<AbilityRuntime::OHOSApplication>& application, std::shared_ptr<AbilityRuntime::AbilityHandler>& handler, const sptr<IRemoteObject>& token) CreateAndInitContext() argument
/foundation/ability/form_fwk/test/fuzztest/formprovidermgr_fuzzer/
H A Dformprovidermgr_fuzzer.cpp74 FormRecord record; in DoSomethingInterestingWithMyAPI() local
76 formProviderMgr.ConnectAmsForRefresh(formId, record, want, isTimerRefresh); in DoSomethingInterestingWithMyAPI()
77 formProviderMgr.NotifyProviderFormDelete(formId, record); in DoSomethingInterestingWithMyAPI()
85 formProviderMgr.UpdateForm(formId, record, formProviderData); in DoSomethingInterestingWithMyAPI()
86 formProviderMgr.MessageEvent(formId, record, want); in DoSomethingInterestingWithMyAPI()
92 formProviderMgr.IsNeedToFresh(record, formId, isVisibleToFresh); in DoSomethingInterestingWithMyAPI()
93 formProviderMgr.GetFormAbilityInfo(record); in DoSomethingInterestingWithMyAPI()
94 formProviderMgr.IsFormCached(record); in DoSomethingInterestingWithMyAPI()
96 return formProviderMgr.RebindByFreeInstall(record, want, formRefreshConnection); in DoSomethingInterestingWithMyAPI()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/decision_db/src/
H A Dlnn_decision_db.c268 static int32_t BuildTrustedDevInfoRecord(const char *udid, TrustedDevInfoRecord *record) in BuildTrustedDevInfoRecord() argument
273 if (udid == NULL || record == NULL) { in BuildTrustedDevInfoRecord()
281 if (memset_s(record, sizeof(TrustedDevInfoRecord), 0, sizeof(TrustedDevInfoRecord)) != EOK) { in BuildTrustedDevInfoRecord()
282 LNN_LOGE(LNN_LEDGER, "memset_s record failed"); in BuildTrustedDevInfoRecord()
289 if (strcpy_s(record->accountHexHash, sizeof(record->accountHexHash), accountHexHash) != EOK) { in BuildTrustedDevInfoRecord()
293 if (strcpy_s(record->udid, sizeof(record->udid), udid) != EOK) { in BuildTrustedDevInfoRecord()
311 TrustedDevInfoRecord record; in InsertTrustedDevInfoRecord() local
318 if (BuildTrustedDevInfoRecord(udid, &record) ! in InsertTrustedDevInfoRecord()
360 TrustedDevInfoRecord record; RemoveTrustedDevInfoRecord() local
403 DeleteDeviceFromList(TrustedDevInfoRecord *record) DeleteDeviceFromList() argument
426 InsertDeviceToList(TrustedDevInfoRecord *record) InsertDeviceToList() argument
459 TrustedDevInfoRecord record; LnnInsertSpecificTrustedDevInfo() local
493 TrustedDevInfoRecord record; LnnDeleteSpecificTrustedDevInfo() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Dvirtual_cloud_db.h26 VBucket record; member
31 DBStatus BatchInsert(const std::string &tableName, std::vector<VBucket> &&record,
34 DBStatus BatchInsertWithGid(const std::string &tableName, std::vector<VBucket> &&record,
37 DBStatus BatchUpdate(const std::string &tableName, std::vector<VBucket> &&record,
68 void SetIncrementData(const std::string &tableName, const VBucket &record, const VBucket &extend);
101 DBStatus InnerBatchInsert(const std::string &tableName, std::vector<VBucket> &&record,
104 DBStatus InnerUpdate(const std::string &tableName, std::vector<VBucket> &&record,
107 DBStatus InnerUpdateWithoutLock(const std::string &tableName, std::vector<VBucket> &&record,
119 bool IsPrimaryKeyMatching(const std::vector<QueryNode> &queryNodes, VBucket &record);
121 bool IsPrimaryKeyMatchingInner(const QueryNode &queryNode, VBucket &record);
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_vacuum.cpp295 // No other thread will access handle, node and record field of a RUN_NING, PAUSE_WAIT, ABORT_WAIT status task in ExecuteSpecificVacuumTask()
308 // Vacuum left branch first, since record of left branch will be synced out, more urgently in ExecuteSpecificVacuumTask()
317 // Vacuum right branch later, since record of right branch will not be synced out, not so urgent in ExecuteSpecificVacuumTask()
356 // No other thread will access handle, node and record field of a RUN_NING, PAUSE_WAIT, ABORT_WAIT status task in DealWithLeftBranchVacuumNeedRecord()
358 const MultiVerRecordInfo &record = inTask.vacuumNeedRecords.front(); in DealWithLeftBranchVacuumNeedRecord() local
360 static_cast<uint32_t>(record.type), record.version, VEC_TO_STR(record.hashKey)); in DealWithLeftBranchVacuumNeedRecord()
362 if (record.type == RecordType::CLEAR) { in DealWithLeftBranchVacuumNeedRecord()
363 errCode = inTask.databaseHandle->GetShadowRecordsOfClearTypeRecord(record in DealWithLeftBranchVacuumNeedRecord()
479 const MultiVerRecordInfo &record = recordList.front(); DoDeleteRecordOfLeftShadowOrRightVacuumNeed() local
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/model/
H A Dcontainer_data_model.h39 ContainerDataModel& Record(IMetadata::Ptr record) in Record() argument
41 META_API_CACHED_INTERFACE(Container)->Add(BASE_NS::move(record)); in Record()
53 ContainerDataModel& Insert(size_t index, IMetadata::Ptr record) in Insert() argument
55 META_API_CACHED_INTERFACE(Container)->Insert(index, BASE_NS::move(record)); in Insert()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpaste_data_test.cpp80 auto record = builder.Build(); in HWTEST_F() local
89 data.AddRecord(record); in HWTEST_F()
182 auto record = builder.Build(); in HWTEST_F() local
183 data.AddRecord(record); in HWTEST_F()
246 auto record = builder.Build(); in HWTEST_F() local
247 EXPECT_TRUE(record != nullptr); in HWTEST_F()
265 auto record = builder.Build(); in HWTEST_F() local
266 data.AddRecord(*record); in HWTEST_F()
283 auto record = builder.Build(); in HWTEST_F() local
284 data1.AddRecord(*record); in HWTEST_F()
344 auto record = PasteboardClient::GetInstance()->CreateHtmlTextRecord(htmlText); HWTEST_F() local
363 auto record = PasteboardClient::GetInstance()->CreatePlainTextRecord(plainText); HWTEST_F() local
377 auto record = PasteboardClient::GetInstance()->CreateHtmlTextRecord(htmlText); HWTEST_F() local
393 auto record = PasteboardClient::GetInstance()->CreatePlainTextRecord(plainText); HWTEST_F() local
409 auto record = PasteboardClient::GetInstance()->CreateUriRecord(uri); HWTEST_F() local
428 auto record = PasteboardClient::GetInstance()->CreatePixelMapRecord(pixelMapIn); HWTEST_F() local
454 auto record = PasteboardClient::GetInstance()->CreatePlainTextRecord(plainText2); HWTEST_F() local
482 auto record = newPasteData->GetRecordAt(1); HWTEST_F() local
1034 auto record = builder.SetUri(uri).Build(); HWTEST_F() local
[all...]
/foundation/distributeddatamgr/pasteboard/interfaces/cj/src/
H A Dpaste_data_record_impl.cpp46 sptr<PasteDataRecordImpl> getCjPasteDataRecordImpl(std::shared_ptr<PasteDataRecord> record) in getCjPasteDataRecordImpl() argument
48 if (record == nullptr) { in getCjPasteDataRecordImpl()
52 if (g_cjPasteDataRecordMap.find(record) == g_cjPasteDataRecordMap.end()) { in getCjPasteDataRecordImpl()
55 return g_cjPasteDataRecordMap[record]; in getCjPasteDataRecordImpl()
58 void removeCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record) in removeCjPasteDataRecordImpl() argument
61 g_cjPasteDataRecordMap.erase(record); in removeCjPasteDataRecordImpl()
65 std::shared_ptr<MiscServices::PasteDataRecord> record, sptr<PasteDataRecordImpl> pasteDataRecordImpl) in addCjPasteDataRecordImpl()
68 g_cjPasteDataRecordMap.try_emplace(record, pasteDataRecordImpl); in addCjPasteDataRecordImpl()
64 addCjPasteDataRecordImpl( std::shared_ptr<MiscServices::PasteDataRecord> record, sptr<PasteDataRecordImpl> pasteDataRecordImpl) addCjPasteDataRecordImpl() argument

Completed in 21 milliseconds

12345678910>>...17