Home
last modified time | relevance | path

Searched refs:pbCapacity (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/radio/aidl/vts/
Dradio_sim_test.cpp215 PhonebookCapacity pbCapacity = radioRsp_sim->capacity; in TEST_P() local
216 if (pbCapacity.maxAdnRecords > 0) { in TEST_P()
217 EXPECT_TRUE(pbCapacity.maxNameLen > 0 && pbCapacity.maxNumberLen > 0); in TEST_P()
218 EXPECT_TRUE(pbCapacity.usedAdnRecords <= pbCapacity.maxAdnRecords); in TEST_P()
221 if (pbCapacity.maxEmailRecords > 0) { in TEST_P()
222 EXPECT_TRUE(pbCapacity.maxEmailLen > 0); in TEST_P()
223 EXPECT_TRUE(pbCapacity.usedEmailRecords <= pbCapacity.maxEmailRecords); in TEST_P()
226 if (pbCapacity.maxAdditionalNumberRecords > 0) { in TEST_P()
227 EXPECT_TRUE(pbCapacity.maxAdditionalNumberLen > 0); in TEST_P()
228 EXPECT_TRUE(pbCapacity.usedAdditionalNumberRecords <= in TEST_P()
[all …]
Dradio_sim_response.cpp102 const RadioResponseInfo& info, const PhonebookCapacity& pbCapacity) { in getSimPhonebookCapacityResponse() argument
104 capacity = pbCapacity; in getSimPhonebookCapacityResponse()
/hardware/interfaces/radio/1.6/vts/functional/
Dradio_hidl_hal_api.cpp904 ::android::hardware::radio::V1_6::PhonebookCapacity pbCapacity = in TEST_P()
906 if(pbCapacity.maxAdnRecords > 0) { in TEST_P()
907 EXPECT_TRUE(pbCapacity.maxNameLen > 0 && pbCapacity.maxNumberLen > 0); in TEST_P()
908 EXPECT_TRUE(pbCapacity.usedAdnRecords <= pbCapacity.maxAdnRecords); in TEST_P()
911 if(pbCapacity.maxEmailRecords > 0) { in TEST_P()
912 EXPECT_TRUE(pbCapacity.maxEmailLen > 0); in TEST_P()
913 EXPECT_TRUE(pbCapacity.usedEmailRecords <= pbCapacity.maxEmailRecords); in TEST_P()
916 if(pbCapacity.maxAdditionalNumberRecords > 0) { in TEST_P()
917 EXPECT_TRUE(pbCapacity.maxAdditionalNumberLen > 0); in TEST_P()
918 … EXPECT_TRUE(pbCapacity.usedAdditionalNumberRecords <= pbCapacity.maxAdditionalNumberRecords); in TEST_P()
[all …]