Home
last modified time | relevance | path

Searched refs:MASK (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DFlagged.h287 template<typename T, typename Flag, Flag MASK, Flag SHARED_MASK>
291 getShift(MASK, mask_of<T, Flag>::value, SHARED_MASK,
303 typename T, typename Flag, Flag MASK,
305 int SHIFT=min_shift<T, Flag, MASK, SHARED_MASK>::value>
311 && canCombine(MASK, mask_of<T, Flag>::value, SHARED_MASK, SHIFT,
344 typename T, typename Flag, Flag MASK, Flag SHARED_MASK=(Flag)0,
345 int SHIFT=_Flagged_helper::min_shift<T, Flag, MASK, SHARED_MASK>::value,
347 bool=_Flagged_helper::can_combine<T, IntFlag, MASK, SHARED_MASK, SHIFT>::value>
352 static_assert((_Flagged_helper::topBits<Flag>(SHIFT) & MASK) == 0, "SHIFT overflows MASK");
354 static constexpr Flag sFlagMask = MASK; ///< the mask
[all …]
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java60 int MASK = (1 << BITS) - 1; field
63 return (index >> SHIFT) & MASK; in fromIndex()
74 int MASK = (1 << BITS) - 1; field
77 return (index >> SHIFT) & MASK; in fromIndex()
89 int MASK = (1 << BITS) - 1; field
92 return (index >> SHIFT) & MASK; in fromIndex()
193 int ret = batterySaverState & BatterySaverState.MASK; in statesToIndex()
194 ret |= (interactiveState & InteractiveState.MASK) << InteractiveState.SHIFT; in statesToIndex()
195 ret |= (dozeState & DozeState.MASK) << DozeState.SHIFT; in statesToIndex()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dprm2bits.cpp73 #define MASK 0x0001 macro
191 *(pt_bitstream--) = value & MASK; in Int2bin()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java128 static final int MASK_EXPOSED_AS = LambdaType.MASK << (MAX_ARGS + 3);
131 static final int MASK_FUNC_TYPE = LambdaType.MASK <<
610 public static final int MASK = MASK_ARG_COUNT | MASK_RETURN_TYPE; field in PooledLambdaImpl.LambdaType
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java100 private static final float[] MASK = { field in DessertCaseView
197 pt.setColorFilter(new ColorMatrixColorFilter(MASK)); in convertToAlphaMask()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java995 public static final int MASK = 0x7F; // 0111 1111 field in InformationElementUtil.SupportedRates
1014 byteVal &= MASK; in getRateFromByte()