Home
last modified time | relevance | path

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

123

/frameworks/proto_logging/stats/enums/adservices/measurement/
Denums.proto24 * Enum used by AdServicesMeasurement(Registration, Attribution).
35 * Enum used by AdServicesMeasurementRegistration.
44 * Enum used by AdServicesMeasurement(Registration, Attribution, Reporting,
57 * Enum used by AdServicesMeasurementRegistration.
73 * Enum used by AdServicesMeasurementReporting.
89 * Enum used by AdServicesMeasurementReporting.
98 * Enum used by AdServicesMeasurementDelayedSourceRegistration.
107 * Enum used by AdServicesMeasurementAttribution.
118 * Enum used by AdServicesMeasurementAttribution.
134 * Enum used by AdServicesMeasurementJobs.
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DFlags.h14 template <typename Enum>
17 typedef Enum enum_type;
22 explicit Flags(Enum pFlag) : m_Data(pFlag) {} in Flags()
34 Flags operator&(Enum pMask) const { return Flags(m_Data & pMask); }
48 Flags operator^(Enum pOther) const { return Flags(m_Data ^ pOther); }
55 Flags& operator^=(Enum pOther) {
62 Flags operator|(Enum pOther) const { return Flags(m_Data | pOther); }
69 Flags& operator|=(Enum pOther) {
/frameworks/libs/binary_translation/guest_abi/riscv64/
Dguest_abi_test.cc79 enum class Enum : uint32_t { in TEST() enum
86 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<Enum>*>(&value); in TEST()
89 EXPECT_EQ(static_cast<Enum>(param), Enum::kA); in TEST()
92 EXPECT_EQ(static_cast<Enum>(param), Enum::kB); in TEST()
94 param = Enum::kC; in TEST()
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionUtil-impl.h255 template<typename Enum>
256 Enum indexToEnum_index(int index) {
257 static_assert(std::is_enum_v<Enum> || std::is_integral_v<Enum>);
258 return static_cast<Enum>(index);
261 template<typename Enum>
262 Enum indexToEnum_bitmask(int index) {
263 static_assert(std::is_enum_v<Enum> || std::is_integral_v<Enum>);
264 return static_cast<Enum>(1 << index);
267 template<typename Mask, typename Enum>
268 Mask enumToMask_bitmask(Enum e) {
[all …]
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto25 // Enum used in DNDModeProto.
34 // Enum used in DNDPolicyProto for a particular policy parameter's state.
41 // Enum used in DNDPolicyProto for which people are allowed to break through.
50 // Enum used in DNDPolicyProto for conversation types allowed to break through.
58 // Enum used in DNDPolicyProto to indicate the type of channels permitted to
66 // Enum used in DNDStateChanged to identify the type of rule that changed.
73 // Enum used in DNDModeProto and DNDStateChanged to identify the category
/frameworks/proto_logging/stats/enums/adservices/enrollment/
Denums.proto24 * Enum used by EnrollmentDataStats.
33 * Enum used by EnrollmentDataFailed.
43 * Enum used by EnrollmentDataFailed.
52 * Enum used by AdServicesEnrollmentTransactionStats.
65 * Enum used by AdServicesEnrollmentTransactionStats.
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableEnum.java38 public class MarshalQueryableEnum<T extends Enum<T>> implements MarshalQueryable<T> {
138 private static final HashMap<Class<? extends Enum>, int[]> sEnumValues =
139 new HashMap<Class<? extends Enum>, int[]>();
149 public static <T extends Enum<T>> void registerEnumValues(Class<T> enumType, int[] values) { in registerEnumValues()
172 private static <T extends Enum<T>> int getEnumValue(T enumValue) { in getEnumValue()
191 private static <T extends Enum<T>> T getEnumFromValue(Class<T> enumType, int value) { in getEnumFromValue()
/frameworks/native/services/surfaceflinger/
DTracedOrdinal.h35 template <typename Enum, typename std::enable_if<std::is_enum<Enum>::value>::type* = nullptr>
36 bool signbit(Enum e) { in signbit()
37 return std::signbit(static_cast<typename std::underlying_type<Enum>::type>(e)); in signbit()
/frameworks/proto_logging/stats/enums/stats/sysui/
Dnotification_enums.proto21 // Enum used in NotificationReported and NotificationChannelModified atoms
32 // Enum used in NotificationMemoryUse and NotificationDismissed protos.
/frameworks/base/core/proto/android/service/
Dnotification.proto288 // Enum used in DNDModeProto to specify the zen mode setting.
313 // Enum used in DNDPolicyProto for a particular policy parameter's state.
320 // Enum used in DNDPolicyProto for which people are allowed to break through.
329 // Enum used in DNDPolicyProto for conversation types allowed to break through.
366 // Enum identifying the type of rule that changed; values set to match ones used in the
374 // Enum used in DNDPolicyProto to indicate the type of channels permitted to
/frameworks/proto_logging/stats/enums/jank/
Denums.proto22 * Enum used by UIInteractionFrameInfoReported.
146 * Enum used by UIActionLatencyReported.
/frameworks/native/libs/ftl/
Denum_test.cpp116 TEST(Enum, Range) { in TEST() argument
124 TEST(Enum, Name) { in TEST() argument
162 TEST(Enum, String) { in TEST() argument
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
Dtest.proto22 * Enum that outside the scope of any classes.
42 * Enum that is inside the scope of a class.
/frameworks/base/tools/streaming_proto/test/integration/
Dtest.proto24 * Enum that outside the scope of any classes.
40 * Enum that is inside the scope of a class.
/frameworks/proto_logging/stats/enums/autofill/
Denums.proto126 // Enum for specifying which detection provider gets the preference when choosing
134 // Enum for specifying which detection provider gets the preference when choosing
/frameworks/base/core/java/android/os/
DDdmSyncState.java123 sb.append(Arrays.toString(Arrays.stream(Stage.values()).map(Enum::name).toArray())); in getInternalState()
/frameworks/base/core/proto/android/internal/
Dbinder_latency.proto51 // The class name of the API making the call to Binder. Enum value
60 // cannot resolve it to a name. See Binder#getTransactionName. Enum value
/frameworks/base/apct-tests/perftests/core/src/android/libcore/varhandles/
Dgenerate_java.py28 from enum import Enum
35 class MemLoc(Enum):
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp88 template <class Enum>
89 constexpr std::enable_if<false, Enum> STREAM_NAME_MAP;
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java675 private final HashMap<String,Enum> mTags = new HashMap<String,Enum>();
711 mTags.put(tag, (Enum)enumValue); in EnumFieldSetter()
716 final Enum enumValue = mTags.get(value); in setField()
736 final Enum enumValue = mTags.get(value); in setArray()
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/shared/
DResponseCollective.java106 return mEntryCounts.keySet().stream().mapToInt(Enum::ordinal).toArray(); in getUniqueEntries()
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dvulkan_xml_test.go155 if typе.Kind(arch) != cpp_types.Enum {
208 if typе.Kind(arch) != cpp_types.Enum {
252 if typе.Kind(arch) != cpp_types.Enum {
492 if field0.Type().Kind(arch) != cpp_types.Enum ||
521 if field0.Type().Kind(arch) != cpp_types.Enum ||
/frameworks/base/core/proto/android/providers/
Dsettings.proto60 // Enum values gotten from Settings.java
/frameworks/native/services/surfaceflinger/sysprop/api/
DSurfaceFlingerProperties-latest.txt86 type: Enum
/frameworks/base/core/proto/android/os/
Dpowermanager.proto51 // Enum values gotten from PowerManagerInternal.java

123