/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 100 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 D | DownloadManagerFunctionalTest.java | 96 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 D | DownloadManagerStressTest.java | 80 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 D | Allocation.java | 267 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 D | Element.java | 59 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 D | Mesh.java | 789 Element.DataType.FLOAT_32,
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncRS.java | 23 import android.renderscript.Element.DataType; 192 Element.createPixel(mRS, DataType.UNSIGNED_16,
|
H A D | FBOTestRS.java | 23 import android.renderscript.Element.DataType; 184 Element.createPixel(mRS, DataType.UNSIGNED_16,
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | MeshTest.java | 25 import android.renderscript.Element.DataType;
|
H A D | RsBenchRS.java | 31 import android.renderscript.Element.DataType; 295 Element.createPixel(mRS, DataType.UNSIGNED_16,
|
H A D | TorusTest.java | 25 import android.renderscript.Element.DataType;
|
H A D | UiTest.java | 25 import android.renderscript.Element.DataType;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Renderable.java | 33 import android.renderscript.Element.DataType;
|
H A D | ShaderParam.java | 77 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 D | FullscreenBlur.java | 67 b = new Type.Builder(rs, Element.createPixel(rs, Element.DataType.UNSIGNED_16,
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestRS.java | 23 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 D | UT_element.java | 24 import android.renderscript.Element.DataType.*; 102 simpleElem.getDataType() == DataType.FLOAT_32); 109 complexElem.getDataType() == DataType.NONE);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | BinTree.h | 27 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 D | StringEntry.h | 22 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 D | TreeAllocator.h | 33 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 D | TreeBase.h | 109 template<typename DataType> 113 typedef DataType value_type;
|
H A D | TypeTraits.h | 19 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 D | Allocators.h | 29 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 D | GCFactory.h | 210 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 D | GCFactoryListTraits.h | 27 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...] |