Lines Matching refs:addr
76 void CdmaSmsTest::PrintAddr(TransportAddr &addr, string s) const
78 if (addr.addrLen == 0) {
82 ss << s << "digitMode : " << addr.digitMode << endl;
83 ss << s << "numberMode : " << addr.numberMode << endl;
84 ss << s << "numberType : " << static_cast<int>(addr.numberType) << endl;
85 ss << s << "numberPlan : " << static_cast<int>(addr.numberPlan) << endl;
86 ss << s << "addrLen : " << addr.addrLen << endl;
88 for (uint8_t i = 0; i < addr.addrLen; i++) {
89 ss << addr.szData[i];
95 void CdmaSmsTest::PrintSubAddr(TransportSubAddr &addr, string s) const
97 if (addr.addrLen == 0) {
100 switch (addr.type) {
102 cout << s << "type : NSAP - " << static_cast<int>(addr.type) << endl;
105 cout << s << "type : USER - " << static_cast<int>(addr.type) << endl;
108 cout << s << "type : " << static_cast<int>(addr.type) << endl;
111 cout << s << "odd : " << addr.odd << endl;
112 cout << s << "addrLen : " << addr.addrLen << endl;
114 for (uint8_t i = 0; i < addr.addrLen; i++) {
115 ss << addr.szData[i];
120 void CdmaSmsTest::PrintSmsTeleSvcAddr(SmsTeleSvcAddr &addr, string s) const
122 if (addr.addrLen == 0) {
125 cout << s << "digitMode : " << addr.digitMode << endl;
126 cout << s << "numberType : " << static_cast<int>(addr.numberType) << endl;
127 cout << s << "numberPlan : " << static_cast<int>(addr.numberPlan) << endl;
128 cout << s << "addrLen : " << addr.addrLen << endl;
130 for (uint8_t i = 0; i < addr.addrLen; i++) {
131 ss << addr.szData[i];