/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_manager_service.cpp | 48 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 …]
|
D | inner_app_account_manager.cpp | 37 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 …]
|
D | app_account_common_event_observer.cpp | 113 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()
|
D | app_account_subscribe_manager.cpp | 47 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()
|
D | app_account_control_manager.cpp | 111 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 …]
|
D | app_account_authenticator_session.cpp | 329 info.SetAppIndex(request_.appIndex); in OnAddAccountImplicitlyDone()
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
D | app_account_event_record.h | 29 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()
|
D | inner_app_account_manager.h | 32 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 …]
|
D | app_account_control_manager.h | 52 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);
|
D | app_account_subscribe_manager.h | 40 const std::string &bundleName, const uint32_t &appIndex); 56 const std::string &bundleName, const uint32_t &appIndex);
|
D | app_account_common_event_observer.h | 27 …std::function<void(const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex)> OnP…
|
D | app_account_manager_service.h | 106 …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/ |
D | mock_inner_app_account_manager.h | 30 …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);
|
D | mock_inner_app_account_manager.cpp | 39 …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
|
D | mock_app_account_subscribe_manager.h | 30 …const sptr<IRemoteObject> &eventListener, const std::string &bundleName, const uint32_t &appIndex);
|
D | mock_app_account_subscribe_manager.cpp | 38 const std::string &bundleName, const uint32_t &appIndex) in SubscribeAppAccount() argument
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | at_not_mock_app_account_manager_service_module_test.cpp | 87 uint32_t appIndex; variable 88 int result = g_accountManagerService->GetCallingInfo(callingUid, bundleName, appIndex);
|
D | app_account_control_manager_module_test.cpp | 235 request.appIndex = 0;
|
D | app_account_manager_service_module_test.cpp | 2456 …ppAccountCallingInfo.callingUid, appAccountCallingInfo.bundleName, appAccountCallingInfo.appIndex);
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account_common.h | 32 uint32_t appIndex; member 99 uint32_t appIndex; member
|
D | app_account_info.h | 50 void SetAppIndex(const uint32_t &appIndex);
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_info.cpp | 104 void AppAccountInfo::SetAppIndex(const uint32_t &appIndex) in SetAppIndex() argument 106 appIndex_ = appIndex; in SetAppIndex()
|