/base/telephony/core_service/services/core/src/ |
D | core_service_dump_helper.cpp | 89 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()
|
D | core_service.cpp | 363 int32_t CoreService::GetCardType(int32_t slotId, CardType &cardType) in GetCardType() argument 371 return simManager_->GetCardType(slotId, cardType); in GetCardType()
|
D | core_service_stub.cpp | 462 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/ |
D | update_contexts.h | 60 CardType cardType; member 65 cardType = info.type_;
|
/base/telephony/core_service/services/sim/src/ |
D | sim_file_manager.cpp | 58 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()
|
D | sim_file.cpp | 171 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()
|
D | sim_manager.cpp | 161 int32_t SimManager::GetCardType(int32_t slotId, CardType &cardType) in GetCardType() argument 167 cardType = simStateManager_[slotId]->GetCardType(); in GetCardType()
|
D | sim_rdb_helper.cpp | 340 result->GetInt(index, simBean.cardType); in SaveDataToBean()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_network_policy_manager.cpp | 119 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/ |
D | sim_rdb_info.h | 30 int cardType; variable
|
D | sim_manager.h | 44 int32_t GetCardType(int32_t slotId, CardType &cardType) override;
|
/base/telephony/telephony_data/sim/src/ |
D | sim_ability.cpp | 261 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/ |
D | sim_core_service_test.cpp | 136 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);
|
D | sim_test.cpp | 880 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);
|
D | zero_branch_test.cpp | 892 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/ |
D | event_listener_handler.cpp | 678 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/ |
D | i_sim_manager.h | 36 virtual int32_t GetCardType(int32_t slotId, CardType &cardType) = 0;
|
D | core_service_client.h | 709 int32_t GetCardType(int32_t slotId, CardType &cardType);
|
D | i_core_service.h | 53 virtual int32_t GetCardType(int32_t slotId, CardType &cardType) = 0;
|
D | core_service_proxy.h | 45 int32_t GetCardType(int32_t slotId, CardType &cardType) override;
|
D | core_manager_inner.h | 240 int32_t GetCardType(int32_t slotId, CardType &cardType);
|
/base/telephony/core_service/services/core/include/ |
D | core_service.h | 73 int32_t GetCardType(int32_t slotId, CardType &cardType) override;
|
/base/telephony/core_service/frameworks/native/src/ |
D | core_service_client.cpp | 835 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/ |
D | napi_sim.cpp | 815 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/ |
D | test.cpp | 357 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()
|