Home
last modified time | relevance | path

Searched refs:envelope (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java132 byte[] envelope = new byte[totalLength]; in handleDataDownload()
136 envelope[index++] = (byte) BER_SMS_PP_DOWNLOAD_TAG; in handleDataDownload()
138 envelope[index++] = (byte) 0x81; // length 128-255 encoded as 0x81 + length in handleDataDownload()
140 envelope[index++] = (byte) bodyLength; in handleDataDownload()
143 envelope[index++] = (byte) (0x80 | ComprehensionTlvTag.DEVICE_IDENTITIES.value()); in handleDataDownload()
144 envelope[index++] = (byte) 2; in handleDataDownload()
145 envelope[index++] = (byte) DEV_ID_NETWORK; in handleDataDownload()
146 envelope[index++] = (byte) DEV_ID_UICC; in handleDataDownload()
150 envelope[index++] = (byte) ComprehensionTlvTag.ADDRESS.value(); in handleDataDownload()
151 envelope[index++] = (byte) scAddressLength; in handleDataDownload()
[all …]
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp196 void log_envelope(const ReportFileProto& envelope) { in log_envelope() argument
198 for (int i=0; i<envelope.report_size(); i++) { in log_envelope()
200 ALOGD(" pkg=%s", envelope.report(i).pkg().c_str()); in log_envelope()
201 ALOGD(" cls=%s", envelope.report(i).cls().c_str()); in log_envelope()
202 ALOGD(" share_approved=%d", envelope.report(i).share_approved()); in log_envelope()
203 ALOGD(" privacy_policy=%d", envelope.report(i).privacy_policy()); in log_envelope()
204 ALOGD(" all_sections=%d", envelope.report(i).all_sections()); in log_envelope()
205 for (int j=0; j<envelope.report(i).section_size(); j++) { in log_envelope()
206 ALOGD(" section[%d]=%d", j, envelope.report(i).section(j)); in log_envelope()
210 ALOGD(" data_file=%s", envelope.data_file().c_str()); in log_envelope()
[all …]
DBroadcaster.cpp181 const ReportFileProto& envelope = file->getEnvelope(); in sendBroadcasts() local
183 if (!envelope.completed()) { in sendBroadcasts()
196 size_t reportCount = envelope.report_size(); in sendBroadcasts()
200 const ReportFileProto_Report& report = envelope.report(reportIndex); in sendBroadcasts()
DIncidentService.cpp374 const ReportFileProto& envelope = file->getEnvelope(); in getIncidentReportList() local
375 size_t reportCount = envelope.report_size(); in getIncidentReportList()
377 const ReportFileProto_Report& report = envelope.report(reportIndex); in getIncidentReportList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DUpdateResponseMessage.java42 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); in serializeToSoapEnvelope() local
43 envelope.implicitTypes = true; // Do not include type in element attribute in serializeToSoapEnvelope()
44 envelope.setAddAdornments(false); // Do not generate/include IDs for each element in serializeToSoapEnvelope()
65 envelope.setOutputSoapObject(requestObject); in serializeToSoapEnvelope()
66 return envelope; in serializeToSoapEnvelope()
DPostDevDataMessage.java54 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); in serializeToSoapEnvelope() local
55 envelope.implicitTypes = true; // Do not include type in element attribute in serializeToSoapEnvelope()
56 envelope.setAddAdornments(false); // Do not generate/include IDs for each element in serializeToSoapEnvelope()
78 envelope.setOutputSoapObject(requestObject); in serializeToSoapEnvelope()
79 return envelope; in serializeToSoapEnvelope()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java464 SmsEnvelope envelope = new SmsEnvelope(); in handleTestAction() local
469 envelope.origAddress = nonNullAddress; in handleTestAction()
472 envelope.serviceCategory = intent.getIntExtra("service_category", -1); in handleTestAction()
473 if (envelope.serviceCategory == -1) { in handleTestAction()
480 envelope.bearerData = decodeHexString(bearerDataString); in handleTestAction()
481 if (envelope.bearerData == null) { in handleTestAction()
486 SmsMessage sms = new SmsMessage(new CdmaSmsAddress(), envelope); in handleTestAction()
508 SmsEnvelope envelope = new SmsEnvelope(); in handleTestAction() local
513 envelope.origAddress = nonNullAddress; in handleTestAction()
517 envelope.bearerData = decodeHexString(bearerDataString); in handleTestAction()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java397 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); in verifyExchangeSoapMessage() local
398 envelope.bodyIn = new SoapObject(); in verifyExchangeSoapMessage()
403 assertTrue(mOsuServerConnection.exchangeSoapMessage(envelope)); in verifyExchangeSoapMessage()
539 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); in verifyCleanup() local
540 envelope.bodyIn = new SoapObject(); in verifyCleanup()
545 assertTrue(mOsuServerConnection.exchangeSoapMessage(envelope)); in verifyCleanup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken33 * Dummy BaseCommands for UsimDataDownloadTest. Only implements UICC envelope and
44 private boolean mExpectingSendEnvelope; // true to expect a send envelope command
45 private String mExpectingSendEnvelopeContents; // expected string for send envelope
80 * @param contents expected envelope contents to send
83 * @param response simulated envelope response to return
103 Assert.assertFalse("expecting send envelope call", mExpectingSendEnvelope);
146 Assert.assertTrue("unexpected call to send envelope", mExpectingSendEnvelope);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java992 SmsEnvelope envelope = new SmsEnvelope();
993 envelope.messageType = SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT;
994 envelope.teleService = teleservice;
995 envelope.destAddress = destAddr;
996 envelope.bearerReply = RETURN_ACK;
997 envelope.bearerData = encodedBearerData;
1011 dos.writeInt(envelope.teleService);