/base/telephony/telephony_data/pdp_profile/include/ |
H A D | rdb_pdp_profile_helper.h | 55 * @param opkey opkey 59 int InitAPNDatabase(int slotId, const std::string &opkey, bool isNeedCheckFile); 80 * @param opkey opkey 84 bool IsApnDbUpdateNeeded(const std::string &opkey, std::string &checksum); 89 * @param opkey opkey 93 int SetPreferApnConfChecksum(const std::string &opkey, std::string &checkSum);
|
H A D | pdp_profile_ability.h | 108 void GetTargetOpkey(int slotId, std::string &opkey);
|
/base/telephony/telephony_data/pdp_profile/src/ |
H A D | pdp_profile_ability.cpp | 134 std::string opkey; in BatchInsert() local 135 GetTargetOpkey(slotId, opkey); in BatchInsert() 136 result = helper_.InitAPNDatabase(slotId, opkey, true); in BatchInsert() 421 std::string opkey; in QueryPdpProfile() local 425 GetTargetOpkey(slotId, opkey); in QueryPdpProfile() 427 if (opkey.empty() || strcmp(opkey.c_str(), INVALID_OPKEY) == 0) { in QueryPdpProfile() 442 operationsRes.push_back({DataShare::EQUAL_TO, {PdpProfileData::OPKEY, opkey}}); in QueryPdpProfile() 473 std::string opkey; in ResetApn() local 474 GetTargetOpkey(slotId, opkey); in ResetApn() 512 GetTargetOpkey(int slotId, std::string &opkey) GetTargetOpkey() argument [all...] |
H A D | rdb_pdp_profile_helper.cpp | 221 bool RdbPdpProfileHelper::IsApnDbUpdateNeeded(const std::string &opkey, std::string &checkSum) in IsApnDbUpdateNeeded() argument 225 std::string lastCheckSum = preferencesUtil->ObtainString(APN_CONF_CHECKSUM + opkey, ""); in IsApnDbUpdateNeeded() 233 int RdbPdpProfileHelper::SetPreferApnConfChecksum(const std::string &opkey, std::string &checkSum) in SetPreferApnConfChecksum() argument 240 return preferencesUtil->SaveString(APN_CONF_CHECKSUM + opkey, checkSum); in SetPreferApnConfChecksum()
|
/base/telephony/core_service/services/sim/src/ |
H A D | sim_state_tracker.cpp | 83 std::string opkey = (*msgObj)[1]; in ProcessSimOpkeyLoad() local 85 TELEPHONY_LOGI("OnOpkeyLoad slotId, %{public}d opkey: %{public}s opName: %{public}s", in ProcessSimOpkeyLoad() 86 slotId, opkey.data(), opName.data()); in ProcessSimOpkeyLoad() 87 if (!opkey.empty()) { in ProcessSimOpkeyLoad() 90 simFileManager->SetOpKey(opkey); in ProcessSimOpkeyLoad()
|
H A D | operator_config_cache.cpp | 101 std::string opkey = GetOpKey(slotId); in LoadOperatorConfig() local 102 std::string filename = EncryptIccId(iccid + opkey) + ".json"; in LoadOperatorConfig() 103 if (opkey == std::string(INITIAL_OPKEY)) { in LoadOperatorConfig() 321 std::string opkey = GetOpKey(slotId); in IsNeedOperatorLoad() local 322 TELEPHONY_LOGI("IsNeedOperatorLoad slotId %{public}d opkey %{public}s isLoadingConfig: %{public}d", in IsNeedOperatorLoad() 323 slotId, opkey.data(), isLoadingConfig); in IsNeedOperatorLoad() 324 if (opkey.empty() || opkey == std::string(INITIAL_OPKEY)) { in IsNeedOperatorLoad() 336 std::string filename = EncryptIccId(iccid + opkey) + ".json"; in IsNeedOperatorLoad()
|
H A D | operator_config_loader.cpp | 52 std::string opkey = LoadOpKeyOnMccMnc(slotId); in LoadOperatorConfig() local 84 std::string opkey = GetOpKey(resultSet, slotId); in LoadOpKeyOnMccMnc() local 86 return opkey; in LoadOpKeyOnMccMnc() 159 TELEPHONY_LOGE("GetOpKey count: %{public}d, use MccMnc as opkey, COMMON as opname", count); in GetOpKey()
|
H A D | icc_file.cpp | 804 void IccFile::OnOpkeyLoad(const std::string opkey, const std::string opName) in OnOpkeyLoad() argument 806 TELEPHONY_LOGI("OnOpkeyLoad slotId: %{public}d opkey: %{public}s opName: %{public}s", in OnOpkeyLoad() 807 slotId_, opkey.data(), opName.data()); in OnOpkeyLoad() 811 vMsg[VMSG_OPKEY_INDEX] = opkey; in OnOpkeyLoad()
|
/base/telephony/core_service/frameworks/cj/telephony_sim/src/ |
H A D | telephony_sim_impl.cpp | 318 std::string opkey = errCode == ERROR_NONE ? ToUtf8(u16Opkey) : ""; in getOpKey() local 320 char* result = MallocCString(opkey); in getOpKey()
|
/base/telephony/core_service/services/telephony_ext_wrapper/include/ |
H A D | telephony_ext_wrapper.h | 100 typedef void (*GET_TARGET_OPKEY)(int32_t slotId, std::u16string &opkey);
|
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | core_service_client.h | 713 * @param opkey[out], operator key of the SIM card 716 int32_t GetOpKey(int32_t slotId, std::u16string &opkey); 891 * @brief get cust opkey for sim card 894 * @param opkey[out], cust opkey for sim card 897 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey); 900 * @brief get opkey param version 902 * @param versionInfo[out], opkey param version info
|
H A D | core_service_proxy.h | 127 int32_t GetOpKey(int32_t slotId, std::u16string &opkey) override; 145 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) override;
|
H A D | i_core_service.h | 140 virtual int32_t GetOpKey(int32_t slotId, std::u16string &opkey) = 0; 159 virtual int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) = 0;
|
H A D | core_manager_inner.h | 281 int32_t GetOpKey(std::u16string &opkey); 282 int32_t GetOpKey(int32_t slotId, std::u16string &opkey);
|
H A D | i_sim_manager.h | 114 virtual int32_t GetOpKey(int32_t slotId, std::u16string &opkey) = 0;
|
/base/telephony/cellular_data/test/mock/ |
H A D | mock_core_service.h | 139 MOCK_METHOD(int32_t, GetOpKey, (int32_t slotId, std::u16string &opkey), (override)); 161 MOCK_METHOD(int32_t, GetTargetOpkey, (int32_t slotId, std::u16string &opkey), (override));
|
/base/telephony/core_service/test/unittest/icc_file_gtest/ |
H A D | icc_file_gtest.cpp | 419 std::string opkey = ""; in HWTEST_F() local 424 iccFile->OnOpkeyLoad(opkey, opName); in HWTEST_F()
|
/base/telephony/core_service/frameworks/native/src/ |
H A D | core_service_client.cpp | 847 int32_t CoreServiceClient::GetOpKey(int32_t slotId, std::u16string &opkey) in GetOpKey() argument 854 return proxy->GetOpKey(slotId, opkey); in GetOpKey() 1055 int32_t CoreServiceClient::GetTargetOpkey(int32_t slotId, std::u16string &opkey) in GetTargetOpkey() argument 1062 return proxy->GetTargetOpkey(slotId, opkey); in GetTargetOpkey()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_test.cpp | 784 * @tc.name Get opkey for current sim card 793 std::u16string opkey; in HWTEST_F() local 794 int32_t result = CoreServiceClient::GetInstance().GetOpKey(SimTest::slotId_, opkey); in HWTEST_F() 801 * @tc.name Get opkey for current sim card 809 std::u16string opkey; in HWTEST_F() local 810 int32_t result = CoreServiceClient::GetInstance().GetOpKey(SimTest::slotId1_, opkey); in HWTEST_F() 817 * @tc.name Get opkey for current sim card 834 * @tc.name Get opkey for current sim card
|
H A D | zero_branch_test_core_service.cpp | 781 std::u16string opkey; in HWTEST_F() local 786 int32_t result = coreServiceClient->GetTargetOpkey(SLOT_ID, opkey); in HWTEST_F()
|
/base/telephony/core_service/services/core/include/ |
H A D | core_service.h | 209 int32_t GetOpKey(int32_t slotId, std::u16string &opkey) override; 255 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) override;
|
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/ |
H A D | esim_core_service_stub_test.h | 433 int32_t GetOpKey(int32_t slotId, std::u16string &opkey) override 520 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) override
|
/base/telephony/telephony_data/test/unittest/data_test/ |
H A D | data_storage_test.cpp | 175 std::string opkey = "1435"; in OpKeyInsert() local 176 Uri uri("datashare:///com.ohos.opkeyability/opkey/opkey_info"); in OpKeyInsert() 182 value.Put(OpKeyData::OPERATOR_KEY, opkey); in OpKeyInsert() 188 Uri uri("datashare:///com.ohos.opkeyability/opkey/opkey_info"); in OpKeyUpdate() 199 Uri uri("datashare:///com.ohos.opkeyability/opkey/opkey_info"); in OpKeySelect() 214 Uri uri("datashare:///com.ohos.opkeyability/opkey/opkey_info"); in OpKeyDelete()
|
/base/telephony/core_service/services/core/src/ |
H A D | core_service.cpp | 1294 int32_t CoreService::GetOpKey(int32_t slotId, std::u16string &opkey) in GetOpKey() argument 1301 return simManager_->GetOpKey(slotId, opkey); in GetOpKey() 1612 int32_t CoreService::GetTargetOpkey(int32_t slotId, std::u16string &opkey) in GetTargetOpkey() argument 1619 TELEPHONY_EXT_WRAPPER.getTargetOpkey_(slotId, opkey); in GetTargetOpkey()
|
H A D | core_service_stub.cpp | 1668 std::u16string opkey; in OnGetOpKey() local 1669 int32_t result = GetOpKey(slotId, opkey); in OnGetOpKey() 1675 if (!reply.WriteString16(opkey)) { in OnGetOpKey() 1957 std::u16string opkey; in OnGetTargetOpkey() local 1958 int32_t result = GetTargetOpkey(slotId, opkey); in OnGetTargetOpkey() 1959 if (!reply.WriteString16(opkey)) { in OnGetTargetOpkey() 1960 TELEPHONY_LOGE("Write reply opkey failed."); in OnGetTargetOpkey()
|