Searched refs:DataType (Results 1 - 25 of 42) sorted by path

12

/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java100 protected enum DataType { enum in class:DownloadManagerBaseTest
292 * @param type The type of data to generate: currently, one of {@link DataType#TEXT} or
293 * {@link DataType#BINARY}.
296 protected byte[] generateData(int size, DataType type) {
304 * @param type The type of data to generate: currently, one of {@link DataType#TEXT} or
305 * {@link DataType#BINARY}.
309 protected byte[] generateData(int size, DataType type, Random rng) {
314 if (type == DataType.TEXT) {
587 protected File createFileOnSD(String filename, long fileSize, DataType type,
H A DDownloadManagerFunctionalTest.java96 byte[] blobData = generateData(fileSize, DataType.BINARY);
109 byte[] blobData = generateData(fileSize, DataType.TEXT);
150 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null);
151 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
190 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
221 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
249 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes
308 byte[] blobData = generateData(fileSize, DataType.BINARY);
328 byte[] blobData = generateData(fileSize, DataType.BINARY);
358 byte[] blobData = generateData(fileSize, DataType
[all...]
H A DDownloadManagerStressTest.java80 byte[] blobData = generateData(size, DataType.TEXT);
122 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null);
195 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT);
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java267 if ((mType.mElement.mType == Element.DataType.SIGNED_32) ||
268 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) {
276 if ((mType.mElement.mType == Element.DataType.SIGNED_16) ||
277 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) {
285 if ((mType.mElement.mType == Element.DataType.SIGNED_8) ||
286 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) {
294 if (mType.mElement.mType == Element.DataType.FLOAT_32) {
302 if ((mType.mElement.mType == Element.DataType.RS_ELEMENT) ||
303 (mType.mElement.mType == Element.DataType.RS_TYPE) ||
304 (mType.mElement.mType == Element.DataType
[all...]
H A DElement.java59 DataType mType;
101 * DataType represents the basic type information for a basic element. The
116 public enum DataType { enum in class:Element
154 DataType(int id, int size) { method in class:Element.DataType
282 public DataType getDataType() {
302 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
316 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8);
330 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8);
337 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16);
344 rs.mElement_I16 = createUser(rs, DataType
[all...]
H A DMesh.java789 Element.DataType.FLOAT_32,
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java23 import android.renderscript.Element.DataType;
192 Element.createPixel(mRS, DataType.UNSIGNED_16,
H A DFBOTestRS.java23 import android.renderscript.Element.DataType;
184 Element.createPixel(mRS, DataType.UNSIGNED_16,
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DMeshTest.java25 import android.renderscript.Element.DataType;
H A DRsBenchRS.java31 import android.renderscript.Element.DataType;
295 Element.createPixel(mRS, DataType.UNSIGNED_16,
H A DTorusTest.java25 import android.renderscript.Element.DataType;
H A DUiTest.java25 import android.renderscript.Element.DataType;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DRenderable.java33 import android.renderscript.Element.DataType;
H A DShaderParam.java77 if (subElem.getDataType() == Element.DataType.FLOAT_32) {
79 } else if (subElem.getDataType() == Element.DataType.MATRIX_4X4) {
90 if (subElem.getDataType() == Element.DataType.FLOAT_32) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFullscreenBlur.java67 b = new Type.Builder(rs, Element.createPixel(rs, Element.DataType.UNSIGNED_16,
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestRS.java23 import android.renderscript.Element.DataType;
196 b = new Builder(mRS, Element.createPixel(mRS, DataType.UNSIGNED_16, DataKind.PIXEL_DEPTH));
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_element.java24 import android.renderscript.Element.DataType.*;
102 simpleElem.getDataType() == DataType.FLOAT_32);
109 complexElem.getDataType() == DataType.NONE);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h27 template<class DataType>
100 template<class DataType, class Traits, class IteratorType>
104 typedef DataType value_type;
143 template<class DataType, class Traits, class IteratorType>
144 class PolicyIterator : public PolicyIteratorBase<DataType, Traits, IteratorType>
147 typedef PolicyIterator<DataType, Traits, IteratorType> Self;
148 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base;
149 typedef PolicyIterator<DataType, typename Traits::nonconst_traits, IteratorType> iterator;
150 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> const_iterator;
176 template<class DataType>
[all...]
H A DStringEntry.h22 template<typename DataType>
28 template<typename DataType>
33 typedef DataType value_type;
54 void setValue(const DataType& pVal)
70 DataType m_Value;
74 friend class StringEntryFactory<DataType>;
131 template<typename DataType>
135 typedef StringEntry<DataType> entry_type;
136 typedef typename StringEntry<DataType>::key_type key_type;
137 typedef typename StringEntry<DataType>
[all...]
H A DTreeAllocator.h33 template<typename DataType>
34 class NodeFactory : public GCFactory<Node<DataType>, 64>
37 typedef GCFactory<Node<DataType>, 64> Alloc;
40 typedef Node<DataType> NodeType;
H A DTreeBase.h109 template<typename DataType>
113 typedef DataType value_type;
H A DTypeTraits.h19 template<typename DataType>
22 template<typename DataType>
25 typedef DataType value_type;
26 typedef const DataType* pointer;
27 typedef const DataType& reference;
29 typedef ConstTraits<DataType> const_traits;
30 typedef NonConstTraits<DataType> nonconst_traits;
33 template<typename DataType>
36 typedef DataType value_type;
37 typedef DataType* pointe
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h29 template<typename DataType, size_t ChunkSize>
33 typedef DataType value_type;
44 DataType data[ChunkSize];
47 template<typename DataType>
48 struct Chunk<DataType, 0>
51 typedef DataType value_type;
57 data = (DataType*)malloc(sizeof(DataType)*m_Size);
73 DataType *data;
77 template<typename DataType>
[all...]
H A DGCFactory.h210 template<typename DataType, size_t ChunkSize>
211 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> >
215 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >()
219 template<typename DataType>
220 class GCFactory<DataType, 0> : public GCFactoryBase<LinearAllocator<DataType, 0> >
224 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum)
H A DGCFactoryListTraits.h27 template<typename DataType>
28 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> {
30 class SentinelNode : public llvm::ilist_node<DataType> {
32 SentinelNode() : llvm::ilist_node<DataType>() { }
38 DataType *createSentinel() const
39 { return reinterpret_cast<DataType*>(&mSentinel); }
41 static void destroySentinel(DataType*) { }
43 DataType *provideInitialHead() const
46 DataType *ensureHead(DataType*) cons
[all...]

Completed in 234 milliseconds

12