Home
last modified time | relevance | path

Searched refs:apiVersion (Results 1 – 25 of 67) sorted by relevance

123

/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_info.h55 …ErrCode EnableAppAccess(const std::string &authorizedApp, const uint32_t apiVersion = Constants::A…
56 …ErrCode DisableAppAccess(const std::string &authorizedApp, const uint32_t apiVersion = Constants::…
75 …const std::string &authType, std::string &token, const uint32_t apiVersion = Constants::API_VERSIO…
80 …const std::string &bundleName, bool isVisible, const uint32_t apiVersion = Constants::API_VERSION8…
82 …const std::string &bundleName, bool &isVisible, const uint32_t apiVersion = Constants::API_VERSION…
85 … std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8) const;
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
Duser_auth_interface.h35 …virtual int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrust…
46 …virtual uint64_t Auth(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType,
49 virtual uint64_t AuthWidget(int32_t apiVersion, const AuthParam &authParam,
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_user_auth_service.h27 …MOCK_METHOD3(GetAvailableStatus, int32_t(int32_t apiVersion, AuthType authType, AuthTrustLevel aut…
41 uint64_t(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType,
44 MOCK_METHOD4(AuthWidget, uint64_t(int32_t apiVersion, const AuthParam &authParam,
/base/account/os_account/services/accountmgr/include/appaccount/
Dinner_app_account_manager.h47 …AppAccountCallingInfo &appAccountCallingInfo, const uint32_t apiVersion = Constants::API_VERSION7);
49 …AppAccountCallingInfo &appAccountCallingInfo, const uint32_t apiVersion = Constants::API_VERSION7);
72 std::string &token, const uint32_t apiVersion = Constants::API_VERSION8);
75 … const AuthenticatorSessionRequest &request, const uint32_t apiVersion = Constants::API_VERSION8);
77 const uint32_t apiVersion = Constants::API_VERSION8);
79 bool &isVisible, const uint32_t apiVersion = Constants::API_VERSION8);
82 std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8);
Dapp_account_control_manager.h53 const uint32_t apiVersion = Constants::API_VERSION7);
56 const uint32_t apiVersion = Constants::API_VERSION7);
75 std::string &token, const uint32_t apiVersion = Constants::API_VERSION8);
78 … const AuthenticatorSessionRequest &request, const uint32_t apiVersion = Constants::API_VERSION8);
80 … const AuthenticatorSessionRequest &request, const uint32_t apiVersion = Constants::API_VERSION8);
82 bool &isVisible, const uint32_t apiVersion = Constants::API_VERSION8);
85 std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8);
/base/account/os_account/services/accountmgr/src/appaccount/
Dinner_app_account_manager.cpp95 AppAccountCallingInfo &appAccountCallingInfo, const uint32_t apiVersion) in EnableAppAccess() argument
100 name, authorizedApp, appAccountCallingInfo, appAccountInfo, apiVersion); in EnableAppAccess()
109 AppAccountCallingInfo &appAccountCallingInfo, const uint32_t apiVersion) in DisableAppAccess() argument
114 name, authorizedApp, appAccountCallingInfo, appAccountInfo, apiVersion); in DisableAppAccess()
284 const AuthenticatorSessionRequest &request, std::string &token, const uint32_t apiVersion) in GetOAuthToken() argument
286 return controlManager_.GetOAuthToken(request, token, apiVersion); in GetOAuthToken()
303 …untManager::DeleteOAuthToken(const AuthenticatorSessionRequest &request, const uint32_t apiVersion) in DeleteOAuthToken() argument
305 return controlManager_.DeleteOAuthToken(request, apiVersion); in DeleteOAuthToken()
309 const AuthenticatorSessionRequest &request, const uint32_t apiVersion) in SetOAuthTokenVisibility() argument
311 return controlManager_.SetOAuthTokenVisibility(request, apiVersion); in SetOAuthTokenVisibility()
[all …]
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Dhap_token_info.h68 int32_t apiVersion; variable
102 int32_t apiVersion; variable
/base/useriam/user_auth_framework/frameworks/native/ipc/inc/
Duser_auth_proxy.h31 …int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel) o…
39 uint64_t Auth(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType,
41 uint64_t AuthWidget(int32_t apiVersion, const AuthParam &authParam,
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dhap_token_info_inner.cpp41 tokenInfoBasic_.apiVersion = 0; in HapTokenInfoInner()
58 tokenInfoBasic_.apiVersion = info.apiVersion; in HapTokenInfoInner()
82 … const std::string& appIDDesc, int32_t apiVersion, const HapPolicyParams& policy, bool isSystemApp) in Update() argument
85 tokenInfoBasic_.apiVersion = apiVersion; in Update()
112 outGenericValues.Put(TokenFiledConst::FIELD_API_VERSION, tokenInfoBasic_.apiVersion); in TranslationIntoGenericValues()
133 tokenInfoBasic_.apiVersion = inGenericValues.GetInt(TokenFiledConst::FIELD_API_VERSION); in RestoreHapTokenBasicInfo()
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Duser_auth_stub.cpp81 int32_t apiVersion; in GetAvailableStatusStub() local
91 if (!data.ReadInt32(apiVersion)) { in GetAvailableStatusStub()
96 int32_t result = GetAvailableStatus(apiVersion, in GetAvailableStatusStub()
201 int32_t apiVersion; in AuthStub() local
226 if (!data.ReadInt32(apiVersion)) { in AuthStub()
231 uint64_t contextId = Auth(apiVersion, challenge, static_cast<AuthType>(authType), in AuthStub()
263 int32_t apiVersion; in AuthWidgetStub() local
264 if (!data.ReadInt32(apiVersion)) { in AuthWidgetStub()
269 uint64_t contextId = AuthWidget(apiVersion, authParam, widgetParam, callback); in AuthWidgetStub()
/base/useriam/user_auth_framework/frameworks/native/client/inc/
Duser_auth_client_impl.h34 … int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel);
41 …uint64_t BeginNorthAuthentication(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthT…
48 uint64_t BeginWidgetAuth(int32_t apiVersion, const AuthParam &authParam,
/base/security/access_token/frameworks/accesstoken/src/
Dhap_info_parcel.cpp29 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.apiVersion)); in Marshalling()
45 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.apiVersion), hapInfoParcel); in Unmarshalling()
Dhap_token_info_parcel.cpp28 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.apiVersion)); in Marshalling()
53 …RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.apiVersion), hapTokenInfoParc… in Unmarshalling()
/base/useriam/user_auth_framework/test/unittest/services/src/
Duser_auth_service_test.cpp740 int32_t apiVersion = 10; variable
753 …EXPECT_EQ(service.AuthWidget(apiVersion, authParam, widgetParam, testUserAuthCallback), (uint64_t)…
759 int32_t apiVersion = 10; variable
776 uint64_t conxtId = service.AuthWidget(apiVersion, authParam, widgetParam, callbackInterface);
784 int32_t apiVersion = 10; variable
801 uint64_t conxtId = service.AuthWidget(apiVersion, authParam, widgetParam, callbackInterface);
809 int32_t apiVersion = 10; variable
826 uint64_t conxtId = service.AuthWidget(apiVersion, authParam, widgetParam, callbackInterface);
834 int32_t apiVersion = 10; variable
852 uint64_t conxtId = service.AuthWidget(apiVersion, authParam, widgetParam, callbackInterface);
[all …]
/base/useriam/user_auth_framework/services/ipc/inc/
Duser_auth_service.h39 …int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel) o…
47 uint64_t Auth(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType,
49 uint64_t AuthWidget(int32_t apiVersion, const AuthParam &authParam,
/base/security/access_token/test/fuzztest/access_token_stub/updatehaptokenstub_fuzzer/
Dupdatehaptokenstub_fuzzer.cpp54 int32_t apiVersion = 8; in UpdateHapTokenStubFuzzTest() local
68 if (!datas.WriteInt32(apiVersion)) { in UpdateHapTokenStubFuzzTest()
/base/time/time_service/services/ipc/base/
Dtime_service_interface.h38 virtual int32_t SetTime(int64_t time, APIVersion apiVersion = APIVersion::API_VERSION_7) = 0;
45 …virtual int32_t SetTimeZone(const std::string &timezoneId, APIVersion apiVersion = APIVersion::API…
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_info_test.cpp719 int32_t apiVersion = 9; variable
721 STRING_AUTH_TYPE, STRING_BUNDLE_NAME, isVisible, apiVersion);
723 …AccountInfo.CheckOAuthTokenVisibility(STRING_AUTH_TYPE, STRING_BUNDLE_NAME, isVisible, apiVersion);
764 int32_t apiVersion = 9; variable
771 result = appAccountInfo.GetOAuthToken(STRING_AUTH_TYPE, token, apiVersion);
776 result = appAccountInfo.GetOAuthToken(STRING_AUTH_TYPE, token, apiVersion);
791 int32_t apiVersion = 9; variable
798 result = appAccountInfo.GetOAuthToken(STRING_AUTH_TYPE, token, apiVersion);
803 result = appAccountInfo.GetOAuthToken(STRING_AUTH_TYPE, token, apiVersion);
818 int32_t apiVersion = 9; variable
[all …]
/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
Duser_auth_service_fuzzer.cpp125 int32_t apiVersion = parcel.ReadInt32(); in FuzzGetAvailableStatus() local
128 g_userAuthService.GetAvailableStatus(apiVersion, authType, authTrustLevel); in FuzzGetAvailableStatus()
173 int32_t apiVersion = parcel.ReadInt32(); in FuzzAuth() local
182 g_userAuthService.Auth(apiVersion, challenge, authType, authTrustLevel, callback); in FuzzAuth()
235 int32_t apiVersion = parcel.ReadInt32(); in FuzzAuthWidget() local
252 g_userAuthService.AuthWidget(apiVersion, authParam, widgetParam, callback); in FuzzAuthWidget()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp162 int32_t apiVersion = 0; in GetSelfPermissionsState() local
163 if (!PermissionManager::GetInstance().GetApiVersionByTokenId(callingTokenID, apiVersion)) { in GetSelfPermissionsState()
167 …_LOG_INFO(LABEL, "callingTokenID: %{public}d, apiVersion: %{public}d", callingTokenID, apiVersion); in GetSelfPermissionsState()
183 if (apiVersion >= ACCURATE_LOCATION_API_VERSION) { in GetSelfPermissionsState()
185 …needRes = PermissionManager::GetInstance().LocationPermissionSpecialHandle(reqPermList, apiVersion, in GetSelfPermissionsState()
194 (apiVersion >= ACCURATE_LOCATION_API_VERSION)) { in GetSelfPermissionsState()
198 …ionManager::GetInstance().GetSelfPermissionState(permsList, reqPermList[i].permsState, apiVersion); in GetSelfPermissionsState()
314 …bool isSystemApp, const std::string& appIDDesc, int32_t apiVersion, const HapPolicyParcel& policyP… in UpdateHapToken() argument
318 …AccessTokenInfoManager::GetInstance().UpdateHapToken(tokenIdEx, isSystemApp, appIDDesc, apiVersion, in UpdateHapToken()
/base/time/time_service/services/ipc/proxy/inner_api_include/
Dtime_service_proxy.h30 int32_t SetTime(int64_t time, APIVersion apiVersion = APIVersion::API_VERSION_7) override;
31 …int32_t SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion = APIVersion::API_VERSION…
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_manager.h64 … std::vector<PermissionStateFull> permsList, PermissionListState &permState, int32_t apiVersion);
68 bool GetApiVersionByTokenId(AccessTokenID tokenID, int32_t& apiVersion);
71 …ionPermissionSpecialHandle(std::vector<PermissionListStateParcel>& reqPermList, int32_t apiVersion,
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp120 ErrCode AppAccountInfo::EnableAppAccess(const std::string &authorizedApp, const uint32_t apiVersion) in EnableAppAccess() argument
123 if (!it.second && apiVersion < Constants::API_VERSION9) { in EnableAppAccess()
129 …rCode AppAccountInfo::DisableAppAccess(const std::string &authorizedApp, const uint32_t apiVersion) in DisableAppAccess() argument
132 if (result == 0 && apiVersion < Constants::API_VERSION9) { in DisableAppAccess()
283 …fo::GetOAuthToken(const std::string &authType, std::string &token, const uint32_t apiVersion) const in GetOAuthToken()
287 if (apiVersion >= Constants::API_VERSION9) { in GetOAuthToken()
344 …st std::string &authType, const std::string &bundleName, bool isVisible, const uint32_t apiVersion) in SetOAuthTokenVisibility() argument
351 if (apiVersion >= Constants::API_VERSION9) { in SetOAuthTokenVisibility()
381 …:string &authType, const std::string &bundleName, bool &isVisible, const uint32_t apiVersion) const in CheckOAuthTokenVisibility()
390 if (apiVersion >= Constants::API_VERSION9) { in CheckOAuthTokenVisibility()
[all …]
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_auth_client_test.cpp65 [&testApiVersion, &testAuthType, &testAtl](int32_t apiVersion, AuthType authType,
67 EXPECT_EQ(apiVersion, testApiVersion); in __anon47d8997b0102()
221 … [&testApiVersion, &testChallenge, &testAuthType, &testAtl, &testContextId](int32_t apiVersion,
224 EXPECT_EQ(apiVersion, testApiVersion); in __anon47d8997b0402()
502 static const int32_t apiVersion = 0; variable
507 uint64_t widgetAuth = UserAuthClientImpl::Instance().BeginWidgetAuth(apiVersion, authParam,
514 static const int32_t apiVersion = 0; variable
518 uint64_t widgetAuth = UserAuthClientImpl::Instance().BeginWidgetAuth(apiVersion, authParam,
540 [&testVersion, &testParam, &testWidgetParam, &testContextVersion](int32_t apiVersion,
543 EXPECT_EQ(apiVersion, testVersion); in __anon47d8997b0b02()
[all …]
/base/update/sys_installer/services/module_update/util/include/
Dmodule_file.h33 uint32_t apiVersion; member
39 … return std::to_string(apiVersion) + std::to_string(versionCode) + std::to_string(patchVersion); in string()

123