/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | get_pred_adv_b_add.cpp | 194 uint32 mask; in GetPredAdvancedBy0x1() local 207 mask = 254; in GetPredAdvancedBy0x1() 208 mask |= (mask << 8); in GetPredAdvancedBy0x1() 209 mask |= (mask << 16); /* 0xFEFEFEFE */ in GetPredAdvancedBy0x1() 222 word1 &= mask; in GetPredAdvancedBy0x1() 223 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvancedBy0x1() 224 word12 &= mask; in GetPredAdvancedBy0x1() 234 word2 &= mask; in GetPredAdvancedBy0x1() 235 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvancedBy0x1() 236 word12 &= mask; in GetPredAdvancedBy0x1() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | device_for_input_source.pfw | 4 component: /Policy/policy/input_sources/default/applicable_input_device/mask 21 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 38 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 59 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 80 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 101 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 121 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 139 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 156 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask 177 component: /Policy/policy/input_sources/hotword/applicable_input_device/mask [all …]
|
/frameworks/wilhelm/src/android/ |
D | channels.cpp | 93 SLuint32 sles_channel_count_from_mask(SLuint32 mask) { in sles_channel_count_from_mask() argument 95 = sles_to_audio_channel_mask_representation(mask); in sles_channel_count_from_mask() 98 mask &= SL_ANDROID_INDEXED_SPEAKER_MASK_ALL; in sles_channel_count_from_mask() 99 return popcount(mask); in sles_channel_count_from_mask() 101 mask &= SL_ANDROID_POSITIONAL_SPEAKER_MASK_ALL; in sles_channel_count_from_mask() 102 return popcount(mask); in sles_channel_count_from_mask() 113 audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask) { in sles_to_audio_channel_mask_representation() argument 114 if (mask & SL_ANDROID_SPEAKER_NON_POSITIONAL) { in sles_to_audio_channel_mask_representation() 164 SLuint32 mask, in sles_to_android_mask_helper() argument 167 if (!sles_is_channel_mask_valid(mask)) { in sles_to_android_mask_helper() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | motion_comp.cpp | 460 ULong mask; in GetPredAdvBy0x1() local 470 mask = 254; in GetPredAdvBy0x1() 471 mask |= (mask << 8); in GetPredAdvBy0x1() 472 mask |= (mask << 16); /* 0xFEFEFEFE */ in GetPredAdvBy0x1() 485 word1 &= mask; in GetPredAdvBy0x1() 486 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvBy0x1() 487 word12 &= mask; in GetPredAdvBy0x1() 497 word2 &= mask; in GetPredAdvBy0x1() 498 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvBy0x1() 499 word12 &= mask; in GetPredAdvBy0x1() [all …]
|
D | dct.cpp | 46 Int mask; in BlockDCT_AANwSub() local 58 mask = 0x1FE; in BlockDCT_AANwSub() 62 k1 = mask & (tmp << 1); in BlockDCT_AANwSub() 65 k2 = mask & (tmp >> 7); in BlockDCT_AANwSub() 68 k3 = mask & (tmp >> 15); in BlockDCT_AANwSub() 71 k4 = mask & (tmp >> 23); in BlockDCT_AANwSub() 76 k5 = mask & (tmp << 1); in BlockDCT_AANwSub() 79 k6 = mask & (tmp >> 7); in BlockDCT_AANwSub() 82 k7 = mask & (tmp >> 15); in BlockDCT_AANwSub() 85 tmp = mask & (tmp >> 23); in BlockDCT_AANwSub() [all …]
|
D | me_utils.cpp | 318 Int tmp, tmp2, mask = 0x00FF00FF; in ComputeMBSum_C() local 326 tmp2 = tmp & mask; in ComputeMBSum_C() 327 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 331 tmp2 = tmp & mask; in ComputeMBSum_C() 332 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 336 tmp2 = tmp & mask; in ComputeMBSum_C() 337 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 342 tmp2 = tmp & mask; in ComputeMBSum_C() 343 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 348 tmp2 = tmp & mask; in ComputeMBSum_C() [all …]
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiUtils.java | 63 int mask = 0xF000; in getLocalPortFromPhysicalAddress() local 68 maskedAddress = myPhysicalAddress & mask; in getLocalPortFromPhysicalAddress() 69 finalMask |= mask; in getLocalPortFromPhysicalAddress() 70 mask >>= 4; in getLocalPortFromPhysicalAddress() 78 mask <<= 4; in getLocalPortFromPhysicalAddress() 79 int port = portAddress & mask; in getLocalPortFromPhysicalAddress() 157 int mask = 0xF000; in isValidPhysicalAddress() local 160 if ((address & mask) == 0) { in isValidPhysicalAddress() 167 mask >>= 4; in isValidPhysicalAddress() 187 int mask = (0xF000 >> (firstDiffPos * 4)); in getHdmiAddressRelativePosition() local [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/Settings/ |
D | device_for_product_strategies.pfw | 5 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 40 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 44 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 50 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 85 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 89 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 97 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 132 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 136 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 144 component: /Policy/policy/product_strategies/radio/selected_output_devices/mask [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IMIDIMuteSolo.cpp | 31 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelMute() local 34 thiz->mChannelMuteMask |= mask; in IMIDIMuteSolo_SetChannelMute() 36 thiz->mChannelMuteMask &= ~mask; in IMIDIMuteSolo_SetChannelMute() 55 SLuint16 mask = thiz->mChannelMuteMask; in IMIDIMuteSolo_GetChannelMute() local 57 *pMute = (mask >> channel) & 1; in IMIDIMuteSolo_GetChannelMute() 74 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelSolo() local 77 thiz->mChannelSoloMask |= mask; in IMIDIMuteSolo_SetChannelSolo() 79 thiz->mChannelSoloMask &= ~mask; in IMIDIMuteSolo_SetChannelSolo() 98 SLuint16 mask = thiz->mChannelSoloMask; in IMIDIMuteSolo_GetChannelSolo() local 100 *pSolo = (mask >> channel) & 1; in IMIDIMuteSolo_GetChannelSolo() [all …]
|
D | I3DGrouping.cpp | 43 unsigned mask = 1 << id; in I3DGrouping_Set3DGroup() local 52 assert(oldGroup->mMemberMask & mask); in I3DGrouping_Set3DGroup() 53 oldGroup->mMemberMask &= ~mask; in I3DGrouping_Set3DGroup() 62 assert(!(newGroup->mMemberMask & mask)); in I3DGrouping_Set3DGroup() 63 newGroup->mMemberMask |= mask; in I3DGrouping_Set3DGroup() 111 unsigned mask = 1 << (InterfaceToIObject(thiz)->mInstanceID - 1); in I3DGrouping_deinit() local 114 assert(group->mMemberMask & mask); in I3DGrouping_deinit() 115 group->mMemberMask &= ~mask; in I3DGrouping_deinit()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Settings/ |
D | device_for_product_strategies.pfw | 5 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 40 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 44 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 50 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 85 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 89 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 97 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 132 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 136 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 144 component: /Policy/policy/product_strategies/radio/selected_output_devices/mask [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 37 public static boolean maskedEquals(long a, long b, long mask) { in maskedEquals() argument 38 return (a & mask) == (b & mask); in maskedEquals() 41 public static boolean maskedEquals(byte a, byte b, byte mask) { in maskedEquals() argument 42 return (a & mask) == (b & mask); in maskedEquals() 45 public static boolean maskedEquals(byte[] a, byte[] b, @Nullable byte[] mask) { in maskedEquals() argument 48 if (mask == null) return Arrays.equals(a, b); in maskedEquals() 49 Preconditions.checkArgument(a.length == mask.length, "Mask must be of same size as inputs"); in maskedEquals() 50 for (int i = 0; i < mask.length; i++) { in maskedEquals() 51 if (!maskedEquals(a[i], b[i], mask[i])) return false; in maskedEquals() 56 public static boolean maskedEquals(UUID a, UUID b, @Nullable UUID mask) { in maskedEquals() argument [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/ |
D | device_for_product_strategy_media.pfw | 5 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 25 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 45 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 65 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 85 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 108 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 126 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 144 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 162 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 180 component: /Policy/policy/product_strategies/media/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_enforced_audible.pfw | 7 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 56 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 60 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 68 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 91 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 114 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 137 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 160 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 183 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 206 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | dec_alg_codebook.cpp | 121 int32 mask, i; in dec_1p_N1() local 123 mask = ((1 << N) - 1); in dec_1p_N1() 127 pos1 = ((index & mask) + offset); in dec_1p_N1() 148 int32 mask, i; in dec_2p_2N1() local 150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ in dec_2p_2N1() 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1() 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1() 195 int32 mask, idx; in dec_3p_3N1() local 202 mask = ((1 << ((2 * N) - 1)) - 1); in dec_3p_3N1() 204 idx = index & mask; in dec_3p_3N1() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHal.java | 752 int mask = 0; in wifiConfigurationToSupplicantKeyMgmtMask() local 757 mask |= ISupplicantStaNetwork.KeyMgmtMask.NONE; in wifiConfigurationToSupplicantKeyMgmtMask() 760 mask |= ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK; in wifiConfigurationToSupplicantKeyMgmtMask() 763 mask |= ISupplicantStaNetwork.KeyMgmtMask.WPA_EAP; in wifiConfigurationToSupplicantKeyMgmtMask() 766 mask |= ISupplicantStaNetwork.KeyMgmtMask.IEEE8021X; in wifiConfigurationToSupplicantKeyMgmtMask() 769 mask |= ISupplicantStaNetwork.KeyMgmtMask.OSEN; in wifiConfigurationToSupplicantKeyMgmtMask() 772 mask |= ISupplicantStaNetwork.KeyMgmtMask.FT_PSK; in wifiConfigurationToSupplicantKeyMgmtMask() 775 mask |= ISupplicantStaNetwork.KeyMgmtMask.FT_EAP; in wifiConfigurationToSupplicantKeyMgmtMask() 778 mask |= android.hardware.wifi.supplicant.V1_2.ISupplicantStaNetwork.KeyMgmtMask in wifiConfigurationToSupplicantKeyMgmtMask() 782 mask |= android.hardware.wifi.supplicant.V1_2.ISupplicantStaNetwork.KeyMgmtMask in wifiConfigurationToSupplicantKeyMgmtMask() [all …]
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 124 uint32_t mask = 0; in reduce() local 125 mask |= (exclude.left > left) ? 1 : 0; in reduce() 126 mask |= (exclude.top > top) ? 2 : 0; in reduce() 127 mask |= (exclude.right < right) ? 4 : 0; in reduce() 128 mask |= (exclude.bottom < bottom) ? 8 : 0; in reduce() 130 if (mask == 0) { in reduce() 135 if (!(mask & (mask - 1))) { in reduce() 137 if (mask & 1) { in reduce() 139 } else if (mask & 2) { in reduce() 141 } else if (mask & 4) { in reduce() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 618 int mask = BluetoothReceiver.DISCOVERY_STARTED_FLAG; in startScan() local 628 BluetoothReceiver receiver = getBluetoothReceiver(mask); in startScan() 634 if (adapter.isDiscovering() && ((receiver.getFiredFlags() & mask) == mask)) { in startScan() 646 adapter.isDiscovering(), firedFlags, mask)); in startScan() 656 int mask = BluetoothReceiver.DISCOVERY_FINISHED_FLAG; in stopScan() local 666 BluetoothReceiver receiver = getBluetoothReceiver(mask); in stopScan() 672 if (!adapter.isDiscovering() && ((receiver.getFiredFlags() & mask) == mask)) { in stopScan() 684 adapter.isDiscovering(), firedFlags, mask)); in stopScan() 763 int mask = PairReceiver.STATE_BONDING_FLAG | PairReceiver.STATE_BONDED_FLAG; in pairOrAcceptPair() local 776 PairReceiver receiver = getPairReceiver(device, passkey, pin, mask); in pairOrAcceptPair() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | MemoryRegion.java | 86 String mask = ""; in toString() local 89 mask += "r"; in toString() 91 mask += "-"; in toString() 95 mask += "w"; in toString() 97 mask += "-"; in toString() 101 mask += "x"; in toString() 103 mask += "-"; in toString() 106 String retVal = "[ " + mSizeBytesFree + "/ " + mSizeBytes + " ] : " + mask; in toString()
|
/frameworks/base/core/java/android/os/ |
D | FileObserver.java | 117 @NotifyEventType int mask, FileObserver observer) { in startWatching() argument 126 startWatching(m_fd, paths, mask, wfds); in startWatching() 146 public void onEvent(int wfd, @NotifyEventType int mask, String path) { in onEvent() argument 163 observer.onEvent(mask, path); in onEvent() 173 @NotifyEventType int mask, int[] wfds); in startWatching() argument 227 public FileObserver(String path, @NotifyEventType int mask) { in FileObserver() argument 228 this(new File(path), mask); in FileObserver() 239 public FileObserver(@NonNull File file, @NotifyEventType int mask) { in FileObserver() argument 240 this(Arrays.asList(file), mask); in FileObserver() 250 public FileObserver(@NonNull List<File> files, @NotifyEventType int mask) { in FileObserver() argument [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/ |
D | device_for_input_source.pfw | 6 # As the devices is a mask, use the "in" bit as a direction indicator. 8 component: /Policy/policy/input_sources/default/applicable_input_device/mask 31 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 54 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 77 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 100 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 123 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 146 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 169 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 192 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | Flagged.h | 169 Flag mask, IntFlag baseMask, Flag sharedMask, int shift, in canCombine() 173 shift >= 0 && (mask & topBits<Flag>(shift)) == 0 && in canCombine() 181 ((sharedMask ^ (baseMask & mask)) == 0 && in canCombine() 186 (mask & (effectiveMask >> shift)) == 0); in canCombine() 206 Flag mask, IntFlag baseMask, Flag sharedMask, int baseShift, IntFlag effectiveMask) { in getShift() 214 (canCombine(mask, baseMask, sharedMask, baseShift /* shift */, in getShift() 218 ((mask & effectiveMask) == 0) ? 0 : in getShift() 221 ((mask & topBits<Flag>(1)) || (mask < 0)) ? -1 : in getShift() 223 incShift(getShift(Flag(mask << 1), baseMask /* unused */, sharedMask /* 0 */, in getShift() 380 inline constexpr IntFlag getFlagsHelper(IntFlag mask, int shift) const { [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 1757 …@ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCR… 1759 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND, 1761 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND, 1763 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE, 1765 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE, 1767 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL, 1769 … @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING, 1771 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON, 1773 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN, 1775 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_NO_LIMITS, equals = FLAG_LAYOUT_NO_LIMITS, [all …]
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 110 void Downmix_testIndexComputation(uint32_t mask) { in Downmix_testIndexComputation() argument 111 ALOGI("Testing index computation for 0x%" PRIx32 ":", mask); in Downmix_testIndexComputation() 113 if (mask & kUnsupported) { in Downmix_testIndexComputation() 118 if ((mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) { in Downmix_testIndexComputation() 124 if ((mask & kSides) != 0) { in Downmix_testIndexComputation() 125 if ((mask & kSides) != kSides) { in Downmix_testIndexComputation() 133 if ((mask & kBacks) != 0) { in Downmix_testIndexComputation() 134 if ((mask & kBacks) != kBacks) { in Downmix_testIndexComputation() 141 const int numChan = audio_channel_count_from_out_mask(mask); in Downmix_testIndexComputation() 142 const bool hasFC = ((mask & AUDIO_CHANNEL_OUT_FRONT_CENTER) == AUDIO_CHANNEL_OUT_FRONT_CENTER); in Downmix_testIndexComputation() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 6 format(0x1), channel mask(0x10), channel count(1), sample rate(48000) 15 format(0x1), channel mask(0x10), channel count(1), sample rate(24000) 24 format(0x1), channel mask(0x10), channel count(1), sample rate(16000) 33 format(0x1), channel mask(0x10), channel count(1), sample rate(8000) 42 format(0x1), channel mask(0x10), channel count(1), sample rate(44100) 51 format(0x1), channel mask(0x10), channel count(1), sample rate(22050) 60 format(0x1), channel mask(0x10), channel count(1), sample rate(11025) 69 format(0x2), channel mask(0x10), channel count(1), sample rate(48000) 78 format(0x3), channel mask(0x10), channel count(1), sample rate(48000) 87 format(0x5), channel mask(0x10), channel count(1), sample rate(48000) [all …]
|