Lines Matching refs:cardStatus
47 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in SetUp()
93 EXPECT_EQ(0, cardStatus.applications.size()); in TEST_P()
116 updateSimSlotStatus(cardStatus.slotMap.physicalSlotId); in TEST_P()
117 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in TEST_P()
121 EXPECT_EQ(0, cardStatus.slotMap.portId); in TEST_P()
151 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
173 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
180 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
203 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
210 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
250 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
257 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
317 if (cardStatus.cardState != CardStatus::STATE_ABSENT) return; in TEST_P()
351 if (cardStatus.cardState != CardStatus::STATE_PRESENT) return; in TEST_P()
352 if (cardStatus.applications.size() == 0) return; in TEST_P()
413 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
415 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
475 if (cardStatus.cardState != CardStatus::STATE_ABSENT) { in TEST_P()
478 while (cardStatus.cardState != CardStatus::STATE_RESTRICTED && in TEST_P()
530 if (cardStatus.cardState != CardStatus::STATE_ABSENT) { in TEST_P()
534 while (cardStatus.cardState == CardStatus::STATE_RESTRICTED && in TEST_P()
542 EXPECT_NE(CardStatus::STATE_RESTRICTED, cardStatus.cardState); in TEST_P()
559 EXPECT_LE(cardStatus.applications.size(), RadioConst::CARD_MAX_APPS); in TEST_P()
560 EXPECT_LT(cardStatus.gsmUmtsSubscriptionAppIndex, RadioConst::CARD_MAX_APPS); in TEST_P()
561 EXPECT_LT(cardStatus.cdmaSubscriptionAppIndex, RadioConst::CARD_MAX_APPS); in TEST_P()
562 EXPECT_LT(cardStatus.imsSubscriptionAppIndex, RadioConst::CARD_MAX_APPS); in TEST_P()
580 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
581 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
582 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
583 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
584 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
586 cardStatus.applications[i].aidPtr); in TEST_P()
612 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
613 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
614 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
615 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
616 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
618 cardStatus.applications[i].aidPtr); in TEST_P()
644 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
645 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
646 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
647 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
648 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
650 cardStatus.applications[i].aidPtr); in TEST_P()
677 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
678 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
679 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
680 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
681 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
683 cardStatus.applications[i].aidPtr); in TEST_P()
709 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
710 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
711 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
712 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
713 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
715 cardStatus.applications[i].aidPtr); in TEST_P()
741 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
742 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
743 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
744 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
745 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
747 cardStatus.applications[i].aidPtr); in TEST_P()
773 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
774 if (cardStatus.applications[i].appType == AppStatus::APP_TYPE_SIM || in TEST_P()
775 cardStatus.applications[i].appType == AppStatus::APP_TYPE_USIM || in TEST_P()
776 cardStatus.applications[i].appType == AppStatus::APP_TYPE_RUIM || in TEST_P()
777 cardStatus.applications[i].appType == AppStatus::APP_TYPE_CSIM) { in TEST_P()
778 radio_sim->getImsiForApp(serial, cardStatus.applications[i].aidPtr); in TEST_P()
808 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
818 iccIo.aid = cardStatus.applications[i].aidPtr; in TEST_P()
863 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
864 radio_sim->iccOpenLogicalChannel(serial, cardStatus.applications[i].aidPtr, p2); in TEST_P()
963 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
965 cardStatus.applications[i].aidPtr); in TEST_P()
998 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1029 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1054 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1079 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1104 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1132 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1163 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1193 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1220 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1249 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()