/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
H A D | app_account_manager.h | 52 * Only the owner of the application account has the permission to call this method. 61 * @brief Adds an application account of a specified owner implicitly. 62 * @param owner - Indicates the account owner of your application or third-party applications. 68 static ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 74 * Only the owner of the application account has the permission to call this method. 83 * @brief Creates an application account of a specified owner implicitly. 84 * @param owner - Indicates the account owner of your application or third-party applications. 88 static ErrCode CreateAccountImplicitly(const std::string &owner, cons [all...] |
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_subscribe_manager.cpp | 104 std::vector<AppAccountSubscribeRecordPtr> AppAccountSubscribeManager::GetSubscribeRecords(const std::string &owner) in GetSubscribeRecords() argument 113 auto subscribeRecordsPtr = ownerSubscribeRecords_.find(owner); in GetSubscribeRecords() 127 if (std::find(owners.begin(), owners.end(), owner) == owners.end()) { in GetSubscribeRecords() 128 ACCOUNT_LOGE("failed to find owner in owners"); in GetSubscribeRecords() 160 for (auto owner : owners) { in CheckAppAccess() 161 if (owner == bundleName) { in CheckAppAccess() 167 [owner](const std::string &account) { in CheckAppAccess() 168 auto position = account.find(owner); in CheckAppAccess() 199 for (auto owner : owners) { in InsertSubscribeRecord() 200 auto item = ownerSubscribeRecords_.find(owner); in InsertSubscribeRecord() 333 std::string owner; GetAccessibleAccountsBySubscribeInfo() local [all...] |
H A D | app_account_authenticator_manager.cpp | 27 static ErrCode QueryAbilityInfos(const std::string &owner, int32_t userId, in QueryAbilityInfos() argument 32 want.SetBundle(owner); in QueryAbilityInfos() 57 const std::string &owner, int32_t userId, AuthenticatorInfo &info) in GetAuthenticatorInfo() 61 ErrCode ret = QueryAbilityInfos(owner, userId, abilityInfos, extensionInfos); in GetAuthenticatorInfo() 71 info.owner = owner; in GetAuthenticatorInfo() 83 info.owner = owner; in GetAuthenticatorInfo() 56 GetAuthenticatorInfo( const std::string &owner, int32_t userId, AuthenticatorInfo &info) GetAuthenticatorInfo() argument
|
H A D | app_account_manager_service.cpp | 61 ErrCode AppAccountManagerService::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument 70 request.owner = owner; in AddAccountImplicitly() 93 ErrCode AppAccountManagerService::CreateAccountImplicitly(const std::string &owner, in CreateAccountImplicitly() argument 102 request.owner = owner; in CreateAccountImplicitly() 165 ACCOUNT_LOGE("authorizedApp is the same to owner"); in EnableAppAccess() 192 ACCOUNT_LOGE("authorizedApp is the same to owner"); in DisableAppAccess() 214 ACCOUNT_LOGE("authorizedApp is the same to owner"); in SetAppAccess() 313 ErrCode AppAccountManagerService::Authenticate(const std::string &name, const std::string &owner, in Authenticate() argument 334 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument 348 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument 377 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument 392 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument 485 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument 498 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument 550 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument 594 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument 659 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument 674 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument 689 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument [all...] |
/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account_manager.cpp | 28 ErrCode AppAccountManager::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument 32 owner, authType, options, callback); in AddAccountImplicitly() 40 ErrCode AppAccountManager::CreateAccountImplicitly(const std::string &owner, in CreateAccountImplicitly() argument 43 return AppAccount::GetInstance().CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly() 108 ErrCode AppAccountManager::Authenticate(const std::string &name, const std::string &owner, in Authenticate() argument 111 return AppAccount::GetInstance().Authenticate(name, owner, authType, options, callback); in Authenticate() 115 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetOAuthToken() 117 return AppAccount::GetInstance().GetOAuthToken(name, owner, authType, token); in GetOAuthToken() 121 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetAuthToken() 123 return AppAccount::GetInstance().GetAuthToken(name, owner, authTyp in GetAuthToken() 114 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument 120 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument 132 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument 138 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument 172 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument 177 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument 200 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument 210 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument 232 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument 238 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument 244 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument [all...] |
H A D | app_account.cpp | 64 ErrCode AppAccount::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument 67 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constants::OWNER_MAX_SIZE, "owner is empty or oversize"); in AddAccountImplicitly() 75 return proxy->AddAccountImplicitly(owner, authType, options, callback); in AddAccountImplicitly() 95 ErrCode AppAccount::CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, in CreateAccountImplicitly() argument 98 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constants::OWNER_MAX_SIZE, "owner is empty or oversize"); in CreateAccountImplicitly() 108 return proxy->CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly() 253 ErrCode AppAccount::Authenticate(const std::string &name, const std::string &owner, const std::string &authType, in Authenticate() argument 257 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constant in Authenticate() 268 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument 282 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument 307 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument 322 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument 404 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument 414 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument 462 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument 512 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument 527 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument 541 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument 561 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument [all...] |
/base/security/device_security_level/services/sa/lite/small/ |
H A D | dslm_ipc_process.c | 85 static BOOL DslmPushRemoteStub(uint32_t owner, uint32_t cookie, IpcIo *reply) in DslmPushRemoteStub() argument 90 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPushRemoteStub() 107 static IpcIo *DslmPopRemoteStub(uint32_t owner, uint32_t cookie) in DslmPopRemoteStub() argument 114 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPopRemoteStub() 134 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInfo *info) in ProcessCallback() argument 141 reply = DslmPopRemoteStub(owner, cookie); in ProcessCallback() 168 uint64_t owner = GetCallingPid(); in DslmProcessGetDeviceSecurityLevel() local 169 DslmPushRemoteStub(owner, cookie, reply); in DslmProcessGetDeviceSecurityLevel() 170 ret = OnRequestDeviceSecLevelInfo(&identity, &option, owner, cookie, ProcessCallback); in DslmProcessGetDeviceSecurityLevel() 174 DslmPopRemoteStub(owner, cooki in DslmProcessGetDeviceSecurityLevel() [all...] |
/base/security/device_security_level/services/sa/lite/mini/ |
H A D | dslm_inner_process.c | 60 static BOOL DslmPushRemoteStub(uint32_t owner, uint32_t cookie, const DeviceIdentify *identify, in DslmPushRemoteStub() argument 66 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPushRemoteStub() 84 static DslmRemoteStubListNode *DslmPopRemoteStub(uint32_t owner, uint32_t cookie) in DslmPopRemoteStub() argument 92 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPopRemoteStub() 111 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInfo *info) in ProcessCallback() argument 117 DslmRemoteStubListNode *item = DslmPopRemoteStub(owner, cookie); in ProcessCallback() 145 uint64_t owner = SINGLE_OWNER; in DslmProcessGetDeviceSecurityLevel() local 146 DslmPushRemoteStub(owner, req->cookie, req->identity, callback); in DslmProcessGetDeviceSecurityLevel() 147 int32_t ret = OnRequestDeviceSecLevelInfo(req->identity, req->option, owner, req->cookie, ProcessCallback); in DslmProcessGetDeviceSecurityLevel() 151 DslmRemoteStubListNode *item = DslmPopRemoteStub(owner, re in DslmProcessGetDeviceSecurityLevel() [all...] |
/base/account/os_account/frameworks/appaccount/cj/include/ |
H A D | appaccount_ffi.h | 52 FFI_EXPORT ErrCArrAppAccountInfo FfiAppAccountAppAccountManagerGetAccountsByOwner(int id, char *owner); 55 FFI_EXPORT RetDataCString FfiAppAccountAppAccountManagerGetAuthToken(int id, char *name, char *owner, char *authType); 58 int id, char *name, char *owner, char *authType, char *token); 63 FFI_EXPORT ErrCArrAuthTokenInfo FfiAppAccountAppAccountManagerGetAllAuthTokens(int id, char *name, char *owner); 65 FFI_EXPORT ErrCAuthenticatorInfo FfiAppAccountAppAccountManagerQueryAuthenticatorInfo(int id, char *owner); 75 int id, char *name, char *owner, CArrString labels, void (*callback)(RetDataBool infoRef)); 79 int id, char *name, char *owner, CAuthCallback callbackId, CVerifyCredentialOptions cOptions); 81 int id, char *owner, CAuthCallback callbackId, CSetPropertiesOptions cOptions);
|
H A D | appaccount_impl.h | 45 ErrCArrAppAccountInfo getAccountsByOwner(std::string owner); 48 RetDataCString getAuthToken(std::string name, std::string owner, std::string authType); 50 int32_t deleteAuthToken(std::string name, std::string owner, std::string authType, std::string token); 53 ErrCArrAuthTokenInfo getAllAuthTokens(std::string name, std::string owner); 55 ErrCAuthenticatorInfo queryAuthenticatorInfo(std::string owner); 61 std::string name, std::string owner, CArrString labels, const std::function<void(RetDataBool)> &callbackRef); 65 std::string name, std::string owner, CAuthCallback callbackId, CVerifyCredentialOptions cOptions); 66 int32_t setAuthenticatorProperties(std::string owner, CAuthCallback callbackId, CSetPropertiesOptions cOptions); 69 bool ParseContextForCheckAccountLabels(std::string name, std::string owner, CArrString labels, 96 CAuthResult Convert2CAuthResult(std::string name, std::string owner, st [all...] |
/base/account/os_account/frameworks/appaccount/cj/src/ |
H A D | appaccount_ffi.cpp | 91 ErrCArrAppAccountInfo FfiAppAccountAppAccountManagerGetAccountsByOwner(int id, char *owner) in FfiAppAccountAppAccountManagerGetAccountsByOwner() argument 99 return instance->getAccountsByOwner(owner); in FfiAppAccountAppAccountManagerGetAccountsByOwner() 122 RetDataCString FfiAppAccountAppAccountManagerGetAuthToken(int id, char *name, char *owner, char *authType) in FfiAppAccountAppAccountManagerGetAuthToken() argument 129 return instance->getAuthToken(name, owner, authType); in FfiAppAccountAppAccountManagerGetAuthToken() 141 int32_t FfiAppAccountAppAccountManagerDeleteAuthToken(int id, char *name, char *owner, char *authType, char *token) in FfiAppAccountAppAccountManagerDeleteAuthToken() argument 147 return instance->deleteAuthToken(name, owner, authType, token); in FfiAppAccountAppAccountManagerDeleteAuthToken() 170 ErrCArrAuthTokenInfo FfiAppAccountAppAccountManagerGetAllAuthTokens(int id, char *name, char *owner) in FfiAppAccountAppAccountManagerGetAllAuthTokens() argument 178 return instance->getAllAuthTokens(name, owner); in FfiAppAccountAppAccountManagerGetAllAuthTokens() 191 ErrCAuthenticatorInfo FfiAppAccountAppAccountManagerQueryAuthenticatorInfo(int id, char *owner) in FfiAppAccountAppAccountManagerQueryAuthenticatorInfo() argument 199 return instance->queryAuthenticatorInfo(owner); in FfiAppAccountAppAccountManagerQueryAuthenticatorInfo() 259 FfiAppAccountAppAccountManagerCheckAccountLabels( int id, char *name, char *owner, CArrString labels, void (*callback)(RetDataBool infoRef)) FfiAppAccountAppAccountManagerCheckAccountLabels() argument 283 FfiAppAccountAppAccountManagerVerifyCredential( int id, char *name, char *owner, CAuthCallback callbackId, CVerifyCredentialOptions cOptions) FfiAppAccountAppAccountManagerVerifyCredential() argument 293 FfiAppAccountAppAccountManagerSetAuthenticatorProperties( int id, char *owner, CAuthCallback callbackId, CSetPropertiesOptions cOptions) FfiAppAccountAppAccountManagerSetAuthenticatorProperties() argument [all...] |
/base/account/os_account/frameworks/appaccount/native/include/ |
H A D | app_account_proxy.h | 30 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 33 ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, 57 ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authType, 60 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override; 62 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override; 65 ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, const std::string &authType, 67 ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, const std::string &authType, 77 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) override; 79 const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) override; 86 ErrCode GetAllAccounts(const std::string &owner, st [all...] |
H A D | app_account.h | 37 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 40 ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, 61 ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authType, 64 const std::string &name, const std::string &owner, const std::string &authType, std::string &token); 66 const std::string &name, const std::string &owner, const std::string &authType, std::string &token); 69 const std::string &name, const std::string &owner, const std::string &authType, const std::string &token); 71 const std::string &name, const std::string &owner, const std::string &authType, const std::string &token); 80 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info); 82 const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos); 89 ErrCode GetAllAccounts(const std::string &owner, st [all...] |
H A D | iapp_account.h | 34 virtual ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 37 virtual ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, 61 virtual ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authType, 64 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) = 0; 66 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) = 0; 70 const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) = 0; 72 const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) = 0; 81 virtual ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) = 0; 82 virtual ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 90 virtual ErrCode GetAllAccounts(const std::string &owner, st [all...] |
/base/security/device_security_level/services/sa/standard/ |
H A D | dslm_ipc_process.cpp | 43 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInfo *info) in ProcessCallback() argument 48 auto object = Singleton<DslmIpcProcess::RemoteHolder>::GetInstance().Pop(owner, cookie); in ProcessCallback() 166 auto owner = IPCSkeleton::GetCallingPid(); in DslmProcessGetDeviceSecurityLevel() local 167 Singleton<RemoteHolder>::GetInstance().Push(owner, cookie, callback); in DslmProcessGetDeviceSecurityLevel() 169 ret = OnRequestDeviceSecLevelInfo(&identity, &option, owner, cookie, ProcessCallback); in DslmProcessGetDeviceSecurityLevel() 171 Singleton<RemoteHolder>::GetInstance().Pop(owner, cookie); in DslmProcessGetDeviceSecurityLevel() 178 Singleton<RemoteHolder>::GetInstance().Pop(owner, cookie); in DslmProcessGetDeviceSecurityLevel() 185 bool DslmIpcProcess::RemoteHolder::Push(uint32_t owner, uint32_t cookie, const sptr<IRemoteObject> &object) in Push() argument 188 uint64_t key = (static_cast<uint64_t>(owner) << COOKIE_SHIFT) | cookie; in Push() 196 sptr<IRemoteObject> DslmIpcProcess::RemoteHolder::Pop(uint32_t owner, uint32_ argument [all...] |
/base/security/device_security_level/services/dfx/ |
H A D | dslm_hitrace.cpp | 42 void DslmStartProcessTraceAsync(const char *value, uint32_t owner, uint32_t cookie) in DslmStartProcessTraceAsync() argument 44 std::string traceValue = std::string(value) + "_" + std::to_string(owner) + "_" + std::to_string(cookie); in DslmStartProcessTraceAsync() 48 void DslmFinishProcessTraceAsync(const char *value, uint32_t owner, uint32_t cookie) in DslmFinishProcessTraceAsync() argument 50 std::string traceValue = std::string(value) + "_" + std::to_string(owner) + "_" + std::to_string(cookie); in DslmFinishProcessTraceAsync()
|
/base/account/os_account/services/accountmgr/test/mock/app_account/ |
H A D | mock_app_account_stub.cpp | 29 const std::string STRING_OWNER = "com.example.owner"; 59 ErrCode MockAppAccountStub::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument 72 ErrCode MockAppAccountStub::CreateAccountImplicitly(const std::string &owner, in CreateAccountImplicitly() argument 177 ErrCode MockAppAccountStub::Authenticate(const std::string &name, const std::string &owner, in Authenticate() argument 186 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetOAuthToken() 194 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetAuthToken() 209 ErrCode MockAppAccountStub::DeleteOAuthToken(const std::string &name, const std::string &owner, in DeleteOAuthToken() argument 217 ErrCode MockAppAccountStub::DeleteAuthToken(const std::string &name, const std::string &owner, in DeleteAuthToken() argument 258 ErrCode MockAppAccountStub::GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &authenticator) in GetAuthenticatorInfo() argument 265 ErrCode MockAppAccountStub::GetAllOAuthTokens(const std::string &name, const std::string &owner, in GetAllOAuthTokens() argument 185 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument 193 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument 296 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument 310 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument 342 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument 350 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument 358 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument [all...] |
H A D | mock_app_account_stub.h | 28 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 31 ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, 54 ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authType, 57 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override; 59 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override; 62 ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, 64 ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, 74 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &authenticator) override; 75 ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 83 ErrCode GetAllAccounts(const std::string &owner, st [all...] |
H A D | mock_app_account_subscribe_manager.cpp | 21 const std::string STRING_OWNER = "com.example.owner"; 53 auto owner = owners.front(); in SubscribeAppAccount() local 54 if (owner != STRING_OWNER) { in SubscribeAppAccount() 55 ACCOUNT_LOGE("mock owner %{public}s != STRING_OWNER %{public}s.", in SubscribeAppAccount() 56 owner.c_str(), STRING_OWNER.c_str()); in SubscribeAppAccount()
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_manager_service.h | 33 const std::string &owner, const std::string &authType, const AAFwk::Want &options, 36 ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, 61 ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authType, 64 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override; 66 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override; 69 ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, 71 ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, 81 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) override; 82 ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 90 ErrCode GetAllAccounts(const std::string &owner, st [all...] |
/base/notification/eventhandler/frameworks/eventhandler/include/ |
H A D | event_queue_ffrt.h | 50 * Remove events if its owner is invalid. 62 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 64 LOCAL_API void Remove(const std::shared_ptr<EventHandler> &owner) override; 69 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 72 LOCAL_API void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId) override; 77 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 81 LOCAL_API void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId, int64_t param) override; 86 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 89 LOCAL_API bool Remove(const std::shared_ptr<EventHandler> &owner, const std::string &name) override; 124 * @param owner Owne [all...] |
H A D | event_queue_base.h | 71 * Remove events if its owner is invalid. 83 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 85 void Remove(const std::shared_ptr<EventHandler> &owner) override; 90 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 93 void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId) override; 98 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 102 void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId, int64_t param) override; 107 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 110 bool Remove(const std::shared_ptr<EventHandler> &owner, const std::string &name) override; 166 * @param owner Owne [all...] |
/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_queue_ffrt.cpp | 161 void EventQueueFFRT::Remove(const std::shared_ptr<EventHandler> &owner) in Remove() argument 164 if (!owner) { in Remove() 165 HILOGE("Invalid owner"); in Remove() 176 std::string regular = owner->GetHandlerId() + "\\|.*"; in Remove() 185 void EventQueueFFRT::Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId) in Remove() argument 188 if (!owner) { in Remove() 189 HILOGE("Invalid owner"); in Remove() 200 std::string regular = owner->GetHandlerId() + "\\|0\\|" + std::to_string(innerEventId) + "\\|.*"; in Remove() 209 void EventQueueFFRT::Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId, int64_t param) in Remove() argument 212 if (!owner) { in Remove() 234 Remove(const std::shared_ptr<EventHandler> &owner, const std::string &name) Remove() argument 259 HasInnerEvent(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId) HasInnerEvent() argument 281 HasInnerEvent(const std::shared_ptr<EventHandler> &owner, int64_t param) HasInnerEvent() argument 601 RemoveFileDescriptorListener(const std::shared_ptr<EventHandler> &owner) RemoveFileDescriptorListener() argument [all...] |
/base/security/device_security_level/services/include/ |
H A D | dslm_hitrace.h | 33 void DslmStartProcessTraceAsync(const char *value, uint32_t owner, uint32_t cookie); 34 void DslmFinishProcessTraceAsync(const char *value, uint32_t owner, uint32_t cookie);
|
/base/notification/eventhandler/interfaces/inner_api/ |
H A D | event_queue.h | 141 * Remove events if its owner is invalid, for base queue. 146 * Remove events if its owner is invalid, for ffrt queue. 158 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 160 virtual void Remove(const std::shared_ptr<EventHandler> &owner) = 0; 165 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 168 virtual void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId) = 0; 173 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 177 virtual void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId, int64_t param) = 0; 182 * @param owner Owner of the event which is point to an instance of 'EventHandler'. 185 virtual bool Remove(const std::shared_ptr<EventHandler> &owner, cons [all...] |