Home
last modified time | relevance | path

Searched refs:appIndex (Results 1 – 22 of 22) sorted by relevance

/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_manager_service.cpp48 uint32_t appIndex; in AddAccount() local
49 ErrCode ret = GetCallingInfo(callingUid, bundleName, appIndex); in AddAccount()
53 return innerManager_->AddAccount(name, extraInfo, callingUid, bundleName, appIndex); in AddAccount()
61 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in AddAccountImplicitly()
80 uint32_t appIndex; in CreateAccount() local
81 ErrCode ret = GetCallingInfo(callingUid, bundleName, appIndex); in CreateAccount()
85 return innerManager_->CreateAccount(name, options, callingUid, bundleName, appIndex); in CreateAccount()
93 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in CreateAccountImplicitly()
110 uint32_t appIndex; in DeleteAccount() local
111 ErrCode ret = GetCallingInfo(callingUid, bundleName, appIndex); in DeleteAccount()
[all …]
Dinner_app_account_manager.cpp37 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in AddAccount() argument
45 appAccountInfo.SetAppIndex(appIndex); in AddAccount()
61 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in CreateAccount() argument
69 appAccountInfo.SetAppIndex(appIndex); in CreateAccount()
85 …const std::string &name, const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in DeleteAccount() argument
93 appAccountInfo.SetAppIndex(appIndex); in DeleteAccount()
106 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in GetAccountExtraInfo() argument
113 …rCode result = controlManagerPtr_->GetAccountExtraInfo(name, extraInfo, uid, bundleName, appIndex); in GetAccountExtraInfo()
119 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in SetAccountExtraInfo() argument
127 appAccountInfo.SetAppIndex(appIndex); in SetAccountExtraInfo()
[all …]
Dapp_account_common_event_observer.cpp113 int32_t appIndex = 0; in DealWithRemoveEvent() local
115 appIndex = want.GetIntParam(AppExecFwk::Constants::SANDBOX_APP_INDEX, -1); in DealWithRemoveEvent()
116 if (appIndex < 0) { in DealWithRemoveEvent()
117 ACCOUNT_LOGW("appIndex = %{public}d is invalid.", appIndex); in DealWithRemoveEvent()
122 uid, bundleName.c_str(), appIndex); in DealWithRemoveEvent()
123 callback_.OnPackageRemoved(uid, bundleName, appIndex); in DealWithRemoveEvent()
Dapp_account_subscribe_manager.cpp47 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in SubscribeAppAccount() argument
70 ErrCode result = CheckAppAccess(subscribeInfoPtr, uid, bundleName, appIndex); in SubscribeAppAccount()
85 subscribeRecordPtr->appIndex = appIndex; in SubscribeAppAccount()
143 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in CheckAppAccess() argument
271 uint32_t appIndex = appAccountInfo.GetAppIndex(); in PublishAccount() local
282 eventRecordPtr->appIndex = appIndex; in PublishAccount()
312 accessibleAccounts, receiver->bundleName, dataStoragePtr, record->appIndex); in OnAccountsChanged()
Dapp_account_control_manager.cpp111 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in GetAccountExtraInfo() argument
114 appAccountInfo.SetAppIndex(appIndex); in GetAccountExtraInfo()
220 appAccountInfo.SetAppIndex(appAccountCallingInfo.appIndex); in CheckAppAccess()
230 bool &syncEnable, const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in CheckAppAccountSyncEnable() argument
233 appAccountInfo.SetAppIndex(appIndex); in CheckAppAccountSyncEnable()
281 std::string &value, const uid_t &uid, const uint32_t &appIndex) in GetAssociatedDataFromStorage() argument
289 appAccountInfo.SetAppIndex(appIndex); in GetAssociatedDataFromStorage()
351 appAccountInfo.SetAppIndex(appAccountCallingInfo.appIndex); in SetAssociatedData()
379 appAccountInfo.SetAppIndex(appAccountCallingInfo.appIndex); in GetAccountCredential()
401 appAccountInfo.SetAppIndex(appAccountCallingInfo.appIndex); in SetAccountCredential()
[all …]
Dapp_account_authenticator_session.cpp329 info.SetAppIndex(request_.appIndex); in OnAddAccountImplicitlyDone()
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_event_record.h29 uint32_t appIndex; member
31 AppAccountSubscribeRecord() : subscribeInfoPtr(nullptr), eventListener(nullptr), appIndex(0) in AppAccountSubscribeRecord()
43 uint32_t appIndex; member
45 AppAccountEventRecord() : info(nullptr), uid(0), appIndex(0) in AppAccountEventRecord()
Dinner_app_account_manager.h32 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
35 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
38 …onst std::string &name, const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
41 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
43 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
53 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
55 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
67 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
86 const std::string &bundleName, const uint32_t &appIndex);
88 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
[all …]
Dapp_account_control_manager.h52 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
66 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
93 const std::string &bundleName, const uint32_t &appIndex);
95 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
99 const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
101 …rrCode OnPackageRemoved(const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
108 const uint32_t &appIndex);
120 const uid_t &uid, const uint32_t &appIndex);
Dapp_account_subscribe_manager.h40 const std::string &bundleName, const uint32_t &appIndex);
56 const std::string &bundleName, const uint32_t &appIndex);
Dapp_account_common_event_observer.h27 …std::function<void(const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex)> OnP…
Dapp_account_manager_service.h106 …rrCode OnPackageRemoved(const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex);
112 ErrCode GetCallingTokenInfoAndAppIndex(uint32_t &appIndex);
113 ErrCode GetCallingInfo(int32_t &callingUid, std::string &bundleName, uint32_t &appIndex);
/base/account/os_account/services/accountmgr/test/mock/app_account/
Dmock_inner_app_account_manager.h30 …ring &name, const std::string &extraInfo, const std::string &bundleName, const uint32_t &appIndex);
31 …de DeleteAccount(const std::string &name, const std::string &bundleName, const uint32_t &appIndex);
34 const std::string &bundleName, const uint32_t &appIndex);
Dmock_inner_app_account_manager.cpp39 …tring &name, const std::string &extraInfo, const std::string &bundleName, const uint32_t &appIndex) in AddAccount() argument
58 const std::string &name, const std::string &bundleName, const uint32_t &appIndex) in DeleteAccount() argument
72 … const sptr<IRemoteObject> &eventListener, const std::string &bundleName, const uint32_t &appIndex) in SubscribeAppAccount() argument
Dmock_app_account_subscribe_manager.h30 …const sptr<IRemoteObject> &eventListener, const std::string &bundleName, const uint32_t &appIndex);
Dmock_app_account_subscribe_manager.cpp38 const std::string &bundleName, const uint32_t &appIndex) in SubscribeAppAccount() argument
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dat_not_mock_app_account_manager_service_module_test.cpp87 uint32_t appIndex; variable
88 int result = g_accountManagerService->GetCallingInfo(callingUid, bundleName, appIndex);
Dapp_account_control_manager_module_test.cpp235 request.appIndex = 0;
Dapp_account_manager_service_module_test.cpp2456 …ppAccountCallingInfo.callingUid, appAccountCallingInfo.bundleName, appAccountCallingInfo.appIndex);
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_common.h32 uint32_t appIndex; member
99 uint32_t appIndex; member
Dapp_account_info.h50 void SetAppIndex(const uint32_t &appIndex);
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp104 void AppAccountInfo::SetAppIndex(const uint32_t &appIndex) in SetAppIndex() argument
106 appIndex_ = appIndex; in SetAppIndex()