Home
last modified time | relevance | path

Searched refs:cardStatus (Results 1 – 25 of 56) sorted by relevance

123

/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_icc.cpp25 EXPECT_LE(cardStatus.applications.size(), (unsigned int)RadioConst::CARD_MAX_APPS); in TEST_P()
26 EXPECT_LT(cardStatus.gsmUmtsSubscriptionAppIndex, (int)RadioConst::CARD_MAX_APPS); in TEST_P()
27 EXPECT_LT(cardStatus.cdmaSubscriptionAppIndex, (int)RadioConst::CARD_MAX_APPS); in TEST_P()
28 EXPECT_LT(cardStatus.imsSubscriptionAppIndex, (int)RadioConst::CARD_MAX_APPS); in TEST_P()
41 for (int i = 0; i < (int)cardStatus.applications.size(); i++) { in TEST_P()
42 if (cardStatus.applications[i].appType == AppType::SIM || in TEST_P()
43 cardStatus.applications[i].appType == AppType::USIM || in TEST_P()
44 cardStatus.applications[i].appType == AppType::RUIM || in TEST_P()
45 cardStatus.applications[i].appType == AppType::CSIM) { in TEST_P()
47 cardStatus.applications[i].aidPtr); in TEST_P()
[all …]
Dradio_hidl_hal_misc.cpp33 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
51 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
69 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
87 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
105 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
123 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
144 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
166 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
188 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
206 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
[all …]
Dradio_hidl_hal_voice.cpp32 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
54 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
79 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
100 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
120 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
140 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
160 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
180 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
200 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
218 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
[all …]
Dradio_hidl_hal_ims.cpp33 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
52 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
73 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
97 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
119 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
139 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
158 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
177 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
198 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
Dradio_hidl_hal_stk.cpp38 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
63 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
86 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
108 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
132 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
Dradio_hidl_hal_sms.cpp38 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
67 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
91 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
114 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
157 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
184 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
237 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
257 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
280 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
306 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
[all …]
Dradio_hidl_hal_cell_broadcast.cpp78 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
100 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
130 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
151 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
172 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
194 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
Dradio_hidl_hal_data.cpp37 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
39 } else if (cardStatus.cardState == CardState::PRESENT) { in TEST_P()
159 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
187 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
209 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
253 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
276 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
321 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
Dradio_hidl_hal_test.cpp75 EXPECT_EQ(CardState::PRESENT, cardStatus.cardState); in SetUp()
/hardware/interfaces/radio/aidl/vts/
Dradio_sim_test.cpp47 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()
[all …]
Dradio_voice_test.cpp51 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in SetUp()
314 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
340 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
364 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
388 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
411 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
434 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
458 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
482 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
509 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
[all …]
Dradio_modem_test.cpp50 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in SetUp()
190 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
213 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
244 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
261 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
281 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
306 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
323 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
349 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
375 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
[all …]
Dradio_messaging_test.cpp50 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in SetUp()
80 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
111 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
162 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
213 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
283 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
310 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
344 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
370 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
396 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
[all …]
Dradio_data_test.cpp52 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in SetUp()
129 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
133 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
222 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
226 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
387 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
390 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
440 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
443 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
471 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
[all …]
Dradio_network_test.cpp65 EXPECT_EQ(CardStatus::STATE_PRESENT, cardStatus.cardState); in SetUp()
1055 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1057 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
1099 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1102 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
1135 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1138 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
1171 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
1174 } else if (cardStatus.cardState == CardStatus::STATE_PRESENT) { in TEST_P()
1207 if (cardStatus.cardState == CardStatus::STATE_ABSENT) { in TEST_P()
[all …]
/hardware/interfaces/radio/1.4/vts/functional/
Dradio_hidl_hal_api.cpp281 if (cardStatus.base.base.cardState == CardState::ABSENT) { in TEST_P()
283 } else if (cardStatus.base.base.cardState == CardState::PRESENT) { in TEST_P()
321 if (cardStatus.base.base.cardState == CardState::ABSENT) { in TEST_P()
324 } else if (cardStatus.base.base.cardState == CardState::PRESENT) { in TEST_P()
354 if (cardStatus.base.base.cardState == CardState::ABSENT) { in TEST_P()
357 } else if (cardStatus.base.base.cardState == CardState::PRESENT) { in TEST_P()
386 if (cardStatus.base.base.cardState == CardState::ABSENT) { in TEST_P()
389 } else if (cardStatus.base.base.cardState == CardState::PRESENT) { in TEST_P()
418 if (cardStatus.base.base.cardState == CardState::ABSENT) { in TEST_P()
421 } else if (cardStatus.base.base.cardState == CardState::PRESENT) { in TEST_P()
[all …]
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_api.cpp26 CardState cardStateForTest = cardStatus.cardState; in TEST_P()
44 while (cardStatus.cardState != CardState::ABSENT && in TEST_P()
51 EXPECT_EQ(CardState::ABSENT, cardStatus.cardState); in TEST_P()
74 while (cardStatus.cardState != CardState::PRESENT && in TEST_P()
82 EXPECT_EQ(CardState::PRESENT, cardStatus.cardState); in TEST_P()
114 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
141 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
161 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
186 if (cardStatus.cardState == CardState::ABSENT) { in TEST_P()
Dradio_hidl_hal_test.cpp72 EXPECT_EQ(CardState::PRESENT, cardStatus.cardState); in SetUp()
/hardware/interfaces/radio/1.2/vts/functional/
Dradio_hidl_hal_test.cpp73 EXPECT_EQ(CardState::PRESENT, cardStatus.base.cardState); in SetUp()
114 if (cardStatus.physicalSlotId < 0 || in getLogicalSimId()
115 cardStatus.physicalSlotId >= radioConfigRsp->simSlotStatus.size()) { in getLogicalSimId()
116 ALOGI("Physical slot id: %d is out of range", cardStatus.physicalSlotId); in getLogicalSimId()
120 logicalSlotId = radioConfigRsp->simSlotStatus[cardStatus.physicalSlotId].logicalSlotId; in getLogicalSimId()
Dradio_hidl_hal_api.cpp65 if (cardStatus.base.cardState == CardState::ABSENT) { in TEST_P()
67 } else if (cardStatus.base.cardState == CardState::PRESENT) { in TEST_P()
106 if (cardStatus.base.cardState == CardState::ABSENT) { in TEST_P()
109 } else if (cardStatus.base.cardState == CardState::PRESENT) { in TEST_P()
141 if (cardStatus.base.cardState == CardState::ABSENT) { in TEST_P()
144 } else if (cardStatus.base.cardState == CardState::PRESENT) { in TEST_P()
176 if (cardStatus.base.cardState == CardState::ABSENT) { in TEST_P()
179 } else if (cardStatus.base.cardState == CardState::PRESENT) { in TEST_P()
211 if (cardStatus.base.cardState == CardState::ABSENT) { in TEST_P()
214 } else if (cardStatus.base.cardState == CardState::PRESENT) { in TEST_P()
[all …]
/hardware/interfaces/radio/aidl/compat/libradiocompat/sim/
DRadioResponse-sim.cpp107 const V1_0::CardStatus& cardStatus) { in getIccCardStatusResponse() argument
109 simCb()->getIccCardStatusResponse(toAidl(info), toAidl(cardStatus)); in getIccCardStatusResponse()
114 const V1_2::CardStatus& cardStatus) { in getIccCardStatusResponse_1_2() argument
116 simCb()->getIccCardStatusResponse(toAidl(info), toAidl(cardStatus)); in getIccCardStatusResponse_1_2()
121 const V1_4::CardStatus& cardStatus) { in getIccCardStatusResponse_1_4() argument
123 simCb()->getIccCardStatusResponse(toAidl(info), toAidl(cardStatus)); in getIccCardStatusResponse_1_4()
128 const V1_5::CardStatus& cardStatus) { in getIccCardStatusResponse_1_5() argument
130 simCb()->getIccCardStatusResponse(toAidl(info), toAidl(cardStatus)); in getIccCardStatusResponse_1_5()
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp427 if (cardStatus.base.base.base.cardState != CardState::ABSENT) return; in TEST_P()
454 if (cardStatus.base.base.base.cardState != CardState::PRESENT) return; in TEST_P()
455 if (cardStatus.applications.size() == 0) return; in TEST_P()
509 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
511 } else if (cardStatus.base.base.base.cardState == CardState::PRESENT) { in TEST_P()
607 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
609 } else if (cardStatus.base.base.base.cardState == CardState::PRESENT) { in TEST_P()
646 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
649 } else if (cardStatus.base.base.base.cardState == CardState::PRESENT) { in TEST_P()
690 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
[all …]
/hardware/interfaces/radio/1.6/vts/functional/
Dradio_hidl_hal_api.cpp140 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
146 } else if (cardStatus.base.base.base.cardState == CardState::PRESENT) { in TEST_P()
213 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
219 } else if (cardStatus.base.base.base.cardState == CardState::PRESENT) { in TEST_P()
272 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
300 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
348 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
395 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
612 EXPECT_EQ(0, cardStatus.applications.size()); in TEST_P()
637 EXPECT_EQ(CardState::PRESENT, cardStatus.base.base.base.cardState); in TEST_P()
[all …]
Dradio_hidl_hal_misc.cpp35 if (cardStatus.base.base.base.cardState == CardState::ABSENT) { in TEST_P()
/hardware/interfaces/radio/1.2/
DIRadioResponse.hal47 * @param cardStatus ICC card status as defined by CardStatus in types.hal
52 oneway getIccCardStatusResponse_1_2(RadioResponseInfo info, CardStatus cardStatus);

123