/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/ |
H A D | peak_finder.h | 19 #include <vector>
28 std::vector<int32_t> firstPos;
30 std::vector<int32_t> peakPos;
32 std::vector<int32_t> lastPos;
45 std::vector<int32_t> pos;
46 std::vector<double> values;
54 std::vector<double> ampPeakEnvelope;
56 std::vector<int32_t> ampPeakAllIdx;
58 std::vector<int32_t> ampPeakIdxs;
60 std::vector<doubl [all...] |
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/ |
H A D | hilog_vector.cpp | 46 size_t HilogVector::Size(const HilogVector *vector) in Size() argument 48 if (vector == nullptr) { in Size() 51 return vector->size; in Size() 54 char* HilogVector::GetStr(const HilogVector *vector, size_t pos) in GetStr() argument 56 if (vector != nullptr && vector->str != nullptr && pos < vector->size) { in GetStr() 57 return vector->str[pos]; in GetStr() 62 ValueType HilogVector::GetType(const HilogVector *vector, size_t pos) in GetType() argument 64 if (vector ! in GetType() 70 Push(HilogVector *vector, const char *element, ValueType type) Push() argument [all...] |
/base/sensors/sensor/vibration_convert/core/native/include/ |
H A D | vibration_convert_core.h | 20 #include <vector> 120 int32_t ConvertAudioToHaptic(const AudioSetting &audioSetting, const std::vector<double> &audioDatas, 121 std::vector<HapticEvent> &hapticEvents); 125 int32_t ResampleAudioData(const std::vector<double> &srcDatas); 126 std::vector<double> PreprocessAudioData(); 127 int32_t PreprocessParameter(const std::vector<double> &datas, int32_t &onsetHopLength, double &lowerDelta); 128 std::vector<int32_t> MapOnsetHop(const std::vector<int32_t> &drwIdxs, int32_t onsetHopLength); 129 double CalcRmsLowerData(size_t dataSize, const std::vector<double> &rmses, const std::vector<int32_ [all...] |
/base/sensors/sensor/vibration_convert/core/algorithm/conversion/include/ |
H A D | fft.h | 31 std::vector<float> realIn; 33 std::vector<float> imagIn; 35 std::vector<float> realOut; 37 std::vector<float> imagOut; 57 std::vector<float> GetReal() const; 58 std::vector<float> GetImg() const; 61 void CalcFFT(const std::vector<float> &data, const std::vector<float> &window); 62 void ConvertPolar(std::vector<float> &magnitude, std::vector<floa [all...] |
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include/ |
H A D | date_time_filter.h | 20 #include <vector> 32 std::vector<MatchedDateTimeInfo> Filter(icu::UnicodeString& content, std::vector<MatchedDateTimeInfo>& matches, 33 std::vector<MatchedDateTimeInfo>& clearMatches, std::vector<MatchedDateTimeInfo>& pastMatches); 51 std::vector<MatchedDateTimeInfo> FilterOverlay(std::vector<MatchedDateTimeInfo>& matches); 52 std::vector<MatchedDateTimeInfo> FilterDatePeriod(icu::UnicodeString& content, 53 std::vector<MatchedDateTimeInfo>& matches); 54 std::vector<MatchedDateTimeInf [all...] |
/base/accesscontrol/sandbox_manager/interfaces/innerkits/sandbox_manager/include/ |
H A D | sandbox_manager_kit.h | 32 * @param Policy vector of string, file path 35 static int32_t CleanPersistPolicyByPath(const std::vector<std::string>& filePathList); 38 * @param policy vector of PolicyInfo, see policy_info.h 42 static int32_t PersistPolicy(const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result); 45 * @param policy vector of PolicyInfo, see policy_info.h 49 static int32_t UnPersistPolicy(const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result); 53 * @param policy vector of PolicyInfo, see policy_info.h 58 uint32_t tokenId, const std::vector<PolicyInf [all...] |
/base/sensors/sensor/vibration_convert/core/algorithm/intensity_processor/include/ |
H A D | intensity_processor.h | 23 #include <vector> 42 std::vector<double> GetRMS(const std::vector<double> &data, int32_t hopLength, bool centerFlag); 53 std::vector<double> EnergyEnvelop(const std::vector<double> &data, int32_t nFft, int32_t hopLength); 64 int32_t RmseNormalize(const std::vector<double> &rmseEnvelope, double lowerDelta, std::vector<double> &rmseBand, 65 std::vector<int32_t> &rmseNorm); 76 std::vector<double> VolumeInLinary(const std::vector<doubl [all...] |
/base/sensors/sensor/frameworks/native/include/ |
H A D | sensor_algorithm.h | 20 #include <vector> 26 int32_t CreateQuaternion(std::vector<float> rotationVector, std::vector<float> &quaternion); 27 int32_t TransformCoordinateSystem(std::vector<float> inRotationMatrix, int32_t axisX, 28 int32_t axisY, std::vector<float> &outRotationMatrix); 30 int32_t GetGeomagneticDip(std::vector<float> inclinationMatrix, float *geomagneticDip); 31 int32_t GetAngleModify(std::vector<float> currotationMatrix, std::vector<float> prerotationMatrix, 32 std::vector<float> &angleChange); 33 int32_t GetDirection(std::vector<floa [all...] |
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/include/service/ |
H A D | policy_info_manager.h | 21 #include <vector> 38 * @param policy vector of string, file path 41 int32_t CleanPersistPolicyByPath(const std::vector<std::string>& filePaths); 45 * @param policy vector of PolicyInfo, see policy_info.h 49 int32_t AddPolicy(const uint32_t tokenId, const std::vector<PolicyInfo> &policy, 50 std::vector<uint32_t> &result, const uint32_t flag = 0); 54 * @param policy vector of PolicyInfo, see policy_info.h 58 int32_t MatchPolicy(const uint32_t tokenId, const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result); 61 * @param GenericValues vector [all...] |
H A D | sandbox_manager_service.h | 20 #include <vector> 44 int32_t CleanPersistPolicyByPath(const std::vector<std::string>& filePathList) override; 45 int32_t PersistPolicy(const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result) override; 46 int32_t UnPersistPolicy(const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result) override; 48 uint32_t tokenId, const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result) override; 50 uint32_t tokenId, const std::vector<PolicyInfo> &policy, std::vector<uint32_ [all...] |
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
H A D | memory_filter.h | 20 #include <vector> 53 const std::vector<std::string> VALUE_WITH_PID = {"Pss", "Shared_Clean", "Shared_Dirty", "Private_Clean", 57 const std::vector<std::string> PURG_SUM = {"Active(purg)", "Inactive(purg)"}; 58 const std::vector<std::string> PURG_PIN = {"Pined(purg)"}; 60 const std::vector<std::string> VALUE_SMAPS_V_WITH_PID_ = {"Size", "Rss", "Pss", "Shared_Clean", "Shared_Dirty", 63 const std::vector<std::string> TITLE_HAS_PID_ = {"Pss_Total", "Shared_Clean", "Shared_Dirty", "Private_Clean", 67 const std::vector<std::string> TITLE_SMAPS_HAS_PID_ = {"Size", "Rss", "Pss", "Shared_Clean", "Shared_Dirty", 70 const std::vector<std::string> TITLE_V_SMAPS_HAS_PID_ = {"Size", "Rss", "Pss", "Shared_Clean", "Shared_Dirty", 73 const std::vector<std::string> TITLE_NO_PID_ = {"Pss", "SwapPss"}; 75 const std::vector<st [all...] |
/base/telephony/core_service/utils/vcard/include/ |
H A D | vcard_contact.h | 21 #include <vector> 57 int32_t BuildContactData(int32_t rawId, std::vector<DataShare::DataShareValuesBucket> &contactDataValues); 61 std::vector<std::shared_ptr<VCardNameData>> GetNames(); 62 std::vector<std::shared_ptr<VCardRelationData>> GetRelations(); 63 std::vector<std::shared_ptr<VCardImData>> GetIms(); 64 std::vector<std::shared_ptr<VCardSipData>> GetSips(); 65 std::vector<std::shared_ptr<VCardPhoneData>> GetPhones(); 66 std::vector<std::shared_ptr<VCardOrganizationData>> GetOrganizations(); 67 std::vector<std::shared_ptr<VCardWebsiteData>> GetWebsites(); 68 std::vector<st [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/include/utils/ |
H A D | array_usb_device_type_serializer.h | 26 * Policy data serializer of type std::vector<USB::UsbDeviceType>. 28 class ArrayUsbDeviceTypeSerializer : public IPolicySerializer<std::vector<USB::UsbDeviceType>>, 31 std::vector<USB::UsbDeviceType> SetUnionPolicyData(std::vector<USB::UsbDeviceType> &data, 32 std::vector<USB::UsbDeviceType> ¤tData); 33 std::vector<USB::UsbDeviceType> SetDifferencePolicyData(std::vector<USB::UsbDeviceType> &data, 34 std::vector<USB::UsbDeviceType> ¤tData); 36 bool Deserialize(const std::string &jsonString, std::vector<USB::UsbDeviceType> &dataObj) override; 37 bool Serialize(const std::vector<US [all...] |
H A D | array_usb_device_id_serializer.h | 26 * Policy data serializer of type std::vector<UsbDeviceId>. 28 class ArrayUsbDeviceIdSerializer : public IPolicySerializer<std::vector<UsbDeviceId>>, 31 std::vector<UsbDeviceId> SetUnionPolicyData(std::vector<UsbDeviceId> &data, std::vector<UsbDeviceId> ¤tData); 32 std::vector<UsbDeviceId> SetDifferencePolicyData(std::vector<UsbDeviceId> &data, 33 std::vector<UsbDeviceId> ¤tData); 34 bool Deserialize(const std::string &jsonString, std::vector<UsbDeviceId> &dataObj) override; 35 bool Serialize(const std::vector<UsbDeviceI [all...] |
/base/sensors/sensor/test/unittest/interfaces/inner_api/ |
H A D | sensor_algorithm_test.cpp | 59 std::vector<float> rotationVector = {0.52, -0.336, -0.251};
in HWTEST_F() 60 std::vector<float> quaternion(QUATERNION_LENGTH);
in HWTEST_F() 64 std::vector<float> result = {0.7441122531890869, 0.5199999809265137, -0.335999995470047, -0.25099998712539673};
in HWTEST_F() 73 std::vector<float> rotationVector = {};
in HWTEST_F() 74 std::vector<float> quaternion(QUATERNION_LENGTH);
in HWTEST_F() 82 std::vector<float> rotationVector = {0.52, -0.336, -0.251};
in HWTEST_F() 83 std::vector<float> quaternion(ROTATION_VECTOR_LENGTH - 1);
in HWTEST_F() 91 std::vector<float> rotationVector = {0.52, -0.336, -0.251, 0.1};
in HWTEST_F() 92 std::vector<float> quaternion(QUATERNION_LENGTH);
in HWTEST_F() 101 std::vector<floa in HWTEST_F() [all...] |
/base/print/print_fwk/frameworks/models/print_models/include/ |
H A D | printer_capability.h | 43 void GetPageSize(std::vector<PrintPageSize> &pageSizeList) const; 47 void GetResolution(std::vector<PrintResolution> &resolutionList) const; 71 void GetSupportedPageSize(std::vector<PrintPageSize>& supportedPageSize) const; 73 void GetSupportedColorMode(std::vector<uint32_t>& supportedColorModeList) const; 75 void GetSupportedDuplexMode(std::vector<uint32_t>& supportedDuplexModeList) const; 77 void GetSupportedMediaType(std::vector<std::string>& supportedMediaTypeList) const; 79 void GetSupportedQuality(std::vector<uint32_t>& supportedQualityList) const; 81 void GetSupportedOrientation(std::vector<uint32_t>& supportedOrientationList) const; 85 void SetResolution(const std::vector<PrintResolution>& resolutionList); 91 void SetSupportedColorMode(const std::vector<uint32_ [all...] |
/base/security/security_guard/test/unittest/mock/data_collect/ |
H A D | risk_event_rdb_helper.h | 19 #include <vector> 31 virtual int QueryAllEvent(std::vector<SecEvent> &events) = 0; 33 virtual int QueryRecentEventByEventId(const std::vector<int64_t> &eventId, std::vector<SecEvent> &event) = 0; 34 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) = 0; 35 virtual int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events) = 0; 36 virtual int QueryEventByEventIdAndDate(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events, 38 virtual int QueryEventByEventType(int32_t eventType, std::vector<SecEven [all...] |
/base/update/updater/services/package/pkg_verify/ |
H A D | pkcs7_signed_data.h | 19 #include <vector> 26 std::vector<char> buffer; 41 std::vector<uint8_t> digestEncryptData; 58 virtual int32_t GetDigestFromSubBlocks(std::vector<uint8_t> &digestBlock, 59 HwSigningSigntureInfo &signatureInfo, std::vector<uint8_t> &digest) = 0; 71 std::vector<uint8_t> &hash); 77 int32_t Verify(const std::vector<uint8_t> &hash, const std::vector<uint8_t> &sig, bool sigInSignerInfo) const; 83 int32_t GetDigest(std::vector<uint8_t> &digestBlock, 84 HwSigningSigntureInfo &signatureInfo, std::vector<uint8_ [all...] |
/base/powermgr/battery_statistics/services/native/include/ |
H A D | cpu_time_reader.h | 20 #include <vector>
33 std::vector<int64_t> GetUidCpuTimeMs(int32_t uid);
39 std::map<int32_t, std::vector<int64_t>> clusterTimeMap_;
40 std::map<int32_t, std::map<uint32_t, std::vector<int64_t>>> freqTimeMap_;
41 std::map<int32_t, std::vector<int64_t>> uidTimeMap_;
43 std::map<int32_t, std::vector<int64_t>> lastClusterTimeMap_;
44 std::map<int32_t, std::map<uint32_t, std::vector<int64_t>>> lastFreqTimeMap_;
45 std::map<int32_t, std::vector<int64_t>> lastUidTimeMap_;
50 void AddIncrementsToClusterTime(std::vector<int64_t>& clusterTime,
51 const std::vector<int64_ [all...] |
/base/msdp/device_status/tools/vdev/include/ |
H A D | virtual_device_builder.h | 20 #include <vector> 50 std::vector<std::shared_ptr<VirtualDevice>> &vDevs); 51 static std::shared_ptr<VirtualDevice> Select(std::vector<std::shared_ptr<VirtualDevice>> &vDevs, const char *name); 54 virtual const std::vector<uint32_t> &GetAbs() const; 55 virtual const std::vector<uint32_t> &GetEventTypes() const; 56 virtual const std::vector<uint32_t> &GetKeys() const; 57 virtual const std::vector<uint32_t> &GetLeds() const; 58 virtual const std::vector<uint32_t> &GetMiscellaneous() const; 59 virtual const std::vector<uint32_t> &GetProperties() const; 60 virtual const std::vector<uint32_ [all...] |
/base/hiviewdfx/hidumper/frameworks/native/include/util/ |
H A D | config_utils.h | 18 #include <vector> 33 static DumpStatus GetSectionNames(const std::string &name, std::vector<std::string> &nameList); 42 bool MergePidInfos(std::vector<DumpCommonUtils::PidInfo> &outInfos, int pid); 43 bool HandleDumpLog(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 44 bool HandleDumpList(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 45 bool HandleDumpService(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 46 bool HandleDumpAbility(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 47 bool HandleDumpSystem(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 48 bool HandleDumpCpuFreq(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 49 bool HandleDumpCpuUsage(std::vector<st [all...] |
/base/account/os_account/test/systemtest/common/resource/fuzzTest/include/ |
H A D | getparam.h | 21 #include <vector> 50 std::vector<bool> GetBoolVectorParam(); 51 std::vector<short> GetShortVectorParam(); 52 std::vector<long> GetLongVectorParam(); 53 std::vector<int> GetIntVectorParam(); 54 std::vector<float> GetFloatVectorParam(); 55 std::vector<double> GetDoubleVectorParam(); 56 std::vector<char> GetCharVectorParam(); 57 std::vector<std::string> GetStringVectorParam(); 59 std::vector< [all...] |
/base/sensors/sensor/vibration_convert/core/algorithm/onset/include/ |
H A D | onset.h | 35 std::vector<double> envelopes; 36 std::vector<int32_t> idxs; 37 std::vector<double> times; 62 int32_t CheckOnset(const std::vector<double> &data, int32_t nFft, int32_t hopLength, OnsetInfo &onsetInfo); 65 int32_t Sfft(const std::vector<double> &data, int32_t hopLength, int32_t &frmCount, 66 std::vector<float> &magnitudes, int32_t &numBins); 67 int32_t GetMelBias(int32_t numBins, int32_t nFft, size_t &frmCount, std::vector<double> &melBias); 68 std::vector<double> MatrixDot(size_t matrixAcols, const std::vector<double> &matrixA, 69 size_t matrixBcols, const std::vector<doubl [all...] |
/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_web_message.h | 19 #include <vector> 32 void SetBinary(std::vector<uint8_t>& binary_data) in SetBinary() 38 std::vector<uint8_t> GetBinary() in GetBinary() 73 std::vector<std::string> GetStringArray() in GetStringArray() 78 void SetStringArray(std::vector<std::string> string_arr) in SetStringArray() 83 std::vector<bool> GetBooleanArray() in GetBooleanArray() 88 void SetBooleanArray(std::vector<bool> bool_arr) in SetBooleanArray() 93 std::vector<double> GetDoubleArray() in GetDoubleArray() 98 void SetDoubleArray(std::vector<double> double_arr) in SetDoubleArray() 103 std::vector<int64_ [all...] |
/base/accesscontrol/sandbox_manager/frameworks/sandbox_manager/include/ |
H A D | i_sandbox_manager.h | 18 #include <vector> 34 virtual int32_t CleanPersistPolicyByPath(const std::vector<std::string>& filePathList) = 0; 35 virtual int32_t PersistPolicy(const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result) = 0; 36 virtual int32_t UnPersistPolicy(const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result) = 0; 38 uint32_t tokenId, const std::vector<PolicyInfo> &policy, std::vector<uint32_t> &result) = 0; 40 uint32_t tokenId, const std::vector<PolicyInfo> &policy, std::vector<uint32_ [all...] |