Home
last modified time | relevance | path

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

123456

/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureLoader.java152 PVRHeader header = new PVRHeader(); in readPVRHeader() local
154 header.mHeaderSize = headerBuffer.getInt(); in readPVRHeader()
155 header.mHeight = headerBuffer.getInt(); in readPVRHeader()
156 header.mWidth = headerBuffer.getInt(); in readPVRHeader()
157 header.mMipMapCount = headerBuffer.getInt(); in readPVRHeader()
158 header.mpfFlags = headerBuffer.getInt(); in readPVRHeader()
159 header.mDataSize = headerBuffer.getInt(); in readPVRHeader()
160 header.mBitCount = headerBuffer.getInt(); in readPVRHeader()
161 header.mRBitMask = headerBuffer.getInt(); in readPVRHeader()
162 header.mGBitMask = headerBuffer.getInt(); in readPVRHeader()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DHeaderViewListAdapterTest.java48 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(); in testConstructor() local
50 new HeaderViewListAdapter(header, footer, null); in testConstructor()
52 new HeaderViewListAdapter(header, footer, new HeaderViewEmptyAdapter()); in testConstructor()
60 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); in testGetHeadersCount() local
61 header.add(lv.new FixedViewInfo()); in testGetHeadersCount()
62 headerViewListAdapter = new HeaderViewListAdapter(header, null, null); in testGetHeadersCount()
93 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); in testRemoveHeader() local
100 header.add(info1); in testRemoveHeader()
101 header.add(info2); in testRemoveHeader()
102 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.java622 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnScroll() local
625 mListView.addHeaderView(header); in testFullDetachHeaderViewOnScroll()
627 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnScroll()
628 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll()
632 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll()
633 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll()
634 assertFalse(header.isTemporarilyDetached()); in testFullDetachHeaderViewOnScroll()
639 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnRelayout() local
642 mListView.addHeaderView(header); in testFullDetachHeaderViewOnRelayout()
644 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnRelayout()
[all …]
/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/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp158 int32_t header[4]; // id 0 - no of types - id 0x10 - ExecutionResult in run() local
159 if (!read((char*)header, sizeof(header))) { in run()
163 if (header[0] != 0) { in run()
167 if (header[2] != EExecutionResult) { in run()
171 if (header[3] == TaskGeneric::EResultError) { in run()
172 LOGE("script returned error %d", header[3]); in run()
173 return (TaskGeneric::ExecutionResult)header[3]; in run()
175 if ((header[1] - 1) != nOutputs) { in run()
238 return (TaskGeneric::ExecutionResult)header[3]; in run()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceUtils.java42 public static String getHexBytes(String header, byte[] bytes) { in getHexBytes() argument
44 if (header != null) { in getHexBytes()
45 sb.append(header + ": "); in getHexBytes()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java321 TextView header = mHeadersFocusable ? in onCreate() local
324 header.setText("Header: " + i); in onCreate()
325 mListView.addHeaderView(header); in onCreate()
329 TextView header = new TextView(this); in onCreate() local
330 header.setText("Footer: " + i); in onCreate()
331 mListView.addFooterView(header); in onCreate()
/cts/suite/audio_quality/test_description/
Dprocessing_main.py68 header = self.readI32()
69 if header == CMD_TERMINATE:
73 if header == CMD_HEADER:
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java420 for (Pair<String, String> header : response.mResponseHeaders) { in getResponse()
421 httpResponse.addHeader(header.first, header.second); in getResponse()
431 for (Pair<String, String> header : response.mResponseHeaders) { in getResponse()
432 httpResponse.addHeader(header.first, header.second); in getResponse()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java288 byte[] header; in checkPing()
295 header = new byte[] { (byte) 0x80, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; in checkPing()
299 header = new byte[] { (byte) 0x08, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; in checkPing()
301 System.arraycopy(header, 0, packet, 0, header.length); in checkPing()
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/
DT_f1_1.dfh3 // DEX file header:
DT_f1_8.dfh3 // DEX file header:
DT_f1_10.dfh4 // DEX file header:
DT_f1_11.dfh3 // DEX file header:
DT_f1_12.dfh3 // DEX file header:
DT_f1_2.dfh3 // DEX file header:
DT_f1_3.dfh3 // DEX file header:
DT_f1_4.dfh3 // DEX file header:
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java182 HeaderItem header = new HeaderItem(i, entry.getKey());
184 mRowsAdapter.add(new ListRow(header, listRowAdapter));
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java494 Header header = matchingHeaders[0];
495 assertEquals(mWebView.getContext().getApplicationInfo().packageName, header.getValue());
569 Header header = matchingHeaders[0];
570 assertEquals(requester, header.getValue());
592 Header header = matchingHeaders[0];
593 assertEquals(requester, header.getValue());
615 String header = value.getKey();
616 Header[] matchingHeaders = request.getHeaders(header);
617 assertEquals("header " + header + " not found", 1, matchingHeaders.length);
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/
DT_a1_1.dfh3 // DEX file header:
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/
DT_a3_1.dfh3 // DEX file header:
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/
DT_goto_16_2.dfh3 // DEX file header:
DT_goto_16_3.dfh3 // DEX file header:

123456