Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 142) sorted by relevance

123456

/hardware/google/aemu/host-common/
DVpxFrameParser.cpp68 const int bit = (bit_buffer[p] >> q) & 1; in read_bit() local
70 return bit; in read_bit()
77 int value = 0, bit; in read_literal() local
78 for (bit = bits - 1; bit >= 0; bit--) in read_literal()
79 value |= read_bit() << bit; in read_literal()
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal31 * 16-bit format that has a single 16-bit depth component.
39 * 32-bit format that has a single 24-bit depth component and, optionally,
48 * 32-bit format that has a 24-bit depth component and an 8-bit stencil
58 * 32-bit format that has a single 32-bit depth component.
66 * Two-component format that has a 32-bit depth component, an 8-bit stencil
76 * 8-bit format that has a single 8-bit stencil component.
86 * represented by a 16-bit little-endian value, with the lower 6 bits set
109 * This format is appropriate for 10bit video content.
214 * a = 1.099, b = 0.018 for 10-bit display systems
215 * a = 1.0993, b = 0.0181 for 12-bit display systems
/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp138 auto bit = mUpdatedSwitchMask.firstMarkedBit(); in sync() local
139 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_SWITCH, codeMap[bit].usage, in sync()
140 mSwitchValues.hasBit(bit), 0); in sync()
141 mUpdatedSwitchMask.clearBit(bit); in sync()
DMouseInputMapper.cpp153 auto bit = mUpdatedButtonMask.clearFirstMarkedBit(); in sync() local
154 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_MOUSE, codeMap[bit].usage, in sync()
155 mButtonValues.hasBit(bit), 0); in sync()
/hardware/google/interfaces/bluetooth/bt_channel_avoidance/1.0/
DIBTChannelAvoidance.hal29 * @param channelMap The lower 79 bits of the 80-bit parameterrepresents
31 * unknown. The most significant bit (bit 79) is reserved for future
/hardware/interfaces/broadcastradio/1.1/
Dtypes.hal171 RDS_PI, // 16bit
174 * 64bit compound primary identifier for HD Radio.
177 * - 32bit: Station ID number;
178 * - 4bit: HD_SUBCHANNEL;
179 * - 18bit: AMFM_FREQUENCY.
194 * 24bit compound primary identifier for DAB.
197 * - 16bit: SId;
198 * - 8bit: ECC code.
204 DAB_ENSEMBLE, // 16bit
205 DAB_SCID, // 12bit
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/display/msm8909/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/sm8150/display/sdm/include/utils/
Dconstants.h49 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/display/msm8998/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/sm7250/display/sdm/include/utils/
Dconstants.h50 #define BITMAP(bit) (1 << (bit)) argument
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal29 * 32-bit format that has 8-bit R, G, B, and A components, in that order,
38 * 32-bit format that has 8-bit R, G, B, and unused components, in that
47 * 24-bit format that has 8-bit R, G, and B components, in that order,
56 * 16-bit packed format that has 5-bit R, 6-bit G, and 5-bit B components,
66 * 32-bit format that has 8-bit B, G, R, and A components, in that order,
82 * 64-bit format that has 16-bit R, G, B, and A components, in that order,
91 * RAW16 is a single-channel, 16-bit, little endian format, typically
127 * | depth measurements, opaque with 16 bit
212 * RAW10 is a single-channel, 10-bit per pixel, densely packed in each row,
221 * bit of the ith pixel):
[all …]
/hardware/qcom/sm7250/gps/utils/
Dloc_log.cpp78 uint64_t bit = 0; in loc_get_least_bit() local
82 bit = mask & ~(less1); in loc_get_least_bit()
88 return bit; in loc_get_least_bit()
/hardware/qcom/sm8150/gps/utils/
Dloc_log.cpp78 uint64_t bit = 0; in loc_get_least_bit() local
82 bit = mask & ~(less1); in loc_get_least_bit()
88 return bit; in loc_get_least_bit()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1645 uint32 bit, mask; in bcm_format_field() local
1654 bit = bd->bitfield[i].bit; in bcm_format_field()
1655 if ((flags & mask) == bit) { in bcm_format_field()
1673 uint32 bit; in bcm_format_flags() local
1682 bit = bd[i].bit; in bcm_format_flags()
1684 if (bit == 0 && flags != 0) { in bcm_format_flags()
1689 } else if ((flags & bit) == 0) in bcm_format_flags()
1691 flags &= ~bit; in bcm_format_flags()
2268 setbit(void *array, uint bit) in setbit() argument
2270 ((uint8 *)array)[bit / NBBY] |= 1 << (bit % NBBY); in setbit()
[all …]
/hardware/interfaces/rebootescrow/aidl/default/
DHadamardUtils.cpp27 static inline uint8_t read_bit(const std::vector<uint8_t>& input, size_t bit) { in read_bit() argument
28 return (input[bit >> 3] >> (bit & 7)) & 1u; in read_bit()
/hardware/interfaces/gnss/1.0/
DIGnssConfiguration.hal24 * Enum which holds the bit masks for SUPL_MODE configuration parameter.
35 * Enum which holds the bit masks for GPS_LOCK configuration parameter.
46 * Enum that hold the bit masks for various LTE Positioning Profile settings (LPP_PROFILE
59 * Enum which holds the bit masks for A_GLONASS_POS_PROTOCOL_SELECT
97 * @param version SUPL version requested by carrier. This is a bit mask
DIAGnssCallback.hal49 * 32-bit IPv4 address.
61 * 128-bit IPv6 address.
/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp399 for (uint32_t bit = 0; halFlagMask != 0 && bit < sizeof(audio_input_flags_t) * 8; ++bit) { in audioInputFlagsFromHal() local
400 audio_input_flags_t flag = static_cast<audio_input_flags_t>(1u << bit); in audioInputFlagsFromHal()
437 for (uint32_t bit = 0; halFlagMask != 0 && bit < sizeof(audio_output_flags_t) * 8; ++bit) { in audioOutputFlagsFromHal() local
438 audio_output_flags_t flag = static_cast<audio_output_flags_t>(1u << bit); in audioOutputFlagsFromHal()
/hardware/interfaces/automotive/can/1.0/
Dtypes.hal21 * Does not include any flags like RTR nor ERR, only a plain 11-bit
22 * or 29-bit identifier, as defined in CAN 1.x/2.0x.
65 * Extended ID's are 29 bits long, as opposed to the standard 11 bit ID.
88 /** 29 bit message ID is used instead of 11 bits */
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h661 extern void setbit(void *array, uint bit);
662 extern void clrbit(void *array, uint bit);
663 extern bool isset(const void *array, uint bit);
664 extern bool isclr(const void *array, uint bit);
735 uint32 bit; member
820 #define mboolset(mb, bit) ((mb) |= (bit)) /* set one bool */ argument
821 #define mboolclr(mb, bit) ((mb) &= ~(bit)) /* clear one bool */ argument
822 #define mboolisset(mb, bit) (((mb) & (bit)) != 0) /* TRUE if one bool is set */ argument
/hardware/google/pixel/pwrstats_util/
DAndroid.bp48 // Try to catch typical 32-bit assumptions that break with 64-bit pointers.
/hardware/ril/libril/
DAndroid.mk26 libprotobuf-c-nano-enable_malloc-32bit \
/hardware/invensense/6515/libsensors_iio/
DREADME_L_arm641 For building Invensense HAL for Android L Arm 64bit

123456