/frameworks/av/media/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 | 94 SLuint32 sles_channel_count_from_mask(SLuint32 mask) { in sles_channel_count_from_mask() argument 96 = sles_to_audio_channel_mask_representation(mask); in sles_channel_count_from_mask() 99 mask &= SL_ANDROID_INDEXED_SPEAKER_MASK_ALL; in sles_channel_count_from_mask() 100 return popcount(mask); in sles_channel_count_from_mask() 102 mask &= SL_ANDROID_POSITIONAL_SPEAKER_MASK_ALL; in sles_channel_count_from_mask() 103 return popcount(mask); in sles_channel_count_from_mask() 114 audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask) { in sles_to_audio_channel_mask_representation() argument 115 if (mask & SL_ANDROID_SPEAKER_NON_POSITIONAL) { in sles_to_audio_channel_mask_representation() 165 SLuint32 mask, in sles_to_android_mask_helper() argument 168 if (!sles_is_channel_mask_valid(mask)) { in sles_to_android_mask_helper() [all …]
|
D | channels.h | 60 extern SLuint32 sles_channel_count_from_mask(SLuint32 mask); 61 extern SLboolean sles_is_channel_mask_valid(SLuint32 mask); 63 extern audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask); 64 extern audio_channel_mask_t sles_to_audio_output_channel_mask(SLuint32 mask); 65 extern audio_channel_mask_t sles_to_audio_input_channel_mask(SLuint32 mask);
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiUtils.java | 62 int mask = 0xF000; in getLocalPortFromPhysicalAddress() local 67 maskedAddress = myPhysicalAddress & mask; in getLocalPortFromPhysicalAddress() 68 finalMask |= mask; in getLocalPortFromPhysicalAddress() 69 mask >>= 4; in getLocalPortFromPhysicalAddress() 77 mask <<= 4; in getLocalPortFromPhysicalAddress() 78 int port = portAddress & mask; in getLocalPortFromPhysicalAddress() 155 int mask = 0xF000; in isValidPhysicalAddress() local 158 if ((address & mask) == 0) { in isValidPhysicalAddress() 165 mask >>= 4; in isValidPhysicalAddress() 185 int mask = (0xF000 >> (firstDiffPos * 4)); in getHdmiAddressRelativePosition() local [all …]
|
/frameworks/av/media/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/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()
|
D | IMuteSolo.cpp | 41 SLuint8 mask = 1 << chan; in IMuteSolo_SetChannelMute() local 44 ap->mMuteMask |= mask; in IMuteSolo_SetChannelMute() 46 ap->mMuteMask &= ~mask; in IMuteSolo_SetChannelMute() 81 SLuint8 mask = ap->mMuteMask; in IMuteSolo_GetChannelMute() local 82 mute = (SLboolean) ((mask >> chan) & 1); in IMuteSolo_GetChannelMute() 113 SLuint8 mask = 1 << chan; in IMuteSolo_SetChannelSolo() local 116 ap->mSoloMask |= mask; in IMuteSolo_SetChannelSolo() 118 ap->mSoloMask &= ~mask; in IMuteSolo_SetChannelSolo() 153 SLuint8 mask = ap->mSoloMask; in IMuteSolo_GetChannelSolo() local 154 solo = (SLboolean) ((mask >> chan) & 1); in IMuteSolo_GetChannelSolo()
|
/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/base/core/java/android/os/ |
D | BytesMatcher.java | 58 public final @Nullable byte[] mask; field in BytesMatcher.Rule 60 public Rule(char type, @NonNull byte[] value, @Nullable byte[] mask) { in Rule() argument 61 if (mask != null && value.length != mask.length) { in Rule() 63 "Expected length " + value.length + " but found " + mask.length); in Rule() 67 this.mask = mask; in Rule() 80 if (mask != null) { in encode() 82 builder.append(HexDump.toHexString(mask)); in encode() 104 if (this.mask != null) { in test() 105 local &= this.mask[i]; in test() 106 remote &= this.mask[i]; in test() [all …]
|
D | FileObserver.java | 120 @NotifyEventType int mask, FileObserver observer) { in startWatching() argument 129 startWatching(m_fd, paths, mask, wfds); in startWatching() 149 public void onEvent(int wfd, @NotifyEventType int mask, String path) { in onEvent() argument 166 observer.onEvent(mask, path); in onEvent() 176 @NotifyEventType int mask, int[] wfds); in startWatching() argument 230 public FileObserver(String path, @NotifyEventType int mask) { in FileObserver() argument 231 this(new File(path), mask); in FileObserver() 242 public FileObserver(@NonNull File file, @NotifyEventType int mask) { in FileObserver() argument 243 this(Arrays.asList(file), mask); in FileObserver() 253 public FileObserver(@NonNull List<File> files, @NotifyEventType int mask) { in FileObserver() argument [all …]
|
/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/codecs/amrwb/dec/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/base/core/java/android/view/ |
D | InsetsFlags.java | 41 mask = APPEARANCE_OPAQUE_STATUS_BARS, 45 mask = APPEARANCE_OPAQUE_NAVIGATION_BARS, 49 mask = APPEARANCE_LOW_PROFILE_BARS, 53 mask = APPEARANCE_LIGHT_STATUS_BARS, 57 mask = APPEARANCE_LIGHT_NAVIGATION_BARS, 61 mask = APPEARANCE_SEMI_TRANSPARENT_STATUS_BARS, 65 mask = APPEARANCE_SEMI_TRANSPARENT_NAVIGATION_BARS, 73 mask = BEHAVIOR_DEFAULT, 77 mask = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE,
|
/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/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 663 int mask = BluetoothReceiver.DISCOVERY_STARTED_FLAG; in startScan() local 673 BluetoothReceiver receiver = getBluetoothReceiver(mask); in startScan() 679 if (adapter.isDiscovering() && ((receiver.getFiredFlags() & mask) == mask)) { in startScan() 691 adapter.isDiscovering(), firedFlags, mask)); in startScan() 701 int mask = BluetoothReceiver.DISCOVERY_FINISHED_FLAG; in stopScan() local 711 BluetoothReceiver receiver = getBluetoothReceiver(mask); in stopScan() 717 if (!adapter.isDiscovering() && ((receiver.getFiredFlags() & mask) == mask)) { in stopScan() 729 adapter.isDiscovering(), firedFlags, mask)); in stopScan() 808 int mask = PairReceiver.STATE_BONDING_FLAG | PairReceiver.STATE_BONDED_FLAG; in pairOrAcceptPair() local 821 PairReceiver receiver = getPairReceiver(device, passkey, pin, mask); in pairOrAcceptPair() [all …]
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 125 uint32_t mask = 0; in reduce() local 126 mask |= (exclude.left > left) ? 1 : 0; in reduce() 127 mask |= (exclude.top > top) ? 2 : 0; in reduce() 128 mask |= (exclude.right < right) ? 4 : 0; in reduce() 129 mask |= (exclude.bottom < bottom) ? 8 : 0; in reduce() 131 if (mask == 0) { in reduce() 136 if (!(mask & (mask - 1))) { in reduce() 138 if (mask & 1) { in reduce() 140 } else if (mask & 2) { in reduce() 142 } else if (mask & 4) { in reduce() [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 …]
|