Home
last modified time | relevance | path

Searched refs:envelope (Results 1 – 9 of 9) 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/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/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.cpp342 const ReportFileProto& envelope = file->getEnvelope(); in getIncidentReportList() local
343 size_t reportCount = envelope.report_size(); in getIncidentReportList()
345 const ReportFileProto_Report& report = envelope.report(reportIndex); in getIncidentReportList()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java313 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); in verifyExchangeSoapMessage() local
314 envelope.bodyIn = new SoapObject(); in verifyExchangeSoapMessage()
319 assertTrue(mOsuServerConnection.exchangeSoapMessage(envelope)); in verifyExchangeSoapMessage()
455 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); in verifyCleanup() local
456 envelope.bodyIn = new SoapObject(); in verifyCleanup()
461 assertTrue(mOsuServerConnection.exchangeSoapMessage(envelope)); in verifyCleanup()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java886 SmsEnvelope envelope = new SmsEnvelope(); in privateGetSubmitPdu() local
887 envelope.messageType = SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; in privateGetSubmitPdu()
888 envelope.teleService = teleservice; in privateGetSubmitPdu()
889 envelope.destAddress = destAddr; in privateGetSubmitPdu()
890 envelope.bearerReply = RETURN_ACK; in privateGetSubmitPdu()
891 envelope.bearerData = encodedBearerData; in privateGetSubmitPdu()
905 dos.writeInt(envelope.teleService); in privateGetSubmitPdu()
/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);