Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 2805) sorted by relevance

12345678910>>...113

/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
Dhilog_vector.cpp46 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 != nullptr && vector->type != nullptr && pos < vector->size) { in GetType()
65 return vector->type[pos]; in GetType()
70 void HilogVector::Push(HilogVector *vector, const char *element, ValueType type) in Push() argument
[all …]
/base/sensors/sensor/interfaces/native/include/
Dsensor_algorithm.h26 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<float> rotationMatrix, std::vector<float> &rotationAngle);
34 …int32_t CreateRotationMatrix(std::vector<float> rotationVector, std::vector<float> &rotationMatrix…
35 int32_t CreateRotationAndInclination(std::vector<float> gravity, std::vector<float> geomagnetic,
36 … std::vector<float> &rotationMatrix, std::vector<float> &inclinationMatrix);
[all …]
/base/hiviewdfx/hidumper/frameworks/native/include/util/
Dconfig_utils.h33 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<std::shared_ptr<DumpCfg>> &dumpCfgs);
50 bool HandleDumpMem(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs);
[all …]
/base/sensors/sensor/interfaces/native/test/unittest/
Dsensor_algorithm_test.cpp56 std::vector<float> rotationVector = {0.52, -0.336, -0.251};
57 std::vector<float> quaternion(QUATERNION_LENGTH);
61 …std::vector<float> result = {0.7441122531890869, 0.5199999809265137, -0.335999995470047, -0.250999…
70 std::vector<float> rotationVector = {};
71 std::vector<float> quaternion(QUATERNION_LENGTH);
79 std::vector<float> rotationVector = {0.52, -0.336, -0.251};
80 std::vector<float> quaternion(ROTATION_VECTOR_LENGTH - 1);
88 std::vector<float> inRotationMatrix = {1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5};
89 std::vector<float> outRotationMatrix(THREE_DIMENSIONAL_MATRIX_LENGTH);
92 std::vector<float> result =
[all …]
/base/powermgr/battery_statistics/services/native/include/
Dcpu_time_reader.h33 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 ReadPolicy(std::vector<uint16_t>& clusters, std::string& line);
51 …bool ReadClusterTimeIncrement(std::vector<int64_t>& clusterTime, std::vector<int64_t>& increments,…
52 std::vector<uint16_t>& clusters, std::string& timeLine);
[all …]
/base/account/os_account/test/systemtest/common/resource/fuzzTest/include/
Dgetparam.h50 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<T> GetUnsignVectorParam();
60 std::vector<int8_t> GetS8VectorParam();
[all …]
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
Dmemory_filter.h48 const std::vector<std::pair<MemoryTrackerType, std::string>> MEMORY_TRACKER_TYPES = {
53 …const std::vector<std::string> VALUE_WITH_PID = {"Pss", "Shared_Clean", "Shared_Dirty", "Private_C…
57 …const std::vector<std::string> VALUE_SMAPS_V_WITH_PID_ = {"Size", "Rss", "Pss", "Shared_Clean", "S…
60 …const std::vector<std::string> TITLE_HAS_PID_ = {"Pss_Total", "Shared_Clean", "Shared_Dirty", …
64 …const std::vector<std::string> TITLE_SMAPS_HAS_PID_ = {"Size", "Rss", "Pss", "Shared_Clean", "Shar…
67 …const std::vector<std::string> TITLE_V_SMAPS_HAS_PID_ = {"Size", "Rss", "Pss", "Shared_Clean", "Sh…
70 const std::vector<std::string> TITLE_NO_PID_ = {"Pss", "SwapPss"};
72 std::vector<std::string> MEMINFO_TAG_ = {
78 …std::vector<std::string> CALC_KERNEL_TOTAL_ = {"KernelStack", "SUnreclaim", "PageTables", "Shmem"};
80 std::vector<std::string> CALC_PSS_TOTAL_ = {"Pss", "SwapPss"};
[all …]
/base/msdp/device_status/tools/vdev/include/
Dvirtual_device_builder.h50 std::vector<std::shared_ptr<VirtualDevice>> &vDevs);
51 …static std::shared_ptr<VirtualDevice> Select(std::vector<std::shared_ptr<VirtualDevice>> &vDevs, c…
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_t> &GetRelBits() const;
61 virtual const std::vector<uint32_t> &GetRepeats() const;
[all …]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
Dhiappevent_base.h83 std::vector<bool> bs_;
84 std::vector<char> cs_;
85 std::vector<int16_t> shs_;
86 std::vector<int> is_;
87 std::vector<int64_t> lls_;
88 std::vector<float> fs_;
89 std::vector<double> ds_;
90 std::vector<std::string> strs_;
101 new (&bs_) std::vector<bool>; in ValueUnion()
104 new (&cs_) std::vector<char>; in ValueUnion()
[all …]
/base/web/webview/ohos_nweb/include/
Dnweb_web_message.h31 std::vector<uint8_t> GetBinary() { return binary_data_; } in GetBinary()
33 void SetBinary(std::vector<uint8_t>& binary_data) { in SetBinary()
46 std::vector<std::string> GetStringArray() { return string_arr_; } in GetStringArray()
47 void SetStringArray(std::vector<std::string> string_arr) { string_arr_ = string_arr; } in SetStringArray()
48 std::vector<bool> GetBooleanArray() { return bool_arr_; } in GetBooleanArray()
49 void SetBooleanArray(std::vector<bool> bool_arr) { bool_arr_ = bool_arr; } in SetBooleanArray()
50 std::vector<double> GetDoubleArray() { return double_arr_; } in GetDoubleArray()
51 void SetDoubleArray(std::vector<double> double_arr) { double_arr_ = double_arr; } in SetDoubleArray()
52 std::vector<int64_t> GetInt64Array() { return int64_arr_; } in GetInt64Array()
53 void SetInt64Array(std::vector<int64_t> int64_arr) { int64_arr_ = int64_arr; } in SetInt64Array()
[all …]
/base/update/updater/services/package/pkg_verify/
Dpkcs7_signed_data.h41 std::vector<uint8_t> digestEncryptData;
48 virtual int32_t GetDigestFromSubBlocks(std::vector<uint8_t> &digestBlock,
49 HwSigningSigntureInfo &signatureInfo, std::vector<uint8_t> &digest) = 0;
61 std::vector<uint8_t> &hash);
67 …int32_t Verify(const std::vector<uint8_t> &hash, const std::vector<uint8_t> &sig, bool sigInSigner…
73 int32_t GetDigest(std::vector<uint8_t> &digestBlock,
74 HwSigningSigntureInfo &signatureInfo, std::vector<uint8_t> &digest);
78 int32_t ParseContentInfo(std::vector<uint8_t> &digestBlock) const;
79 int32_t GetDigestFromContentInfo(std::vector<uint8_t> &digestBlock);
80 int32_t DoUpdateVerify(std::vector<uint8_t> &digestBlock);
[all …]
/base/location/interfaces/inner_api/include/
Dsatellite_status.h41 inline std::vector<int> GetSatelliteIds() const in GetSatelliteIds()
46 inline void SetSatelliteIds(std::vector<int> ids) in SetSatelliteIds()
49 for (std::vector<int>::iterator it = ids.begin(); it != ids.end(); ++it) { in SetSatelliteIds()
60 inline std::vector<double> GetCarrierToNoiseDensitys() const in GetCarrierToNoiseDensitys()
65 inline void SetCarrierToNoiseDensitys(std::vector<double> cn0) in SetCarrierToNoiseDensitys()
68 for (std::vector<double>::iterator it = cn0.begin(); it != cn0.end(); ++it) { in SetCarrierToNoiseDensitys()
79 inline std::vector<double> GetAltitudes() const in GetAltitudes()
84 inline void SetAltitudes(std::vector<double> altitudes) in SetAltitudes()
87 for (std::vector<double>::iterator it = altitudes.begin(); it != altitudes.end(); ++it) { in SetAltitudes()
98 inline std::vector<double> GetAzimuths() const in GetAzimuths()
[all …]
/base/update/updater/services/include/applypatch/
Dblock_set.h43 explicit BlockSet(std::vector<BlockPair> &&pairs);
50 bool ParserAndInsert(const std::vector<std::string> &blockToken);
59 std::vector<BlockPair>::iterator Begin();
62 std::vector<BlockPair>::iterator End();
65 std::vector<BlockPair>::const_iterator CBegin() const;
68 std::vector<BlockPair>::const_iterator CEnd() const;
70 std::vector<BlockPair>::const_reverse_iterator CrBegin() const;
72 std::vector<BlockPair>::const_reverse_iterator CrEnd() const;
80 static int32_t VerifySha256(const std::vector<uint8_t> &buffer, const size_t size,
85 static void MoveBlock(std::vector<uint8_t> &target, const BlockSet &locations,
[all …]
/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/
Dattributes.cpp32 explicit Impl(const std::vector<uint8_t> &raw);
50 bool SetUint64ArrayValue(AttributeKey key, const std::vector<uint64_t> &value);
51 bool SetUint32ArrayValue(AttributeKey key, const std::vector<uint32_t> &value);
52 bool SetUint16ArrayValue(AttributeKey key, const std::vector<uint16_t> &value);
53 bool SetUint8ArrayValue(AttributeKey key, const std::vector<uint8_t> &value);
62 bool GetUint64ArrayValue(AttributeKey key, std::vector<uint64_t> &value) const;
63 bool GetUint32ArrayValue(AttributeKey key, std::vector<uint32_t> &value) const;
64 bool GetUint16ArrayValue(AttributeKey key, std::vector<uint16_t> &value) const;
65 bool GetUint8ArrayValue(AttributeKey key, std::vector<uint8_t> &value) const;
67 std::vector<uint8_t> Serialize() const;
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_policy_set.h39 const std::vector<PermissionStateFull>& permStateList);
41 const std::vector<GenericValues>& permStateRes);
42 void StorePermissionPolicySet(std::vector<GenericValues>& permStateValueList);
43 void Update(const std::vector<PermissionStateFull>& permStateList);
46 void GetDefPermissions(std::vector<PermissionDef>& permList);
47 void GetPermissionStateFulls(std::vector<PermissionStateFull>& permList);
52 const std::vector<std::string>& nativeAcls);
53 …void PermStateToString(int32_t tokenApl, const std::vector<std::string>& nativeAcls, std::string& …
54 void GetPermissionStateList(std::vector<PermissionStateFull>& stateList);
60 std::vector<std::string>& permissionList, std::vector<PermStateChangeType>& changeTypeList);
[all …]
/base/useriam/fingerprint_auth/test/unittest/mock/
Dmock_iexecutor.h33 …int32_t(const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
34 const std::vector<uint8_t> &extraInfo));
36 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
39 …int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, const std::vector<uint8_…
42 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
44 MOCK_METHOD1(Delete, int32_t(const std::vector<uint64_t> &templateIdList));
47 …int32_t(int32_t commandId, const std::vector<uint8_t> &extraInfo, const sptr<IExecutorCallback> &c…
49 int32_t (uint64_t scheduleId, const std::vector<uint64_t>& templateIdList,
50 …bool endAfterFirstFail, const std::vector<uint8_t>& extraInfo, const sptr<IExecutorCallback>& call…
51 MOCK_METHOD3(GetProperty, int32_t(const std::vector<uint64_t>& templateIdList,
[all …]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_chipset_platform_test.h27 std::vector<uint8_t> salt {};
28 std::vector<uint8_t> tmpPk {};
29 std::vector<uint8_t> hmacMsg {};
30 std::vector<uint8_t> iv {};
31 std::vector<uint8_t> aad {};
32 std::vector<uint8_t> mac {};
33 std::vector<uint8_t> cipher {};
34 std::vector<uint8_t> expectPlain {};
44 std::vector<uint8_t> salt;
46 std::vector<uint8_t> uuid;
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/
Dnative_token_info_inner.h43 const std::vector<PermissionStateFull>& permStateList);
46 int Init(const TokenInfo& tokenInfo, const std::vector<std::string>& dcap,
47 const std::vector<std::string>& nativeAcls,
48 const std::vector<PermissionStateFull>& permStateList);
49 void StoreNativeInfo(std::vector<GenericValues>& valueList,
50 std::vector<GenericValues>& permStateValues) const;
56 const std::vector<GenericValues>& permStateRes);
58 int apl, const std::vector<std::string>& dcap,
59 const std::vector<std::string>& nativeAcls);
61 std::vector<std::string> GetDcap() const;
[all …]
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_iuser_auth_interface.h37 … std::vector<uint8_t> &publicKey, std::vector<uint64_t> &templateIds));
39 MOCK_METHOD2(OpenSession, int32_t(int32_t userId, std::vector<uint8_t> &challenge));
42 int32_t(int32_t userId, const std::vector<uint8_t> &authToken, const HdiEnrollParam &param,
44 …MOCK_METHOD3(UpdateEnrollmentResult, int32_t(int32_t userId, const std::vector<uint8_t> &scheduleR…
48 …int32_t(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, HdiCredentia…
49 …MOCK_METHOD3(GetCredential, int32_t(int32_t userId, HdiAuthType authType, std::vector<HdiCredentia…
52 …int32_t(int32_t userId, uint64_t &secureUid, HdiPinSubType &pinSubType, std::vector<HdiEnrolledInf…
54 …int32_t(int32_t userId, const std::vector<uint8_t> &authToken, std::vector<HdiCredentialInfo> &del…
55 …MOCK_METHOD2(EnforceDeleteUser, int32_t(int32_t userId, std::vector<HdiCredentialInfo> &deletedInf…
57 …int32_t(uint64_t contextId, const HdiAuthSolution &param, std::vector<HdiScheduleInfoV1_0> &schedu…
[all …]
/base/useriam/pin_auth/test/unittest/mocks/
Dmock_iexecutor.h33 MOCK_METHOD3(OnRegisterFinish, int32_t(const std::vector<uint64_t> &templateIdList,
34 const std::vector<uint8_t> &frameworkPublicKey, const std::vector<uint8_t> &extraInfo));
35 MOCK_METHOD3(Enroll, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
37 MOCK_METHOD3(EnrollV1_1, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
39 …MOCK_METHOD4(Authenticate, int32_t(uint64_t scheduleId, uint64_t templateId, const std::vector<uin…
42 const std::vector<uint8_t> &extraInfo, const sptr<IExecutorCallbackV1_1> &callbackObj));
43 MOCK_METHOD3(Identify, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
47 MOCK_METHOD3(SendCommand, int32_t(int32_t commandId, const std::vector<uint8_t> &extraInfo,
49 …MOCK_METHOD3(OnSetData, int32_t(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8…
50 MOCK_METHOD3(GetProperty, int32_t(const std::vector<uint64_t>& templateIdList,
[all …]
/base/useriam/face_auth/test/unittest/mock/
Dmock_iexecutor.h35 …int32_t(const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
36 const std::vector<uint8_t> &extraInfo));
38 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
41 …int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, const std::vector<uint8_…
44 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
46 MOCK_METHOD1(Delete, int32_t(const std::vector<uint64_t> &templateIdList));
49 …int32_t(int32_t commandId, const std::vector<uint8_t> &extraInfo, const sptr<IExecutorCallback> &c…
51 MOCK_METHOD3(GetProperty, int32_t(const std::vector<uint64_t>& templateIdList,
52 const std::vector<GetPropertyType>& propertyTypes, Property& property));
53 MOCK_METHOD1(SetCachedTemplates, int32_t(const std::vector<uint64_t>& templateIdList));
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/include/utils/
Darray_string_serializer.h27 class ArrayStringSerializer : public ArraySerializer<std::string, std::vector<std::string>>,
32 …std::vector<std::string> SetUnionPolicyData(std::vector<std::string> &data, std::vector<std::strin…
33 std::vector<std::string> SetDifferencePolicyData(std::vector<std::string> &data,
34 std::vector<std::string> &currentData);
/base/account/os_account/services/accountmgr/include/account_iam/
Dinner_account_iam_manager.h38 std::vector<uint8_t> oldSecret;
39 std::vector<uint8_t> secret;
45 void OpenSession(int32_t userId, std::vector<uint8_t> &challenge);
51 void DelCred(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken,
53 void DelUser(int32_t userId, const std::vector<uint8_t> &authToken,
68 void GetChallenge(int32_t userId, std::vector<uint8_t> &challenge);
69 …ErrCode ActivateUserKey(int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8…
71 const std::vector<uint8_t> &token, const std::vector<uint8_t> &newSecret);
72 ErrCode RemoveUserKey(int32_t userId, const std::vector<uint8_t> &token);
73 … ErrCode RestoreUserKey(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &token);
[all …]
/base/inputmethod/imf/services/include/
Dime_info_inquirer.h37 std::vector<SubProperty> subProps;
52 …std::shared_ptr<SubProperty> GetImeSubProp(const std::vector<SubProperty> &subProps, const Conditi…
63 …int32_t ListInputMethod(const int32_t userId, const InputMethodStatus status, std::vector<Property…
65 const int32_t userId, const std::string &bundleName, std::vector<SubProperty> &subProps);
66 int32_t ListCurrentInputMethodSubtype(const int32_t userId, std::vector<SubProperty> &subProps);
72 SubProperty GetExtends(const std::vector<OHOS::AppExecFwk::Metadata> &metaData);
80 std::vector<OHOS::AppExecFwk::ExtensionAbilityInfo> &extInfos);
81 bool IsNewExtInfos(const std::vector<OHOS::AppExecFwk::ExtensionAbilityInfo> &extInfos);
83 std::vector<InputMethodInfo> ListInputMethodInfo(const int32_t userId);
84 int32_t ListInputMethod(const int32_t userId, std::vector<Property> &props);
[all …]
/base/sensors/medical_sensor/services/medical_sensor/include/
Dmedical_sensor_dump.h35 bool DumpSensorHelp(int32_t fd, const std::vector<std::u16string> &args);
36 …bool DumpSensorList(int32_t fd, const std::vector<MedicalSensor> &sensors, const std::vector<std::…
37 …bool DumpSensorChannel(int32_t fd, ClientInfo &clientInfo, const std::vector<std::u16string> &args…
38 …bool DumpOpeningSensor(int32_t fd, const std::vector<MedicalSensor> &sensors, ClientInfo &clientIn…
39 const std::vector<std::u16string> &args);
40 … bool DumpSensorData(int32_t fd, ClientInfo &clientInfo, const std::vector<std::u16string> &args);
41 int32_t Dump(int32_t fd, const std::vector<std::u16string> &args,
42 std::vector<MedicalSensor> &sensors, ClientInfo &clientInfo);

12345678910>>...113