Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 234) sorted by relevance

12345678910

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dget_pred_adv_b_add.cpp194 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/example/Settings/
Ddevice_for_input_source.pfw6 # 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
24 component: /Policy/policy/input_sources/mic/applicable_input_device/mask
40 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask
60 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask
80 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask
100 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask
119 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask
136 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask
152 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask
[all …]
Ddevice_for_strategy_media.pfw7 component: /Policy/policy/strategies/media/selected_output_devices/mask
20 component: /Policy/policy/strategies/media/selected_output_devices/mask
39 component: /Policy/policy/strategies/media/selected_output_devices/mask
58 component: /Policy/policy/strategies/media/selected_output_devices/mask
77 component: /Policy/policy/strategies/media/selected_output_devices/mask
100 component: /Policy/policy/strategies/media/selected_output_devices/mask
118 component: /Policy/policy/strategies/media/selected_output_devices/mask
136 component: /Policy/policy/strategies/media/selected_output_devices/mask
154 component: /Policy/policy/strategies/media/selected_output_devices/mask
172 component: /Policy/policy/strategies/media/selected_output_devices/mask
[all …]
Ddevice_for_strategy_rerouting.pfw9 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
25 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
44 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
63 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
82 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
101 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
119 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
137 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
155 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
173 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask
[all …]
Ddevice_for_strategy_accessibility.pfw11 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
27 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
46 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
65 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
84 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
103 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
121 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
139 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
157 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
175 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask
[all …]
Ddevice_for_strategy_enforced_audible.pfw7 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
51 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
55 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
62 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
87 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
112 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
137 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
162 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
187 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
212 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
[all …]
Ddevice_for_strategy_phone.pfw7 component: /Policy/policy/strategies/phone/selected_output_devices/mask
21 component: /Policy/policy/strategies/phone/selected_output_devices/mask
44 component: /Policy/policy/strategies/phone/selected_output_devices/mask
67 component: /Policy/policy/strategies/phone/selected_output_devices/mask
99 component: /Policy/policy/strategies/phone/selected_output_devices/mask
131 component: /Policy/policy/strategies/phone/selected_output_devices/mask
161 component: /Policy/policy/strategies/phone/selected_output_devices/mask
188 component: /Policy/policy/strategies/phone/selected_output_devices/mask
215 component: /Policy/policy/strategies/phone/selected_output_devices/mask
253 component: /Policy/policy/strategies/phone/selected_output_devices/mask
[all …]
Ddevice_for_strategy_dtmf.pfw7 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
21 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
49 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
77 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
105 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
134 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
163 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
192 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
229 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
256 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmotion_comp.cpp460 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 …]
Ddct.cpp46 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 …]
Dme_utils.cpp318 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/
DIMIDIMuteSolo.c31 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 …]
DI3DGrouping.c43 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()
DIMuteSolo.c41 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/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java426 int mask = (BluetoothReceiver.STATE_TURNING_ON_FLAG | BluetoothReceiver.STATE_ON_FLAG in enable() local
429 BluetoothReceiver receiver = getBluetoothReceiver(mask); in enable()
439 mask = 0; // Don't check for received intents since we might have missed them. in enable()
459 && (receiver.getFiredFlags() & mask) == mask) { in enable()
476 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); in enable()
486 int mask = (BluetoothReceiver.STATE_TURNING_OFF_FLAG | BluetoothReceiver.STATE_OFF_FLAG in disable() local
489 BluetoothReceiver receiver = getBluetoothReceiver(mask); in disable()
508 mask = 0; // Don't check for received intents since we might have missed them. in disable()
519 && (receiver.getFiredFlags() & mask) == mask) { in disable()
536 state, BluetoothAdapter.STATE_OFF, firedFlags, mask)); in disable()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_alg_codebook.cpp121 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/native/libs/ui/
DRect.cpp115 uint32_t mask = 0; in reduce() local
116 mask |= (exclude.left > left) ? 1 : 0; in reduce()
117 mask |= (exclude.top > top) ? 2 : 0; in reduce()
118 mask |= (exclude.right < right) ? 4 : 0; in reduce()
119 mask |= (exclude.bottom < bottom) ? 8 : 0; in reduce()
121 if (mask == 0) { in reduce()
126 if (!(mask & (mask - 1))) { in reduce()
128 if (mask & 1) { in reduce()
130 } else if (mask & 2) { in reduce()
132 } else if (mask & 4) { in reduce()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dinterface.c53 Word32 mask; in BuildInterface() local
84 mask = 0; in BuildInterface()
86 mask = mask << 1; in BuildInterface()
88 mask = mask << 1; in BuildInterface()
89 mask |= 1; in BuildInterface()
92 psyOutCh->groupingMask = mask; in BuildInterface()
/frameworks/base/core/java/android/os/
DFileObserver.java88 public int startWatching(String path, int mask, FileObserver observer) { in startWatching() argument
89 int wfd = startWatching(m_fd, path, mask); in startWatching()
105 public void onEvent(int wfd, int mask, String path) { in onEvent() argument
122 observer.onEvent(mask, path); in onEvent()
131 private native int startWatching(int fd, String path, int mask); in startWatching() argument
162 public FileObserver(String path, int mask) { in FileObserver() argument
164 m_mask = mask; in FileObserver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DIconLoader.java309 int mask = getMask(bitsPerImg); in parseToRGB() local
317 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB()
335 int mask = 0x00; in getMask() local
339 mask = 0x01; in getMask()
342 mask = 0x03; in getMask()
345 mask = 0x07; in getMask()
348 mask = 0x0F; in getMask()
351 mask = 0x1F; in getMask()
354 mask = 0x3F; in getMask()
357 mask = 0x7F; in getMask()
[all …]
/frameworks/base/core/jni/android/graphics/
DAvoidXfermode.cpp82 int MAX, mask; in xfer32() local
85 mask = -1; in xfer32()
88 mask = 0; in xfer32()
95 d = MAX + (d ^ mask) - mask; in xfer32()
131 int MAX, mask; in xfer16() local
134 mask = -1; in xfer16()
137 mask = 0; in xfer16()
144 d = MAX + (d ^ mask) - mask; in xfer16()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_pulse.c35 Word16 mask; in quant_1p_N1() local
38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_1p_N1()
42 index = L_deposit_l((Word16) (pos & mask)); in quant_1p_N1()
56 Word16 mask, tmp; in quant_2p_2N1() local
58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_2p_2N1()
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
82 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0) in quant_2p_2N1()
85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
94 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c90 void Downmix_testIndexComputation(uint32_t mask) { in Downmix_testIndexComputation() argument
91 ALOGI("Testing index computation for 0x%" PRIx32 ":", mask); in Downmix_testIndexComputation()
93 if (mask & kUnsupported) { in Downmix_testIndexComputation()
98 if ((mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) { in Downmix_testIndexComputation()
104 if ((mask & kSides) != 0) { in Downmix_testIndexComputation()
105 if ((mask & kSides) != kSides) { in Downmix_testIndexComputation()
113 if ((mask & kBacks) != 0) { in Downmix_testIndexComputation()
114 if ((mask & kBacks) != kBacks) { in Downmix_testIndexComputation()
121 const int numChan = audio_channel_count_from_out_mask(mask); in Downmix_testIndexComputation()
122 const bool hasFC = ((mask & AUDIO_CHANNEL_OUT_FRONT_CENTER) == AUDIO_CHANNEL_OUT_FRONT_CENTER); in Downmix_testIndexComputation()
[all …]
/frameworks/base/core/java/android/view/
DWindowManager.java971 …@ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCR…
973 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND,
975 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND,
977 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE,
979 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE,
981 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL,
983 … @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING,
985 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
987 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN,
989 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_NO_LIMITS, equals = FLAG_LAYOUT_NO_LIMITS,
[all …]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java41 protected int mask() { return 0x0; }; in mask() method in DisplayModifier
111 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; }
120 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; }
132 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; }
168 protected int mask() { return SWEEP_STROKE_CAP_BIT; }
192 protected int mask() { return SWEEP_STROKE_JOIN_BIT; }
216 protected int mask() { return SWEEP_TRANSFORM_BIT; };
243 protected int mask() { return SWEEP_TRANSFORM_BIT; };
252 protected int mask() { return SWEEP_TRANSFORM_BIT; };
263 protected int mask() { return SWEEP_SHADER_BIT; };
[all …]

12345678910