Home
last modified time | relevance | path

Searched refs:headers (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DEasSyncServiceTests.java60 Header[] headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders() local
61 assertEquals(0, headers.length); in testAddHeaders()
66 headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders()
67 assertEquals(1, headers.length); in testAddHeaders()
68 assertEquals("0", headers[0].getValue()); in testAddHeaders()
75 headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders()
76 assertEquals(1, headers.length); in testAddHeaders()
77 assertEquals("0", headers[0].getValue()); in testAddHeaders()
83 headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders()
84 assertEquals(1, headers.length); in testAddHeaders()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/
DEasSyncServiceTests.java60 Header[] headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders() local
61 assertEquals(0, headers.length); in testAddHeaders()
66 headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders()
67 assertEquals(1, headers.length); in testAddHeaders()
68 assertEquals("0", headers[0].getValue()); in testAddHeaders()
75 headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders()
76 assertEquals(1, headers.length); in testAddHeaders()
77 assertEquals("0", headers[0].getValue()); in testAddHeaders()
83 headers = method.getHeaders("X-MS-PolicyKey"); in testAddHeaders()
84 assertEquals(1, headers.length); in testAddHeaders()
[all …]
/packages/apps/Browser/src/com/android/browser/
DPreloadedTabControl.java53 public void loadUrlIfChanged(String url, Map<String, String> headers) { in loadUrlIfChanged() argument
65 loadUrl(url, headers); in loadUrlIfChanged()
69 public void loadUrl(String url, Map<String, String> headers) { in loadUrl() argument
71 mTab.loadUrl(url, headers); in loadUrl()
DPreloadRequestReceiver.java99 Map<String, String> headers = null; in handlePreload() local
116 headers = new HashMap<String, String>(); in handlePreload()
119 headers.put(key, pairs.getString(key)); in handlePreload()
127 headers + ", " + sbQuery + ")"); in handlePreload()
129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery); in handlePreload()
DIntentHandler.java207 Map<String, String> headers = null; in getUrlDataFromIntent() local
221 headers = new HashMap<String, String>(); in getUrlDataFromIntent()
224 headers.put(key, pairs.getString(key)); in getUrlDataFromIntent()
258 return new UrlData(url, headers, intent, preloaded, preloadedSearchBoxQuery); in getUrlDataFromIntent()
348 UrlData(String url, Map<String, String> headers, Intent intent) { in UrlData() argument
349 this(url, headers, intent, null, null); in UrlData()
352 UrlData(String url, Map<String, String> headers, Intent intent, in UrlData() argument
355 this.mHeaders = headers; in UrlData()
DPreloader.java90 public void handlePreloadRequest(String id, String url, Map<String, String> headers, in handlePreloadRequest() argument
102 tab.loadUrlIfChanged(url, headers); in handlePreloadRequest()
105 tab.loadUrl(url, headers); in handlePreloadRequest()
DSnapshotTab.java126 public void loadUrl(String url, Map<String, String> headers) { in loadUrl() argument
131 super.loadUrl(url, headers); in loadUrl()
DTab.java1890 public void loadUrl(String url, Map<String, String> headers) { in loadUrl() argument
1896 mMainView.loadUrl(url, headers); in loadUrl()
DController.java2566 protected void loadUrl(Tab tab, String url, Map<String, String> headers) { in loadUrl() argument
2569 tab.loadUrl(url, headers); in loadUrl()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DOpenHelper.java83 final Cursor headers = context.getContentResolver() in getRefererUri() local
86 while (headers.moveToNext()) { in getRefererUri()
87 final String header = getCursorString(headers, RequestHeaders.COLUMN_HEADER); in getRefererUri()
89 return getCursorUri(headers, RequestHeaders.COLUMN_VALUE); in getRefererUri()
93 headers.close(); in getRefererUri()
/packages/apps/Email/src/org/apache/james/mime4j/
DSimpleContentHandler.java42 public abstract void headers(Header header); in headers() method in SimpleContentHandler
83 headers(tmp); in endHeader()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/widget/
DPinnedHeaderUseCaseActivity.java76 private void startActivity(int[] counts, String[] names, boolean[] headers, in startActivity() argument
83 intent.putExtra("headers", headers); in startActivity()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java127 private HttpURLConnection createConnection(String url, Map<String, String> headers) in createConnection() argument
132 if (headers != null) { in createConnection()
133 for (Map.Entry<String,String> e : headers.entrySet()) { in createConnection()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java169 List<String> headers = takeRequest().getHeaders(); in testInterruptedDownload() local
170 assertTrue("No Range header: " + headers, in testInterruptedDownload()
171 headers.contains("Range: bytes=" + initialLength + "-")); in testInterruptedDownload()
172 assertTrue("No ETag header: " + headers, headers.contains("If-Match: " + ETAG)); in testInterruptedDownload()
345 List<String> headers = takeRequest().getHeaders(); in testRequestHeaders() local
346 assertTrue(headers.contains("Header1: value1")); in testRequestHeaders()
347 assertTrue(headers.contains("Header2: value2")); in testRequestHeaders()
/packages/apps/Contacts/src/com/android/contacts/widget/
DPinnedHeaderListDemoActivity.java49 public void setHeaders(String[] headers) { in setHeaders() argument
50 this.mHeaders = headers; in setHeaders()
DPinnedHeaderListView.java162 PinnedHeader[] headers = mHeaders; in onScroll() local
164 System.arraycopy(headers, 0, mHeaders, 0, headers.length); in onScroll()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeMessage.java453 public void setExtendedHeaders(String headers) throws MessagingException { in setExtendedHeaders() argument
454 if (TextUtils.isEmpty(headers)) { in setExtendedHeaders()
458 for (String header : END_OF_LINE.split(headers)) { in setExtendedHeaders()
461 throw new MessagingException("Illegal extended headers: " + headers); in setExtendedHeaders()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java95 String[] headers = message.getHeader("Date"); in doTestSetSentDate() local
96 assertEquals(1, headers.length); in doTestSetSentDate()
101 Date result = format.parse(headers[0]); in doTestSetSentDate()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java544 String[] headers = viewable.getHeader(MimeHeader.HEADER_ANDROID_BODY_QUOTED_PART); in checkLegacyMessage() local
545 if (headers != null) { in checkLegacyMessage()
546 String header = headers[0]; in checkLegacyMessage()
/packages/apps/Settings/src/com/android/settings/
DSettings.java412 public void onBuildHeaders(List<Header> headers) { in onBuildHeaders() argument
413 loadHeadersFromResource(R.xml.settings_headers, headers); in onBuildHeaders()
415 updateHeaderList(headers); in onBuildHeaders()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettings.java457 Header[] headers = (Header[]) result[0]; in onPostExecute()
460 mAccountListHeaders = headers; in onPostExecute()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile795 # should be ignored while generating the index headers.
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile795 # should be ignored while generating the index headers.
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile795 # should be ignored while generating the index headers.
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile795 # should be ignored while generating the index headers.