Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java100 private PinnedHeader[] mHeaders; field in PinnedHeaderListView
165 if (mHeaders == null) { in onScroll()
166 mHeaders = new PinnedHeader[mSize]; in onScroll()
167 } else if (mHeaders.length < mSize) { in onScroll()
168 PinnedHeader[] headers = mHeaders; in onScroll()
169 mHeaders = new PinnedHeader[mSize]; in onScroll()
170 System.arraycopy(headers, 0, mHeaders, 0, headers.length); in onScroll()
175 if (mHeaders[i] == null) { in onScroll()
176 mHeaders[i] = new PinnedHeader(); in onScroll()
178 mHeaders[i].view = mAdapter.getPinnedHeaderView(i, mHeaders[i].view, this); in onScroll()
[all …]
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DFederatedComputeHttpResponse.java32 private Map<String, List<String>> mHeaders = new HashMap<>(); field in FederatedComputeHttpResponse
44 return mHeaders; in getHeaders()
54 if (mHeaders.containsKey(CONTENT_ENCODING_HDR)) { in isResponseCompressed()
55 for (String format : mHeaders.get(CONTENT_ENCODING_HDR)) { in isResponseCompressed()
81 mHttpResponse.mHeaders = headers; in setHeaders()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementHttpResponse.java29 private Map<String, List<String>> mHeaders; field in MeasurementHttpResponse
34 mHeaders = Map.of(); in MeasurementHttpResponse()
46 return mHeaders; in getHeaders()
73 mHttpResponse.mHeaders = headers; in setHeaders()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java83 private PduHeaders mHeaders = null; field in PduParser
128 mHeaders = parseHeaders(mPduDataStream); in parse()
129 if (null == mHeaders) { in parse()
135 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse()
138 if (false == checkMandatoryHeader(mHeaders)) { in parse()
146 int retrieveStatus = mHeaders.hasHeader(PduHeaders.RETRIEVE_STATUS) ? in parse()
147 mHeaders.getOctet(PduHeaders.RETRIEVE_STATUS) : PduHeaders.RETRIEVE_STATUS_OK; in parse()
165 SendReq sendReq = new SendReq(mHeaders, mBody); in parse()
171 SendConf sendConf = new SendConf(mHeaders); in parse()
178 new NotificationInd(mHeaders); in parse()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java61 private PduHeaders mHeaders = null; field in PduParser
113 mHeaders = parseHeaders(mPduDataStream); in parse()
114 if (null == mHeaders) { in parse()
120 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse()
123 if (false == checkMandatoryHeader(mHeaders)) { in parse()
143 SendReq sendReq = new SendReq(mHeaders, mBody); in parse()
149 SendConf sendConf = new SendConf(mHeaders); in parse()
156 new NotificationInd(mHeaders); in parse()
163 new NotifyRespInd(mHeaders); in parse()
170 new RetrieveConf(mHeaders, mBody); in parse()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java291 private final Headers mHeaders; field in Http.HttpError
302 mHeaders = headers; in HttpError()
315 return mHeaders; in getHeaders()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java762 private final Map<String, String> mHeaders; field in CaptivePortalLoginActivityTest.HttpServer.MockResponse
767 this.mHeaders = Collections.unmodifiableMap(new HashMap<>(headers)); in MockResponse()
822 mockResponse.mHeaders.forEach(response::addHeader); in serve()