Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java140 byte[] envelope = new byte[totalLength]; in handleDataDownload()
144 envelope[index++] = (byte) BER_SMS_PP_DOWNLOAD_TAG; in handleDataDownload()
146 envelope[index++] = (byte) 0x81; // length 128-255 encoded as 0x81 + length in handleDataDownload()
148 envelope[index++] = (byte) bodyLength; in handleDataDownload()
151 envelope[index++] = (byte) (0x80 | ComprehensionTlvTag.DEVICE_IDENTITIES.value()); in handleDataDownload()
152 envelope[index++] = (byte) 2; in handleDataDownload()
153 envelope[index++] = (byte) DEV_ID_NETWORK; in handleDataDownload()
154 envelope[index++] = (byte) DEV_ID_UICC; in handleDataDownload()
158 envelope[index++] = (byte) ComprehensionTlvTag.ADDRESS.value(); in handleDataDownload()
159 envelope[index++] = (byte) scAddressLength; in handleDataDownload()
[all …]
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp199 void log_envelope(const ReportFileProto& envelope) { in log_envelope() argument
201 for (int i=0; i<envelope.report_size(); i++) { in log_envelope()
203 ALOGD(" pkg=%s", envelope.report(i).pkg().c_str()); in log_envelope()
204 ALOGD(" cls=%s", envelope.report(i).cls().c_str()); in log_envelope()
205 ALOGD(" share_approved=%d", envelope.report(i).share_approved()); in log_envelope()
206 ALOGD(" privacy_policy=%d", envelope.report(i).privacy_policy()); in log_envelope()
207 ALOGD(" all_sections=%d", envelope.report(i).all_sections()); in log_envelope()
208 for (int j=0; j<envelope.report(i).section_size(); j++) { in log_envelope()
209 ALOGD(" section[%d]=%d", j, envelope.report(i).section(j)); in log_envelope()
213 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.cpp424 const ReportFileProto& envelope = file->getEnvelope(); in getIncidentReportList() local
425 size_t reportCount = envelope.report_size(); in getIncidentReportList()
427 const ReportFileProto_Report& report = envelope.report(reportIndex); in getIncidentReportList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java467 SmsEnvelope envelope = new SmsEnvelope(); in handleTestAction() local
472 envelope.origAddress = nonNullAddress; in handleTestAction()
475 envelope.serviceCategory = intent.getIntExtra("service_category", -1); in handleTestAction()
476 if (envelope.serviceCategory == -1) { in handleTestAction()
483 envelope.bearerData = decodeHexString(bearerDataString); in handleTestAction()
484 if (envelope.bearerData == null) { in handleTestAction()
489 SmsMessage sms = new SmsMessage(new CdmaSmsAddress(), envelope); in handleTestAction()
511 SmsEnvelope envelope = new SmsEnvelope(); in handleTestAction() local
516 envelope.origAddress = nonNullAddress; in handleTestAction()
520 envelope.bearerData = decodeHexString(bearerDataString); in handleTestAction()
[all …]
/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);