/ohos5.0/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() 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() 473 std::string opkey; in ResetApn() local 474 GetTargetOpkey(slotId, opkey); in ResetApn() 475 if (opkey.empty() || strcmp(opkey.c_str(), INVALID_OPKEY) == 0) { in ResetApn() 482 rdbPredicates.EqualTo(PdpProfileData::OPKEY, opkey); in ResetApn() 485 int result = helper_.InitAPNDatabase(slotId, opkey, false); in ResetApn() [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()
|
/ohos5.0/base/telephony/telephony_data/pdp_profile/include/ |
H A D | rdb_pdp_profile_helper.h | 59 int InitAPNDatabase(int slotId, const std::string &opkey, bool isNeedCheckFile); 84 bool IsApnDbUpdateNeeded(const std::string &opkey, std::string &checksum); 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);
|
/ohos5.0/base/telephony/core_service/services/sim/src/ |
H A D | operator_config_cache.cpp | 93 std::string opkey = GetOpKey(slotId); in LoadOperatorConfig() local 94 std::string filename = EncryptIccId(iccid + opkey) + ".json"; in LoadOperatorConfig() 95 if (opkey == std::string(INITIAL_OPKEY)) { in LoadOperatorConfig() 313 std::string opkey = GetOpKey(slotId); in IsNeedOperatorLoad() local 315 slotId, opkey.data(), isLoadingConfig); in IsNeedOperatorLoad() 316 if (opkey.empty() || opkey == std::string(INITIAL_OPKEY)) { in IsNeedOperatorLoad()
|
H A D | sim_state_tracker.cpp | 100 std::string opkey = (*msgObj)[1]; in ProcessSimOpkeyLoad() local 103 slotId, opkey.data(), opName.data()); in ProcessSimOpkeyLoad() 104 if (!opkey.empty()) { in ProcessSimOpkeyLoad() 107 simFileManager->SetOpKey(opkey); in ProcessSimOpkeyLoad()
|
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()
|
H A D | icc_file.cpp | 800 void IccFile::OnOpkeyLoad(const std::string opkey, const std::string opName) in OnOpkeyLoad() argument 803 slotId_, opkey.data(), opName.data()); in OnOpkeyLoad() 807 vMsg[VMSG_OPKEY_INDEX] = opkey; in OnOpkeyLoad()
|
/ohos5.0/base/telephony/telephony_data/ |
H A D | BUILD.gn | 61 "opkey/include", 88 "opkey/src/opkey_ability.cpp", 89 "opkey/src/rdb_opkey_callback.cpp", 90 "opkey/src/rdb_opkey_helper.cpp",
|
H A D | README.md | 36 ├─ opkey # opkey framework 88 | opkey module| ohos.permission.GET_TELEPHONY_STATE<br>ohos.permission.SET_TELEPHONY_STATE |
|
H A D | README_zh.md | 33 ├─ opkey # 随卡框架
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-configPolicy-sys.md | 279 …l、/sys_pod/etc/config.xml、/sys_pod/etc/carrier/46060/etc/config.xml,且设备默认卡opkey为46060,设置的followMod… 326 …l、/sys_pod/etc/config.xml、/sys_pod/etc/carrier/46060/etc/config.xml,且设备卡1的opkey为46060,设置的followMod… 473 …l、/sys_pod/etc/config.xml、/sys_pod/etc/carrier/46060/etc/config.xml,且设备默认卡opkey为46060,设置的followMod… 520 …l、/sys_pod/etc/config.xml、/sys_pod/etc/carrier/46060/etc/config.xml,且设备卡1的opkey为46060,设置的followMod… 700 | SIM_DEFAULT | 10 | 跟随默认卡模式,此模式下会根据默认卡的opkey在各配置层级下的etc/carrier/${opkey}下查找文件。 … 701 | SIM_1 | 11 | 跟随卡1模式,此模式下会根据卡1的opkey在各配置层级下的etc/carrier/${opkey}下查找文件。 … 702 | SIM_2 | 12 | 跟随卡2模式,此模式下会根据卡2的opkey在各配置层级下的etc/carrier/${opkey}下查找文件。 …
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-configPolicy-sys.md | 279 …c/config.xml**, and **/sys_pod/etc/carrier/46060/etc/config.xml**. If the opkey of the default car… 326 …c/config.xml**, and **/sys_pod/etc/carrier/46060/etc/config.xml**. If the opkey of card 1 is **460… 473 …c/config.xml**, and **/sys_pod/etc/carrier/46060/etc/config.xml**. If the opkey of the default car… 520 …c/config.xml**, and **/sys_pod/etc/carrier/46060/etc/config.xml**. If the opkey of card 1 is **460… 700 …| 10 | Files are searched in **etc/carrier/${opkey}** file at each configuration level based on t… 701 … | 11 | Files are searched in **etc/carrier/${opkey}** at each configuration level based on the… 702 … | 12 | Files are searched in **etc/carrier/${opkey}** at each configuration level based on the…
|
/ohos5.0/base/telephony/telephony_data/test/unittest/data_test/ |
H A D | BUILD.gn | 30 "$SOURCE_DIR/opkey/include",
|
/ohos5.0/base/telephony/telephony_data/test/unittest/data_gtest/ |
H A D | BUILD.gn | 28 "$SOURCE_DIR/opkey/include",
|
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | core_service_client.h | 716 int32_t GetOpKey(int32_t slotId, std::u16string &opkey); 905 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey);
|
H A D | i_core_service.h | 129 virtual int32_t GetOpKey(int32_t slotId, std::u16string &opkey) = 0; 149 virtual int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) = 0;
|
H A D | core_service_proxy.h | 127 int32_t GetOpKey(int32_t slotId, std::u16string &opkey) override; 146 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) override;
|
/ohos5.0/base/telephony/core_service/frameworks/native/src/ |
H A D | core_service_client.cpp | 846 int32_t CoreServiceClient::GetOpKey(int32_t slotId, std::u16string &opkey) in GetOpKey() argument 853 return proxy->GetOpKey(slotId, opkey); in GetOpKey() 1064 int32_t CoreServiceClient::GetTargetOpkey(int32_t slotId, std::u16string &opkey) in GetTargetOpkey() argument 1071 return proxy->GetTargetOpkey(slotId, opkey); in GetTargetOpkey()
|
/ohos5.0/base/telephony/core_service/services/core/include/ |
H A D | core_service.h | 209 int32_t GetOpKey(int32_t slotId, std::u16string &opkey) override; 257 int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) override;
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_test.cpp | 790 std::u16string opkey; variable 791 int32_t result = CoreServiceClient::GetInstance().GetOpKey(SimTest::slotId_, opkey); 806 std::u16string opkey; variable 807 int32_t result = CoreServiceClient::GetInstance().GetOpKey(SimTest::slotId1_, opkey);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-sim.md | 1152 获取指定卡槽中SIM卡的opkey。使用callback异步回调。 1200 获取指定卡槽中SIM卡的opkey。使用Promise异步回调。 1214 | Promise<string\> | 以Promise形式返回指定卡槽中SIM卡的opkey。 | 1246 获取指定卡槽中SIM卡的opkey。 1260 | string | 返回指定卡槽中SIM卡的opkey。 |
|
/ohos5.0/base/telephony/core_service/services/telephony_ext_wrapper/include/ |
H A D | telephony_ext_wrapper.h | 96 typedef void (*GET_TARGET_OPKEY)(int32_t slotId, std::u16string &opkey);
|
/ohos5.0/base/telephony/core_service/services/core/src/ |
H A D | core_service.cpp | 1295 int32_t CoreService::GetOpKey(int32_t slotId, std::u16string &opkey) in GetOpKey() argument 1302 return simManager_->GetOpKey(slotId, opkey); in GetOpKey() 1622 int32_t CoreService::GetTargetOpkey(int32_t slotId, std::u16string &opkey) in GetTargetOpkey() argument 1629 TELEPHONY_EXT_WRAPPER.getTargetOpkey_(slotId, opkey); in GetTargetOpkey()
|
H A D | core_service_stub.cpp | 1606 std::u16string opkey; in OnGetOpKey() local 1607 int32_t result = GetOpKey(slotId, opkey); in OnGetOpKey() 1613 if (!reply.WriteString16(opkey)) { in OnGetOpKey() 1906 std::u16string opkey; in OnGetTargetOpkey() local 1907 int32_t result = GetTargetOpkey(slotId, opkey); in OnGetTargetOpkey() 1908 if (!reply.WriteString16(opkey)) { in OnGetTargetOpkey()
|