Home
last modified time | relevance | path

Searched refs:infoList (Results 1 – 25 of 53) sorted by relevance

123

/base/theme/screenlock_mgr/services/src/
Dscreenlock_get_info_callback.cpp20 …nfoCallback::OnCredentialInfo(const std::vector<OHOS::UserIam::UserAuth::CredentialInfo> &infoList) in OnCredentialInfo() argument
23 if (infoList.size() > 0) { in OnCredentialInfo()
24 SCLOCK_HILOGD("infoList.size() = %{public}zu", infoList.size()); in OnCredentialInfo()
/base/global/i18n/frameworks/intl/test/fuzztest/holidaymanager_fuzzer/
Dholidaymanager_fuzzer.cpp32 std::vector<HolidayInfoItem> infoList; in DoSomethingInterestingWithMyAPI() local
36 infoList.push_back(item1); in DoSomethingInterestingWithMyAPI()
37 holidayDataMap.insert({input, infoList}); in DoSomethingInterestingWithMyAPI()
/base/security/device_security_level/baselib/msglib/src/lite/
Dmessenger_device_status_manager.c247 NodeBasicInfo *infoList = NULL; in MessengerGetDeviceNodeBasicInfo() local
250 int32_t ret = GetAllNodeDeviceInfo(instance->pkgName, &infoList, &infoListLen); in MessengerGetDeviceNodeBasicInfo()
258 const NodeBasicInfo *node = infoList + loop; in MessengerGetDeviceNodeBasicInfo()
272 if (infoList != NULL) { in MessengerGetDeviceNodeBasicInfo()
273 FreeNodeInfo(infoList); in MessengerGetDeviceNodeBasicInfo()
343 NodeBasicInfo *infoList = NULL; in MessengerForEachDeviceProcess() local
347 int32_t ret = GetAllNodeDeviceInfo(instance->pkgName, &infoList, &infoListLen); in MessengerForEachDeviceProcess()
354 const NodeBasicInfo *node = infoList + loop; in MessengerForEachDeviceProcess()
362 if (infoList != NULL) { in MessengerForEachDeviceProcess()
363 FreeNodeInfo(infoList); in MessengerForEachDeviceProcess()
/base/telephony/cellular_call/test/fuzztest/getcscalldata_fuzzer/
Dgetcscalldata_fuzzer.cpp56 CallInfoList infoList; in GetCsCallData() local
58 infoList.calls.push_back(info); in GetCsCallData()
84 handle->ReportCsCallsData(infoList); in GetCsCallData()
96 ImsCurrentCallList infoList; in RegisterHandler() local
98 infoList.calls.push_back(info); in RegisterHandler()
123 handle->ReportImsCallsData(infoList); in RegisterHandler()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/
Dstats_client_test_mock_parcel.cpp43 auto infoList = statsClient.GetBatteryStats(); variable
44 EXPECT_TRUE(infoList.empty());
70 auto infoList = sptrStatsProxy->GetBatteryStats(); variable
71 EXPECT_TRUE(infoList.empty());
98 auto infoList = sptrStatsProxy->GetBatteryStats(); variable
99 EXPECT_TRUE(infoList.empty());
Dstats_client_test_mock_peer.cpp38 auto infoList = statsClient.GetBatteryStats(); variable
39 EXPECT_TRUE(infoList.empty());
Dstats_client_test_mock_object.cpp39 auto infoList = sptrStatsProxy->GetBatteryStats(); variable
40 EXPECT_TRUE(infoList.empty());
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_idm_callback_service_test.cpp111 [](const std::vector<CredentialInfo> &infoList) { in __anon5e154aee0302() argument
112 EXPECT_EQ(infoList.size(), 3); in __anon5e154aee0302()
113 EXPECT_EQ(infoList[0].authType, PIN); in __anon5e154aee0302()
114 EXPECT_EQ(infoList[1].authType, FACE); in __anon5e154aee0302()
115 EXPECT_EQ(infoList[2].authType, FINGERPRINT); in __anon5e154aee0302()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/
Dhks_compatibility_test.cpp431 static void FreeKeyInfoList(struct HksKeyInfo **infoList, uint32_t listCount) in FreeKeyInfoList() argument
434 if ((*infoList)[i].alias.data == nullptr) { in FreeKeyInfoList()
437 HKS_FREE((*infoList)[i].alias.data); in FreeKeyInfoList()
438 if ((*infoList)[i].paramSet == nullptr) { in FreeKeyInfoList()
441 HksFreeParamSet(&((*infoList)[i].paramSet)); in FreeKeyInfoList()
443 HKS_FREE(*infoList); in FreeKeyInfoList()
448 …struct HksKeyInfo *infoList = (struct HksKeyInfo *)HksMalloc(sizeof(struct HksKeyInfo) * listCount… in BuildKeyInfoList() local
449 if (infoList == nullptr) { in BuildKeyInfoList()
452 …(void)memset_s(infoList, sizeof(struct HksKeyInfo) * listCount, 0, sizeof(struct HksKeyInfo) * lis… in BuildKeyInfoList()
455 infoList[i].alias.data = (uint8_t *)HksMalloc(HKS_MAX_KEY_ALIAS_LEN); in BuildKeyInfoList()
[all …]
/base/powermgr/battery_statistics/services/zidl/src/
Dbattery_stats_proxy.cpp31 BatteryStatsInfoList infoList; in GetBatteryStats() local
33 STATS_RETURN_IF_WITH_RET(remote == nullptr, infoList); in GetBatteryStats()
41 return infoList; in GetBatteryStats()
49 return infoList; in GetBatteryStats()
55 infoList.emplace_back(info); in GetBatteryStats()
58 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, reply, Int32, error, infoList); in GetBatteryStats()
60 return infoList; in GetBatteryStats()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/
Dstats_service_test_proxy.cpp39 BatteryStatsInfoList infoList; in GetBatteryStats() local
40 STATS_RETURN_IF_WITH_RET(stub_ == nullptr, infoList); in GetBatteryStats()
48 return infoList; in GetBatteryStats()
56 return infoList; in GetBatteryStats()
62 infoList.emplace_back(info); in GetBatteryStats()
64 return infoList; in GetBatteryStats()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/mock/
Dstats_service_test_mock_parcel.cpp59 auto infoList = g_statsServiceProxy->GetBatteryStats(); variable
60 EXPECT_TRUE(infoList.empty());
/base/telephony/state_registry/frameworks/js/napi/src/
Dnapi_telephony_observer.cpp41 …std::unique_ptr<SignalUpdateInfo> infoList = std::make_unique<SignalUpdateInfo>(slotId, signalInfo… in OnSignalInfoUpdated() local
42 if (infoList == nullptr) { in OnSignalInfoUpdated()
46 …enerManager::SendEvent(ToUint32t(TelephonyCallbackEventId::EVENT_ON_SIGNAL_INFO_UPDATE), infoList); in OnSignalInfoUpdated()
/base/account/os_account/frameworks/account_iam/test/unittest/include/
Daccount_iam_client_test_callback.h62 …D2(OnCredentialInfo, void(int32_t result, const std::vector<AccountSA::CredentialInfo> &infoList));
69 void OnCredentialInfo(int32_t result, const std::vector<AccountSA::CredentialInfo> &infoList) in OnCredentialInfo() argument
71 callback_->OnCredentialInfo(result, infoList); in OnCredentialInfo()
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_client_callback_proxy.cpp98 void GetCredInfoCallbackProxy::OnCredentialInfo(const std::vector<CredentialInfo> &infoList) in OnCredentialInfo() argument
106 if (!data.WriteUint32(infoList.size())) { in OnCredentialInfo()
110 for (const auto &info : infoList) { in OnCredentialInfo()
/base/theme/screenlock_mgr/services/include/
Dscreenlock_get_info_callback.h33 …void OnCredentialInfo(const std::vector<OHOS::UserIam::UserAuth::CredentialInfo> &infoList) overri…
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_idm_callback_service.cpp73 std::vector<CredentialInfo> infoList; in IdmGetCredInfoCallbackService() local
74 impl->OnCredentialInfo(infoList); in IdmGetCredInfoCallbackService()
Duser_idm_client_impl.cpp220 std::vector<CredentialInfo> infoList; in GetCredentialInfo() local
221 callback->OnCredentialInfo(infoList); in GetCredentialInfo()
228 std::vector<CredentialInfo> infoList; in GetCredentialInfo() local
229 callback->OnCredentialInfo(infoList); in GetCredentialInfo()
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_infos.h45 SignalUpdateInfo(int32_t slotId, std::vector<sptr<SignalInformation>> infoList) in SignalUpdateInfo()
46 : UpdateInfo(slotId), signalInfoList_(infoList) {} in SignalUpdateInfo()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dmanage_auto_start_apps_plugin.cpp103 std::vector<OHOS::AbilityRuntime::AutoStartupInfo> infoList; in OnGetPolicy() local
104 ErrCode res = autoStartUpclient->QueryAllAutoStartupApplications(infoList); in OnGetPolicy()
111 …std::for_each(infoList.begin(), infoList.end(), [&](const OHOS::AbilityRuntime::AutoStartupInfo &I… in OnGetPolicy()
/base/useriam/user_auth_framework/interfaces/inner_api/
Duser_idm_client_callback.h41 virtual void OnCredentialInfo(const std::vector<CredentialInfo> &infoList) = 0;
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp323 std::vector<PrintExtensionInfo> infoList; in CreateServiceWithoutEvent() local
324 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_NONE); in CreateServiceWithoutEvent()
515 std::vector<PrintExtensionInfo> infoList; variable
516 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_NO_PERMISSION);
532 std::vector<PrintExtensionInfo> infoList; variable
533 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_SERVER_FAILURE);
549 std::vector<PrintExtensionInfo> infoList; variable
550 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_NONE);
616 std::vector<PrintExtensionInfo> infoList; variable
617 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_NONE);
[all …]
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
Dmock_user_idm_client_callback.h28 MOCK_METHOD1(OnCredentialInfo, void(const std::vector<CredentialInfo> &infoList));
/base/account/os_account/test/fuzztest/iamaccount/getcredentialinfo_fuzzer/
Dgetcredentialinfo_fuzzer.cpp29 void OnCredentialInfo(int32_t result, const std::vector<CredentialInfo> &infoList) override in OnCredentialInfo() argument
/base/account/os_account/frameworks/account_iam/src/
Daccount_iam_callback_stub.cpp110 std::vector<CredentialInfo> infoList; in ProcOnCredentialInfo() local
141 infoList.push_back(info); in ProcOnCredentialInfo()
143 OnCredentialInfo(infoList); in ProcOnCredentialInfo()

123