/frameworks/av/media/libmedia/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 …]
|
D | MediaResource.h | 32 using Type = MediaResourceType; 36 MediaResource(Type type, int64_t value); 37 MediaResource(Type type, SubType subType, int64_t value); 38 MediaResource(Type type, const std::vector<uint8_t> &id, int64_t value); 48 inline static const char *asString(MediaResource::Type i, const char *def = "??") { 50 case MediaResource::Type::kUnspecified: return "unspecified"; 51 case MediaResource::Type::kSecureCodec: return "secure-codec"; 52 case MediaResource::Type::kNonSecureCodec: return "non-secure-codec"; 53 case MediaResource::Type::kGraphicMemory: return "graphic-memory"; 54 case MediaResource::Type::kCpuBoost: return "cpu-boost"; [all …]
|
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/ |
D | guest_function_wrapper_signature.h | 48 template <typename Type, std::enable_if_t<std::is_same_v<Type, void>, int> = 0> 53 template <typename Type, 54 std::enable_if_t<(std::is_integral_v<Type> || 55 std::is_enum_v<Type>)&&std::is_unsigned_v<Type> && 56 sizeof(Type) == sizeof(uint8_t), 63 typename Type, 64 std::enable_if_t<(std::is_integral_v<Type> || std::is_enum_v<Type>)&&std::is_signed_v<Type> && 65 sizeof(Type) == sizeof(int8_t), 72 typename Type, 73 std::enable_if_t<(std::is_integral_v<Type> || std::is_enum_v<Type>)&&std::is_signed_v<Type> && [all …]
|
/frameworks/minikin/include/minikin/ |
D | Macros.h | 25 #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/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteResult.java | 36 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/ |
D | Macros.h | 21 #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/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/ |
D | intrinsics.h | 45 template <typename Type> 47 if constexpr (std::is_same_v<int8_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 49 } else if constexpr (std::is_same_v<uint8_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 51 } else if constexpr (std::is_same_v<int16_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 53 } else if constexpr (std::is_same_v<uint16_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 55 } else if constexpr (std::is_same_v<int32_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 57 } else if constexpr (std::is_same_v<uint32_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 59 } else if constexpr (std::is_same_v<int64_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 61 } else if constexpr (std::is_same_v<uint64_t, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() 63 } else if constexpr (std::is_same_v<Float32, std::decay_t<Type>>) { in TypeToEnumFromTemplateType() [all …]
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsManager.java | 20 import android.hardware.light.V2_0.Type; 23 public static final int LIGHT_ID_BACKLIGHT = Type.BACKLIGHT; 24 public static final int LIGHT_ID_KEYBOARD = Type.KEYBOARD; 25 public static final int LIGHT_ID_BUTTONS = Type.BUTTONS; 26 public static final int LIGHT_ID_BATTERY = Type.BATTERY; 27 public static final int LIGHT_ID_NOTIFICATIONS = Type.NOTIFICATIONS; 28 public static final int LIGHT_ID_ATTENTION = Type.ATTENTION; 29 public static final int LIGHT_ID_BLUETOOTH = Type.BLUETOOTH; 30 public static final int LIGHT_ID_WIFI = Type.WIFI; 31 public static final int LIGHT_ID_COUNT = Type.COUNT;
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StubCallMethodAdapter.java | 24 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 …]
|
/frameworks/base/libs/hwui/ |
D | Outline.h | 29 enum class Type { None = 0, Empty = 1, Path = 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::Path; in setPath() 72 mType = Type::Empty; in setEmpty() 78 mType = Type::None; in setNone() 83 bool isEmpty() const { return mType == Type::Empty; } in isEmpty() 94 return mShouldClip && (mType != Type::RoundRect || MathUtils::isPositive(mRadius)); in willComplexClip() 98 if (mType == Type::RoundRect) { in getAsRoundRect() [all …]
|
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/ |
D | InspectionCompanionGeneratorTest.java | 66 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/rs/cpp/ |
D | Type.cpp | 31 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/libs/native_bridge_support/android_api/libvulkan/proxy/ |
D | cpp_types.go | 24 type Type interface { interface 36 Elem(arch Arch) Type 44 ReplaceElem(pointee_type Type) argument 86 Type() Type methodSpec 92 Type() Type methodSpec 99 Type() Type methodSpec 164 func AliasType(name string, base_type Type) Type { argument 168 func OpaqueType(name string) Type { 172 …hDependentType(arm_type, arm64_type, riscv32_type, riscv64_type, x86_type, x86_64_type Type) Type { argument 176 func ConstType(base_type Type) Type { argument [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.cpp | 180 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 …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyEventBuilder.java | 42 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/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/asm/ |
D | AsmUtils.kt | 24 import org.objectweb.asm.Type in <lambda>() 161 Type.getArgumentTypes(methodDescriptor).forEach { type -> in writeByteCodeToPushArguments() 168 Type.VOID_TYPE -> throw HostStubGenInternalException("VOID_TYPE not expected") in writeByteCodeToPushArguments() 169 Type.BOOLEAN_TYPE, Type.CHAR_TYPE, Type.BYTE_TYPE, Type.SHORT_TYPE, Type.INT_TYPE in writeByteCodeToPushArguments() 171 Type.FLOAT_TYPE -> writer.visitVarInsn(Opcodes.FLOAD, i) in writeByteCodeToPushArguments() 172 Type.LONG_TYPE -> writer.visitVarInsn(Opcodes.LLOAD, i++) in writeByteCodeToPushArguments() 173 Type.DOUBLE_TYPE -> writer.visitVarInsn(Opcodes.DLOAD, i++) in writeByteCodeToPushArguments() 184 Type.getReturnType(methodDescriptor).let { type -> in writeByteCodeToReturn() 187 Type.VOID_TYPE -> writer.visitInsn(Opcodes.RETURN) in writeByteCodeToReturn() 188 Type.BOOLEAN_TYPE, Type.CHAR_TYPE, Type.BYTE_TYPE, Type.SHORT_TYPE, Type.INT_TYPE in writeByteCodeToReturn() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ImeInsetsSourceConsumerTest.java | 96 final InsetsSourceControl ime = new InsetsSourceControl(ID_IME, WindowInsets.Type.ime(), in testImeVisibility() 103 mController.show(WindowInsets.Type.ime(), true /* fromIme */, ImeTracker.Token.empty()); in testImeVisibility() 105 assertTrue((mController.getRequestedVisibleTypes() & WindowInsets.Type.ime()) != 0); in testImeVisibility() 108 mController.hide(WindowInsets.Type.ime(), true /* fromIme */, ImeTracker.Token.empty()); in testImeVisibility() 110 assertFalse((mController.getRequestedVisibleTypes() & WindowInsets.Type.ime()) != 0); in testImeVisibility() 123 mController.show(WindowInsets.Type.ime(), true /* fromIme */, statsToken); in testImeRequestedVisibleAwaitingControl() 126 eq(WindowInsets.Type.ime()), eq(true) /* show */, eq(true) /* fromIme */, in testImeRequestedVisibleAwaitingControl() 131 WindowInsets.Type.ime(), mLeash, false, new Point(), Insets.NONE); in testImeRequestedVisibleAwaitingControl() 135 eq(WindowInsets.Type.ime()), eq(true) /* show */, eq(false) /* fromIme */, in testImeRequestedVisibleAwaitingControl() 138 eq(WindowInsets.Type.ime()), eq(false) /* show */, eq(false) /* fromIme */, in testImeRequestedVisibleAwaitingControl() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/ |
D | ValueParserTest.kt | 14 assertThat(Type.String.parseValue("test")).isEqualTo(Result.success("test")) in parseString() 19 assertThat(Type.Int.parseValue("123")).isEqualTo(Result.success(123)) in parseInt() 21 assertTrue(Type.Int.parseValue("not an Int").isFailure) in parseInt() 26 assertThat(Type.Float.parseValue("1.23")).isEqualTo(Result.success(1.23f)) in parseFloat() 28 assertTrue(Type.Int.parseValue("not a Float").isFailure) in parseFloat() 33 assertThat(Type.Boolean.parseValue("true")).isEqualTo(Result.success(true)) in parseBoolean() 34 assertThat(Type.Boolean.parseValue("false")).isEqualTo(Result.success(false)) in parseBoolean() 36 assertTrue(Type.Boolean.parseValue("not a Boolean").isFailure) in parseBoolean() 41 val parseSquare = Type.Int.map { Rect(it, it, it, it) } in mapToComplexType() 49 Type.Int.map { in mapToFallibleComplexType()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/ |
D | NativeCoverageHackInstrumentationListener.java | 170 private enum Type { enum in NativeCoverageHackInstrumentationListener.SignalMaskInfo 178 Type(String tag) { in Type() method in NativeCoverageHackInstrumentationListener.SignalMaskInfo.Type 186 public static Map<Type, Long> parseProcinfo(String path) { in parseProcinfo() 187 Map<Type, Long> map = new HashMap<>(); in parseProcinfo() 191 for (Type mask : Type.values()) { in parseProcinfo() 214 private Map<Type, Long> maskMap = null; 221 maskMap = Type.parseProcinfo(PROCFS_PATH); in refresh() 225 return (maskMap != null && maskMap.size() == Type.values().length); in isValid() 229 return isSignalInMask(signal, Type.CAUGHT); in isCaught() 233 return isSignalInMask(signal, Type.BLOCKED); in isBlocked() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 42 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/base/core/java/android/hardware/camera2/utils/ |
D | TypeReference.java | 27 import java.lang.reflect.Type; 51 private final Type mType; 87 public Type getType() { in getType() 91 private TypeReference(Type type) { in TypeReference() 108 public SpecializedBaseTypeReference(Type type) { in SpecializedBaseTypeReference() 144 public static TypeReference<?> createSpecializedTypeReference(Type type) { in createSpecializedTypeReference() 167 private static final Class<?> getRawType(Type type) { in getRawType() 189 private static final Class<?> getRawType(Type[] types) { in getRawType() 194 for (Type type : types) { in getRawType() 214 Type componentType = getComponentType(mType); in getComponentType() [all …]
|
/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/common_to_x86/ |
D | intrinsics_bindings.h | 32 using Type = int8_t; 38 using Type = int8_t; 44 using Type = int16_t; 50 using Type = int32_t; 56 using Type = int64_t; 62 using Type = uint8_t; 70 using Type = uint16_t; 78 using Type = uint32_t; 88 using Type = uint32_t; 98 using Type = uint8_t; [all …]
|
/frameworks/rs/ |
D | rsType.cpp | 28 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 …]
|
D | rsType.h | 36 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/mediaresourcemanager/ |
D | DefaultResourceModel.cpp | 53 case MediaResource::Type::kSecureCodec: in getAllClients() 66 mediaResource.type = MediaResource::Type::kNonSecureCodec; in getAllClients() 74 case MediaResource::Type::kNonSecureCodec: in getAllClients() 79 mediaResource.type = MediaResource::Type::kSecureCodec; in getAllClients() 100 case MediaResource::Type::kSecureCodec: in getAllClients() 101 case MediaResource::Type::kNonSecureCodec: in getAllClients() 104 case MediaResource::Type::kGraphicMemory: in getAllClients() 105 case MediaResource::Type::kDrmSession: in getAllClients() 141 (reclimRequestInfo.mResources[0].type == MediaResource::Type::kSecureCodec) ? in getCodecClients() 142 MediaResource::Type::kNonSecureCodec : MediaResource::Type::kSecureCodec; in getCodecClients()
|