Home
last modified time | relevance | path

Searched refs:Enum (Results 1 – 25 of 60) sorted by relevance

123

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/base/
DFlagEnum.java33 static <E extends Enum<E> & FlagEnum> int toInt(Set<E> enumSet) { in toInt()
41 static <E extends Enum<E> & FlagEnum> EnumSet<E> toEnumSet(int flags, E[] values) { in toEnumSet()
59 static <E extends Enum<E> & FlagEnum> long toLong(Set<E> enumSet) { in toLong()
67 static <E extends Enum<E> & FlagEnum> EnumSet<E> longToEnumSet(long flags, E[] values) { in longToEnumSet()
/packages/modules/Bluetooth/tools/pdl/tests/examples/
Dfixed-field.pdl3 enum Enum : 1 {
16 _fixed_ = invalid_tag : Enum,
21 _fixed_ = tag: Enum,
Dtypedef-field.pdl6 enum Enum : 1 {
34 typedef_2: Enum,
Darray-field.pdl6 enum Enum : 1 {
34 array_1: Enum[],
Dgroup-constraint.pdl6 enum Enum : 1 {
12 b: Enum,
Dpacket.pdl6 enum Enum : 1 {
12 b: Enum,
Dstruct.pdl6 enum Enum : 1 {
12 b: Enum,
/packages/services/Car/service/src/com/android/car/
DCarInputService.java132 @VehicleAreaSeat.Enum int seat) { in onKeyEvent()
271 @VehicleAreaSeat.Enum int seat) {
313 @VehicleAreaSeat.Enum int seat) { in CarInputService()
453 @VehicleAreaSeat.Enum int seat) { in onKeyEvent()
506 @VehicleAreaSeat.Enum int seat) { in onMotionEvent()
549 @VehicleAreaSeat.Enum int seat) { in assignDisplayIdForSeat()
563 @VehicleAreaSeat.Enum int seat) { in getDisplayIdForSeat()
572 @VehicleAreaSeat.Enum int seat) { in notifyUserActivity()
698 @VehicleAreaSeat.Enum int seat) { in injectKeyEventForSeat()
726 @VehicleAreaSeat.Enum int seat) { in injectMotionEventForSeat()
[all …]
/packages/modules/Bluetooth/system/gd/packet/
Dendian_inserter.h88 template <typename Enum, typename std::enable_if<std::is_enum_v<Enum>, int>::type = 0>
89 inline void insert(Enum value, BitInserter& it) const { in insert()
90 using enum_type = typename std::underlying_type_t<Enum>; in insert()
/packages/services/Car/car-lib/src/android/car/
DCarInfoManager.java197 public @FuelType.Enum int[] getFuelTypes() { in getFuelTypes()
217 public @EvConnectorType.Enum int[] getEvConnectorTypes() { in getEvConnectorTypes()
272 public @VehicleAreaSeat.Enum int getDriverSeat() { in getDriverSeat()
282 public @PortLocationType.Enum int getEvPortLocation() { in getEvPortLocation()
292 public @PortLocationType.Enum int getFuelDoorLocation() { in getFuelDoorLocation()
DVehicleIgnitionState.java81 public static String toString(@VehicleIgnitionState.Enum int ignitionState) { in toString()
110 public @interface Enum { annotation in VehicleIgnitionState
DVehicleAreaSeat.java87 public @interface Enum {} annotation in VehicleAreaSeat
106 @Enum
/packages/apps/TV/tuner/proto/
Dchannel.proto65 // Enum describing the types of tuner.
72 // Enum describing the types of video stream.
90 // Enum describing the types of audio stream.
106 // Enum describing ATSC service types
121 // Enum describing the types of delivery system.
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_gatt_constants.py30 class StrEnumInternal(str, enum.Enum):
88 class GattEvent(dict, enum.Enum):
214 class GattDescriptor(list, enum.Enum):
265 class CharacteristicValueFormat(enum.Enum):
Dbt_constants.py61 class AvrcpEvent(enum.Enum):
168 class LogType(enum.Enum):
/packages/modules/Bluetooth/system/gd/packet/parser/test/
Drust_test_packets.pdl4 enum Enum : 8 {
11 v: Enum,
16 v: Enum,
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt76 is FieldType.Enum, in <lambda>()
99 is FieldType.Enum -> Enum::class.java in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java331 String name = (event instanceof Enum) ? ((Enum) event).name() : in log()
426 String name = (event instanceof Enum) ? ((Enum) event).name() : in write()
545 String name = (event instanceof Enum) ? ((Enum) event).name() : in log()
626 String name = (event instanceof Enum) ? ((Enum) event).name() : in log()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DEvChargingConnectorType.java132 public @interface Enum {} annotation in EvChargingConnectorType
141 public static String toString(@EvChargingConnectorType.Enum int connectorType) { in toString()
DVehicleElectronicTollCollectionCardType.java53 public @interface Enum {} annotation in VehicleElectronicTollCollectionCardType
DVehicleElectronicTollCollectionCardStatus.java59 public @interface Enum {} annotation in VehicleElectronicTollCollectionCardStatus
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto11 // Enum that specifies supported audio formats.
21 // Enum that describes the status of the transcription process.
58 // Enum that specifies the user's consent to donate a specific voicemail.
70 // Enum that specifies the user's rating for a voicemail transcription.
/packages/modules/Bluetooth/tools/pdl/src/
Dast.rs168 Enum { id: String, tags: Vec<Tag>, width: usize }, enumerator
389 DeclDesc::Enum { id, tags, width } => { in annotate()
390 DeclDesc::Enum { id: id.clone(), tags: tags.clone(), width: *width } in annotate()
420 | DeclDesc::Enum { id, .. } in id()
458 DeclDesc::Enum { .. } => "enum", in kind()
/packages/modules/Bluetooth/tools/pdl/src/backends/
Dintermediate.rs22 pub enums: HashMap<&'a str, Enum<'a>>,
39 pub struct Enum<'a> { struct
116 ast::DeclDesc::Enum { id, tags, width, .. } => process_enum(schema, id, tags, *width), in process_decl()
126 schema.enums.insert(id, Enum { tags, width }); in process_enum()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnit.java31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit()

123