Home
last modified time | relevance | path

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

12345678910>>...22

/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 …]
DTypeConverter.h35 typedef uint32_t Type; typedef
36 typedef SortedVector<Type> Collection;
40 typedef audio_devices_t Type; typedef
41 typedef Vector<Type> Collection;
47 typedef audio_output_flags_t Type; typedef
48 typedef Vector<Type> Collection;
52 typedef audio_input_flags_t Type; typedef
53 typedef Vector<Type> Collection;
57 typedef audio_format_t Type; typedef
58 typedef Vector<Type> Collection;
[all …]
/frameworks/av/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 …]
DTypeConverter.h35 typedef uint32_t Type; typedef
36 typedef SortedVector<Type> Collection;
40 typedef audio_devices_t Type; typedef
41 typedef Vector<Type> Collection;
47 typedef audio_output_flags_t Type; typedef
48 typedef Vector<Type> Collection;
52 typedef audio_input_flags_t Type; typedef
53 typedef Vector<Type> Collection;
57 typedef audio_format_t Type; typedef
58 typedef Vector<Type> Collection;
[all …]
/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/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, \
34 #Type " must have standard layout")
/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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java24 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()
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);
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 …]
/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/libs/hwui/
DOutline.h29 enum class Type { enum
38 , mType(Type::None) in Outline()
44 if (mType == Type::RoundRect in setRoundRect()
54 mType = Type::RoundRect; in setRoundRect()
73 mType = Type::ConvexPath; in setConvexPath()
80 mType = Type::Empty; in setEmpty()
86 mType = Type::None; in setNone()
92 return mType == Type::Empty; in isEmpty()
109 return mShouldClip && (mType == Type::RoundRect); in willClip()
118 if (mType == Type::RoundRect) { in getAsRoundRect()
[all …]
DBakedOpDispatcher.h37 #define X(Type) \ argument
38 static void onMerged##Type##s(BakedOpRenderer& renderer, const MergedBakedOpList& opList);
43 #define X(Type) \ argument
44 static void on##Type(BakedOpRenderer& renderer, const Type& op, const BakedOpState& state);
/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;
232 const clang::Type *T,
236 static llvm::StringRef GetTypeName(const clang::Type *T);
246 virtual llvm::Type *convertToLLVMType() const = 0;
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DTypeConverter.h28 typedef device_category Type; typedef
29 typedef Vector<Type> Collection;
33 typedef int32_t Type; typedef
34 typedef Vector<Type> Collection;
38 typedef uint32_t Type; typedef
39 typedef Vector<Type> Collection;
43 typedef uint32_t Type; typedef
44 typedef Vector<Type> Collection;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapEventReport.java41 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/
DTypeReference.java22 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/
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/av/services/audiopolicy/engineconfigurable/wrapper/config/
Daudio_policy_criteria.conf105 Type InputDevicesMaskType
109 Type OutputDevicesMaskType
113 Type AndroidModeType
117 Type ForceUseForCommunicationType
121 Type ForceUseForMediaType
125 Type ForceUseForRecordType
129 Type ForceUseForDockType
133 Type ForceUseForSystemType
137 Type ForceUseForHdmiSystemAudioType
141 Type ForceUseForEncodedSurroundType
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp74 #define DEFINE_ALLOC_VECTOR_METHODS(Suffix,Type,NewType) \ argument
75 const hidl_vec<Type> *EphemeralStorage::allocTemporary ## Suffix ## Vector( \
76 JNIEnv *env, Type ## Array arrayObj) { \
77 Type ## Array obj = (Type ## Array)env->NewGlobalRef(arrayObj); \
79 const Type *val = env->Get ## NewType ## ArrayElements(obj, NULL); \
87 void *vecPtr = allocTemporaryStorage(sizeof(hidl_vec<Type>)); \
89 hidl_vec<Type> *vec = new (vecPtr) hidl_vec<Type>; \
90 vec->setToExternal(const_cast<Type *>(val), len); \
102 #define DEFINE_RELEASE_ARRAY_CASE(Suffix,Type,NewType) \ in DEFINE_ALLOC_VECTOR_METHODS() argument
106 (Type ## Array)item.mObj, \ in DEFINE_ALLOC_VECTOR_METHODS()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyEventBuilder.java49 mEvent.type = TelephonyEvent.Type.SETTINGS_CHANGED; in setSettings()
55 mEvent.type = TelephonyEvent.Type.RIL_SERVICE_STATE_CHANGED; in setServiceState()
61 mEvent.type = TelephonyEvent.Type.IMS_CONNECTION_STATE_CHANGED; in setImsConnectionState()
67 mEvent.type = TelephonyEvent.Type.IMS_CAPABILITIES_CHANGED; in setImsCapabilities()
73 mEvent.type = TelephonyEvent.Type.DATA_STALL_ACTION; in setDataStallRecoveryAction()
79 mEvent.type = TelephonyEvent.Type.DATA_CALL_SETUP; in setSetupDataCall()
85 mEvent.type = TelephonyEvent.Type.DATA_CALL_SETUP_RESPONSE; in setSetupDataCallResponse()
91 mEvent.type = TelephonyEvent.Type.DATA_CALL_DEACTIVATE; in setDeactivateDataCall()
97 mEvent.type = TelephonyEvent.Type.DATA_CALL_DEACTIVATE_RESPONSE; in setDeactivateDataCallResponse()
103 mEvent.type = TelephonyEvent.Type.DATA_CALL_LIST_CHANGED; in setDataCalls()
[all …]
DTelephonyMetrics.java66 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall.Type;
208 case TelephonyEvent.Type.UNKNOWN: in telephonyEventToString()
210 case TelephonyEvent.Type.SETTINGS_CHANGED: in telephonyEventToString()
212 case TelephonyEvent.Type.RIL_SERVICE_STATE_CHANGED: in telephonyEventToString()
214 case TelephonyEvent.Type.IMS_CONNECTION_STATE_CHANGED: in telephonyEventToString()
216 case TelephonyEvent.Type.IMS_CAPABILITIES_CHANGED: in telephonyEventToString()
218 case TelephonyEvent.Type.DATA_CALL_SETUP: in telephonyEventToString()
220 case TelephonyEvent.Type.DATA_CALL_SETUP_RESPONSE: in telephonyEventToString()
222 case TelephonyEvent.Type.DATA_CALL_LIST_CHANGED: in telephonyEventToString()
224 case TelephonyEvent.Type.DATA_CALL_DEACTIVATE: in telephonyEventToString()
[all …]
/frameworks/rs/support/java/src/android/support/v8/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/rs/java/android/renderscript/
DType.java46 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()

12345678910>>...22