/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
H A D | fan_fault_detect.cpp | 26 void FanFaultDetect::OnFanSensorInfoChanged(const FanSensorInfo& report) in OnFanSensorInfoChanged() argument 28 CheckFanFault(report); in OnFanSensorInfoChanged() 31 void FanFaultDetect::CheckFanFault(const FanSensorInfo& report) in CheckFanFault() argument 35 CheckFanTooSlow(report, faultInfo.second); in CheckFanFault() 37 CheckFanTooFast(report, faultInfo.second); in CheckFanFault() 42 void FanFaultDetect::CheckFanTooSlow(const FanSensorInfo& report, const FanSensorInfo& config) in CheckFanTooSlow() argument 44 if (!CheckFanSensorInfo(report, config)) { in CheckFanTooSlow() 53 if (report.at(sensorInfo.first) > sensorInfo.second) { in CheckFanTooSlow() 58 if (report.at(FAN) < config.at(FAN) && tempHigh) { in CheckFanTooSlow() 59 std::string reportInfo = FormatReportInfo(report, confi in CheckFanTooSlow() 65 CheckFanTooFast(const FanSensorInfo& report, const FanSensorInfo& config) CheckFanTooFast() argument 88 CheckFanSensorInfo(const FanSensorInfo& report, const FanSensorInfo& config) CheckFanSensorInfo() argument 118 FormatReportInfo(const FanSensorInfo& report, const FanSensorInfo& config) FormatReportInfo() argument [all...] |
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | fan_fault_detect_test.cpp | 107 void FanFaultDetectTest::GetFaultId(int64_t& faultId, const FanSensorInfo& report) in GetFaultId() argument 128 fanFaultDetect->OnFanSensorInfoChanged(report); in GetFaultId() 151 FanSensorInfo report; in HWTEST_F() local 152 report.insert(std::make_pair(FAN, FAN_SLOW_SPEED)); in HWTEST_F() 153 report.insert(std::make_pair(SOC, TEMP_HIGH)); in HWTEST_F() 154 report.insert(std::make_pair(GPU, TEMP_HIGH)); in HWTEST_F() 155 GetFaultId(faultId, report); in HWTEST_F() 169 FanSensorInfo report; in HWTEST_F() local 170 report.insert(std::make_pair(FAN, FAN_SLOW_SPEED)); in HWTEST_F() 171 report in HWTEST_F() 187 FanSensorInfo report; HWTEST_F() local 205 FanSensorInfo report; HWTEST_F() local 224 FanSensorInfo report; HWTEST_F() local 242 FanSensorInfo report; HWTEST_F() local 260 FanSensorInfo report; HWTEST_F() local 278 FanSensorInfo report; HWTEST_F() local [all...] |
/base/powermgr/thermal_manager/services/native/include/thermal_policy/ |
H A D | fan_fault_detect.h | 40 void OnFanSensorInfoChanged(const FanSensorInfo& report); 45 void CheckFanFault(const FanSensorInfo& report); 46 void CheckFanTooSlow(const FanSensorInfo& report, const FanSensorInfo& config); 47 void CheckFanTooFast(const FanSensorInfo& report, const FanSensorInfo& config); 48 bool CheckFanSensorInfo(const FanSensorInfo& report, const FanSensorInfo& config); 50 std::string FormatReportInfo(const FanSensorInfo& report, const FanSensorInfo& config);
|
/base/telephony/ril_adapter/test/fuzztest/callussdnotice_fuzzer/ |
H A D | callussdnotice_fuzzer.cpp | 41 struct ReportInfo report; in DoSomethingInterestingWithMyAPI() local 42 report.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 43 report.notifyId = HNOTI_CALL_USSD_REPORT; in DoSomethingInterestingWithMyAPI() 44 report.type = HRIL_NOTIFICATION; in DoSomethingInterestingWithMyAPI() 45 HRilManager::manager_->OnCallReport(slotId, &report, (const uint8_t *)&info, sizeof(HRilUssdNoticeInfo)); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/ril_adapter/test/fuzztest/simstkproactivenotify_fuzzer/ |
H A D | simstkproactivenotify_fuzzer.cpp | 40 struct ReportInfo report; in DoSomethingInterestingWithMyAPI() local 41 report.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 42 report.notifyId = HNOTI_SIM_STK_PROACTIVE_NOTIFY; in DoSomethingInterestingWithMyAPI() 43 report.type = HRIL_NOTIFICATION; in DoSomethingInterestingWithMyAPI() 44 HRilManager::manager_->OnSimReport(slotId, &report, response, sizeof(char)); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/ril_adapter/test/fuzztest/residentnetworkupdated_fuzzer/ |
H A D | residentnetworkupdated_fuzzer.cpp | 38 struct ReportInfo report; in DoSomethingInterestingWithMyAPI() local 39 report.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 40 report.notifyId = HNOTI_NETWORK_RESIDENT_NETWORK_UPDATED; in DoSomethingInterestingWithMyAPI() 41 report.type = HRIL_NOTIFICATION; in DoSomethingInterestingWithMyAPI() 42 HRilManager::manager_->OnNetworkReport(slotId, &report, (const uint8_t *)plmn, size); in DoSomethingInterestingWithMyAPI()
|
/base/account/os_account/services/accountmgr/src/domain_account/ |
H A D | status_listener_manager.cpp | 87 void StatusListenerManager::DomainAccountEventParcel(const DomainAccountEventData &report, Parcel &parcel) in DomainAccountEventParcel() argument 89 if (!report.domainAccountInfo.Marshalling(parcel)) { in DomainAccountEventParcel() 93 if (!parcel.WriteInt32(report.event)) { in DomainAccountEventParcel() 97 if (!parcel.WriteInt32(report.status)) { in DomainAccountEventParcel() 101 if (!parcel.WriteInt32(report.userId)) { in DomainAccountEventParcel() 108 void StatusListenerManager::NotifyEventAsync(const DomainAccountEventData &report) in NotifyEventAsync() argument 110 ACCOUNT_LOGI("report.event %{public}d, report.status %{public}d", report.event, report in NotifyEventAsync() [all...] |
/base/telephony/ril_adapter/test/fuzztest/newsmsnotify_fuzzer/ |
H A D | newsmsnotify_fuzzer.cpp | 45 struct ReportInfo report; in DoSomethingInterestingWithMyAPI() local 46 report.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 47 report.notifyId = HNOTI_SMS_NEW_SMS; in DoSomethingInterestingWithMyAPI() 48 report.type = HRIL_NOTIFICATION; in DoSomethingInterestingWithMyAPI() 49 HRilManager::manager_->OnSmsReport(slotId, &report, (const uint8_t *)&response, sizeof(HRilSmsResponse)); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/ril_adapter/test/fuzztest/callemergencynotice_fuzzer/ |
H A D | callemergencynotice_fuzzer.cpp | 52 struct ReportInfo report; in DoSomethingInterestingWithMyAPI() local 53 report.error = error; in DoSomethingInterestingWithMyAPI() 54 report.notifyId = HNOTI_CALL_EMERGENCY_NUMBER_REPORT; in DoSomethingInterestingWithMyAPI() 55 report.type = HRIL_NOTIFICATION; in DoSomethingInterestingWithMyAPI() 56 HRilManager::manager_->OnCallReport(slotId, &report, (const uint8_t *)&info, sizeof(HRilEmergencyInfo)); in DoSomethingInterestingWithMyAPI()
|
/base/account/os_account/services/accountmgr/src/ |
H A D | account_event_provider.cpp | 37 bool AccountEventProvider::EventPublish(const std::string& event, int32_t userId, const DomainAccountEventData *report) in EventPublish() argument 46 if (report == nullptr) { in EventPublish() 50 want.SetParam("domain", report->domainAccountInfo.domain_); in EventPublish() 51 want.SetParam("accountName", report->domainAccountInfo.accountName_); in EventPublish() 52 want.SetParam("event", report->event); in EventPublish() 53 want.SetParam("status", report->status); in EventPublish()
|
/base/account/os_account/frameworks/domain_account/src/ |
H A D | domain_account_status_listener_manager.cpp | 34 DomainAccountEventData report; in OnResult() local 35 if (!report.domainAccountInfo.ReadFromParcel(parcel)) { in OnResult() 44 report.event = static_cast<DomainAccountEvent>(event); in OnResult() 50 report.status = static_cast<DomainAccountStatus>(status); in OnResult() 56 report.userId = userId; in OnResult() 59 listener->OnStatusChanged(report); in OnResult()
|
/base/telephony/call_manager/services/call_report/src/ |
H A D | call_ability_callback_death_recipient.cpp | 42 auto report = DelayedSingleton<CallAbilityReportProxy>::GetInstance(); in OnRemoteDied() local 43 if (report == nullptr) { in OnRemoteDied() 44 TELEPHONY_LOGE("report is nullptr"); in OnRemoteDied() 47 report->UnRegisterCallBack(object.promote()); in OnRemoteDied()
|
H A D | app_state_observer.cpp | 37 auto report = DelayedSingleton<CallAbilityReportProxy>::GetInstance(); in OnProcessDied() local 38 if (report == nullptr) { in OnProcessDied() 39 TELEPHONY_LOGE("report is nullptr"); in OnProcessDied() 42 unregisterCallbackQueue.submit([=]() { report->UnRegisterCallBack(std::to_string(processData.pid)); }); in OnProcessDied()
|
/base/telephony/ril_adapter/test/fuzztest/pdpcontextlistupdated_fuzzer/ |
H A D | pdpcontextlistupdated_fuzzer.cpp | 66 struct ReportInfo report; in DoSomethingInterestingWithMyAPI() local 67 report.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 68 report.notifyId = HNOTI_DATA_PDP_CONTEXT_LIST_UPDATED; in DoSomethingInterestingWithMyAPI() 69 report.type = HRIL_NOTIFICATION; in DoSomethingInterestingWithMyAPI() 70 HRilManager::manager_->OnDataReport(slotId, &report, (const uint8_t *)&response, sizeof(HRilDataCallResponse)); in DoSomethingInterestingWithMyAPI() 80 report.notifyId = HNOTI_DATA_LINK_CAPABILITY_UPDATED; in DoSomethingInterestingWithMyAPI() 82 slotId, &report, (const uint8_t *)&linkCapability, sizeof(HRilDataLinkCapability)); in DoSomethingInterestingWithMyAPI()
|
/base/security/access_token/interfaces/innerkits/analysis_model/src/ |
H A D | code_signature_analysis_kit.c | 76 static int32_t DataPreProcess(const CodeSignatureReportedInfo *report, in DataPreProcess() argument 80 TimeStampNode *head = ((node->errInfoList)[report->errorType]).timeStampChain; in DataPreProcess() 84 while ((tmpNode != NULL) && (tmpNode->timeStamp.timeStampMs > report->timeStampMs)) { in DataPreProcess() 100 // Insert the newest report timestamp in the chain head. in DataPreProcess() 109 tmp->timeStamp.timeStampMs = report->timeStampMs; in DataPreProcess() 171 static int32_t UpdateInfoInCurrNode(const CodeSignatureReportedInfo *report, AppRiskInfo *node, uint32_t optType) in UpdateInfoInCurrNode() argument 173 int32_t res = DataPreProcess(report, node, optType); in UpdateInfoInCurrNode() 202 static int32_t AddNewAppInfoNode(const CodeSignatureReportedInfo *report, uint32_t optType) in AddNewAppInfoNode() argument 209 node->tokenId = report->tokenId; in AddNewAppInfoNode() 210 int32_t res = strcpy_s(node->bundleName, MAX_BUNDLE_NAME_LENGTH - 1, report in AddNewAppInfoNode() 229 DataProcess(const CodeSignatureReportedInfo *report, uint32_t optType) DataProcess() argument 276 CodeSignatureReportedInfo *report = (CodeSignatureReportedInfo *)result; DatabaseListener() local [all...] |
/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/ |
H A D | JankAnimatorReporterAdapter.h | 32 void ReportNormal(const JankAnimatorReportEvent& report) override; 33 void ReportCritical(const JankAnimatorReportEvent& report) override;
|
/base/account/os_account/services/accountmgr/include/domain_account/ |
H A D | status_listener_manager.h | 39 void NotifyEventAsync(const DomainAccountEventData &report); 42 void DomainAccountEventParcel(const DomainAccountEventData &report, Parcel &parcel);
|
/base/hiviewdfx/hiview/plugins/performance/monitor/gateway/reporter/ |
H A D | IJankAnimatorReporter.h | 56 virtual void ReportNormal(const JankAnimatorReportEvent& report) = 0; 57 virtual void ReportCritical(const JankAnimatorReportEvent& report) = 0;
|
H A D | IAppStartReporter.h | 57 virtual void ReportNormal(const AppStartReportEvent& report) = 0; 58 virtual void ReportCritical(const AppStartReportEvent& report) = 0;
|
/base/account/os_account/services/accountmgr/include/ |
H A D | account_event_provider.h | 28 static bool EventPublish(const std::string& event, int32_t userId, const DomainAccountEventData *report);
|
/base/hiviewdfx/hiview/plugins/performance/monitor/ |
H A D | JankAnimatorMonitor.cpp | 35 IJankAnimatorReporter* report) in JankAnimatorMonitor() 39 this->reporter = report; in JankAnimatorMonitor() 34 JankAnimatorMonitor(IMonitorThrExecutor* thr, IAnimatorSceneDataProcessor* stats, IJankAnimatorReporter* report) JankAnimatorMonitor() argument
|
H A D | JankAnimatorMonitor.h | 34 JankAnimatorMonitor(IMonitorThrExecutor* thr, IAnimatorSceneDataProcessor* stats, IJankAnimatorReporter* report);
|
/base/powermgr/thermal_manager/test/unittest/include/ |
H A D | fan_fault_detect_test.h | 30 void GetFaultId(int64_t &faultId, const FanSensorInfo& report);
|
/base/telephony/sms_mms/test/unittest/ |
H A D | cdma_sms_test.cpp | 311 cout << s << "report : " << replyOpt.report << endl; in PrintSmsReplyOption() 428 cout << s << " msgId : " << static_cast<int>(telesvcMsg.data.report.msgId.msgId) << endl; in PrintTelesvc() 429 cout << s << " headerInd : " << static_cast<int>(telesvcMsg.data.report.msgId.headerInd) << endl; in PrintTelesvc() 431 PrintUserData(telesvcMsg.data.report.userData); in PrintTelesvc() 432 cout << s << " tpFailCause : " << static_cast<int>(telesvcMsg.data.report.tpFailCause) << endl; in PrintTelesvc() 433 cout << s << " language : " << static_cast<int>(telesvcMsg.data.report.language) << endl; in PrintTelesvc() 434 cout << s << " multiEncodeData : " << static_cast<int>(telesvcMsg.data.report.multiEncodeData) << endl; in PrintTelesvc() 646 msg.data.p2p.telesvcMsg.data.report.msgId.msgId = MSG_ID; in TestEncodeDeliverReportMsg() 647 msg.data.p2p.telesvcMsg.data.report in TestEncodeDeliverReportMsg() [all...] |
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | sec_comp_manager.cpp | 408 SecCompBase* report = SecCompInfoHelper::ParseComponent(sc->GetType(), jsonComponent); in UpdateSecurityComponent() local 409 std::shared_ptr<SecCompBase> reportComponentInfo(report); in UpdateSecurityComponent() 450 SecCompBase* report = SecCompInfoHelper::ParseComponent(sc->GetType(), jsonComponent); in CheckClickSecurityComponentInfo() local 451 std::shared_ptr<SecCompBase> reportComponentInfo(report); in CheckClickSecurityComponentInfo() 457 SC_LOG_ERROR(LABEL, "report component info invalid"); in CheckClickSecurityComponentInfo() 464 if (report && (report->isClipped_)) { in CheckClickSecurityComponentInfo()
|