/frameworks/av/include/media/ |
D | Metadata.h | 49 typedef int32_t Type; typedef 50 typedef SortedVector<Type> Filter; 52 static const Type kAny = 0; 55 static const Type kPauseAvailable = 1; // Boolean 56 static const Type kSeekBackwardAvailable = 2; // Boolean 57 static const Type kSeekForwardAvailable = 3; // Boolean 58 static const Type kSeekAvailable = 4; // Boolean 61 static const Type kTitle = 5; // String 62 static const Type kComment = 6; // String 63 static const Type kCopyright = 7; // String [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | Macros.h | 21 #define PREVENT_COPY_AND_ASSIGN(Type) \ argument 23 Type(const Type&) = delete; \ 24 void operator=(const Type&) = delete 26 #define DESCRIPTION_TYPE(Type) \ argument 27 int compare(const Type& rhs) const { return memcmp(this, &rhs, sizeof(Type));} \ 28 bool operator==(const Type& other) const { return compare(other) == 0; } \ 29 bool operator!=(const Type& other) const { return compare(other) != 0; } \ 30 …friend inline int strictly_order_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs) … 31 … friend inline int compare_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs); } \ 32 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); } [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StubMethodAdapter.java | 24 import org.objectweb.asm.Type; 38 private Type mReturnType; 51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubMethodAdapter() 79 int sort = mReturnType != null ? mReturnType.getSort() : Type.VOID; in generateInvoke() 81 case Type.VOID: in generateInvoke() 88 case Type.BOOLEAN: in generateInvoke() 89 case Type.CHAR: in generateInvoke() 90 case Type.BYTE: in generateInvoke() 91 case Type.SHORT: in generateInvoke() 92 case Type.INT: in generateInvoke() [all …]
|
D | ReplaceMethodCallsAdapter.java | 25 import org.objectweb.asm.Type; 55 private static final String JAVA_LOCALE_CLASS = Type.getInternalName(java.util.Locale.class); 56 private static final Type STRING = Type.getType(String.class); 58 private static final String JAVA_LANG_SYSTEM = Type.getInternalName(System.class); 80 Type.getMethodDescriptor(STRING, Type.getType(Locale.class)); in METHOD_REPLACERS.add() 100 private final String STRING_TO_STRING = Type.getMethodDescriptor(STRING, STRING); in METHOD_REPLACERS.add() 101 private final String STRING_TO_LOCALE = Type.getMethodDescriptor( in METHOD_REPLACERS.add() 102 Type.getType(Locale.class), STRING); in METHOD_REPLACERS.add() 104 Type.getMethodDescriptor(Type.getType(Locale.class)); in METHOD_REPLACERS.add() 133 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add() [all …]
|
D | DelegateMethodAdapter.java | 28 import org.objectweb.asm.Type; 174 Type.getObjectType(Type.getInternalName(LayoutlibDelegate.class)).toString(), in generateDelegateCode() 187 ArrayList<Type> paramTypes = new ArrayList<Type>(); in generateDelegateCode() 194 Type outerType = null; in generateDelegateCode() 199 outerType = Type.getObjectType(outerClass); in generateDelegateCode() 228 paramTypes.add(Type.getObjectType(mClassName)); in generateDelegateCode() 232 Type[] argTypes = Type.getArgumentTypes(mDesc); in generateDelegateCode() 234 for (Type t : argTypes) { in generateDelegateCode() 244 String desc = Type.getMethodDescriptor( in generateDelegateCode() 245 Type.getReturnType(mDesc), in generateDelegateCode() [all …]
|
D | AbstractClassAdapter.java | 25 import org.objectweb.asm.Type; 59 return renameType(Type.getType(desc)); in renameTypeDesc() 67 String renameType(Type type) { in renameType() 72 if (type.getSort() == Type.OBJECT) { in renameType() 75 } else if (type.getSort() == Type.ARRAY) { in renameType() 92 Type renameTypeAsType(Type type) { in renameTypeAsType() 97 if (type.getSort() == Type.OBJECT) { in renameTypeAsType() 101 return Type.getType("L" + newIn + ";"); in renameTypeAsType() 103 } else if (type.getSort() == Type.ARRAY) { in renameTypeAsType() 109 return Type.getType(sb.toString()); in renameTypeAsType() [all …]
|
/frameworks/rs/cpp/ |
D | Type.cpp | 32 void Type::calcElementCount() { in calcElementCount() 69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { in Type() function in Type 79 void Type::updateFromNative() { in updateFromNative() 102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t … in create() 104 Type *t = new Type(id, rs); in create() 119 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { in Builder() 130 void Type::Builder::setX(uint32_t value) { in setX() 137 void Type::Builder::setY(uint32_t value) { in setY() 144 void Type::Builder::setZ(uint32_t value) { in setZ() 151 void Type::Builder::setYuvFormat(RSYuvFormat format) { in setYuvFormat() [all …]
|
/frameworks/base/tools/aidl/ |
D | Type.h | 10 class Type 26 Type(const string& name, int kind, bool canWriteToParcel, 28 Type(const string& package, const string& name, 31 virtual ~Type(); 74 Type(); 75 Type(const Type&); 88 class BasicType : public Type 135 class BooleanType : public Type 160 class CharType : public Type 186 class StringType : public Type [all …]
|
D | AST.h | 12 class Type; variable 38 virtual void GatherTypes(set<Type*>* types) const = 0; 69 Type* type; 74 Variable(Type* type, const string& name); 75 Variable(Type* type, const string& name, int dimension); 78 virtual void GatherTypes(set<Type*>* types) const; 86 Type* clazz; 90 FieldVariable(Type* clazz, const string& name); 107 virtual void GatherTypes(set<Type*>* types) const; 142 Type* cast; [all …]
|
D | Type.cpp | 7 Type* VOID_TYPE; 8 Type* BOOLEAN_TYPE; 9 Type* BYTE_TYPE; 10 Type* CHAR_TYPE; 11 Type* INT_TYPE; 12 Type* LONG_TYPE; 13 Type* FLOAT_TYPE; 14 Type* DOUBLE_TYPE; 15 Type* STRING_TYPE; 16 Type* OBJECT_TYPE; [all …]
|
D | generate_java_rpc.cpp | 8 Type* SERVICE_CONTEXT_TYPE = new Type("android.content", 9 "Context", Type::BUILT_IN, false, false, false); 10 Type* PRESENTER_BASE_TYPE = new Type("android.support.place.connector", 11 "EventListener", Type::BUILT_IN, false, false, false); 12 Type* PRESENTER_LISTENER_BASE_TYPE = new Type("android.support.place.connector", 13 "EventListener.Listener", Type::BUILT_IN, false, false, false); 14 Type* RPC_BROKER_TYPE = new Type("android.support.place.connector", "Broker", 15 Type::BUILT_IN, false, false, false); 16 Type* RPC_CONTAINER_TYPE = new Type("com.android.athome.connector", "ConnectorContainer", 17 Type::BUILT_IN, false, false, false); [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.cpp | 168 static const clang::Type *TypeExportableHelper( 169 const clang::Type *T, 170 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, 195 static const clang::Type *ConstantArrayTypeExportableHelper( in ConstantArrayTypeExportableHelper() 197 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, in ConstantArrayTypeExportableHelper() argument 202 const clang::Type *ElementType = GetConstantArrayElementType(CAT); in ConstantArrayTypeExportableHelper() 212 const clang::Type *BaseElementType = GetExtVectorElementType(EVT); in ConstantArrayTypeExportableHelper() 243 static const clang::Type *TypeExportableHelper( in TypeExportableHelper() 244 clang::Type const *T, in TypeExportableHelper() 245 llvm::SmallPtrSet<clang::Type const *, 8> &SPS, in TypeExportableHelper() [all …]
|
D | slang_rs_export_type.h | 37 inline const clang::Type* GetCanonicalType(const clang::Type* T) { in GetCanonicalType() 44 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType() 48 inline const clang::Type* GetExtVectorElementType(const clang::ExtVectorType *T) { in GetExtVectorElementType() 55 inline const clang::Type* GetPointeeType(const clang::PointerType *T) { in GetPointeeType() 62 inline const clang::Type* GetConstantArrayElementType(const clang::ConstantArrayType *T) { in GetConstantArrayElementType() 71 class Type; variable 189 mutable llvm::Type *mLLVMType; 204 const clang::Type *T, 207 static llvm::StringRef GetTypeName(const clang::Type *T); 217 virtual llvm::Type *convertToLLVMType() const = 0; [all …]
|
D | slang_rs_export_element.cpp | 72 const clang::Type *T, in Create() 88 case clang::Type::Builtin: in Create() 89 case clang::Type::Pointer: { in Create() 102 case clang::Type::ExtVector: { in Create() 132 const clang::Type* T = RSExportType::GetTypeOfDecl(DD); in CreateFromDecl() 133 const clang::Type* CT = GetCanonicalType(T); in CreateFromDecl() 138 if ((CT->getTypeClass() != clang::Type::Builtin) && in CreateFromDecl() 139 (CT->getTypeClass() != clang::Type::ExtVector)) { in CreateFromDecl() 146 if (T->getTypeClass() != clang::Type::Typedef) { in CreateFromDecl()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapEventReport.java | 41 public enum Type { enum in BluetoothMapEventReport 50 private Type(String specName) { in Type() method in BluetoothMapEventReport.Type 60 private final Type mType; 68 private final BluetoothMapBmessage.Type mMsgType; 73 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in BluetoothMapEventReport() 91 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in BluetoothMapEventReport() 107 private Type parseType(String type) throws IllegalArgumentException { in parseType() 108 for (Type t : Type.values()) { in parseType() 117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() 118 for (BluetoothMapBmessage.Type t : BluetoothMapBmessage.Type.values()) { in parseMsgType() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TypeReference.java | 22 import java.lang.reflect.Type; 48 private final Type mType; 83 public Type getType() { in getType() 87 private TypeReference(Type type) { in TypeReference() 104 public SpecializedBaseTypeReference(Type type) { in SpecializedBaseTypeReference() 139 public static TypeReference<?> createSpecializedTypeReference(Type type) { in createSpecializedTypeReference() 162 private static final Class<?> getRawType(Type type) { in getRawType() 184 private static final Class<?> getRawType(Type[] types) { in getRawType() 189 for (Type type : types) { in getRawType() 209 Type componentType = getComponentType(mType); in getComponentType() [all …]
|
/frameworks/rs/ |
D | rsType.cpp | 30 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type() function in Type 35 void Type::preDestroy() const { in preDestroy() 44 Type::~Type() { in ~Type() 48 void Type::operator delete(void* ptr) { in operator delete() 50 Type *t = (Type*) ptr; in operator delete() 55 void Type::clear() { in clear() 75 void Type::compute() { in compute() 151 void Type::dumpLOGV(const char *prefix) const { in dumpLOGV() 164 void Type::serialize(Context *rsc, OStream *stream) const { in serialize() 179 Type *Type::createFromStream(Context *rsc, IStream *stream) { in createFromStream() [all …]
|
D | rsType.h | 34 class Type : public ObjectBase { 64 Type * createTex2D(const Element *, size_t w, size_t h, bool mip); 106 static Type *createFromStream(Context *rsc, IStream *stream); 108 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 109 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 111 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, 114 static Type* getType(Context *rsc, const Element *e, in getType() 116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, params, len); in getType() 121 …static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY… 150 virtual ~Type(); [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/config/ |
D | audio_policy_criteria.conf | 100 Type InputDevicesMaskType 104 Type OutputDevicesMaskType 108 Type AndroidModeType 112 Type ForceUseForCommunicationType 116 Type ForceUseForMediaType 120 Type ForceUseForRecordType 124 Type ForceUseForDockType 128 Type ForceUseForSystemType 132 Type ForceUseForHdmiSystemAudioType
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Type.java | 54 public class Type extends BaseObj { class 188 Type(long id, RenderScript rs) { in Type() method in Type 210 static public Type createX(RenderScript rs, Element e, int dimX) { in createX() 216 Type t = new Type(id, rs); in createX() 234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() 240 Type t = new Type(id, rs); in createXY() 260 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() 266 Type t = new Type(id, rs); in createXYZ() 367 public Type create() { in create() 393 Type t; in create() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 46 public class Type extends BaseObj { class 228 Type(long id, RenderScript rs) { in Type() method in Type 263 static public Type createX(RenderScript rs, Element e, int dimX) { in createX() 269 Type t = new Type(id, rs); in createX() 287 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() 293 Type t = new Type(id, rs); in createXY() 313 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() 319 Type t = new Type(id, rs); in createXYZ() 441 public Type create() { in create() 479 Type t = new Type(id, mRS); in create()
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | SGEMMTest.java | 145 Type.Builder builder = new Type.Builder(mRS, Element.F32(mRS)); in setTestSmall() 146 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall() 147 Type b_type = builder.setX(n).setY(k).create(); in setTestSmall() 148 Type c_type = builder.setX(n).setY(m).create(); in setTestSmall() 200 Type.Builder builder = new Type.Builder(mRS, Element.F32(mRS)); in setTestMedium() 201 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium() 202 Type b_type = builder.setX(n).setY(k).create(); in setTestMedium() 203 Type c_type = builder.setX(n).setY(m).create(); in setTestMedium() 248 Type.Builder builder = new Type.Builder(mRS, Element.F32(mRS)); in setTestLarge() 249 Type a_type = builder.setX(k).setY(m).create(); in setTestLarge() [all …]
|
D | BNNMTest.java | 222 Type.Builder builder = new Type.Builder(mRS, Element.U8(mRS)); in setTestSmall() 223 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall() 224 Type b_type = builder.setX(k).setY(n).create(); in setTestSmall() 225 Type c_type = builder.setX(n).setY(m).create(); in setTestSmall() 292 Type.Builder builder = new Type.Builder(mRS, Element.U8(mRS)); in setTestMedium() 293 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium() 294 Type b_type = builder.setX(k).setY(n).create(); in setTestMedium() 295 Type c_type = builder.setX(n).setY(m).create(); in setTestMedium() 341 Type.Builder builder = new Type.Builder(mRS, Element.U8(mRS)); in setTestLarge() 342 Type a_type = builder.setX(k).setY(m).create(); in setTestLarge() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_alloc_copyPadded.java | 91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() 123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() 156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() 190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() 225 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_2D() 261 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_3D() 295 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in testAllocation_Int3_1D() 330 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in testAllocation_Int3_2D() 366 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in testAllocation_Int3_3D() 400 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32_3(mRS)); in testAllocation_Float3_1D() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_alloc_copyPadded.java | 91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() 123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() 156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() 190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() 225 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_2D() 261 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_3D() 295 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in testAllocation_Int3_1D() 330 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in testAllocation_Int3_2D() 366 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in testAllocation_Int3_3D() 400 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32_3(mRS)); in testAllocation_Float3_1D() [all …]
|