Home
last modified time | relevance | path

Searched refs:infoList (Results 1 - 25 of 58) sorted by relevance

123

/base/theme/screenlock_mgr/services/src/
H A Dscreenlock_get_info_callback.cpp20 void ScreenLockGetInfoCallback::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/
H A 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/
H A 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()
[all...]
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Duser_idm_callback_service_test.cpp111 [](const std::vector<CredentialInfo> &infoList) { in HWTEST_F()
112 EXPECT_EQ(infoList.size(), 3); in HWTEST_F()
113 EXPECT_EQ(infoList[0].authType, PIN); in HWTEST_F()
114 EXPECT_EQ(infoList[1].authType, FACE); in HWTEST_F()
115 EXPECT_EQ(infoList[2].authType, FINGERPRINT); in HWTEST_F()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/
H A Dstats_client_test_mock_parcel.cpp45 auto infoList = statsClient.GetBatteryStats(); in HWTEST_F() local
46 EXPECT_TRUE(infoList.empty()); in HWTEST_F()
75 auto infoList = sptrStatsProxy->GetBatteryStats(); in HWTEST_F() local
76 EXPECT_TRUE(infoList.empty()); in HWTEST_F()
106 auto infoList = sptrStatsProxy->GetBatteryStats(); in HWTEST_F() local
107 EXPECT_TRUE(infoList.empty()); in HWTEST_F()
H A Dstats_client_test_mock_object.cpp43 auto infoList = sptrStatsProxy->GetBatteryStats(); in HWTEST_F() local
44 EXPECT_TRUE(infoList.empty()); in HWTEST_F()
H A Dstats_client_test_mock_peer.cpp40 auto infoList = statsClient.GetBatteryStats(); in HWTEST_F() local
41 EXPECT_TRUE(infoList.empty()); in HWTEST_F()
/base/telephony/cellular_call/test/fuzztest/getcscalldata_fuzzer/
H A 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
99 infoList.calls.push_back(info); in RegisterHandler()
124 handle->ReportImsCallsData(infoList); in RegisterHandler()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/
H A Dhks_compatibility_test.cpp502 static void FreeKeyInfoList(struct HksKeyInfo **infoList, uint32_t listCount) in FreeKeyInfoList() argument
505 if ((*infoList)[i].alias.data == nullptr) { in FreeKeyInfoList()
508 HKS_FREE((*infoList)[i].alias.data); in FreeKeyInfoList()
509 if ((*infoList)[i].paramSet == nullptr) { in FreeKeyInfoList()
512 HksFreeParamSet(&((*infoList)[i].paramSet)); in FreeKeyInfoList()
514 HKS_FREE(*infoList); in FreeKeyInfoList()
519 struct HksKeyInfo *infoList = (struct HksKeyInfo *)HksMalloc(sizeof(struct HksKeyInfo) * listCount); in BuildKeyInfoList() local
520 if (infoList == nullptr) { in BuildKeyInfoList()
523 (void)memset_s(infoList, sizeof(struct HksKeyInfo) * listCount, 0, sizeof(struct HksKeyInfo) * listCount); in BuildKeyInfoList()
526 infoList[ in BuildKeyInfoList()
[all...]
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/
H A 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/theme/screenlock_mgr/services/include/
H A Dscreenlock_get_info_callback.h33 void OnCredentialInfo(const std::vector<OHOS::UserIam::UserAuth::CredentialInfo> &infoList) override;
/base/powermgr/battery_statistics/test/unittest/src/servicetest/mock/
H A Dstats_service_test_mock_parcel.cpp61 auto infoList = g_statsServiceProxy->GetBatteryStats(); in HWTEST_F() local
62 EXPECT_TRUE(infoList.empty()); in HWTEST_F()
/base/account/os_account/frameworks/account_iam/test/unittest/include/
H A Daccount_iam_client_test_callback.h62 MOCK_METHOD2(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/
H A 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/telephony/state_registry/frameworks/js/napi/src/
H A Dnapi_telephony_observer.cpp41 std::unique_ptr<SignalUpdateInfo> infoList = std::make_unique<SignalUpdateInfo>(slotId, signalInfoList); in OnSignalInfoUpdated() local
42 if (infoList == nullptr) { in OnSignalInfoUpdated()
46 EventListenerManager::SendEvent(ToUint32t(TelephonyCallbackEventId::EVENT_ON_SIGNAL_INFO_UPDATE), infoList); in OnSignalInfoUpdated() local
/base/powermgr/battery_statistics/services/zidl/src/
H A 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/account/os_account/interfaces/innerkits/account_iam/native/include/
H A Daccount_iam_client_callback.h31 virtual void OnCredentialInfo(int32_t result, const std::vector<CredentialInfo> &infoList) = 0;
H A Diaccount_iam_callback.h36 virtual void OnCredentialInfo(const std::vector<CredentialInfo> &infoList) = 0;
/base/useriam/user_auth_framework/interfaces/inner_api/
H A Duser_idm_client_callback.h39 * @param infoList The credential info list.
41 virtual void OnCredentialInfo(const std::vector<CredentialInfo> &infoList) = 0;
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
H A Dmock_user_idm_client_callback.h28 MOCK_METHOD1(OnCredentialInfo, void(const std::vector<CredentialInfo> &infoList));
/base/account/os_account/frameworks/account_iam/src/
H A Daccount_iam_callback_service.cpp54 void GetCredInfoCallbackService::OnCredentialInfo(const std::vector<CredentialInfo> &infoList) in OnCredentialInfo() argument
60 callback_->OnCredentialInfo(ERR_OK, infoList); in OnCredentialInfo()
H A Daccount_iam_callback_stub.cpp110 std::vector<CredentialInfo> infoList; in ProcOnCredentialInfo() local
141 infoList.push_back(info); in ProcOnCredentialInfo()
143 OnCredentialInfo(infoList); in ProcOnCredentialInfo()
/base/telephony/state_registry/frameworks/js/napi/include/
H A Dupdate_infos.h45 SignalUpdateInfo(int32_t slotId, std::vector<sptr<SignalInformation>> infoList) in SignalUpdateInfo()
46 : UpdateInfo(slotId), signalInfoList_(infoList) {} in SignalUpdateInfo()
/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Duser_idm_callback_service.cpp73 std::vector<CredentialInfo> infoList; in IdmGetCredInfoCallbackService()
74 impl->OnCredentialInfo(infoList); in IdmGetCredInfoCallbackService()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/systemapi_wrap/useridm_test/user_iam_api_mock/
H A Duser_iam_define.h71 virtual void OnCredentialInfo(const std::vector<CredentialInfo> &infoList) = 0;

Completed in 9 milliseconds

123