Home
last modified time | relevance | path

Searched refs:hasOperatorPrivileges (Results 1 - 25 of 26) sorted by relevance

12

/base/telephony/core_service/services/sim/include/
H A Dicc_operator_privilege_controller.h43 int32_t HasOperatorPrivileges(bool &hasOperatorPrivileges);
45 const std::string_view &certHash, const std::string_view &packageName, bool &hasOperatorPrivileges);
H A Dsim_account_manager.h37 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges);
H A Dsim_manager.h91 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override;
/base/telephony/core_service/services/sim/src/
H A Dsim_account_manager.cpp110 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 Dicc_operator_privilege_controller.cpp199 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()
227 hasOperatorPrivileges = false; in HasOperatorPrivileges()
236 hasOperatorPrivileges = true; in HasOperatorPrivileges()
242 hasOperatorPrivileges = false; in HasOperatorPrivileges()
206 HasOperatorPrivileges( const std::string_view &certHash, const std::string_view &packageName, bool &hasOperatorPrivileges) HasOperatorPrivileges() argument
H A Dsim_manager.cpp624 int32_t SimManager::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument
631 return simAccountManager_[slotId]->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
/base/telephony/core_service/frameworks/cj/telephony_sim/src/
H A Dtelephony_sim_impl.cpp136 bool TelephonySimImpl::hasOperatorPrivileges(int32_t slotId, int32_t &errCode) in hasOperatorPrivileges() function in OHOS::Telephony::TelephonySimImpl
138 bool hasOperatorPrivileges = false; in hasOperatorPrivileges() local
142 return hasOperatorPrivileges; in hasOperatorPrivileges()
145 slotId, hasOperatorPrivileges); in hasOperatorPrivileges()
147 return hasOperatorPrivileges; in hasOperatorPrivileges()
H A Dtelephony_sim_impl.h30 static bool hasOperatorPrivileges(int32_t slotId, int32_t &errCode);
H A Dtelephony_sim_ffi.cpp36 return TelephonySimImpl::hasOperatorPrivileges(slotId, *errCode); in FfiTelephonySimHasOperatorPrivileges()
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_test_util.cpp412 bool hasOperatorPrivileges = false; in HasOperatorPrivileges() local
413 int32_t result = CoreServiceClient::GetInstance().HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
420 bool hasOperatorPrivileges = false; in HasOperatorPrivileges1() local
421 int32_t result = CoreServiceClient::GetInstance().HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges1()
H A Dzero_branch_test_sim_ril.cpp94 bool hasOperatorPrivileges = false; in HWTEST_F() local
101 iccOperatorPrivilegeController->HasOperatorPrivileges(certHash, packageName, hasOperatorPrivileges); in HWTEST_F()
120 EXPECT_GT(iccOperatorPrivilegeController->HasOperatorPrivileges(hasOperatorPrivileges), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
148 bool hasOperatorPrivileges = false; in HWTEST_F() local
149 simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges); in HWTEST_F()
151 simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges); in HWTEST_F()
153 EXPECT_GE(simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
155 EXPECT_GE(simAccountManager->HasOperatorPrivileges(0, hasOperatorPrivileges), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
/base/telephony/core_service/interfaces/innerkits/include/
H A Dcore_service_client.h786 * @param hasOperatorPrivileges[out], whether your the caller has been granted the operator permissions
789 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges);
H A Di_sim_manager.h89 virtual int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) = 0;
H A Dcore_service_proxy.h136 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override;
H A Di_core_service.h149 virtual int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) = 0;
H A Dcore_manager_inner.h243 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges);
/base/telephony/cellular_data/test/mock/
H A Dmock_core_service.h149 MOCK_METHOD(int32_t, HasOperatorPrivileges, (const int32_t slotId, bool &hasOperatorPrivileges), (override));
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_client.cpp927 int32_t CoreServiceClient::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument
934 return proxy->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
H A Dcore_manager_inner.cpp2363 int32_t CoreManagerInner::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument
2370 return simManager_->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
/base/telephony/core_service/services/core/include/
H A Dcore_service.h227 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override;
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/
H A Desim_core_service_stub_test.h478 int32_t HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) override
/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp1448 int32_t CoreService::HasOperatorPrivileges(const int32_t slotId, bool &hasOperatorPrivileges) in HasOperatorPrivileges() argument
1455 return simManager_->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in HasOperatorPrivileges()
H A Dcore_service_stub.cpp1831 bool hasOperatorPrivileges = false; in OnHasOperatorPrivileges() local
1832 int32_t result = HasOperatorPrivileges(slotId, hasOperatorPrivileges); in OnHasOperatorPrivileges()
1835 ret = (ret && reply.WriteBool(hasOperatorPrivileges)); in OnHasOperatorPrivileges()
/base/telephony/core_service/services/sim/test/
H A Dtest.cpp1351 bool hasOperatorPrivileges = false; in TestHasOperatorPrivileges() local
1352 int32_t result = g_telephonyService->HasOperatorPrivileges(slotId, hasOperatorPrivileges); in TestHasOperatorPrivileges()
/base/telephony/core_service/frameworks/js/sim/src/
H A Dnapi_sim.cpp2849 bool hasOperatorPrivileges = false; in NativeHasOperatorPrivileges() local
2851 reVal->slotId, hasOperatorPrivileges); in NativeHasOperatorPrivileges()
2854 reVal->callbackVal = hasOperatorPrivileges; in NativeHasOperatorPrivileges()
3196 DECLARE_NAPI_FUNCTION("hasOperatorPrivileges", HasOperatorPrivileges), in InitSimInterface()

Completed in 40 milliseconds

12