Home
last modified time | relevance | path

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

123456

/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java140 PVRHeader header = new PVRHeader(); in readPVRHeader() local
142 header.mHeaderSize = headerBuffer.getInt(); in readPVRHeader()
143 header.mHeight = headerBuffer.getInt(); in readPVRHeader()
144 header.mWidth = headerBuffer.getInt(); in readPVRHeader()
145 header.mMipMapCount = headerBuffer.getInt(); in readPVRHeader()
146 header.mpfFlags = headerBuffer.getInt(); in readPVRHeader()
147 header.mDataSize = headerBuffer.getInt(); in readPVRHeader()
148 header.mBitCount = headerBuffer.getInt(); in readPVRHeader()
149 header.mRBitMask = headerBuffer.getInt(); in readPVRHeader()
150 header.mGBitMask = headerBuffer.getInt(); in readPVRHeader()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipMessageUtils.java133 String header = "Via: " + addParamToHeader(BASE_VIA_HEADER_VALUE, "branch", branchId); in generateSipRequest() local
134 header += "\n"; in generateSipRequest()
135 header += "From: " + addParamToHeader(fromContact, "tag", fromTag); in generateSipRequest()
136 header += "\n"; in generateSipRequest()
138 header += "To: " + ((toTag != null) in generateSipRequest()
140 header += "\n"; in generateSipRequest()
141 header += "Call-ID: " + callId; in generateSipRequest()
143 header += "\n"; in generateSipRequest()
144 header += "Accept-Contact: *"; in generateSipRequest()
146 header += ";" + tag; in generateSipRequest()
[all …]
DSipDelegateManagerTest.java1294 String header = "Via: SIP/2.0/TCP [FD00:976A:C202:1808::1]:65529;" in testParcelUnparcelSipMessage() local
1303 SipMessage m = new SipMessage(startLine, header, bytes); in testParcelUnparcelSipMessage()
1322 String header = "Via: SIP/2.0/TCP [FD00:976A:C202:1808::1]:65529;" in testEncodeSipMessage() local
1336 SipMessage m = new SipMessage(startLine, header, content1); in testEncodeSipMessage()
1345 m = new SipMessage(startLine, header, content2); in testEncodeSipMessage()
1990 String header = ""; in generateSipMessage() local
1999 header = sb.toString(); in generateSipMessage()
2007 return new SipMessage(startLine, header, content.getBytes(UTF_8)); in generateSipMessage()
/cts/tests/tests/widget/src/android/widget/cts/
DHeaderViewListAdapterTest.java69 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(); in testConstructor() local
71 new HeaderViewListAdapter(header, footer, null); in testConstructor()
73 new HeaderViewListAdapter(header, footer, mEmptyAdapter); in testConstructor()
82 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); in testGetHeadersCount() local
83 header.add(lv.new FixedViewInfo()); in testGetHeadersCount()
84 headerViewListAdapter = new HeaderViewListAdapter(header, null, null); in testGetHeadersCount()
116 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); in testRemoveHeader() local
123 header.add(info1); in testRemoveHeader()
124 header.add(info2); in testRemoveHeader()
125 HeaderViewListAdapter headerViewListAdapter = new HeaderViewListAdapter(header, null, null); in testRemoveHeader()
[all …]
DExpandableListWithHeaders.java45 Button header = new Button(this); in onCreate() local
46 header.setText("Header View"); in onCreate()
47 expandableListView.addHeaderView(header); in onCreate()
DListViewTest.java731 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnScroll() local
734 mListView.addHeaderView(header); in testFullDetachHeaderViewOnScroll()
736 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnScroll()
737 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll()
741 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll()
742 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll()
743 assertFalse(header.isTemporarilyDetached()); in testFullDetachHeaderViewOnScroll()
749 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnRelayout() local
752 mListView.addHeaderView(header); in testFullDetachHeaderViewOnRelayout()
754 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnRelayout()
[all …]
/cts/libs/webkit-shared/src/android/webkit/cts/
DHttpHeader.java46 public static HttpHeader create(String header, String value) { in create() argument
47 return new HttpHeader(header, value); in create()
54 for (HttpHeader header : headers) { in asPairList()
55 pairList.add(header.getPair()); in asPairList()
67 HttpHeader(String header, String value) { in HttpHeader() argument
68 mHeader = header; in HttpHeader()
DHttpRequest.java71 for (Header header : apacheRequest.getAllHeaders()) { in HttpRequest()
72 ArrayList<String> headerValues = mHeaders.getStringArrayList(header.getName()); in HttpRequest()
77 headerValues.add(header.getValue()); in HttpRequest()
81 header.getName().toLowerCase(mLowerCaseLocale), headerValues); in HttpRequest()
110 public String[] getHeaders(String header) { in getHeaders() argument
112 mHeaders.getStringArrayList(header.toLowerCase(mLowerCaseLocale)); in getHeaders()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java278 private static boolean hasHeader(byte[] data, String header) { in hasHeader() argument
279 if (data.length < header.length()) { in hasHeader()
283 byte[] buffer = new byte[header.length()]; in hasHeader()
284 System.arraycopy(data, 0, buffer, 0, header.length()); in hasHeader()
285 if (new String(buffer, "UTF-8").equals(header)) { in hasHeader()
305 byte[] header = new byte[XMP_EXTENSION_HEADER_GUID_SIZE]; in readSection()
306 is.read(header, 0, header.length); in readSection()
308 if (hasHeader(header, XMP_EXTENSION_HEADER) && skipExtendedContent) { in readSection()
311 section.length = header.length + 2; in readSection()
312 section.data = header; in readSection()
[all …]
/cts/tests/tests/content/jni/
DNativeCursorWindow.cpp101 struct Header *header = (struct Header *) data; in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() local
107 header->numRows = 1; in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
108 header->numColumns = 1; in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
109 header->firstChunkOffset = rowSlotChunkOffset; in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceUtils.java7 public static String getHexBytes(String header, byte[] bytes) { in getHexBytes() argument
9 if (header != null) { in getHexBytes()
10 sb.append(header + ": "); in getHexBytes()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DCpmsFrameworkLayerStateInfo.java224 String header; in parse() local
225 while ((header = parser.searchHeader()) != null) { in parse()
226 switch (header) { in parse()
280 throw new IllegalArgumentException("parser header mismatch: " + header); in parse()
282 headerCounter.add(header); in parse()
329 private int getIntData(String header) { in getIntData() argument
331 switch (header) { in getIntData()
352 private String getStringData(String header) { in getStringData() argument
354 if (mLines[mIdx].trim().length() != header.length()) { in getStringData()
355 val = mLines[mIdx].trim().substring(header.length()).trim(); in getStringData()
[all …]
DCpmsSystemLayerStateInfo.java182 private void searchHeader(String header) throws Exception { in searchHeader() argument
183 while (mIdx < mLines.length && !mLines[mIdx].contains(header)) { in searchHeader()
188 "CPMS dumpsys output (total %d lines) misses header: %s", mIdx, header)); in searchHeader()
DPowerPolicyTestAnalyzer.java89 String header = tokens[0].trim(); in parseAndAddTestEntry() local
91 String[] hdrTokens = header.split(":\\s*"); in parseAndAddTestEntry()
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/os/
DDumpDrivingStateServiceCommand.java52 for (String header : REMOTE_CALLBACK_LIST_DUMP_HEADERS) { in parseCommandReturn()
53 if (!mCommandReturn.contains(header)) { in parseCommandReturn()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp45 outMsg->header.type = msg.header.type; in sanitizeMessage()
46 outMsg->header.seq = msg.header.seq; in sanitizeMessage()
49 switch(msg.header.type) { in sanitizeMessage()
196 InputMessage::Type type = msg.header.type; in makeMessageValid()
216 serverMsg.header.type = type; in checkMessage()
230 if (serverMsg.header.type != clientMsg.header.type) { in checkMessage()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java308 TextView header = mHeadersFocusable ? in onCreate() local
311 header.setText("Header: " + i); in onCreate()
312 mListView.addHeaderView(header); in onCreate()
316 TextView header = new TextView(this); in onCreate() local
317 header.setText("Footer: " + i); in onCreate()
318 mListView.addFooterView(header); in onCreate()
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/
DT_f1_1.dfh3 // DEX file header:
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java193 HeaderItem header = new HeaderItem(i, entry.getKey());
195 mRowsAdapter.add(new ListRow(header, listRowAdapter));
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java338 public UiObject2 assertDatasetsWithBorders(String header, String footer, String...names) in assertDatasetsWithBorders() argument
342 if (header != null) { in assertDatasetsWithBorders()
348 .containsExactlyElementsIn(Arrays.asList(header)).inOrder(); in assertDatasetsWithBorders()
350 expectedChild.add(header); in assertDatasetsWithBorders()
1412 final UiObject2 header = findFillDialogHeaderPicker();
1415 .that(getChildrenAsText(header))
DCannedFillResponse.java623 public Builder setHeader(RemoteViews header) {
625 mHeader = header;
695 public Builder setDialogHeader(RemoteViews header) {
696 mDialogHeaderPresentation = header;
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/
DLoginActivityTest.java878 RemoteViews header = createPresentation("Dialog Header"); in remoteViews_doesNotSpillAcrossUsers() local
881 header.setImageViewIcon(R.id.icon, Icon.createWithContentUri( in remoteViews_doesNotSpillAcrossUsers()
894 .setDialogHeader(header) in remoteViews_doesNotSpillAcrossUsers()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java405 String header = matchingHeaders[0]; in testAppInjectedXRequestedWithHeaderIsNotOverwritten() local
406 assertEquals(requester, header); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
429 String header = matchingHeaders[0]; in testAppCanInjectHeadersViaImmutableMap() local
430 assertEquals(requester, header); in testAppCanInjectHeadersViaImmutableMap()
450 String header = value.getKey(); in testCanInjectHeaders() local
451 String[] matchingHeaders = request.getHeaders(header); in testCanInjectHeaders()
452 assertEquals("header " + header + " not found", 1, matchingHeaders.length); in testCanInjectHeaders()
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/
DT_a1_1.dfh3 // DEX file header:
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java712 for (Header header : request.getAllHeaders()) { in getResponse()
714 ECHOED_RESPONSE_HEADER_PREFIX + header.getName(), header.getValue()); in getResponse()

123456