Home
last modified time | relevance | path

Searched refs:shortName (Results 1 – 25 of 42) sorted by relevance

12

/base/telephony/core_service/frameworks/native/src/
Dnetwork_state.cpp38 psOperatorInfo_.shortName = ""; in Init()
39 csOperatorInfo_.shortName = ""; in Init()
74 psOperatorInfo_.shortName = readString; in ReadParcelString()
86 csOperatorInfo_.shortName = readString; in ReadParcelString()
140 psOperatorInfo_.shortName == other.psOperatorInfo_.shortName && in operator ==()
143 csOperatorInfo_.shortName == other.csOperatorInfo_.shortName; in operator ==()
155 if (!parcel.WriteString(psOperatorInfo_.shortName)) { in Marshalling()
164 if (!parcel.WriteString(csOperatorInfo_.shortName)) { in Marshalling()
220 if (!psOperatorInfo_.shortName.empty()) { in GetShortOperatorName()
221 return psOperatorInfo_.shortName; in GetShortOperatorName()
[all …]
/base/account/os_account/test/fuzztest/osaccount/createosaccountwithshortname_fuzzer/
Dcreateosaccountwithshortname_fuzzer.cpp58 std::string shortName(reinterpret_cast<const char*>(data), size); in CreateOsAccountWithShortNameFuzzTest()
59 … result = OsAccountManager::CreateOsAccount(accountName, shortName, testType, osAccountInfoOne); in CreateOsAccountWithShortNameFuzzTest()
74 …result = OsAccountManager::CreateOsAccount(accountName, shortName, testType, options, osAccountInf… in CreateOsAccountWithShortNameFuzzTest()
/base/account/os_account/test/fuzztest/osaccount_stub/proccreateosaccountwithshortnamestub_fuzzer/
Dproccreateosaccountwithshortnamestub_fuzzer.cpp36 std::string shortName(reinterpret_cast<const char *>(data), size); in ProcCreateOsAccountWithShortNameStubFuzzTest()
44 if (!datas.WriteString(shortName)) { in ProcCreateOsAccountWithShortNameStubFuzzTest()
/base/telephony/core_service/services/network_search/src/
Doperator_name.cpp131 std::string shortName = ""; in GsmOperatorInfo() local
136 shortName = operatorInfoResult->shortName; in GsmOperatorInfo()
143 longName.c_str(), shortName.c_str(), numeric.c_str(), slotId_); in GsmOperatorInfo()
145 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_CS); in GsmOperatorInfo()
146 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_PS); in GsmOperatorInfo()
157 std::string shortName = ""; in CdmaOperatorInfo() local
162 shortName = operatorInfoResult->shortName; in CdmaOperatorInfo()
169 longName.c_str(), shortName.c_str(), numeric.c_str(), slotId_); in CdmaOperatorInfo()
171 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_CS); in CdmaOperatorInfo()
172 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_PS); in CdmaOperatorInfo()
[all …]
Dnetwork_selection.cpp190 std::string shortName = availableNetworkInfoItem.shortName; in AvailNetworkResult() local
195 networkStateItem.SetOperateInformation(longName, shortName, numeric, status, rat); in AvailNetworkResult()
/base/account/os_account/tools/acm/src/
Daccount_command.cpp97 std::string &shortName, OsAccountType &osAccountType, std::vector<std::string> &disallowedList) in ParseCreateCommandOpt() argument
119 …result = RunAsCreateCommandExistentOptionArgument(option, name, shortName, osAccountType, disallow… in ParseCreateCommandOpt()
129 std::string shortName = ""; in RunAsCreateCommand() local
132 result = ParseCreateCommandOpt(name, shortName, osAccountType, options.disallowedHapList); in RunAsCreateCommand()
156 if (shortName.empty()) { in RunAsCreateCommand()
157 shortName = name; in RunAsCreateCommand()
160 …result = OsAccount::GetInstance().CreateOsAccount(name, shortName, osAccountType, osAccountInfo, o… in RunAsCreateCommand()
447 std::string &shortName, OsAccountType &type, std::vector<std::string> &disallowedList) in RunAsCreateCommandExistentOptionArgument() argument
473 shortName = optarg; in RunAsCreateCommandExistentOptionArgument()
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp31 …const std::string &localName, const std::string &shortName, const OsAccountType &type, OsAccountIn… in CreateOsAccount() argument
33 return OsAccount::GetInstance().CreateOsAccount(localName, shortName, type, osAccountInfo); in CreateOsAccount()
36 …rCode OsAccountManager::CreateOsAccount(const std::string& localName, const std::string& shortName, in CreateOsAccount() argument
39 …return OsAccount::GetInstance().CreateOsAccount(localName, shortName, type, osAccountInfo, options… in CreateOsAccount()
325 ErrCode OsAccountManager::GetOsAccountShortName(std::string &shortName) in GetOsAccountShortName() argument
327 return OsAccount::GetInstance().GetOsAccountShortName(shortName); in GetOsAccountShortName()
Dos_account_info.cpp53 OsAccountInfo::OsAccountInfo(int localId, const std::string localName, const std::string shortName,… in OsAccountInfo() argument
55 …: localId_(localId), localName_(localName), shortName_(shortName), type_(type), serialNumber_(seri… in OsAccountInfo()
83 void OsAccountInfo::SetShortName(const std::string &shortName) in SetShortName() argument
85 shortName_ = shortName; in SetShortName()
/base/account/os_account/services/accountmgr/include/osaccount/
Diinner_os_account_manager.h36 ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
53 ErrCode GetOsAccountShortName(const int id, std::string &shortName) override;
119 …ErrCode PrepareOsAccountInfo(const std::string &localName, const std::string &shortName, const OsA…
121 …ErrCode FillOsAccountInfo(const std::string &localName, const std::string &shortName, const OsAcco…
134 ErrCode ValidateShortName(const std::string &shortName);
Dos_account_manager_service.h36 ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
121 ErrCode GetOsAccountShortName(std::string &shortName) override;
128 ErrCode ValidateShortName(const std::string &shortName);
Diinner_os_account.h33 virtual ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
50 virtual ErrCode GetOsAccountShortName(const int id, std::string &shortName) = 0;
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h69 static ErrCode CreateOsAccount(const std::string& localName, const std::string& shortName,
83 static ErrCode CreateOsAccount(const std::string& localName, const std::string& shortName,
537 static ErrCode GetOsAccountShortName(std::string &shortName);
Dos_account_info.h56 …OsAccountInfo(int localId, const std::string localName, const std::string shortName, OsAccountType…
69 void SetShortName(const std::string &shortName);
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dinner_os_account_manager_test.cpp123 std::string shortName; variable
124 ErrCode ret = innerMgrService_->GetOsAccountShortName(199, shortName);
/base/account/os_account/tools/acm/include/
Daccount_command.h128 std::string &shortName, OsAccountType &type, std::vector<std::string> &disallowedList);
140 … std::string &shortName, OsAccountType &osAccountType, std::vector<std::string> &disallowedList);
/base/telephony/state_registry/test/fuzztest/telephonyobserver_fuzzer/
Dtelephonyobserver_fuzzer.cpp114 networkState->psOperatorInfo_.shortName = mShortName; in NetworkStateUpdatedInner()
117 networkState->csOperatorInfo_.shortName = mShortName; in NetworkStateUpdatedInner()
/base/account/os_account/services/accountmgr/src/osaccount/
Dinner_os_account_manager.cpp219 …rOsAccountManager::PrepareOsAccountInfo(const std::string &localName, const std::string &shortName, in RetryToGetAccount() argument
222 ErrCode errCode = FillOsAccountInfo(localName, shortName, type, domainInfo, osAccountInfo); in RetryToGetAccount()
249 …nnerOsAccountManager::FillOsAccountInfo(const std::string &localName, const std::string &shortName, in RetryToGetAccount() argument
273 ErrCode code = ValidateShortName(shortName); in RetryToGetAccount()
277 osAccountInfo = OsAccountInfo(id, localName, shortName, type, serialNumber); in RetryToGetAccount()
376 …IInnerOsAccountManager::CreateOsAccount(const std::string &localName, const std::string &shortName, in RetryToGetAccount() argument
408 errCode = PrepareOsAccountInfo(localName, shortName, type, domainInfo, osAccountInfo); in RetryToGetAccount()
419 ErrCode IInnerOsAccountManager::ValidateShortName(const std::string &shortName) in RetryToGetAccount() argument
421 size_t shortNameSize = shortName.size(); in RetryToGetAccount()
428 if (shortName.find(SPECIAL_CHARACTER_ARRAY[i]) != std::string::npos) { in RetryToGetAccount()
[all …]
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h30 …ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName, const OsAccoun…
90 ErrCode GetOsAccountShortName(std::string &shortName);
Dios_account.h37 virtual ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
102 virtual ErrCode GetOsAccountShortName(std::string &shortName) = 0;
Dos_account_proxy.h31 …ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName, const OsAccoun…
95 ErrCode GetOsAccountShortName(std::string &shortName) override;
/base/telephony/core_service/services/network_search/include/
Dnetwork_search_state.h34 …void SetOperatorInfo(const std::string &longName, const std::string &shortName, const std::string …
/base/telephony/core_service/interfaces/innerkits/include/
Dnetwork_state.h33 …void SetOperatorInfo(const std::string &longName, const std::string &shortName, const std::string …
Dnetwork_search_types.h278 std::string shortName = ""; member
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_network_parcel.h31 std::string shortName = ""; member
48 std::string shortName = ""; member
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp66 ErrCode OsAccount::CreateOsAccount(const std::string& localName, const std::string& shortName, in CreateOsAccount() argument
75 size_t shortNameSize = shortName.size(); in CreateOsAccount()
85 return proxy->CreateOsAccount(localName, shortName, type, osAccountInfo, options); in CreateOsAccount()
842 ErrCode OsAccount::GetOsAccountShortName(std::string &shortName) in GetOsAccountShortName() argument
848 return proxy->GetOsAccountShortName(shortName); in GetOsAccountShortName()

12