/ohos5.0/base/telephony/core_service/services/sim/src/ |
H A D | sim_account_manager.cpp | 110 int32_t SimAccountManager::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument 114 return privilegeController_->HasOperatorPrivileges(hasOperatorPrivileges); in HasOperatorPrivileges() 127 return controller->HasOperatorPrivileges(hasOperatorPrivileges); in HasOperatorPrivileges()
|
H A D | icc_operator_privilege_controller.cpp | 199 int32_t IccOperatorPrivilegeController::HasOperatorPrivileges(bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument 203 return HasOperatorPrivileges(certHash, packageName, hasOperatorPrivileges); in HasOperatorPrivileges() 207 …const std::string_view &certHash, const std::string_view &packageName, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument 227 hasOperatorPrivileges = false; in HasOperatorPrivileges() 236 hasOperatorPrivileges = true; in HasOperatorPrivileges() 242 hasOperatorPrivileges = false; in HasOperatorPrivileges()
|
H A D | sim_manager.cpp | 613 int32_t SimManager::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument 620 return simAccountManager_[slotId]->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
|
/ohos5.0/base/telephony/core_service/services/sim/include/ |
H A D | icc_operator_privilege_controller.h | 43 int32_t HasOperatorPrivileges(bool &hasOperatorPrivileges); 45 …onst std::string_view &certHash, const std::string_view &packageName, bool &hasOperatorPrivileges);
|
H A D | sim_account_manager.h | 37 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges);
|
H A D | sim_manager.h | 90 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-sim.md | 158 ## sim.hasOperatorPrivileges<sup>7+</sup> 160 hasOperatorPrivileges\(slotId: number, callback: AsyncCallback\<boolean\>\): void 191 sim.hasOperatorPrivileges(0, (err: BusinessError, data: boolean) => { 196 ## sim.hasOperatorPrivileges<sup>7+</sup> 198 hasOperatorPrivileges\(slotId: number\): Promise\<boolean\> 234 sim.hasOperatorPrivileges(0).then((data: boolean) => { 235 console.log(`hasOperatorPrivileges success, promise: data->${JSON.stringify(data)}`); 237 console.error(`hasOperatorPrivileges failed, promise: err->${JSON.stringify(err)}`);
|
/ohos5.0/base/telephony/core_service/interfaces/kits/js/ |
H A D | @ohos.telephony.sim.d.ts | 108 function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void; 127 function hasOperatorPrivileges(slotId: number): Promise<boolean>;
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_test_util.cpp | 412 bool hasOperatorPrivileges = false; in HasOperatorPrivileges() local 413 …2_t result = CoreServiceClient::GetInstance().HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges() 420 bool hasOperatorPrivileges = false; in HasOperatorPrivileges1() local 421 …2_t result = CoreServiceClient::GetInstance().HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges1()
|
H A D | zero_branch_test_sim_ril.cpp | 94 bool hasOperatorPrivileges = false; variable 101 …ccOperatorPrivilegeController->HasOperatorPrivileges(certHash, packageName, hasOperatorPrivileges); 120 …EXPECT_GT(iccOperatorPrivilegeController->HasOperatorPrivileges(hasOperatorPrivileges), TELEPHONY_… 148 bool hasOperatorPrivileges = false; variable 149 simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges); 151 simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges); 153 …EXPECT_GE(simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges), TELEPHONY_ERR_SUCCES… 155 …EXPECT_GE(simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges), TELEPHONY_ERR_SUCCES…
|
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-sim.md | 158 ## sim.hasOperatorPrivileges<sup>7+</sup> 160 hasOperatorPrivileges\(slotId: number, callback: AsyncCallback\<boolean\>\): void 191 sim.hasOperatorPrivileges(0, (err: BusinessError, data: boolean) => { 196 ## sim.hasOperatorPrivileges<sup>7+</sup> 198 hasOperatorPrivileges\(slotId: number\): Promise\<boolean\> 234 sim.hasOperatorPrivileges(0).then((data: boolean) => { 235 console.log(`hasOperatorPrivileges success, promise: data->${JSON.stringify(data)}`); 237 console.error(`hasOperatorPrivileges failed, promise: err->${JSON.stringify(err)}`);
|
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | i_sim_manager.h | 77 virtual int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) = 0;
|
H A D | core_service_client.h | 789 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges);
|
H A D | i_core_service.h | 138 virtual int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) = 0;
|
H A D | core_service_proxy.h | 136 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override;
|
H A D | core_manager_inner.h | 243 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-telephony.md | 23 …s.telephony.sim | sim | hasOperatorPrivileges(slotId: number, callback: AsyncCallback\<boolean>): …
|
/ohos5.0/base/telephony/core_service/frameworks/native/src/ |
H A D | core_service_client.cpp | 926 int32_t CoreServiceClient::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument 933 return proxy->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
|
/ohos5.0/base/telephony/core_service/ |
H A D | README_zh.md | 89 | function hasOperatorPrivileges(slotId: number, callback: AsyncCallback\<boolean>): void | 检查应用(调用…
|
H A D | README.md | 90 | function hasOperatorPrivileges(slotId: number, callback: AsyncCallback\<boolean>): void | Checks …
|
/ohos5.0/base/telephony/core_service/services/core/include/ |
H A D | core_service.h | 227 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override;
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-telephony.md | 23 …s.telephony.sim | sim | hasOperatorPrivileges(slotId: number, callback: AsyncCallback\<boolean>): …
|
/ohos5.0/base/telephony/core_service/services/core/src/ |
H A D | core_service.cpp | 1449 int32_t CoreService::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument 1456 return simManager_->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
|
H A D | core_service_stub.cpp | 1769 bool hasOperatorPrivileges = false; in OnHasOperatorPrivileges() local 1770 int32_t result = HasOperatorPrivileges(slotId, hasOperatorPrivileges); in OnHasOperatorPrivileges() 1773 ret = (ret && reply.WriteBool(hasOperatorPrivileges)); in OnHasOperatorPrivileges()
|
/ohos5.0/base/telephony/core_service/services/sim/test/ |
H A D | test.cpp | 1351 bool hasOperatorPrivileges = false; in TestHasOperatorPrivileges() local 1352 int32_t result = g_telephonyService->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in TestHasOperatorPrivileges()
|