/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 140 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/widget/src/android/widget/cts/ |
D | HeaderViewListAdapterTest.java | 69 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 …]
|
D | ExpandableListWithHeaders.java | 45 Button header = new Button(this); in onCreate() local 46 header.setText("Header View"); in onCreate() 47 expandableListView.addHeaderView(header); in onCreate()
|
D | ListViewTest.java | 688 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnScroll() local 691 mListView.addHeaderView(header); in testFullDetachHeaderViewOnScroll() 693 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnScroll() 694 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll() 698 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll() 699 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll() 700 assertFalse(header.isTemporarilyDetached()); in testFullDetachHeaderViewOnScroll() 706 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnRelayout() local 709 mListView.addHeaderView(header); in testFullDetachHeaderViewOnRelayout() 711 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnRelayout() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | PacketUtils.java | 62 byte[] getPacketBytes(IpHeader header) throws Exception; in getPacketBytes() argument 64 void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) throws Exception; in addPacketBytes() argument 212 public byte[] getPacketBytes(IpHeader header) { in getPacketBytes() argument 215 addPacketBytes(header, bb); in getPacketBytes() 219 public void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) { in addPacketBytes() argument 248 public byte[] getPacketBytes(IpHeader header) throws Exception { in getPacketBytes() argument 251 addPacketBytes(header, bb); in getPacketBytes() 255 public void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) throws Exception { in addPacketBytes() argument 265 payload.addPacketBytes(header, payloadBuffer); in addPacketBytes() 269 resultBuffer.putShort(calculateChecksum(header, payloadBytes)); in addPacketBytes() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | XmpDepthDecode.java | 278 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/ |
D | SignalProcessingImpl.cpp | 158 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/tests/tests/content/jni/ |
D | NativeCursorWindow.cpp | 101 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/hostsidetests/securitybulletin/securityPatch/Bug-115739809/ |
D | poc.cpp | 45 outMsg->header.type = msg.header.type; in sanitizeMessage() 48 switch(msg.header.type) { in sanitizeMessage() 146 serverMsg.header.type = type; in checkMessage() 162 if (serverMsg.header.type != clientMsg.header.type) { in checkMessage() 167 if (clientMsg.header.padding != 0) { in checkMessage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceUtils.java | 42 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/ |
D | ListScenario.java | 308 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/suite/audio_quality/test_description/ |
D | processing_main.py | 68 header = self.readI32() 69 if header == CMD_TERMINATE: 73 if header == CMD_HEADER:
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 420 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/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 193 HeaderItem header = new HeaderItem(i, entry.getKey()); 195 mRowsAdapter.add(new ListRow(header, listRowAdapter));
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/ |
D | T_f1_1.dfh | 3 // DEX file header:
|
D | T_f1_9.dfh | 4 // DEX file header:
|
D | T_f1_8.dfh | 3 // DEX file header:
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 304 byte[] header; in checkPing() 311 header = new byte[] { (byte) 0x80, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; in checkPing() 315 header = new byte[] { (byte) 0x08, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; in checkPing() 317 System.arraycopy(header, 0, packet, 0, header.length); in checkPing()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | UiBot.java | 292 public UiObject2 assertDatasetsWithBorders(String header, String footer, String...names) 296 if (header != null) { 302 .containsExactlyElementsIn(Arrays.asList(header)).inOrder(); 304 expectedChild.add(header);
|
D | CannedFillResponse.java | 463 public Builder setHeader(RemoteViews header) { in setHeader() argument 465 mHeader = header; in setHeader()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 339 Header header = matchingHeaders[0]; in testLoadUrl() local 340 assertEquals(mWebView.getContext().getApplicationInfo().packageName, header.getValue()); in testLoadUrl() 414 Header header = matchingHeaders[0]; in testAppInjectedXRequestedWithHeaderIsNotOverwritten() local 415 assertEquals(requester, header.getValue()); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() 437 Header header = matchingHeaders[0]; in testAppCanInjectHeadersViaImmutableMap() local 438 assertEquals(requester, header.getValue()); in testAppCanInjectHeadersViaImmutableMap() 460 String header = value.getKey(); in testCanInjectHeaders() local 461 Header[] matchingHeaders = request.getHeaders(header); in testCanInjectHeaders() 462 assertEquals("header " + header + " not found", 1, matchingHeaders.length); in testCanInjectHeaders()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NativeDecoderTest.java | 151 Header[] header = req.getHeaders(key); in testExtractor() local 152 assertTrue("expecting " + key + ":" + value + ", saw " + Arrays.toString(header), in testExtractor() 153 header.length == 1 && header[0].getValue().equals(value)); in testExtractor()
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/ |
D | T_a1_1.dfh | 3 // DEX file header:
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/ |
D | T_a3_1.dfh | 3 // DEX file header:
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/ |
D | T_goto_16_3.dfh | 3 // DEX file header:
|