Home
last modified time | relevance | path

Searched refs:cardType (Results 1 – 25 of 27) sorted by relevance

12

/base/telephony/core_service/services/core/src/
Dcore_service_dump_helper.cpp89 CardType cardType = CardType::UNKNOWN_CARD; in ShowCoreServiceInfo() local
90 DelayedSingleton<CoreService>::GetInstance()->GetCardType(i, cardType); in ShowCoreServiceInfo()
91 result.append(GetCardType(static_cast<int32_t>(cardType))); in ShowCoreServiceInfo()
Dcore_service.cpp363 int32_t CoreService::GetCardType(int32_t slotId, CardType &cardType) in GetCardType() argument
371 return simManager_->GetCardType(slotId, cardType); in GetCardType()
Dcore_service_stub.cpp462 CardType cardType = CardType::UNKNOWN_CARD; in OnGetCardType() local
463 int32_t result = GetCardType(slotId, cardType); in OnGetCardType()
466 ret = (ret && reply.WriteInt32(static_cast<int32_t>(cardType))); in OnGetCardType()
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_contexts.h60 CardType cardType; member
65 cardType = info.type_;
/base/telephony/core_service/services/sim/src/
Dsim_file_manager.cpp58 CardType cardType = simStateManager_->GetCardType(); in Init() local
59 TELEPHONY_LOGI("SimFileManager current card type is %{public}d", cardType); in Init()
60 if ((cardType == static_cast<CardType>(0)) || (cardType == CardType::UNKNOWN_CARD)) { in Init()
61 cardType = CardType::SINGLE_MODE_USIM_CARD; // default card in Init()
63 iccType_ = GetIccTypeByCardType(cardType); in Init()
514 CardType cardType = simStateManager_->GetCardType(); in ProcessEvent() local
515 TELEPHONY_LOGI("SimFileManager GetCardType is %{public}d", cardType); in ProcessEvent()
516 SimFileManager::IccType iccType = GetIccTypeByCardType(cardType); in ProcessEvent()
Dsim_file.cpp171 CardType cardType = stateManager_->GetCardType(); in ProcessIccReady() local
172 if (cardType == CardType::SINGLE_MODE_USIM_CARD || cardType == CardType::SINGLE_MODE_SIM_CARD) { in ProcessIccReady()
175 TELEPHONY_LOGI("invalid SimFile::SIM_STATE_READY received %{public}d", cardType); in ProcessIccReady()
Dsim_manager.cpp161 int32_t SimManager::GetCardType(int32_t slotId, CardType &cardType) in GetCardType() argument
167 cardType = simStateManager_[slotId]->GetCardType(); in GetCardType()
Dsim_rdb_helper.cpp340 result->GetInt(index, simBean.cardType); in SaveDataToBean()
/base/telephony/sms_mms/services/sms/
Dsms_network_policy_manager.cpp119 CardType cardType = CardType::UNKNOWN_CARD; in IsCtSimCard() local
120 CoreManagerInner::GetInstance().GetCardType(slotId_, cardType); in IsCtSimCard()
123 TELEPHONY_LOGD("[slot%{public}d] cardType = %{public}d", slotId_, cardType); in IsCtSimCard()
124 switch (cardType) { in IsCtSimCard()
/base/telephony/core_service/services/sim/include/
Dsim_rdb_info.h30 int cardType; variable
Dsim_manager.h44 int32_t GetCardType(int32_t slotId, CardType &cardType) override;
/base/telephony/telephony_data/sim/src/
Dsim_ability.cpp261 int cardType = 0; in SetCard() local
262 valueObject.GetInt(cardType); in SetCard()
263 result = helper_.SetDefaultCardByType(simId, cardType); in SetCard()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_core_service_test.cpp136 CardType cardType = CardType::UNKNOWN_CARD; variable
137 EXPECT_NE(mCoreService->GetCardType(0, cardType), TELEPHONY_ERR_SUCCESS);
293 CardType cardType = CardType::UNKNOWN_CARD; variable
294 EXPECT_NE(mCoreService->GetCardType(0, cardType), TELEPHONY_ERR_SUCCESS);
Dsim_test.cpp880 CardType cardType = CardType::UNKNOWN_CARD; variable
881 int32_t result = CoreServiceClient::GetInstance().GetCardType(SimTest::slotId_, cardType);
896 CardType cardType = CardType::UNKNOWN_CARD; variable
897 int32_t result = CoreServiceClient::GetInstance().GetCardType(SimTest::slotId1_, cardType);
Dzero_branch_test.cpp892 CardType cardType = CardType::UNKNOWN_CARD; variable
893 EXPECT_NE(mInner.GetCardType(0, cardType), TELEPHONY_ERR_SUCCESS);
1179 CardType cardType = CardType::UNKNOWN_CARD; variable
1180 EXPECT_NE(simManager->GetCardType(0, cardType), TELEPHONY_ERR_SUCCESS);
1181 EXPECT_NE(simManager->GetCardType(INVALID_SLOTID, cardType), TELEPHONY_ERR_SUCCESS);
/base/telephony/state_registry/frameworks/js/napi/src/
Devent_listener_handler.cpp678 int32_t cardType = static_cast<int32_t>(simStateUpdateInfo->cardType); in WorkSimStateUpdated() local
682 SetPropertyToNapiObject(simStateUpdateInfo->env, callbackValue, "type", cardType); in WorkSimStateUpdated()
/base/telephony/core_service/interfaces/innerkits/include/
Di_sim_manager.h36 virtual int32_t GetCardType(int32_t slotId, CardType &cardType) = 0;
Dcore_service_client.h709 int32_t GetCardType(int32_t slotId, CardType &cardType);
Di_core_service.h53 virtual int32_t GetCardType(int32_t slotId, CardType &cardType) = 0;
Dcore_service_proxy.h45 int32_t GetCardType(int32_t slotId, CardType &cardType) override;
Dcore_manager_inner.h240 int32_t GetCardType(int32_t slotId, CardType &cardType);
/base/telephony/core_service/services/core/include/
Dcore_service.h73 int32_t GetCardType(int32_t slotId, CardType &cardType) override;
/base/telephony/core_service/frameworks/native/src/
Dcore_service_client.cpp835 int32_t CoreServiceClient::GetCardType(int32_t slotId, CardType &cardType) in GetCardType() argument
842 return proxy->GetCardType(slotId, cardType); in GetCardType()
/base/telephony/core_service/frameworks/js/sim/src/
Dnapi_sim.cpp815 CardType cardType = CardType::UNKNOWN_CARD; in NativeGetCardType() local
817 … DelayedRefSingleton<CoreServiceClient>::GetInstance().GetCardType(asyncContext->slotId, cardType); in NativeGetCardType()
821 asyncContext->callbackVal = static_cast<int32_t>(cardType); in NativeGetCardType()
845 CardType cardType = CardType::UNKNOWN_CARD; in GetCardTypeSync() local
849 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(cardType), &value)); in GetCardTypeSync()
855 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(cardType), &value)); in GetCardTypeSync()
859 DelayedRefSingleton<CoreServiceClient>::GetInstance().GetCardType(slotId, cardType); in GetCardTypeSync()
861 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(cardType), &value)); in GetCardTypeSync()
/base/telephony/core_service/services/sim/test/
Dtest.cpp357 CardType cardType = CardType::UNKNOWN_CARD; in TestGetCardType() local
358 g_telephonyService->GetCardType(testSlot, cardType); in TestGetCardType()
359 int32_t result = static_cast<int32_t>(cardType); in TestGetCardType()

12