Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DFlagged.h115 template<typename Flag>
116 static constexpr Flag topBits(int num) { in topBits()
117 return Flag(num > 0 ? in topBits()
118 ~((Flag(1) << (sizeof(Flag) * 8 - is_signed_integral<Flag>::value - num)) - 1) : in topBits()
131 template<typename Flag>
132 static constexpr Flag minMask(Flag maxValue, int shift=sizeof(Flag) * 4) {
133 static_assert(is_unsigned_integral<Flag>::value,
135 return shift ? minMask<Flag>(Flag(maxValue | (maxValue >> shift)), shift >> 1) : maxValue;
148 template<typename Flag, typename IntFlag = typename underlying_integral_type<Flag>::type>
149 static constexpr IntFlag lshift(Flag value, int shift) { in lshift()
[all …]
DAData.h576 template<typename Flag>
579 static_assert(std::is_unsigned<Flag>::value, "Flag must be unsigned");
580 static_assert(std::is_integral<Flag>::value, "Flag must be an integral type");
582 static constexpr Flag count = num_types + 1;
585 typedef Flag type; ///< flag type
587 static constexpr Flag mask = _Flagged_helper::minMask<Flag>(count); ///< flag mask
603 static constexpr bool canDeleteAs(Flag objectFlag, Flag deleteFlag) {
613 static constexpr Flag flagFor(void*) {
621 static constexpr Flag flagFor(T*) {
639 template<typename Flag, size_t MaxSize=1024, size_t Align=4>
[all …]
/frameworks/base/core/java/com/android/internal/config/sysui/
DSystemUiSystemPropertiesFlags.java50 public static final Flag TEAMFOOD = devFlag("persist.sysui.teamfood");
58 public static final Flag LOG_DND_STATE_EVENTS =
62 public static final Flag RANKING_UPDATE_ASHMEM = devFlag(
65 public static final Flag PROPAGATE_CHANNEL_UPDATES_TO_CONVERSATIONS = releasedFlag(
70 public static final Flag NOTIF_COOLDOWN_T1 = devFlag(
73 public static final Flag NOTIF_COOLDOWN_T2 = devFlag(
76 public static final Flag NOTIF_VOLUME1 = devFlag(
78 public static final Flag NOTIF_VOLUME2 = devFlag(
81 public static final Flag NOTIF_COOLDOWN_COUNTER_RESET = devFlag(
85 public static final Flag NOTIF_AVALANCHE_TIMEOUT = devFlag(
[all …]
/frameworks/compile/mclinker/tools/mcld/
DOptions.td23 def Bsymbolic : Flag<["-"], "Bsymbolic">,
27 def Bgroup : Flag<["-"], "Bgroup">,
38 def NoUndef : Flag<["--"], "no-undefined">,
42 def AllowMulDefs : Flag<["--"], "allow-multiple-definition">,
57 def EnableNewDTags : Flag<["--"], "enable-new-dtags">,
71 def GCSections : Flag<["--"], "gc-sections">,
75 def NoGCSections : Flag<["--"], "no-gc-sections">,
79 def PrintGCSections : Flag<["--"], "print-gc-sections">,
83 def NoPrintGCSections : Flag<["--"], "no-print-gc-sections">,
87 def LDGeneratedUnwindInfo : Flag<["--"], "ld-generated-unwind-info">,
[all …]
/frameworks/compile/slang/
DRSCCOptions.td52 def emit_asm : Flag<["-"], "emit-asm">,
54 def _emit_asm : Flag<["-"], "S">, Alias<emit_asm>;
55 def emit_llvm : Flag<["-"], "emit-llvm">,
57 def emit_bc : Flag<["-"], "emit-bc">,
59 def emit_nothing : Flag<["-"], "emit-nothing">,
63 def m32 : Flag<["-"], "m32">, HelpText<"Emit 32-bit code (only for C++, unless eng build)">;
64 def m64 : Flag<["-"], "m64">, HelpText<"Emit 64-bit code (only for C++, unless eng build)">;
66 def emit_g : Flag<["-"], "g">,
72 def allow_rs_prefix : Flag<["-"], "allow-rs-prefix">,
95 def w : Flag<["-"], "w">, HelpText<"Suppress all warnings">;
[all …]
/frameworks/native/libs/bufferstreams/aconfig/
Dbufferstreams_flags.aconfig7 description: "Flag for bufferstreams steel thread milestone"
14 description: "Flag for bufferstreams single-process functionality milestone"
21 description: "Flag for bufferstreams buffer pooling milestone"
28 description: "Flag for bufferstreams IPC milestone"
35 description: "Flag for bufferstreams C/C++ milestone"
42 description: "Flag for bufferstreams extra utilities milestone"
49 description: "Flag for bufferstreams demo milestone"
56 description: "Flag for bufferstreams performance enhancement milestone"
63 description: "Flag for bufferstreams tooling milestone"
/frameworks/base/location/java/android/location/flags/
Dlocation.aconfig7 description: "Flag for new Geocoder APIs"
36 description: "Flag for making geoid heights available via the Altitude HAL"
43 description: "Flag for GNSS API for NavIC L1"
50 description: "Flag for calling stop() before setPositionMode()"
57 description: "Flag for GnssMeasurementRequest WorkSource API"
64 description: "Flag for releasing SUPL connection on timeout"
71 description: "Flag for location validation"
78 description: "Flag for replacing future elapsedRealtime in JNI"
85 description: "Flag for running onSubscriptionsChangedListener on FgThread"
95 description: "Flag for GNSS configuration from resource"
/frameworks/base/tests/testables/src/com/android/internal/config/sysui/
DTestableFlagResolver.java28 public boolean isEnabled(SystemUiSystemPropertiesFlags.Flag flag) { in isEnabled()
33 public int getIntValue(SystemUiSystemPropertiesFlags.Flag flag) { in getIntValue()
38 public String getStringValue(SystemUiSystemPropertiesFlags.Flag flag) { in getStringValue()
42 public TestableFlagResolver setFlagOverride(SystemUiSystemPropertiesFlags.Flag flag, in setFlagOverride()
48 public TestableFlagResolver setFlagOverride(SystemUiSystemPropertiesFlags.Flag flag, in setFlagOverride()
54 public TestableFlagResolver setFlagOverride(SystemUiSystemPropertiesFlags.Flag flag, in setFlagOverride()
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dtypedef.h39 typedef int Flag; typedef
45 typedef int Flag; typedef
51 typedef int Flag; typedef
60 typedef int Flag; typedef
/frameworks/base/core/java/android/view/inspector/
DIntFlagMapping.java42 private final List<Flag> mFlags = new ArrayList<>();
54 for (Flag flag : mFlags) { in get()
71 mFlags.add(new Flag(mask, target, name)); in add()
77 private static final class Flag { class in IntFlagMapping
82 private Flag(int mask, int target, @NonNull String name) { in Flag() method in IntFlagMapping.Flag
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFlagCommand.java42 private final Map<String, Flag<?>> mAllFlags;
47 @Named(ALL_FLAGS) Map<String, Flag<?>> allFlags in FlagCommand()
71 Flag<?> flag = mAllFlags.get(name); in execute()
174 private boolean isBooleanFlag(Flag<?> flag) { in isBooleanFlag()
180 private Boolean isTeamfoodFlag(Flag<?> flag) { in isTeamfoodFlag()
187 private boolean isBooleanFlagEnabled(Flag<?> flag) { in isBooleanFlagEnabled()
201 private boolean isStringFlag(Flag<?> flag) { in isStringFlag()
205 private String getStringFlag(Flag<?> flag) { in getStringFlag()
215 private boolean isIntFlag(Flag<?> flag) { in isIntFlag()
219 private int getIntFlag(Flag<?> flag) { in getIntFlag()
[all …]
DFeatureFlagsClassicRelease.java53 private final Map<String, Flag<?>> mAllFlags;
61 public void onChange(Flag<?> flag, String value) {
96 @Named(ALL_FLAGS) Map<String, Flag<?>> allFlags, in FeatureFlagsClassicRelease()
111 public void addListener(@NonNull Flag<?> flag, @NonNull Listener listener) { in addListener()
217 Map<String, Flag<?>> knownFlags = FlagsFactory.INSTANCE.getKnownFlags(); in dump()
219 for (Map.Entry<String, Flag<?>> nameToFlag : knownFlags.entrySet()) { in dump()
220 Flag<?> flag = nameToFlag.getValue(); in dump()
246 for (Map.Entry<String, Flag<?>> nameToFlag : knownFlags.entrySet()) { in dump()
247 Flag<?> flag = nameToFlag.getValue(); in dump()
/frameworks/av/media/module/codecs/amrnb/common/include/
Dint_lpc.h131 Flag *pOverflow
153 Flag *pOverflow
181 Flag *pOverflow
200 Flag *pOverflow
Dbasic_op_arm_v5.h119 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add()
152 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub()
190 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac()
223 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
263 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu()
300 Word16 L_var2_lo, Flag *pOverflow) in Mpy_32()
356 Flag *pOverflow) in Mpy_32_16()
394 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
Dbasic_op_c_equivalent.h119 static inline Word32 L_add(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_add()
159 Flag *pOverflow) in L_sub()
200 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac()
248 static inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
292 static inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu()
326 Flag *pOverflow) in Mpy_32()
399 Flag *pOverflow) in Mpy_32_16()
454 static inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
Dbasic_op_arm_gcc_v5.h121 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add()
158 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub()
197 static inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac()
241 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
286 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu()
333 Flag *pOverflow) in Mpy_32()
416 Flag *pOverflow) in Mpy_32_16()
477 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
Dvad1.h165 Flag *pOverflow
173 Flag *pOverflow
178 Flag *pOverflow
185 Flag *pOverflow
Dbasic_op.h169 Flag *pOverflow) in Mac_32()
212 Flag *pOverflow) in Mac_32_16()
275 static inline Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow) in shl()
327 static inline Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shl()
380 static inline Word32 L_shr(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shr()
Dvad2.h178 Flag LTP_flag; /* Use to indicate the the LTP gain is > LTP_THRESH */
185 Word16 vad2(Word16 *farray_ptr, vadState2 *st, Flag *pOverflow);
190 void r_fft(Word16 *farray_ptr, Flag *pOverflow);
192 void LTP_flag_update(vadState2 *st, Word16 mode, Flag *pOverflow);
/frameworks/av/media/module/codecs/amrnb/dec/src/
Dec_gains.h139 Flag *pOverflow
154 Flag *pOverflow
184 Flag *pOverflow
199 Flag *pOverflow
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp61 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlag()
71 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlagList()
81 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlag()
91 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList()
101 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList()
110 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 0, func)); in AddOptionalSwitch()
136 for (const Flag& flag : flags_) { in Usage()
161 for (const Flag& flag : flags_) { in Usage()
215 for (Flag& flag : flags_) { in Execute()
241 for (const Flag& flag : flags_) { in Execute()
/frameworks/base/nfc/java/android/nfc/
Dflags.aconfig8 description: "Flag for NFC mainline changes"
16 description: "Flag for NFC reader option API changes"
24 description: "Flag for NFC user restriction"
69 description: "Flag for NFC charging changes"
77 description: "Flag for NFC set discovery tech API"
109 description: "Flag for NFC set default disc tech API"
/frameworks/base/core/java/android/flags/
DFeatureFlags.java50 private final Set<Flag<?>> mKnownFlags = new ArraySet<>();
51 private final Set<Flag<?>> mDirtyFlags = new ArraySet<>();
83 for (Flag<?> f : mKnownFlags) {
231 private boolean getBooleanInternal(Flag<Boolean> flag) { in getBooleanInternal()
245 private <T extends Flag<?>> T addFlag(T flag) { in addFlag()
274 protected void syncInternal(Set<Flag<?>> dirtyFlags) { in syncInternal()
277 for (Flag<?> f : dirtyFlags) { in syncInternal()
289 for (Flag<?> f : dirtyFlags) { in syncInternal()
320 private SyncableFlag flagToSyncableFlag(Flag<?> f) { in flagToSyncableFlag()
361 private static boolean flagEqualsSyncableFlag(Flag<?> f, SyncableFlag sf) { in flagEqualsSyncableFlag()
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dton_stab.h131 Flag *pOverflow
136 Flag *pOverflow
141 Flag *pOverflow
/frameworks/base/core/tests/coretests/src/com/android/internal/config/sysui/
DSystemUiSystemPropertiesFlagsTest.java23 import com.android.internal.config.sysui.SystemUiSystemPropertiesFlags.Flag;
43 public void set(Flag flag, Boolean value) { in set()
51 private Flag mReleasedFlag;
52 private Flag mTeamfoodFlag;
53 private Flag mDevFlag;

12345678910>>...12