Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/ohos5.0/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchSceneDataProcessor.cpp168 record.appPid = record.appStartupType.appPid; in SaveCheckPoint()
174 SaveAppIdIntoMap(record.appAttach.appPid, record.appAttach.bundleName); in SaveCheckPoint()
175 record.appPid = record.appAttach.appPid; in SaveCheckPoint()
178 SaveAppIdIntoMap(record.appForeground.appPid, record.appForeground.bundleName); in SaveCheckPoint()
179 record.appPid = record.appForeground.appPid; in SaveCheckPoint()
185 SaveAppIdIntoMap(record.startWindow.appPid, record.startWindow.bundleName); in SaveCheckPoint()
186 record.appPid = record.startWindow.appPid; in SaveCheckPoint()
190 record.appPid = record.drawnCompleted.appPid; in SaveCheckPoint()
200 db->UpdateRecord(record); in SaveCheckPoint()
354 …return (HaveStartPoint(record) && hasTypePoint && HaveEndPoint(record) && HaveResponseOrCompletedP… in ReportConditionMet()
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_record_c.cpp28 if (record.jsonStr == nullptr || name == nullptr) { in GetParamValue()
31 HiSysEventRecordCls recordObj(record.jsonStr); in GetParamValue()
37 if (record.jsonStr == nullptr || name == nullptr) { in GetParamValue()
40 HiSysEventRecordCls recordObj(record.jsonStr); in GetParamValue()
54 HiSysEventRecordCls recordObj(record.jsonStr); in GetParamValues()
79 HiSysEventRecordCls recordObj(record.jsonStr); in GetParamValues()
92 if (record.jsonStr == nullptr) { in GetParamNames()
95 HiSysEventRecordCls recordObj(record.jsonStr); in GetParamNames()
121 return GetParamValue(record, name, value); in GetParamStringValue()
141 return GetParamValues(record, name, value, len); in GetParamStringValues()
[all …]
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/
H A Dability_connect_mission.cpp31 auto record = *iterator; in ~AbilityConnectMission() local
32 delete record; in ~AbilityConnectMission()
49 if (record != nullptr && record->GetToken() == token) { in FindServiceRecord()
50 return record; in FindServiceRecord()
68 return record; in FindServiceRecord()
79 return record; in FindServiceRecord()
89 if (record != nullptr && record->GetToken() == token) { in RemoveServiceRecord()
91 delete record; in RemoveServiceRecord()
103 if (record != nullptr && record->IsSamePageAbility(bundleName)) { in RemoveServiceRecord()
109 delete record; in RemoveServiceRecord()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_running_record_test/
H A Dability_running_record_test.cpp79 ASSERT_NE(record, nullptr);
101 ASSERT_NE(record, nullptr);
123 ASSERT_NE(record, nullptr);
144 ASSERT_NE(record, nullptr);
165 ASSERT_NE(record, nullptr);
167 record->SetWant(want);
188 ASSERT_NE(record, nullptr);
209 ASSERT_NE(record, nullptr);
231 ASSERT_NE(record, nullptr);
252 ASSERT_NE(record, nullptr);
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_subscriber_manager.cpp292 if (record != nullptr) { in OnRemoteDied()
332 if (record != nullptr) { in CreateSubscriberRecord()
335 return record; in CreateSubscriberRecord()
382 if (record == nullptr) { in AddSubscriberInner()
410 if (record == nullptr) { in RemoveSubscriberInner()
417 if (!record->subscribedAll && record->bundleList_.empty()) { in RemoveSubscriberInner()
535 if (record->userId == SUBSCRIBE_USER_ALL || IsSystemUser(record->userId)) { in IsSubscribedBysubscriber()
622 if (record->userId == SUBSCRIBE_USER_ALL || IsSystemUser(record->userId) || in NotifyDoNotDisturbDateChangedInner()
635 if (record->userId == SUBSCRIBE_USER_ALL || IsSystemUser(record->userId) || in NotifyBadgeEnabledChangedInner()
653 if (record->userId == SUBSCRIBE_USER_ALL || IsSystemUser(record->userId) || in NotifyEnabledNotificationChangedInner()
[all …]
H A Dnotification_slot_filter.cpp32 if (record->slot != nullptr) { in OnPublish()
33 if (record->slot->CanEnableLight()) { in OnPublish()
34 record->notification->SetEnableLight(true); in OnPublish()
35 record->notification->SetLedLightColor(record->slot->GetLedLightColor()); in OnPublish()
37 record->notification->SetEnableLight(false); in OnPublish()
40 if (record->slot->CanVibrate()) { in OnPublish()
42 record->notification->SetVibrationStyle(record->slot->GetVibrationStyle()); in OnPublish()
47 auto sound = record->slot->GetSound(); in OnPublish()
49 record->notification->SetEnableSound(true); in OnPublish()
50 record->notification->SetSound(record->slot->GetSound()); in OnPublish()
[all …]
H A Dadvanced_notification_live_view_service.cpp137 CancelUpdateTimer(record); in UpdateNotificationTimerInfo()
156 (!(record->request->IsCommonLiveView()) && !(record->request->IsSystemLiveView()))) { in ProcForDeleteLiveView()
165 CancelUpdateTimer(record); in ProcForDeleteLiveView()
166 CancelFinishTimer(record); in ProcForDeleteLiveView()
167 CancelArchiveTimer(record); in ProcForDeleteLiveView()
174 OnSubscriberAdd(record); in OnSubscriberAddInffrt()
181 if (record == nullptr) { in OnSubscriberAdd()
528 (*iter).first = record; in UpdateInDelayNotificationList()
606 if (record == nullptr) { in StartPublishDelayedNotificationTimeOut()
668 if (record == nullptr) { in IsSaCreateSystemLiveViewAsBundle()
[all …]
H A Dadvanced_notification_service.cpp596 ErrCode ret = AssignValidNotificationSlot(record, record->bundleOption); in FillNotificationRecord()
609 record->request = request; in MakeNotificationRecord()
620 return record; in MakeNotificationRecord()
762 if (record == nullptr || record->notification == nullptr || record->bundleOption == nullptr) { in CheckDoNotDisturbProfile()
804 if (record == nullptr || record->request == nullptr || record->notification == nullptr) { in DoNotDisturbUpdataReminderFlags()
919 if (record == nullptr || record->request == nullptr || record->notification == nullptr) { in ChangeNotificationByControlFlags()
980 if (record == nullptr || record->request == nullptr) { in CheckPublishPreparedNotification()
1010 *iter = record; in UpdateInNotificationList()
1473 return record; in GetRecordFromNotificationList()
2210 auto result = AssignValidNotificationSlot(record, record->bundleOption); in AddRecordToMemory()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dudmf.cpp140 return record != nullptr && record->record_ != nullptr && in IsUnifiedRecordValid()
229 record->typesArray == nullptr ? record->typesCount = 0 : record->typesCount = typeLabels.size(); in OH_UdmfRecord_GetTypes()
230 *count = record->typesCount; in OH_UdmfRecord_GetTypes()
231 return record->typesArray; in OH_UdmfRecord_GetTypes()
409 if (record == nullptr) { in OH_UdmfRecord_Create()
413 return record; in OH_UdmfRecord_Create()
418 if (record == nullptr) { in OH_UdmfRecord_Destroy()
425 delete record; in OH_UdmfRecord_Destroy()
476 record->recordData = new (std::nothrow) unsigned char[record->recordDataLen]; in GetValueFromUint8Array()
480 …auto err = memcpy_s(record->recordData, record->recordDataLen, recordValue->data(), record->record… in GetValueFromUint8Array()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/convert/
H A Dudmf_conversion.cpp51 record->SetValue(it->second); in SetValueWhenNotUds()
56 auto type = record->GetType(); in ConvertRecordToSubclass()
57 auto value = record->GetOriginValue(); in ConvertRecordToSubclass()
58 auto uid = record->GetUid(); in ConvertRecordToSubclass()
120 record->SetUid(uid); in ConvertRecordToSubclass()
121 SetValueWhenNotUds(record); in ConvertRecordToSubclass()
127 for (auto &record : data.GetRecords()) { in ConvertRecordToSubclass() local
128 ConvertRecordToSubclass(record); in ConvertRecordToSubclass()
129 records.push_back(std::move(record)); in ConvertRecordToSubclass()
143 for (auto &record : data.GetRecords()) { in InitValueObject() local
[all …]
/ohos5.0/drivers/hdf_core/framework/core/manager/src/
H A Ddevsvc_manager.c24 struct DevSvcRecord *record = NULL; in DevSvcManagerSearchServiceLocked() local
34 searchResult = record; in DevSvcManagerSearchServiceLocked()
50 .info = record->servInfo, in NotifyServiceStatusLocked()
95 if (record != NULL) { in DevSvcManagerAddService()
97 record->value = service; in DevSvcManagerAddService()
104 if (record == NULL) { in DevSvcManagerAddService()
110 record->value = service; in DevSvcManagerAddService()
119 if (record->servName == NULL) { in DevSvcManagerAddService()
142 if (record == NULL) { in DevSvcManagerUpdateService()
157 record->value = service; in DevSvcManagerUpdateService()
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/
H A Dhisyseventmanager_fuzzer.cpp41 (void)record.AsJson(); in HiSysEventRecordTest()
42 (void)record.GetDomain(); in HiSysEventRecordTest()
44 (void)record.GetLevel(); in HiSysEventRecordTest()
45 (void)record.GetTag(); in HiSysEventRecordTest()
49 (void)record.GetPid(); in HiSysEventRecordTest()
50 (void)record.GetTid(); in HiSysEventRecordTest()
51 (void)record.GetUid(); in HiSysEventRecordTest()
52 (void)record.GetPspanId(); in HiSysEventRecordTest()
53 (void)record.GetSpanId(); in HiSysEventRecordTest()
54 (void)record.GetTime(); in HiSysEventRecordTest()
[all …]
/ohos5.0/base/telephony/state_registry/services/src/
H A Dtelephony_state_registry_service.cpp131 (record.slotId_ == slotId) && record.telephonyObserver_ != nullptr) { in UpdateCellularDataConnectState()
184 (record.slotId_ == -1) && record.telephonyObserver_ != nullptr) { in UpdateCallState()
464 …if (record.slotId_ == slotId && record.mask_ == mask && record.tokenId_ == tokenId && record.pid_ … in RegisterStateChange()
555record.telephonyObserver_->OnCallStateUpdated(record.slotId_, callState_[record.slotId_], phoneNum… in UpdateData()
559record.telephonyObserver_->OnSignalInfoUpdated(record.slotId_, signalInfos_[record.slotId_]); in UpdateData()
563record.telephonyObserver_->OnNetworkStateUpdated(record.slotId_, searchNetworkState_[record.slotId… in UpdateData()
567 record.telephonyObserver_->OnCellInfoUpdated(record.slotId_, cellInfos_[record.slotId_]); in UpdateData()
571record.slotId_, cardType_[record.slotId_], simState_[record.slotId_], simReason_[record.slotId_]); in UpdateData()
580record.telephonyObserver_->OnCellularDataFlowUpdated(record.slotId_, cellularDataFlow_[record.slot… in UpdateData()
584record.telephonyObserver_->OnCfuIndicatorUpdated(record.slotId_, cfuResult_[record.slotId_]); in UpdateData()
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_manager_c_test.cpp82 record.domain, record.eventName, record.type, in RecordBaseParamPrint()
83 record.tz, record.time, record.pid, record.tid, record.uid, in RecordBaseParamPrint()
84 record.traceId, record.spandId, record.pspanId, in RecordBaseParamPrint()
85 record.level, record.tag == nullptr ? "null" : record.tag); in RecordBaseParamPrint()
96 ASSERT_GT(record.type, 0); in OnQueryTest()
98 ASSERT_GE(record.pid, 0); in OnQueryTest()
99 ASSERT_GE(record.tid, 0); in OnQueryTest()
100 ASSERT_GE(record.uid, 0); in OnQueryTest()
980 HiSysEventRecord record; variable
1026 HiSysEventRecord record; variable
[all …]
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dability_record_manager.cpp96 if (record == nullptr) { in StartAbility()
605 delete record; in PreCheckStartAbility()
646 delete record; in PreCheckStartAbility()
670 if ((record == nullptr) || (record->appName == nullptr)) { in CreateAppTask()
686 int32_t ret = record->abilityThread->InitAbilityThread(record); in CreateAppTask()
692 record->taskId = record->abilityThread->GetAppTaskId(); in CreateAppTask()
693 record->jsAppQueueId = record->abilityThread->GetMessageQueueId(); in CreateAppTask()
749 delete record; in DeleteRecordInfo()
854 if ((!record->isTerminated) && (record->abilitySavedData == nullptr)) { in OnBackgroundDone()
894 delete record; in OnDestroyDone()
[all …]
H A Dability_list.cpp56 if (record == nullptr) { in Get()
60 return record; in Get()
76 if (record == nullptr || record->appName == nullptr) { in Get()
80 return record; in Get()
91 if (record == nullptr) { in GetByTaskId()
95 return record; in GetByTaskId()
106 if (record == nullptr) { in Erase()
122 if ((record != nullptr) && (record->mission == mission)) { in GetAbilityList()
221 if (record == nullptr) { in PopAllAbility()
233 delete record; in PopAllAbility()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/
H A Dams_app_running_record_test.cpp196 EXPECT_TRUE(record); in StartLoadAbility()
201 return record; in StartLoadAbility()
262 record->SetUid(1010);
296 record->SetUid(1010);
491 EXPECT_TRUE(record);
690 record->LowMemoryWarning();
693 record->LowMemoryWarning();
756 record = service_->GetAppRunningRecordByAppRecordId(record->GetRecordId());
1279 record->SetUid(102);
2309 record->AddAbilityStage();
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpasteboard_utils.cpp280 if (record == nullptr) { in PasteRecord2PlaintText()
316 if (record == nullptr) { in PasteRecord2Want()
353 if (record == nullptr) { in PasteRecord2Html()
394 if (record == nullptr) { in PasteRecord2Link()
425 if (record == nullptr) { in PasteRecord2File()
457 if (record == nullptr) { in PasteRecord2Image()
489 if (record == nullptr) { in PasteRecord2Video()
521 if (record == nullptr) { in PasteRecord2Audio()
553 if (record == nullptr) { in PasteRecord2Folder()
590 if (record == nullptr) { in PasteRecord2PixelMap()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/database/
H A Dexport_db_manager.cpp35 if (record.moduleName.empty()) { in GetExportEnabledSeq()
40 return record.exportEnabledSeq; in GetExportEnabledSeq()
51 return std::max(record.exportEnabledSeq, record.exportedMaxSeq); in GetExportBeginSeq()
60 ExportDetailRecord record = { in HandleExportSwitchChanged() local
68 ExportDetailRecord record { in HandleExportSwitchChanged() local
81 ExportDetailRecord record = { in HandleExportTaskFinished() local
89 ExportDetailRecord record { in HandleExportTaskFinished() local
93 storage_->UpdateExportedMaxSeq(record); in HandleExportTaskFinished()
98 ExportDetailRecord record; in GetExportDetailRecord() local
100 return record; in GetExportDetailRecord()
[all …]
/ohos5.0/base/security/access_token/services/privacymanager/src/record/
H A Dpermission_record.cpp26 values.Put(PrivacyFiledConst::FIELD_OP_CODE, record.opCode); in TranslationIntoGenericValues()
27 values.Put(PrivacyFiledConst::FIELD_STATUS, record.status); in TranslationIntoGenericValues()
28 values.Put(PrivacyFiledConst::FIELD_TIMESTAMP, record.timestamp); in TranslationIntoGenericValues()
30 values.Put(PrivacyFiledConst::FIELD_USED_TYPE, record.type); in TranslationIntoGenericValues()
31 values.Put(PrivacyFiledConst::FIELD_ACCESS_COUNT, record.accessCount); in TranslationIntoGenericValues()
32 values.Put(PrivacyFiledConst::FIELD_REJECT_COUNT, record.rejectCount); in TranslationIntoGenericValues()
39 record.opCode = values.GetInt(PrivacyFiledConst::FIELD_OP_CODE); in TranslationIntoPermissionRecord()
40 record.status = values.GetInt(PrivacyFiledConst::FIELD_STATUS); in TranslationIntoPermissionRecord()
41 record.timestamp = values.GetInt64(PrivacyFiledConst::FIELD_TIMESTAMP); in TranslationIntoPermissionRecord()
44 record.type = static_cast<PermissionUsedType>(type); in TranslationIntoPermissionRecord()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/app_running_record_test/
H A Dams_app_running_record_module_test.cpp108 auto name = record->GetName(); in CheckAppRunningRecording()
201 record->SetUid(0);
236 EXPECT_EQ(nullptr, record);
268 record->SetUid(0);
284 EXPECT_EQ(nullptr, record);
325 record->ScheduleTrimMemory();
335 EXPECT_EQ(nullptr, record);
375 record->LowMemoryWarning();
383 EXPECT_EQ(nullptr, record);
450 record->ScheduleTerminate();
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper_alarm.c38 SOFTBUS_DPRINTF(fd, "Time=%s, Type=%d", record->time, record->type); in SoftBusGetAlarmInfo()
39 if (record->errorCode > 0) { in SoftBusGetAlarmInfo()
43 if (record->callerPid > 0) { in SoftBusGetAlarmInfo()
47 if (record->linkType > 0) { in SoftBusGetAlarmInfo()
51 if (record->minBw > 0) { in SoftBusGetAlarmInfo()
55 if (record->methodId > 0) { in SoftBusGetAlarmInfo()
59 if (record->permissionName != NULL) { in SoftBusGetAlarmInfo()
63 if (record->sessionName != NULL) { in SoftBusGetAlarmInfo()
65 Anonymize(record->sessionName, &tmpName); in SoftBusGetAlarmInfo()
111 if (record == NULL) { in SoftBusAlarmDumpHander()
[all …]
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_provider_mgr.cpp108 FormRecord record; in RefreshForm() local
115 if (!record.enableForm) { in RefreshForm()
206 record.bundleName.c_str(), record.abilityName.c_str(), record.needFreeInstall); in ConnectAmsForRefresh()
209 record.bundleName, record.abilityName, record.needFreeInstall); in ConnectAmsForRefresh()
216 connectWant.SetElementName(record.bundleName, record.abilityName); in ConnectAmsForRefresh()
261 FormRecord record; in ConnectAmsForRefreshPermission() local
271 record.bundleName, record.abilityName, record.needFreeInstall); in ConnectAmsForRefreshPermission()
279 connectWant.SetElementName(record.bundleName, record.abilityName); in ConnectAmsForRefreshPermission()
462 record.bundleName, record.abilityName); in MessageEvent()
469 connectWant.SetElementName(record.bundleName, record.abilityName); in MessageEvent()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpasteboard_utils.h51 static std::shared_ptr<UnifiedRecord> PasteRecord2Text(std::shared_ptr<PasteDataRecord> record);
53 static std::shared_ptr<UnifiedRecord> PasteRecord2Want(std::shared_ptr<PasteDataRecord> record);
54 static std::shared_ptr<UnifiedRecord> PasteRecord2Html(std::shared_ptr<PasteDataRecord> record);
55 static std::shared_ptr<UnifiedRecord> PasteRecord2Link(std::shared_ptr<PasteDataRecord> record);
56 static std::shared_ptr<UnifiedRecord> PasteRecord2File(std::shared_ptr<PasteDataRecord> record);
57 … static std::shared_ptr<UnifiedRecord> PasteRecord2Image(std::shared_ptr<PasteDataRecord> record);
58 … static std::shared_ptr<UnifiedRecord> PasteRecord2Video(std::shared_ptr<PasteDataRecord> record);
64 static std::shared_ptr<UnifiedRecord> PasteRecord2Form(std::shared_ptr<PasteDataRecord> record);
66 std::shared_ptr<PasteDataRecord> record);
68 static std::shared_ptr<PasteDataRecord> Text2PasteRecord(std::shared_ptr<UnifiedRecord> record);
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dconvert_utils_test.cpp158 data.AddRecord(record); in InitDataWithPlainEntry()
168 AddHtmlUdsEntry(*record); in InitDataWithHtmlEntry()
169 data.AddRecord(record); in InitDataWithHtmlEntry()
180 data.AddRecord(record); in InitDataWithFileUriEntry()
191 data.AddRecord(record); in InitDataWithPixelMapEntry()
201 AddCustomEntry(*record); in InitDataWitCustomEntry()
202 data.AddRecord(record); in InitDataWitCustomEntry()
212 AddCustomEntry(*record); in InitDataWitSameCustomEntry()
214 data.AddRecord(record); in InitDataWitSameCustomEntry()
225 AddHtmlUdsEntry(*record); in InitDataWithEntries()
[all …]

12345678910>>...34