Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/base/hiviewdfx/hiview/base/running_status_logger/test/unittest/common/
Drunning_status_logger_test.cpp60 std::string GenerateInvalidFileName(int index) in GenerateInvalidFileName() argument
62 return GetLogDir() + "runningstatus_2024_0" + std::to_string(index); in GenerateInvalidFileName()
113 for (int index = 0; index < SIZE_512; index++) { variable
116 for (int index = 0; index < SIZE_512; index++) { variable
141 for (int index = 0; index < SIZE_512; index++) { variable
144 for (int index = 0; index < SIZE_512; index++) { variable
148 for (int index = 0; index < SIZE_512; index++) { variable
174 for (int index = 0; index < SIZE_512; index++) { variable
177 for (int index = 0; index < SIZE_10240; index++) { variable
181 for (int index = 0; index < SIZE_512; index++) { variable
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_generate_key_test.cpp83 uint32_t index = 0; variable
87 g_testGenKeyParams[index].keyAliasParams.blobExist,
88 g_testGenKeyParams[index].keyAliasParams.blobSize,
89 g_testGenKeyParams[index].keyAliasParams.blobDataExist,
90 g_testGenKeyParams[index].keyAliasParams.blobDataSize);
95 g_testGenKeyParams[index].paramSetParams.paramSetExist,
96 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg,
97 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS…
98 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp…
99 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges…
[all …]
Dhks_safe_compare_key_test.cpp84 uint32_t index = 0; in SafeTestGenerateKey() local
90 g_testGenKeyParams[index].paramSetParams.paramSetExist, in SafeTestGenerateKey()
91 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in SafeTestGenerateKey()
92 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in SafeTestGenerateKey()
93 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in SafeTestGenerateKey()
94 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in SafeTestGenerateKey()
95 …g_testGenKeyParams[index].paramSetParams.setPadding, g_testGenKeyParams[index].paramSetParams.padd… in SafeTestGenerateKey()
96 …g_testGenKeyParams[index].paramSetParams.setBlockMode, g_testGenKeyParams[index].paramSetParams.mo… in SafeTestGenerateKey()
97 g_testGenKeyParams[index].paramSetParams.setKeyStorageFlag, in SafeTestGenerateKey()
98 g_testGenKeyParams[index].paramSetParams.keyStorageFlag in SafeTestGenerateKey()
[all …]
Dhks_mac_test.cpp131 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
137 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
139 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
140 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
144 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
145 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
146 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
149 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
[all …]
Dhks_derive_test.cpp149 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
154 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
155 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
156 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
158 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
159 ret = GenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
160 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
163 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
164 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
165 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive()
[all …]
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_generate_key_test.c85 uint32_t index = 0; in LITE_TEST_CASE() local
89 g_testGenKeyParams[index].keyAliasParams.blobExist, in LITE_TEST_CASE()
90 g_testGenKeyParams[index].keyAliasParams.blobSize, in LITE_TEST_CASE()
91 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in LITE_TEST_CASE()
92 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in LITE_TEST_CASE()
97 g_testGenKeyParams[index].paramSetParams.paramSetExist, in LITE_TEST_CASE()
98 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in LITE_TEST_CASE()
99 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in LITE_TEST_CASE()
100 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in LITE_TEST_CASE()
101 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in LITE_TEST_CASE()
[all …]
Dhks_derive_test.c149 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
154 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
155 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
156 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
158 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
159 ret = GenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
160 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
163 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
164 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
165 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive()
[all …]
Dhks_mac_test.c131 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
137 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
139 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
140 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
144 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
145 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
146 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
149 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
[all …]
Dhks_safe_compare_key_test.c85 uint32_t index = 0; in SafeTestGenerateKey() local
91 g_testGenKeyParams[index].paramSetParams.paramSetExist, in SafeTestGenerateKey()
92 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in SafeTestGenerateKey()
93 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in SafeTestGenerateKey()
94 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in SafeTestGenerateKey()
95 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in SafeTestGenerateKey()
96 …g_testGenKeyParams[index].paramSetParams.setPadding, g_testGenKeyParams[index].paramSetParams.padd… in SafeTestGenerateKey()
97 …g_testGenKeyParams[index].paramSetParams.setBlockMode, g_testGenKeyParams[index].paramSetParams.mo… in SafeTestGenerateKey()
98 g_testGenKeyParams[index].paramSetParams.setKeyStorageFlag, in SafeTestGenerateKey()
99 g_testGenKeyParams[index].paramSetParams.keyStorageFlag in SafeTestGenerateKey()
[all …]
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_generate_key_test.cpp82 uint32_t index = 0; variable
86 g_testGenKeyParams[index].keyAliasParams.blobExist,
87 g_testGenKeyParams[index].keyAliasParams.blobSize,
88 g_testGenKeyParams[index].keyAliasParams.blobDataExist,
89 g_testGenKeyParams[index].keyAliasParams.blobDataSize);
94 g_testGenKeyParams[index].paramSetParams.paramSetExist,
95 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg,
96 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS…
97 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp…
98 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges…
[all …]
Dhks_safe_compare_key_test.cpp82 uint32_t index = 0; in SafeTestGenerateKey() local
88 g_testGenKeyParams[index].paramSetParams.paramSetExist, in SafeTestGenerateKey()
89 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in SafeTestGenerateKey()
90 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in SafeTestGenerateKey()
91 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in SafeTestGenerateKey()
92 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in SafeTestGenerateKey()
93 …g_testGenKeyParams[index].paramSetParams.setPadding, g_testGenKeyParams[index].paramSetParams.padd… in SafeTestGenerateKey()
94 …g_testGenKeyParams[index].paramSetParams.setBlockMode, g_testGenKeyParams[index].paramSetParams.mo… in SafeTestGenerateKey()
95 g_testGenKeyParams[index].paramSetParams.setKeyStorageFlag, in SafeTestGenerateKey()
96 g_testGenKeyParams[index].paramSetParams.keyStorageFlag in SafeTestGenerateKey()
[all …]
Dhks_mac_test.cpp129 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
135 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
137 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
138 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
139 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
140 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
142 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
143 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
144 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
147 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
[all …]
Dhks_derive_test.cpp147 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
152 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
153 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
154 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
156 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
157 ret = GenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
158 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
161 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
162 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
163 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/
Dhks_report_wrapper.c40 static int32_t AppendParamToExtra(const struct HksParam *paramIn, char *extraOut, uint32_t *index) in AppendParamToExtra() argument
44 …int32_t num = snprintf_s(extraOut + *index, EXTRA_DATA_SIZE - *index, EXTRA_DATA_SIZE - *index - 1… in AppendParamToExtra()
50 *index = *index + num; in AppendParamToExtra()
70 uint32_t *index) in AppendToExtra() argument
72 if (ISExceedTheLimitSize(*index)) { in AppendToExtra()
75 if (memcpy_s(extraOut + *index, EXTRA_DATA_SIZE - *index, tag->data, tag->size) != EOK) { in AppendToExtra()
79 *index += tag->size; in AppendToExtra()
82 if (ISExceedTheLimitSize(*index)) { in AppendToExtra()
85 if (memcpy_s(extraOut + *index, EXTRA_DATA_SIZE - *index, &split, sizeof(char)) != EOK) { in AppendToExtra()
89 *index += sizeof(char); in AppendToExtra()
[all …]
/base/global/i18n_lite/frameworks/i18n/src/
Dplural_format_impl.cpp203 bool PluralFormatImpl::ParseDecimalFormula(const std::string &rule, const int ruleSize, int &index, in ParseDecimalFormula() argument
207 if ((index < ruleSize) && (rule[index] == NUM_OF_FRACTION)) { in ParseDecimalFormula()
209 } else if ((index < ruleSize) && in ParseDecimalFormula()
210 ((rule[index] == FRACTION_NUMBER) || (rule[index] == FRACTION_NUMBER_WITH_ZERO))) { in ParseDecimalFormula()
215 index += SKIP_SYMBOL_LENGTH; in ParseDecimalFormula()
216 return ParseFormula(rule, ruleSize, index, currentNumber); in ParseDecimalFormula()
284 bool PluralFormatImpl::ParseFormula(const std::string &rule, const int ruleSize, int &index, const … in ParseFormula() argument
287 if ((index < ruleSize) && (rule[index] == MOD)) { in ParseFormula()
289 index += SKIP_SYMBOL_LENGTH; in ParseFormula()
290 int divisor = ParseNumber(rule, ruleSize, index); in ParseFormula()
[all …]
Ddate_time_data.cpp40 string DateTimeData::GetMonthName(int32_t index, DateTimeDataType type) in GetMonthName() argument
42 if ((index < 0) || (index >= MONTH_SIZE)) { in GetMonthName()
47 return Parse(formatAbbreviatedMonthNames, index); in GetMonthName()
50 return Parse(formatWideMonthNames, index); in GetMonthName()
53 return Parse(standaloneAbbreviatedMonthNames, index); in GetMonthName()
56 return Parse(standaloneWideMonthNames, index); in GetMonthName()
61 string DateTimeData::GetDayName(int32_t index, DateTimeDataType type) in GetDayName() argument
63 if ((index < 0) || (index >= DAY_SIZE)) { in GetDayName()
68 return Parse(formatAbbreviatedDayNames, index); in GetDayName()
71 return Parse(formatWideDayNames, index); in GetDayName()
[all …]
/base/telephony/cellular_call/services/connection/include/
Dsupplement_request_ims.h36 int32_t SetClipRequest(int32_t slotId, int32_t action, int32_t index);
46 int32_t GetClipRequest(int32_t slotId, int32_t index);
58 int32_t SetClirRequest(int32_t slotId, int32_t action, int32_t index);
68 int32_t GetClirRequest(int32_t slotId, int32_t index);
79 int32_t GetCallTransferRequest(int32_t slotId, int32_t reason, int32_t index);
91 …lTransferRequest(int32_t slotId, const CallTransferInfo &cfInfo, int32_t classType, int32_t index);
112 int32_t GetCallRestrictionRequest(int32_t slotId, const std::string &fac, int32_t index);
125 …RestrictionRequest(int32_t slotId, std::string &fac, int32_t mode, std::string &pw, int32_t index);
139 int32_t SetCallWaitingRequest(int32_t slotId, bool activate, int32_t classType, int32_t index);
149 int32_t GetCallWaitingRequest(int32_t slotId, int32_t index);
[all …]
/base/telephony/cellular_call/services/connection/src/
Dsupplement_request_ims.cpp26 int32_t SupplementRequestIms::SetClipRequest(int32_t slotId, int32_t action, int32_t index) in SetClipRequest() argument
34 return imsCallClient->SetClip(slotId, action, index); in SetClipRequest()
37 int32_t SupplementRequestIms::GetClipRequest(int32_t slotId, int32_t index) in GetClipRequest() argument
45 return imsCallClient->GetClip(slotId, index); in GetClipRequest()
48 int32_t SupplementRequestIms::SetClirRequest(int32_t slotId, int32_t action, int32_t index) in SetClirRequest() argument
56 return imsCallClient->SetClir(slotId, action, index); in SetClirRequest()
59 int32_t SupplementRequestIms::GetClirRequest(int32_t slotId, int32_t index) in GetClirRequest() argument
67 return imsCallClient->GetClir(slotId, index); in GetClirRequest()
70 int32_t SupplementRequestIms::GetCallTransferRequest(int32_t slotId, int32_t reason, int32_t index) in GetCallTransferRequest() argument
78 return imsCallClient->GetCallTransfer(slotId, reason, index); in GetCallTransferRequest()
[all …]
/base/useriam/user_auth_framework/common/utils/
Diam_mem.cpp29 int32_t UnpackUint64(const std::vector<uint8_t> &src, size_t index, uint64_t &data) in UnpackUint64() argument
31 if ((src.size() < index) || (src.size() - index < sizeof(uint64_t))) { in UnpackUint64()
34 … if (memcpy_s(static_cast<void *>(&data), sizeof(uint64_t), &src[index], sizeof(uint64_t)) != 0) { in UnpackUint64()
40 int32_t UnpackInt32(const std::vector<uint8_t> &src, size_t index, int32_t &data) in UnpackInt32() argument
42 if ((src.size() < index) || (src.size() - index < sizeof(int32_t))) { in UnpackInt32()
45 if (memcpy_s(static_cast<void *>(&data), sizeof(int32_t), &src[index], sizeof(int32_t)) != 0) { in UnpackInt32()
/base/location/test/fuzztest/locator/locatorbackgroundproxy_fuzzer/
Dlocatorbackgroundproxy_fuzzer.cpp29 int index = 0; in LocatorBackgroundProxyFuzzerTest() local
38 request->SetUid(data[index++]); in LocatorBackgroundProxyFuzzerTest()
39 request->SetPid(data[index++]); in LocatorBackgroundProxyFuzzerTest()
43 requestConfig->SetScenario(data[index++]); in LocatorBackgroundProxyFuzzerTest()
44 requestConfig->SetPriority(data[index++]); in LocatorBackgroundProxyFuzzerTest()
45 requestConfig->SetTimeInterval(data[index++]); in LocatorBackgroundProxyFuzzerTest()
46 requestConfig->SetDistanceInterval(data[index++]); in LocatorBackgroundProxyFuzzerTest()
47 requestConfig->SetMaxAccuracy(data[index++]); in LocatorBackgroundProxyFuzzerTest()
48 requestConfig->SetFixNumber(data[index++]); in LocatorBackgroundProxyFuzzerTest()
49 requestConfig->SetTimeOut(data[index++]); in LocatorBackgroundProxyFuzzerTest()
[all …]
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_rdb_helper.cpp108 int index = 0; in ReadApnResult() local
114 result->GetColumnIndex(PdpProfileData::PROFILE_ID, index); in ReadApnResult()
115 result->GetInt(index, apnBean.profileId); in ReadApnResult()
116 result->GetColumnIndex(PdpProfileData::PROFILE_NAME, index); in ReadApnResult()
117 result->GetString(index, apnBean.profileName); in ReadApnResult()
118 result->GetColumnIndex(PdpProfileData::MCC, index); in ReadApnResult()
119 result->GetString(index, apnBean.mcc); in ReadApnResult()
120 result->GetColumnIndex(PdpProfileData::MNC, index); in ReadApnResult()
121 result->GetString(index, apnBean.mnc); in ReadApnResult()
122 result->GetColumnIndex(PdpProfileData::APN, index); in ReadApnResult()
[all …]
/base/web/webview/ohos_adapter/net_proxy_adapter/src/
Dnet_proxy_adapter_impl.cpp81 for (size_t index = 0; index < CHAR_ARRAY_LENGTH_FOUR; ++index) { in MakeCharFour() local
82 charArrayFour[index] = table[index]; in MakeCharFour()
97 for (size_t index = 0; index < CHAR_ARRAY_LENGTH_THREE; ++index) { in MakeCharTree() local
98 charArrayThree[index] = table[index]; in MakeCharTree()
106 size_t index = 0; in Encode() local
111 charArrayThree[index] = *it; in Encode()
112 ++index; in Encode()
114 if (index != CHAR_ARRAY_LENGTH_THREE) { in Encode()
119 index = 0; in Encode()
121 if (index == 0) { in Encode()
[all …]
/base/security/device_auth/common_lib/interfaces/
Dhc_vector.h34 HcBool (*eraseElement)(struct V##ClassName*, Element*, uint32_t index); \
36 Element (*get)(const struct V##ClassName*, uint32_t index); \
37 Element* (*getp)(const struct V##ClassName*, uint32_t index); \
85 HcBool VErase##ClassName(ClassName* obj, Element* e, uint32_t index) { \
86 if (NULL == obj || NULL == e || index + 1 > obj->size(obj)) { \
90 return ParcelEraseBlock(&obj->parcel, index * sizeof(Element), sizeof(Element), e); \
102 Element VGet##ClassName(const ClassName* obj, uint32_t index) \
107 if (index < obj->size(obj)) { \
109 return *((Element*)(GetParcelData(&obj->parcel)) + index); \
118 Element* VGetPointer##ClassName(const ClassName* obj, uint32_t index) \
[all …]
/base/location/test/fuzztest/locator/locator_fuzzer/
Dlocator_fuzzer.cpp75 int index = 0; in TestStartLocating() local
76 locatorCallbackHostForTest_->SetFixNumber(data[index++]); in TestStartLocating()
79 requestConfig->SetScenario(data[index++]); in TestStartLocating()
80 requestConfig->SetPriority(data[index++]); in TestStartLocating()
81 requestConfig->SetTimeInterval(data[index++]); in TestStartLocating()
82 requestConfig->SetDistanceInterval(data[index++]); in TestStartLocating()
83 requestConfig->SetMaxAccuracy(data[index++]); in TestStartLocating()
84 requestConfig->SetFixNumber(data[index++]); in TestStartLocating()
85 requestConfig->SetTimeOut(data[index++]); in TestStartLocating()
128 int index = 0; in LocatorProxySendRequestTest() local
[all …]
/base/location/test/fuzztest/locator/requestmanager_fuzzer/
Drequestmanager_fuzzer.cpp41 int index = 0; in RequestManagerFuzzerTest() local
42 int32_t pid = data[index++]; in RequestManagerFuzzerTest()
43 int32_t uid = data[index++]; in RequestManagerFuzzerTest()
44 int32_t state = data[index++]; in RequestManagerFuzzerTest()
50 requestManager->HandlePermissionChanged(data[index++]); in RequestManagerFuzzerTest()
56 int index = 0; in RequestFuzzerTest() local
58 request->SetUid(data[index++]); in RequestFuzzerTest()
59 request->SetPid(data[index++]); in RequestFuzzerTest()
66 request->SetTokenId(data[index++]); in RequestFuzzerTest()
67 request->SetFirstTokenId(data[index++]); in RequestFuzzerTest()
[all …]

12345678910>>...29