Searched refs:bitmask (Results 1 – 5 of 5) sorted by relevance
/system/bt/stack/include/ |
D | a2dp_codec_api.h | 729 #define DEFINE_ENUM_FLAG_OPERATORS(bitmask) \ argument 731 inline constexpr bitmask operator&(bitmask X, bitmask Y) { /* NOLINT */ \ 732 return static_cast<bitmask>(static_cast<int>(X) & static_cast<int>(Y)); \ 734 inline constexpr bitmask operator|(bitmask X, bitmask Y) { /* NOLINT */ \ 735 return static_cast<bitmask>(static_cast<int>(X) | static_cast<int>(Y)); \ 737 inline constexpr bitmask operator^(bitmask X, bitmask Y) { /* NOLINT */ \ 738 return static_cast<bitmask>(static_cast<int>(X) ^ static_cast<int>(Y)); \ 740 inline constexpr bitmask operator~(bitmask X) { /* NOLINT */ \ 741 return static_cast<bitmask>(~static_cast<int>(X)); \ 743 inline bitmask& operator&=(bitmask& X, bitmask Y) { /* NOLINT */ \ [all …]
|
/system/libfmq/ |
D | EventFlag.cpp | 109 status_t EventFlag::wake(uint32_t bitmask) { in wake() argument 113 if (bitmask == 0) { in wake() 118 uint32_t old = std::atomic_fetch_or(mEfWordPtr, bitmask); in wake() 123 if ((~old & bitmask) != 0) { in wake() 125 INT_MAX, NULL, NULL, bitmask); in wake() 138 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper() argument 142 if (bitmask == 0 || efState == nullptr) { in waitHelper() 147 uint32_t old = std::atomic_fetch_and(mEfWordPtr, ~bitmask); in waitHelper() 148 uint32_t setBits = old & bitmask; in waitHelper() 157 uint32_t efWord = old & ~bitmask; in waitHelper() [all …]
|
/system/bt/btcore/src/ |
D | device_class.cc | 58 int bitmask); 59 static void device_class_clr_major_service_(bt_device_class_t* dc, int bitmask); 60 static void device_class_set_major_service_(bt_device_class_t* dc, int bitmask); 156 int bitmask) { in device_class_get_major_service_() argument 157 return (DC(dc)->major_service & bitmask); in device_class_get_major_service_() 161 int bitmask) { in device_class_clr_major_service_() argument 162 DC(dc)->major_service &= ~bitmask; in device_class_clr_major_service_() 166 int bitmask) { in device_class_set_major_service_() argument 167 DC(dc)->major_service |= bitmask; in device_class_set_major_service_()
|
/system/libfmq/include/fmq/ |
D | EventFlag.h | 86 status_t wake(uint32_t bitmask); 105 status_t wait(uint32_t bitmask, 134 status_t waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeOutNanoSeconds);
|
/system/bt/service/doc/ |
D | IBluetoothGattClientCallback.txt | 49 * |characteristic_id| structure. |properties| contains the bitmask of GATT
|