Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 662) sorted by relevance

12345678910>>...27

/frameworks/av/media/libmedia/include/media/
DMetadata.h49 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/minikin/include/minikin/
DMacros.h25 #define MINIKIN_PREVENT_COPY_AND_ASSIGN(Type) \ argument
26 Type(const Type&) = delete; \
27 Type& operator=(const Type&) = delete
29 #define MINIKIN_PREVENT_COPY_ASSIGN_AND_MOVE(Type) \ argument
30 Type(const Type&) = delete; \
31 Type& operator=(const Type&) = delete; \
32 Type(Type&&) = delete; \
33 Type& operator=(Type&&) = delete
/frameworks/native/vulkan/api/templates/
Dvulkan_common.tmpl10 {{define "Type.Class" }}{{if GetAnnotation $.Type "internal"}}struct {{end}}{{Macro "StructNam…
11 {{define "Type.Pseudonym" }}{{$.Type.Name}}{{end}}
12 {{define "Type.Enum" }}{{$.Type.Name}}{{end}}
13 {{define "Type.StaticArray"}}{{Node "Type" $.Type.ValueType}}{{end}}
14 {{define "Type.Pointer" }}{{if $.Type.Const}}{{Node "ConstType" $.Type.To}}{{else}}{{Node "Type"…
15 {{define "Type.Slice" }}{{Log "%T %+v" $.Node $.Node}}{{Node "Type" $.Type.To}}*{{end}}
16 {{define "Type#bool" }}bool{{end}}
17 {{define "Type#int" }}int{{end}}
18 {{define "Type#uint" }}unsigned int{{end}}
19 {{define "Type#s8" }}int8_t{{end}}
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteResult.java36 public static final RemoteResult FAILED_TIMED_OUT = new RemoteResult(Type.FAILED_TIMED_OUT, 0);
37 public static final RemoteResult FAILED_CANCELLED = new RemoteResult(Type.FAILED_CANCELLED, 0);
39 new RemoteResult(Type.FAILED_THREAD_INTERRUPTED, 0);
42 return new RemoteResult(Type.SUCCESS, value); in of()
45 @Type private final int mType;
48 private RemoteResult(@Type int type, long value) { in RemoteResult()
54 return mType == Type.SUCCESS; in isPresent()
74 case Type.SUCCESS: in toStringDescription()
76 case Type.FAILED_TIMED_OUT: in toStringDescription()
78 case Type.FAILED_CANCELLED: in toStringDescription()
[all …]
/frameworks/base/libs/hwui/utils/
DMacros.h21 #define PREVENT_COPY_AND_ASSIGN(Type) \ argument
23 Type(const Type&) = delete; \
24 void operator=(const Type&) = delete
26 #define HASHABLE_TYPE(Type) \ argument
27 bool operator==(const Type& other) const; \
29 bool operator!=(const Type& other) const { return !(*this == other); } \
30 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); }
32 #define REQUIRE_COMPATIBLE_LAYOUT(Type) \ argument
33 static_assert(std::is_standard_layout<Type>::value, #Type " must have standard layout")
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubCallMethodAdapter.java24 import org.objectweb.asm.Type;
38 private Type mReturnType;
51 public StubCallMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubCallMethodAdapter()
79 int sort = mReturnType != null ? mReturnType.getSort() : Type.VOID; in generateInvoke()
81 case Type.VOID: in generateInvoke()
89 case Type.BOOLEAN: in generateInvoke()
90 case Type.CHAR: in generateInvoke()
91 case Type.BYTE: in generateInvoke()
92 case Type.SHORT: in generateInvoke()
93 case Type.INT: in generateInvoke()
[all …]
DReplaceMethodCallsAdapter.java25 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);
79 private final String STRING_TO_STRING = Type.getMethodDescriptor(STRING, STRING); in METHOD_REPLACERS.add()
81 Type.getMethodDescriptor(Type.getType(Locale.class)); in METHOD_REPLACERS.add()
109 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add()
123 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add()
135 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add()
143 Type.getMethodDescriptor(Type.getType(Map.Entry.class)); in METHOD_REPLACERS.add()
[all …]
/frameworks/base/services/core/java/com/android/server/lights/
DLightsManager.java19 import android.hardware.light.V2_0.Type;
22 public static final int LIGHT_ID_BACKLIGHT = Type.BACKLIGHT;
23 public static final int LIGHT_ID_KEYBOARD = Type.KEYBOARD;
24 public static final int LIGHT_ID_BUTTONS = Type.BUTTONS;
25 public static final int LIGHT_ID_BATTERY = Type.BATTERY;
26 public static final int LIGHT_ID_NOTIFICATIONS = Type.NOTIFICATIONS;
27 public static final int LIGHT_ID_ATTENTION = Type.ATTENTION;
28 public static final int LIGHT_ID_BLUETOOTH = Type.BLUETOOTH;
29 public static final int LIGHT_ID_WIFI = Type.WIFI;
30 public static final int LIGHT_ID_COUNT = Type.COUNT;
/frameworks/compile/slang/
Dslang_rs_export_type.cpp180 static const clang::Type *TypeExportableHelper(
181 const clang::Type *T,
182 llvm::SmallPtrSet<const clang::Type*, 8>& SPS,
208 static const clang::Type *ConstantArrayTypeExportableHelper( in ConstantArrayTypeExportableHelper()
210 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, in ConstantArrayTypeExportableHelper() argument
216 const clang::Type *ElementType = GetConstantArrayElementType(CAT); in ConstantArrayTypeExportableHelper()
226 const clang::Type *BaseElementType = GetExtVectorElementType(EVT); in ConstantArrayTypeExportableHelper()
257 static const clang::Type *TypeExportableHelper( in TypeExportableHelper()
258 clang::Type const *T, in TypeExportableHelper()
259 llvm::SmallPtrSet<clang::Type const *, 8> &SPS, in TypeExportableHelper()
[all …]
Dslang_rs_export_type.h38 inline const clang::Type* GetCanonicalType(const clang::Type* T) { in GetCanonicalType()
45 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType()
49 inline const clang::Type* GetExtVectorElementType(const clang::ExtVectorType *T) { in GetExtVectorElementType()
56 inline const clang::Type* GetPointeeType(const clang::PointerType *T) { in GetPointeeType()
63 inline const clang::Type* GetConstantArrayElementType(const clang::ConstantArrayType *T) { in GetConstantArrayElementType()
72 class Type; variable
215 mutable llvm::Type *mLLVMType;
233 const clang::Type *T,
237 static llvm::StringRef GetTypeName(const clang::Type *T);
247 virtual llvm::Type *convertToLLVMType() const = 0;
[all …]
/frameworks/rs/cpp/
DType.cpp31 using android::RSC::Type;
34 void Type::calcElementCount() { in calcElementCount()
71 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { in Type() function in Type
81 void Type::updateFromNative() { in updateFromNative()
112 sp<const Type> Type::create(const sp<RS>& rs, const sp<const Element>& e, uint32_t dimX, uint32_t d… in create()
114 Type *t = new Type(id, rs); in create()
129 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { in Builder()
140 void Type::Builder::setX(uint32_t value) { in setX()
147 void Type::Builder::setY(uint32_t value) { in setY()
154 void Type::Builder::setZ(uint32_t value) { in setZ()
[all …]
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java66 addProperty("boolean", "getBoolean", Property.Type.BOOLEAN); in testSimpleProperties()
67 addProperty("byte", "getByte", Property.Type.BYTE); in testSimpleProperties()
68 addProperty("char", "getChar", Property.Type.CHAR); in testSimpleProperties()
69 addProperty("double", "getDouble", Property.Type.DOUBLE); in testSimpleProperties()
70 addProperty("float", "getFloat", Property.Type.FLOAT); in testSimpleProperties()
71 addProperty("int", "getInt", Property.Type.INT); in testSimpleProperties()
72 addProperty("long", "getLong", Property.Type.LONG); in testSimpleProperties()
73 addProperty("short", "getShort", Property.Type.SHORT); in testSimpleProperties()
75 addProperty("object", "getObject", Property.Type.OBJECT); in testSimpleProperties()
76 addProperty("color", "getColor", Property.Type.COLOR); in testSimpleProperties()
[all …]
/frameworks/base/libs/hwui/
DOutline.h29 enum class Type { None = 0, Empty = 1, ConvexPath = 2, RoundRect = 3 }; enum
31 Outline() : mShouldClip(false), mType(Type::None), mRadius(0), mAlpha(0.0f) {} in Outline()
35 if (mType == Type::RoundRect && left == mBounds.left && right == mBounds.right && in setRoundRect()
41 mType = Type::RoundRect; in setRoundRect()
65 mType = Type::ConvexPath; in setConvexPath()
72 mType = Type::Empty; in setEmpty()
78 mType = Type::None; in setNone()
83 bool isEmpty() const { return mType == Type::Empty; } in isEmpty()
93 return mShouldClip && (mType == Type::RoundRect); in willClip()
102 if (mType == Type::RoundRect) { in getAsRoundRect()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyEventBuilder.java42 import com.android.internal.telephony.nano.TelephonyProto.TelephonyEvent.Type;
68 mEvent.type = TelephonyEvent.Type.SETTINGS_CHANGED; in setSettings()
74 mEvent.type = TelephonyEvent.Type.RIL_SERVICE_STATE_CHANGED; in setServiceState()
80 mEvent.type = TelephonyEvent.Type.IMS_CONNECTION_STATE_CHANGED; in setImsConnectionState()
86 mEvent.type = TelephonyEvent.Type.IMS_CAPABILITIES_CHANGED; in setImsCapabilities()
92 mEvent.type = TelephonyEvent.Type.DATA_STALL_ACTION; in setDataStallRecoveryAction()
98 mEvent.type = TelephonyEvent.Type.SIGNAL_STRENGTH; in setSignalStrength()
104 mEvent.type = TelephonyEvent.Type.DATA_CALL_SETUP; in setSetupDataCall()
110 mEvent.type = TelephonyEvent.Type.DATA_CALL_SETUP_RESPONSE; in setSetupDataCallResponse()
116 mEvent.type = TelephonyEvent.Type.DATA_CALL_DEACTIVATE; in setDeactivateDataCall()
[all …]
/frameworks/rs/
DrsType.cpp28 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type() function in android::renderscript::Type
33 void Type::preDestroy() const { in preDestroy()
43 Type::~Type() { in ~Type()
47 void Type::operator delete(void* ptr) { in operator delete()
49 Type *t = (Type*) ptr; in operator delete()
54 void Type::clear() { in clear()
74 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 …]
DrsType.h36 class Type : public ObjectBase {
66 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
108 static Type *createFromStream(Context *rsc, IStream *stream);
110 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
111 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
113 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
116 static Type* getType(Context *rsc, const Element *e, in getType()
118 ObjectBaseRef<Type> type = getTypeRef(rsc, e, params, len); in getType()
123 …static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY…
152 virtual ~Type();
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DTypeReference.java26 import java.lang.reflect.Type;
50 private final Type mType;
86 public Type getType() { in getType()
90 private TypeReference(Type type) { in TypeReference()
107 public SpecializedBaseTypeReference(Type type) { in SpecializedBaseTypeReference()
143 public static TypeReference<?> createSpecializedTypeReference(Type type) { in createSpecializedTypeReference()
166 private static final Class<?> getRawType(Type type) { in getRawType()
188 private static final Class<?> getRawType(Type[] types) { in getRawType()
193 for (Type type : types) { in getRawType()
213 Type componentType = getComponentType(mType); in getComponentType()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java42 private final @Interaction.Type int mType;
45 Interaction.Type.TAP,
46 Interaction.Type.FLING,
47 Interaction.Type.PINCH,
48 Interaction.Type.KEY_EVENT})
49 public @interface Type { annotation in Interaction
58 return new Interaction(Interaction.Type.FLING, new float[]{startX, endX}, in newFling()
63 return new Interaction(Interaction.Type.FLING, in newFlingDown()
69 return new Interaction(Interaction.Type.FLING, in newFlingUp()
75 return new Interaction(Interaction.Type.TAP, in newTap()
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_variation/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {1});
20 OperandType type3(Type::INT32, {});
90 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
91 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
92 OperandType type2(Type::TENSOR_FLOAT32, {1});
93 OperandType type3(Type::INT32, {});
165 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
166 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {1});
20 OperandType type3(Type::INT32, {});
90 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
91 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
92 OperandType type2(Type::TENSOR_FLOAT32, {1});
93 OperandType type3(Type::INT32, {});
165 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
166 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_naming/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {1});
20 OperandType type3(Type::INT32, {});
90 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
91 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
92 OperandType type2(Type::TENSOR_FLOAT32, {1});
93 OperandType type3(Type::INT32, {});
165 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
166 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
[all …]
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp85 #define DEFINE_ALLOC_VECTOR_METHODS(Suffix,Type,NewType) \ argument
86 const hidl_vec<Type> *EphemeralStorage::allocTemporary ## Suffix ## Vector( \
87 JNIEnv *env, Type ## Array arrayObj) { \
88 Type ## Array obj = (Type ## Array)env->NewGlobalRef(arrayObj); \
90 const Type *val = env->Get ## NewType ## ArrayElements(obj, NULL); \
98 void *vecPtr = allocTemporaryStorage(sizeof(hidl_vec<Type>)); \
100 hidl_vec<Type> *vec = new (vecPtr) hidl_vec<Type>; \
101 vec->setToExternal(const_cast<Type *>(val), len); \
113 #define DEFINE_RELEASE_ARRAY_CASE(Suffix,Type,NewType) \ in DEFINE_ALLOC_VECTOR_METHODS() argument
117 (Type ## Array)item.mObj, \ in DEFINE_ALLOC_VECTOR_METHODS()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DType.java54 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/cmds/statsd/tests/
DLogEvent_test.cpp59 EXPECT_EQ(Type::INT, item0.mValue.getType()); in TEST()
64 EXPECT_EQ(Type::STRING, item1.mValue.getType()); in TEST()
69 EXPECT_EQ(Type::INT, item2.mValue.getType()); in TEST()
74 EXPECT_EQ(Type::STRING, item3.mValue.getType()); in TEST()
79 EXPECT_EQ(Type::STRING, item4.mValue.getType()); in TEST()
84 EXPECT_EQ(Type::INT, item5.mValue.getType()); in TEST()
89 EXPECT_EQ(Type::LONG, item6.mValue.getType()); in TEST()
94 EXPECT_EQ(Type::FLOAT, item7.mValue.getType()); in TEST()
130 EXPECT_EQ(Type::INT, item0.mValue.getType()); in TEST()
135 EXPECT_EQ(Type::INT, item1.mValue.getType()); in TEST()
[all …]
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java309 private Property.Type determinePropertyType( in determinePropertyType()
317 final Property.Type accessorType = in determinePropertyType()
325 if (accessorType != Property.Type.INT) { in determinePropertyType()
374 return Property.Type.COLOR; in determinePropertyType()
390 return Property.Type.RESOURCE_ID; in determinePropertyType()
399 return Property.Type.INT_ENUM; in determinePropertyType()
401 return Property.Type.INT_FLAG; in determinePropertyType()
412 return Property.Type.COLOR; in determinePropertyType()
421 return Property.Type.GRAVITY; in determinePropertyType()
424 return Property.Type.INT_ENUM; in determinePropertyType()
[all …]

12345678910>>...27