Home
last modified time | relevance | path

Searched refs:STRING_OWNER (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/base/account/os_account/frameworks/appaccount/native/test/unittest/
H A Dapp_account_manager_test.cpp59 const std::string STRING_OWNER = "com.example.owner"; variable
387 STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, options, nullptr);
391 STRING_NAME_OUT_OF_RANGE, STRING_OWNER, STRING_AUTH_TYPE, options, nullptr);
394 STRING_EMPTY, STRING_OWNER, STRING_AUTH_TYPE, options, nullptr);
405 STRING_NAME, STRING_OWNER, STRING_OUT_OF_RANGE, options, nullptr);
410 STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, options, nullptr);
1536 STRING_NAME, STRING_OWNER, STRING_OUT_OF_RANGE, STRING_TOKEN);
1540 STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, STRING_TOKEN_OUT_OF_RANGE);
1591 STRING_NAME, STRING_OWNER, STRING_OUT_OF_RANGE, STRING_TOKEN);
1595 STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, STRING_TOKEN_OUT_OF_RANGE);
[all …]
H A Dapp_account_manager_subscribe_test.cpp33 const std::string STRING_OWNER = "com.example.owner"; variable
96 owners.emplace_back(STRING_OWNER);
145 owners.emplace_back(STRING_OWNER);
171 owners.emplace_back(STRING_OWNER);
231 owners.emplace_back(STRING_OWNER);
/ohos5.0/base/account/os_account/frameworks/test/unittest/
H A Daccount_appaccount_proxy_mock_test.cpp30 const std::string STRING_OWNER = "com.example.owner"; variable
128 ErrCode result = AppAccountManager::CreateAccountImplicitly(STRING_OWNER, options, callback);
290 …ErrCode result = AppAccountManager::GetOAuthToken(STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, tok…
303 …ErrCode result = AppAccountManager::GetAuthToken(STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, toke…
420 ErrCode result = AppAccountManager::GetAllOAuthTokens(STRING_NAME, STRING_OWNER, tokenInfos);
433 ErrCode result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
446 ErrCode result = AppAccountManager::GetAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
472 ErrCode result = AppAccountManager::GetAllAccounts(STRING_OWNER, appAccounts);
554 …ErrCode result = AppAccountManager::VerifyCredential(STRING_NAME, STRING_OWNER, options, callback);
570 …ErrCode result = AppAccountManager::CheckAccountLabels(STRING_NAME, STRING_OWNER, labels, callback…
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/app_account/
H A Dapp_account_subscribe_info_test.cpp28 const std::string STRING_OWNER = "com.example.owner"; variable
68 owners.emplace_back(STRING_OWNER);
94 owners.emplace_back(STRING_OWNER);
119 owners.emplace_back(STRING_OWNER);
H A Dapp_account_test.cpp45 const std::string STRING_OWNER = "com.example.owner"; variable
308 owners.emplace_back(STRING_OWNER);
334 owners.emplace_back(STRING_OWNER);
335 owners.emplace_back(STRING_OWNER);
419 owners.emplace_back(STRING_OWNER);
458 owners.emplace_back(STRING_OWNER);
H A Dapp_account_data_storage_test.cpp32 const std::string STRING_OWNER = "com.example.owner"; variable
116 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER);
174 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER);
228 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER);
H A Dapp_account_manager_service_test.cpp33 const std::string STRING_OWNER = "com.example.owner"; variable
128 owners.emplace_back(STRING_OWNER);
H A Dapp_account_info_test.cpp29 const std::string STRING_OWNER = "com.example.owner"; variable
92 std::string owner = STRING_OWNER;
117 std::string owner = STRING_OWNER;
692 appAccountInfo.owner_ = STRING_OWNER;
694 …ErrCode result = appAccountInfo.SetOAuthTokenVisibility(STRING_AUTH_TYPE, STRING_OWNER, isVisible);
696 appAccountInfo.CheckOAuthTokenVisibility(STRING_AUTH_TYPE, STRING_OWNER, isVisible);
922 std::string owner = STRING_OWNER;
926 authorizedApps.emplace(STRING_OWNER);
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/app_account/
H A Dmock_app_account_subscribe_manager.cpp21 const std::string STRING_OWNER = "com.example.owner"; variable
54 if (owner != STRING_OWNER) { in SubscribeAppAccount()
56 owner.c_str(), STRING_OWNER.c_str()); in SubscribeAppAccount()
H A Dmock_inner_app_account_manager.cpp23 const std::string STRING_OWNER = "com.example.owner"; variable
88 if (owner != STRING_OWNER) { in SubscribeAppAccount()
H A Dmock_app_account_stub.cpp29 const std::string STRING_OWNER = "com.example.owner"; variable
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_manager_service_subscribe_module_test.cpp35 const std::string STRING_OWNER = "com.example.owner"; variable
213 EXPECT_EQ(owner, STRING_OWNER); in OnAccountsChanged()
260 owners.emplace_back(STRING_OWNER);
362 STRING_OWNER, appAccountCallingInfo);
393 STRING_OWNER, appAccountCallingInfo);
435 result = accountInnerManager->EnableAppAccess(STRING_NAME, STRING_OWNER, appAccountCallingInfo);
466 STRING_OWNER, appAccountCallingInfo);
512 STRING_OWNER, appAccountCallingInfo);
577 owners.emplace_back(STRING_OWNER);
H A Dapp_account_control_manager_module_test.cpp34 const std::string STRING_OWNER = "com.example.owner"; variable
93 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER+"max");
95 STRING_NAME, STRING_EXTRA_INFO, UID, STRING_OWNER+"max", appAccountInfo);
188 STRING_OWNER, appAccounts, BUNDLE_NAME, dataStoragePtr);
203 request.owner = STRING_OWNER;
H A Dapp_account_subscribe_manager_test.cpp34 const std::string STRING_OWNER = "com.example.owner"; variable
81 owners.emplace_back(STRING_OWNER);
133 owners.emplace_back(STRING_OWNER);
154 owners.emplace_back(STRING_OWNER);
H A Dapp_account_manager_service_module_test.cpp66 const std::string STRING_OWNER = "com.example.owner"; variable
1120 STRING_OWNER, STRING_AUTH_TYPE, STRING_TOKEN);
1135 STRING_OWNER, STRING_AUTH_TYPE, STRING_TOKEN);
1502 STRING_AUTH_TYPE, STRING_OWNER, isVisible);
1507 STRING_AUTH_TYPE, STRING_OWNER, false);
1511 STRING_AUTH_TYPE, STRING_OWNER, isVisible);
1819 STRING_OWNER, STRING_AUTH_TYPE, options, callback);
1837 STRING_OWNER, options, callback);
1855 STRING_OWNER, STRING_AUTH_TYPE, options, callback);
1874 STRING_OWNER, STRING_AUTH_TYPE, options, callback);
[all …]
H A Dapp_account_manager_service_thread_module_test.cpp32 const std::string STRING_OWNER = "com.example.owner"; variable
143 ErrCode result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts);
153 result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts);
224 result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts);
H A Dapp_account_authenticator_session_module_test.cpp43 const std::string STRING_OWNER = "OWNER"; variable
364 request1.owner = STRING_OWNER;
368 request.callerBundleName = STRING_OWNER;
H A Dapp_account_manager_service_sync_module_test.cpp37 const std::string STRING_OWNER = "com.example.owner"; variable
301 EXPECT_EQ(*accountPtr, STRING_OWNER + HYPHEN + APP_INDEX + HYPHEN + STRING_NAME + HYPHEN);
353 EXPECT_EQ(*accountPtr, STRING_OWNER + HYPHEN + APP_INDEX + HYPHEN + STRING_NAME + HYPHEN);
H A Dapp_account_authenticator_session_manager_module_test.cpp38 const std::string STRING_OWNER = "com.example.name"; variable
151 request.owner = STRING_OWNER;
/ohos5.0/base/account/os_account/frameworks/appaccount/native/test/moduletest/
H A Dapp_account_manager_module_test.cpp36 const std::string STRING_OWNER = "com.example.owner"; variable
340 …ErrCode result = AppAccountManager::GetOAuthToken(STRING_NAME, STRING_OWNER, STRING_AUTH_TYPE, tok…
385 owners.emplace_back(STRING_OWNER);
409 owners.emplace_back(STRING_OWNER);
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/common/
H A Dbundle_manager_adapter.cpp22 const std::string STRING_OWNER = "com.example.owner"; variable
65 bundleName = STRING_OWNER; in GetNameForUid()