Home
last modified time | relevance | path

Searched refs:bitmask (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/stack/include/
Da2dp_codec_api.h756 #define DEFINE_ENUM_FLAG_OPERATORS(bitmask) \ argument
758 inline constexpr bitmask operator&(bitmask X, bitmask Y) { /* NOLINT */ \
759 return static_cast<bitmask>(static_cast<int>(X) & static_cast<int>(Y)); \
761 inline constexpr bitmask operator|(bitmask X, bitmask Y) { /* NOLINT */ \
762 return static_cast<bitmask>(static_cast<int>(X) | static_cast<int>(Y)); \
764 inline constexpr bitmask operator^(bitmask X, bitmask Y) { /* NOLINT */ \
765 return static_cast<bitmask>(static_cast<int>(X) ^ static_cast<int>(Y)); \
767 inline constexpr bitmask operator~(bitmask X) { /* NOLINT */ \
768 return static_cast<bitmask>(~static_cast<int>(X)); \
770 inline bitmask& operator&=(bitmask& X, bitmask Y) { /* NOLINT */ \
[all …]
/packages/modules/Bluetooth/system/btcore/src/
Ddevice_class.cc61 int bitmask);
62 static void device_class_clr_major_service_(bt_device_class_t* dc, int bitmask);
63 static void device_class_set_major_service_(bt_device_class_t* dc, int bitmask);
160 int bitmask) { in device_class_get_major_service_() argument
161 return (DC(dc)->major_service & bitmask); in device_class_get_major_service_()
165 int bitmask) { in device_class_clr_major_service_() argument
166 DC(dc)->major_service &= ~bitmask; in device_class_clr_major_service_()
170 int bitmask) { in device_class_set_major_service_() argument
171 DC(dc)->major_service |= bitmask; in device_class_set_major_service_()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java715 CommonIgnitionMonitors(int bitmask) { in CommonIgnitionMonitors() argument
716 components = COMPONENTS_DECODER.fromValue(bitmask); in CommonIgnitionMonitors()
717 fuelSystem = FUEL_SYSTEM_DECODER.fromValue(bitmask); in CommonIgnitionMonitors()
718 misfire = MISFIRE_DECODER.fromValue(bitmask); in CommonIgnitionMonitors()
826 SparkIgnitionMonitors(int bitmask) { in SparkIgnitionMonitors() argument
827 super(bitmask); in SparkIgnitionMonitors()
828 EGR = EGR_DECODER.fromValue(bitmask); in SparkIgnitionMonitors()
829 oxygenSensorHeater = OXYGEN_SENSOR_HEATER_DECODER.fromValue(bitmask); in SparkIgnitionMonitors()
830 oxygenSensor = OXYGEN_SENSOR_DECODER.fromValue(bitmask); in SparkIgnitionMonitors()
831 ACRefrigerant = AC_REFRIGERANT_DECODER.fromValue(bitmask); in SparkIgnitionMonitors()
[all …]
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_utils.cc99 .bitmask = *stack_caps.supported_sampling_frequencies}; in GetAidlCodecCapabilitiesFromStack()
100 if (freqs.bitmask) ltvs.push_back(freqs); in GetAidlCodecCapabilitiesFromStack()
107 .bitmask = *stack_caps.supported_frame_durations}; in GetAidlCodecCapabilitiesFromStack()
108 if (durations.bitmask) ltvs.push_back(durations); in GetAidlCodecCapabilitiesFromStack()
115 .bitmask = *stack_caps.supported_audio_channel_counts}; in GetAidlCodecCapabilitiesFromStack()
116 if (counts.bitmask) ltvs.push_back(counts); in GetAidlCodecCapabilitiesFromStack()
169 .bitmask = aidl_location}); in GetAidlCodecSpecificConfigurationFromStack()
208 .bitmask = in GetAidlMetadataFromStackFormat()
217 .bitmask = in GetAidlMetadataFromStackFormat()
263 (uint16_t)aidl_contexts.values.bitmask); in GetStackMetadataFromAidlFormat()
[all …]
Dle_audio_utils_unittest.cc129 PreferredAudioContexts{.values.bitmask = in PrepareReferenceMetadata()
143 StreamingAudioContexts{.values.bitmask = ::aidl::android::hardware:: in PrepareReferenceMetadata()
323 .bitmask = (is_left ? ::aidl::android::hardware::bluetooth:: in PrepareReferenceCodecSpecificConfigurationLc3()
445 aidl_audio_set_config.audioContext.bitmask = (uint16_t)ctx_type; in PrepareReferenceAseConfigurationSetting()
480 aidl_audio_set_config.flags->bitmask = in PrepareReferenceAseConfigurationSetting()
669 .audioContext.bitmask = in PrepareReferenceBroadcastRequirements()
739 .bitmask = aidl_location}); in PrepareReferenceDirectionRequirements()
795 .values.bitmask, in verifyMetadata()
805 .values.bitmask, in verifyMetadata()
901 .bitmask); in TEST()
[all …]
/packages/services/Car/tools/emulator/
Ddiagnostic_builder.py62 self.bitmask = DiagnosticEventBuilder.ByteArray(
69 self.bitmask.setBit(idx)
74 self.bitmask.setBit(len(self.int32_values)+idx)
82 self.bytes_value = str(self.bitmask)
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DImsMediaAudioUtil.cpp395 uint32_t ImsMediaAudioUtil::GetMaximumAmrMode(int32_t codecType, int32_t bitmask) in GetMaximumAmrMode() argument
402 if (bitmask & (1 << i)) in GetMaximumAmrMode()
412 uint32_t ImsMediaAudioUtil::GetMaximumEvsMode(int32_t bitmask) in GetMaximumEvsMode() argument
418 if (bitmask & (1 << i)) in GetMaximumEvsMode()
/packages/modules/NeuralNetworks/
DTEST_MAPPING30 // The value here is a bitmask indicating only "pass 2"
47 // // The value here is a bitmask indicating only "pass 2"
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DImsMediaAudioUtil.h150 static uint32_t GetMaximumAmrMode(int32_t codecType, int32_t bitmask);
151 static uint32_t GetMaximumEvsMode(int32_t bitmask);
/packages/services/Telephony/src/com/android/phone/
DShortcutViewUtils.java55 int bitmask = 0;
57 bitmask |= category;
59 PROMOTED_CATEGORIES_BITMASK = bitmask;
/packages/services/Telecomm/proto/
Dtelecom.proto120 // No unspecified field to define. This enum to be used only as values for a bitmask.
276 // A bitmask with bits corresponding to call technologies that were used
309 // A bitmask of the properties that were set at any point during the call.
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le_secure_connections.cc322 uint32_t bitmask = 0x01; in SecureConnectionsPasskeyEntry() local
323 for (int loop = 0; loop < 20; loop++, bitmask <<= 1) { in SecureConnectionsPasskeyEntry()
325 bool bit_set = ((bitmask & passkey) != 0); in SecureConnectionsPasskeyEntry()
/packages/modules/Wifi/framework/java/android/net/wifi/
DQosCharacteristics.java209 int bitmask = (0x1 << expectedSizeInBits) - 1; in checkSizeInBits() local
210 return (bitmask & value) == value; in checkSizeInBits()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java787 private int changeBitmask(int bitmask, int bitfield, boolean enabled) { in changeBitmask() argument
789 return bitmask | bitfield; in changeBitmask()
791 return bitmask & ~bitfield; in changeBitmask()
DTelephonyConnection.java3028 private int changeBitmask(int bitmask, int bitfield, boolean enabled) { in changeBitmask() argument
3030 return bitmask | bitfield; in changeBitmask()
3032 return bitmask & ~bitfield; in changeBitmask()
/packages/modules/Connectivity/service/src/com/android/metrics/
Dstats.proto183 // Record the bitmask of all the policies applied to this score of network.
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...