Lines Matching refs:cout

92     cout << ss.str() << flush;
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;
117 cout << s << "szData : " << ss.str() << endl << flush;
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;
133 cout << s << "szData : " << ss.str() << endl << flush;
140 cout << s << "udhType : UDH_CONCAT_8BIT - " << static_cast<int>(header.udhType) << endl;
141 cout << s << "concat8bit: msgRef[" << static_cast<int>(header.udh.concat8bit.msgRef) << "] totalSeg["
147 cout << s << "udhType : UDH_CONCAT_16BIT - " << static_cast<int>(header.udhType) << endl;
148 cout << s << "concat16bit.seqNum [" << static_cast<int>(header.udh.concat16bit.seqNum) << "]" << endl;
152 cout << s << "udhType : UDH_APP_PORT_8BIT - " << static_cast<int>(header.udhType) << endl;
153 cout << s << "appPort8bit.destPort [" << static_cast<int>(header.udh.appPort8bit.destPort) << "]" << endl;
154 cout << s << "appPort8bit.originPort [" << static_cast<int>(header.udh.appPort8bit.originPort) << "]"
159 cout << s << "udhType : UDH_APP_PORT_16BIT - " << static_cast<int>(header.udhType) << endl;
160 cout << s << "appPort16bit.destPort [" << static_cast<int>(header.udh.appPort16bit.destPort) << "]" << endl;
161 cout << s << "appPort16bit.originPort [" << static_cast<int>(header.udh.appPort16bit.originPort) << "]"
166 cout << s << "udhType : UDH_SPECIAL_SMS - " << static_cast<int>(header.udhType) << endl;
167 cout << s << "Decoding special sms udh." << endl;
171 cout << s << "udhType : UDH_SINGLE_SHIFT - " << static_cast<int>(header.udhType) << endl;
172 cout << s << "singleShift.langId [" << static_cast<int>(header.udh.singleShift.langId) << "]" << endl;
176 cout << s << "udhType : UDH_LOCKING_SHIFT - " << static_cast<int>(header.udhType) << endl;
177 cout << s << "lockingShift.langId [" << static_cast<int>(header.udh.lockingShift.langId) << "]" << endl;
181 cout << s << "udhType : " << static_cast<int>(header.udhType) << endl;
184 cout << flush;
189 cout << dec << s << static_cast<int>(time.year) << "/" << static_cast<int>(time.month) << "/"
192 cout << flush;
199 cout << s << "encodeType : OCTET - " << static_cast<int>(encodeType) << endl;
202 cout << s << "encodeType : EPM - " << static_cast<int>(encodeType) << endl;
205 cout << s << "encodeType : ASCII_7BIT - " << static_cast<int>(encodeType) << endl;
208 cout << s << "encodeType : IA5 - " << static_cast<int>(encodeType) << endl;
211 cout << s << "encodeType : UNICODE - " << static_cast<int>(encodeType) << endl;
214 cout << s << "encodeType : SHIFT_JIS - " << static_cast<int>(encodeType) << endl;
217 cout << s << "encodeType : KOREAN - " << static_cast<int>(encodeType) << endl;
220 cout << s << "encodeType : LATIN_HEBREW - " << static_cast<int>(encodeType) << endl;
223 cout << s << "encodeType : LATIN - " << static_cast<int>(encodeType) << endl;
226 cout << s << "encodeType : GSM7BIT - " << static_cast<int>(encodeType) << endl;
229 cout << s << "encodeType : GSMDCS - " << static_cast<int>(encodeType) << endl;
232 cout << s << "encodeType : EUCKR - " << static_cast<int>(encodeType) << endl;
235 cout << s << "encodeType : RESERVED - " << static_cast<int>(encodeType) << endl;
238 cout << s << "encodeType : - " << static_cast<int>(encodeType) << endl;
241 cout << flush;
250 cout << s << "msgType : " << static_cast<int>(userData.msgType) << endl;
251 cout << s << "headerCnt : " << static_cast<int>(userData.userData.headerCnt) << endl;
255 cout << s << "length : " << userData.userData.length << endl;
262 cout << s << "data : " << UnicodeToString(unicodeChar, userData.userData.length) << endl;
267 cout << s << "data : " << ss.str() << endl;
269 cout << flush;
278 cout << s << "dataLen : " << cmasData.dataLen << endl;
291 cout << s << "alertText : " << ss.str() << endl;
292 cout << s << "category : " << static_cast<uint32_t>(cmasData.category) << endl;
293 cout << s << "responseType : " << static_cast<uint32_t>(cmasData.responseType) << endl;
294 cout << s << "severity : " << static_cast<uint32_t>(cmasData.severity) << endl;
295 cout << s << "urgency : " << static_cast<uint32_t>(cmasData.urgency) << endl;
296 cout << s << "certainty : " << static_cast<uint32_t>(cmasData.certainty) << endl;
297 cout << s << "id : " << static_cast<uint32_t>(cmasData.id) << endl;
298 cout << s << "alertHandle : " << static_cast<uint32_t>(cmasData.alertHandle) << endl;
299 cout << s << "language : " << static_cast<uint32_t>(cmasData.language) << endl;
300 cout << s << "isWrongRecodeType : " << static_cast<uint32_t>(cmasData.isWrongRecodeType) << endl;
301 cout << s << "expires : " << endl;
303 cout << flush;
308 cout << s << "userAck : " << replyOpt.userAck << endl;
309 cout << s << "dak : " << replyOpt.dak << endl;
310 cout << s << "readAck : " << replyOpt.readAck << endl;
311 cout << s << "report : " << replyOpt.report << endl;
312 cout << flush;
319 cout << s << "RELATIVE : " << static_cast<uint32_t>(valPeriod.time.relTime.time) << endl;
322 cout << s << "ABSOLUTE : " << endl;
326 cout << s << "EMPTY" << endl;
329 cout << s << " " << static_cast<uint32_t>(valPeriod.format) << endl;
332 cout << flush;
337 cout << s << "priority : " << static_cast<int>(vmn.priority) << endl;
338 cout << s << "vmMsgId : " << static_cast<int>(vmn.vmMsgId) << endl;
339 cout << s << "anNumField : " << static_cast<int>(vmn.anNumField) << endl;
340 cout << s << "cliNumField : " << static_cast<int>(vmn.cliNumField) << endl;
341 cout << flush;
346 cout << s << " msgId : " << static_cast<int>(deliver.msgId.msgId) << endl;
347 cout << s << " headerInd : " << static_cast<int>(deliver.msgId.headerInd) << endl;
349 cout << s << " cmasData : " << endl;
352 cout << s << " userData : " << endl;
355 cout << s << " timeStamp : " << endl;
357 cout << s << " valPeriod : " << endl;
359 cout << s << " deferValPeriod : " << endl;
361 cout << s << " replyOpt : " << endl;
363 cout << s << " numMsg : " << static_cast<int>(deliver.numMsg) << endl;
364 cout << s << " language : " << static_cast<int>(deliver.language) << endl;
365 cout << s << " callbackNumber : " << endl;
367 cout << s << " depositId : " << static_cast<int>(deliver.depositId) << endl;
368 cout << s << " vmn : " << endl;
374 cout << s << " msgId : " << static_cast<int>(submit.msgId.msgId) << endl;
375 cout << s << " headerInd : " << static_cast<int>(submit.msgId.headerInd) << endl;
376 cout << s << " userData : " << endl;
378 cout << s << " valPeriod : " << endl;
380 cout << s << " deferValPeriod : " << endl;
382 cout << s << " replyOpt : " << endl;
384 cout << s << " language : " << static_cast<int>(submit.language) << endl;
385 cout << s << " callbackNumber : " << endl;
387 cout << s << " depositId : " << static_cast<int>(submit.depositId) << endl;
392 cout << s << " msgId : " << static_cast<int>(deliveryAck.msgId.msgId) << endl;
393 cout << s << " headerInd : " << static_cast<int>(deliveryAck.msgId.headerInd) << endl;
394 cout << s << " userData : " << endl;
396 cout << s << " timeStamp : " << endl;
398 cout << s << " msgStatus : " << static_cast<int>(deliveryAck.msgStatus) << endl;
403 cout << s << "TeleserviceMsg >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" << endl;
406 cout << s << "Type: RESERVED - " << static_cast<int>(telesvcMsg.type) << endl;
409 cout << s << "Type: DELIVER - " << static_cast<int>(telesvcMsg.type) << endl;
413 cout << s << "Type: SUBMIT - " << static_cast<int>(telesvcMsg.type) << endl;
418 cout << s << "Type: CANCEL - " << static_cast<int>(telesvcMsg.type) << endl;
419 cout << s << " msgId : " << static_cast<int>(telesvcMsg.data.cancel.msgId.msgId) << endl;
420 cout << s << " headerInd : " << static_cast<int>(telesvcMsg.data.cancel.msgId.headerInd) << endl;
423 cout << s << "Type: DELIVERY_ACK - " << static_cast<int>(telesvcMsg.type) << endl;
427 cout << s << "Type: DELIVER_REPORT - " << static_cast<int>(telesvcMsg.type) << endl;
428 cout << s << " msgId : " << static_cast<int>(telesvcMsg.data.report.msgId.msgId) << endl;
429 cout << s << " headerInd : " << static_cast<int>(telesvcMsg.data.report.msgId.headerInd) << endl;
430 cout << s << " userData : " << endl;
432 cout << s << " tpFailCause : " << static_cast<int>(telesvcMsg.data.report.tpFailCause) << endl;
433 cout << s << " language : " << static_cast<int>(telesvcMsg.data.report.language) << endl;
434 cout << s << " multiEncodeData : " << static_cast<int>(telesvcMsg.data.report.multiEncodeData) << endl;
437 cout << s << "Type: SUBMIT_REPORT - " << static_cast<int>(telesvcMsg.type) << endl;
440 cout << s << "Type: RESERVED - " << static_cast<int>(telesvcMsg.type) << endl;
443 cout << s << "TeleserviceMsg <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" << endl << flush;
448 cout << "TransportMsg >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" << endl;
450 cout << "P2P" << endl;
451 cout << " teleserviceId : " << hex << showbase << static_cast<int>(msg.data.p2p.teleserviceId) << dec << endl;
452 cout << " serviceCtg : " << hex << showbase << static_cast<int>(msg.data.p2p.serviceCtg) << dec << endl;
453 cout << " address : " << endl;
455 cout << " subAddress : " << endl;
457 cout << " replySeq : " << static_cast<int>(msg.data.p2p.replySeq) << endl;
458 cout << " telesvcMsg : " << endl;
461 cout << "BROADCAST" << endl;
462 cout << " serviceCtg : " << msg.data.broadcast.serviceCtg << endl;
463 cout << " telesvcMsg : " << endl;
471 cout << "ACK" << endl;
472 cout << " address : " << endl;
474 cout << " subAddress : " << endl;
475 cout << " causeCode : " << endl;
476 cout << " transReplySeq : " << static_cast<int>(msg.data.ack.causeCode.transReplySeq) << endl;
477 cout << " errorClass : " << static_cast<int>(msg.data.ack.causeCode.errorClass) << endl;
478 cout << " causeCode : " << static_cast<int>(msg.data.ack.causeCode.causeCode) << endl;
480 cout << "Unknown type : " << static_cast<int>(msg.type) << endl;
482 cout << "TransportMsg <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" << endl << flush;
489 std::cout << "create transport message error" << std::endl;
494 std::cout << "encode error" << std::endl;
499 std::cout << "get pdubuffer error" << std::endl;
503 std::cout << "TestEncodeSubmitMsg : " << StringUtils::StringToHex(*pdu) << std::endl;
509 std::cout << "CdmaSmsTest::TestTextBasedSmsDelivery" << std::endl;
536 std::cout << "codingType : " << codingType << std::endl;
538 std::cout << "message exceed the limit." << std::endl;
544 std::cout << "CreateSubmitTransMsg nullptr fail." << std::endl;
570 cout << "P2P SUBMIT" << endl;
577 std::cout << "CdmaSmsTest::TestEncodeSubmitMsg" << std::endl;
579 std::cout << "Please enter the desAddr: " << std::endl;
583 std::cout << "Please enter the scAddr: " << std::endl;
587 std::cout << "Please enter the text: " << std::endl;
591 std::cout << "Please enter the force7Bit: " << std::endl;
595 std::cout << "Please enter the statusReport: " << std::endl;
604 std::cout << "CdmaSmsTest::TestEncodeCancelMsg" << std::endl;
605 std::cout << "Please enter the address: " << std::endl;
621 cout << "P2P CANCEL" << endl;
627 std::cout << "CdmaSmsTest::TestEncodeDeliverReportMsg" << std::endl;
628 std::cout << "Please enter the address: " << std::endl;
632 std::cout << "Please enter the text: " << std::endl;
656 cout << "P2P DELIVER_REPORT" << endl;
662 std::cout << "CdmaSmsTest::TestEncodeAckMsg" << std::endl;
663 std::cout << "Please enter the address: " << std::endl;
667 std::cout << "Please enter the errorClass(NONE = 0, TEMPORARY = 2, PERMANENT = 3): " << std::endl;
671 std::cout << "Please enter the causeCode(INVAILD_TELESERVICE_ID = 4, SERVICE_TERMINATION_DENIED = 98): "
687 cout << "ACK" << endl;
693 std::cout << "CdmaSmsTest::TestDecodeMsg" << std::endl;
694 std::cout << "Please enter the pdu: " << std::endl;
703 std::cout << "create transport message error" << std::endl;
707 std::cout << "decode error" << std::endl;
710 cout << "TestDecodeMsg : " << pdu << endl;
716 std::cout << "CdmaSmsTest::TestDecodeBearerData" << std::endl;
717 std::cout << "Please enter the pdu: " << std::endl;
732 std::cout << "create bearer data error" << std::endl;
737 cout << "Decode error!!!!!!!!!!!!!!!!!!!" << endl;
741 cout << "TestDecodeBearerData : " << pdu << endl;
749 std::cout << "\nusage:please input a cmd num:\n"
763 std::cout << "inputCMD is:" << inputCMD << std::endl;