Searched refs:mask (Results 1 - 25 of 148) sorted by relevance

123456

/frameworks/base/cmds/system_server/
H A Dsystem_main.cpp35 sigset_t mask; local
38 sigemptyset(&mask);
39 sigaddset(&mask, SIGQUIT);
40 sigaddset(&mask, SIGUSR1);
41 cc = sigprocmask(SIG_BLOCK, &mask, NULL);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp194 uint32 mask; local
207 mask = 254;
208 mask |= (mask << 8);
209 mask |= (mask << 16); /* 0xFEFEFEFE */
222 word1 &= mask;
223 word3 &= (~mask); /* 0x1010101, check last bit */
224 word12 &= mask;
234 word2 &= mask;
523 uint32 mask; local
870 uint32 mask; local
[all...]
/frameworks/wilhelm/src/itf/
H A DIMIDIMuteSolo.c31 SLuint16 mask = 1 << channel; local
34 thiz->mChannelMuteMask |= mask;
36 thiz->mChannelMuteMask &= ~mask;
55 SLuint16 mask = thiz->mChannelMuteMask; local
57 *pMute = (mask >> channel) & 1;
74 SLuint16 mask = 1 << channel; local
77 thiz->mChannelSoloMask |= mask;
79 thiz->mChannelSoloMask &= ~mask;
98 SLuint16 mask = thiz->mChannelSoloMask; local
100 *pSolo = (mask >> channe
135 SLuint32 mask = 1 << track; local
159 SLuint32 mask = thiz->mTrackMuteMask; local
178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz); local
201 SLuint32 mask = thiz->mTrackSoloMask; local
[all...]
H A DI3DGrouping.c43 unsigned mask = 1 << id; local
52 assert(oldGroup->mMemberMask & mask);
53 oldGroup->mMemberMask &= ~mask;
62 assert(!(newGroup->mMemberMask & mask));
63 newGroup->mMemberMask |= mask;
111 unsigned mask = 1 << (InterfaceToIObject(thiz)->mInstanceID - 1); local
114 assert(group->mMemberMask & mask);
115 group->mMemberMask &= ~mask;
H A DIMuteSolo.c41 SLuint8 mask = 1 << chan; local
44 ap->mMuteMask |= mask;
46 ap->mMuteMask &= ~mask;
81 SLuint8 mask = ap->mMuteMask; local
82 mute = (SLboolean) ((mask >> chan) & 1);
113 SLuint8 mask = 1 << chan; local
116 ap->mSoloMask |= mask;
118 ap->mSoloMask &= ~mask;
153 SLuint8 mask = ap->mSoloMask; local
154 solo = (SLboolean) ((mask >> cha
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dinterface.c53 Word32 mask; local
83 /* generate grouping mask */
84 mask = 0;
86 mask = mask << 1;
88 mask = mask << 1;
89 mask |= 1;
92 psyOutCh->groupingMask = mask;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp460 ULong mask; local
470 mask = 254;
471 mask |= (mask << 8);
472 mask |= (mask << 16); /* 0xFEFEFEFE */
485 word1 &= mask;
486 word3 &= (~mask); /* 0x1010101, check last bit */
487 word12 &= mask;
497 word2 &= mask;
785 ULong mask; local
1129 ULong mask; local
1800 UChar mask = 0xFF; local
1868 UChar mask = 0xFF; local
[all...]
H A Dme_utils.cpp318 Int tmp, tmp2, mask = 0x00FF00FF; local
326 tmp2 = tmp & mask;
327 tmp = (tmp >> 8) & mask;
331 tmp2 = tmp & mask;
332 tmp = (tmp >> 8) & mask;
336 tmp2 = tmp & mask;
337 tmp = (tmp >> 8) & mask;
342 tmp2 = tmp & mask;
343 tmp = (tmp >> 8) & mask;
348 tmp2 = tmp & mask;
[all...]
H A Ddct.cpp46 Int mask; local
58 mask = 0x1FE;
62 k1 = mask & (tmp << 1);
65 k2 = mask & (tmp >> 7);
68 k3 = mask & (tmp >> 15);
71 k4 = mask & (tmp >> 23);
76 k5 = mask & (tmp << 1);
79 k6 = mask & (tmp >> 7);
82 k7 = mask & (tmp >> 15);
85 tmp = mask
274 Int mask; local
480 Int mask; local
660 Int mask; local
870 Int mask; local
1057 Int mask; local
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_Tools.c62 M4OSA_UInt32 temp_dest = 0, mask = 0, temp = 1; local
73 mask |= (temp << ((7*(j+1))-i+j));
77 mask = ~mask;
78 *dest_bits &= mask;
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_alg_codebook.cpp87 #define NB_POS 16 /* pos in track, mask for sign bit */
121 int32 mask, i; local
123 mask = ((1 << N) - 1);
127 pos1 = ((index & mask) + offset);
148 int32 mask, i; local
150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */
154 /* pos1 = (((index >> N) & mask) + offset); */
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset)));
158 pos2 = add_int16((int16)(index & mask), offse
195 int32 mask, idx; local
232 int32 mask, idx; local
[all...]
/frameworks/base/core/java/android/os/
H A DFileObserver.java37 * <p>An event mask is used to specify which changes or actions to report.
39 * event mask as well as what actually happened in event callbacks.</p>
71 /** Event mask: All valid event types, combined */
91 public int startWatching(String path, int mask, FileObserver observer) { argument
92 int wfd = startWatching(m_fd, path, mask);
108 public void onEvent(int wfd, int mask, String path) { argument
125 observer.onEvent(mask, path);
134 private native int startWatching(int fd, String path, int mask); argument
163 * @param mask The event or events (added together) to watch for
165 public FileObserver(String path, int mask) { argument
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java424 int mask = (BluetoothReceiver.STATE_TURNING_ON_FLAG | BluetoothReceiver.STATE_ON_FLAG
427 BluetoothReceiver receiver = getBluetoothReceiver(mask);
437 mask = 0; // Don't check for received intents since we might have missed them.
457 && (receiver.getFiredFlags() & mask) == mask) {
474 state, BluetoothAdapter.STATE_ON, firedFlags, mask));
484 int mask = (BluetoothReceiver.STATE_TURNING_OFF_FLAG | BluetoothReceiver.STATE_OFF_FLAG
487 BluetoothReceiver receiver = getBluetoothReceiver(mask);
506 mask = 0; // Don't check for received intents since we might have missed them.
517 && (receiver.getFiredFlags() & mask)
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java306 int mask = getMask(bitsPerImg);
314 int clutEntry = ((currentByte >> bitIndex) & mask);
326 * Calculate bit mask for a given number of bits. The mask should enable to
328 * @param numOfBits number of bits to calculate mask for.
329 * @return bit mask
332 int mask = 0x00;
336 mask = 0x01;
339 mask = 0x03;
342 mask
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c29 #define NB_POS 16 /* pos in track, mask for sign bit */
35 Word16 mask; local
38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */
42 index = L_deposit_l((Word16) (pos & mask));
56 Word16 mask, tmp; local
58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */
67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */
191 Word16 nb_pos, mask, n_1, tmp; local
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToRGBAFilter.java49 MutableFrameFormat mask = new MutableFrameFormat(FrameFormat.TYPE_BYTE,
51 mask.setDimensionCount(2);
52 addMaskedInputPort("image", mask);
H A DToRGBFilter.java49 MutableFrameFormat mask = new MutableFrameFormat(FrameFormat.TYPE_BYTE,
51 mask.setDimensionCount(2);
52 addMaskedInputPort("image", mask);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.c86 u32 mask = 1 << (length - 1); local
92 while (mask && !(value & mask))
95 mask >>= 1;
/frameworks/native/libs/utils/
H A DUnicode.cpp60 // -> (00-7f) 7bit. Bit mask for the first byte is 0x00000000
62 // -> (c0-df)(80-bf) 11bit. Bit mask is 0x000000C0
64 // -> (e0-ef)(80-bf)(80-bf) 16bit. Bit mask is 0x000000E0
66 // -> (f0-f7)(80-bf)(80-bf)(80-bf) 21bit. Bit mask is 0x000000F0
143 char32_t mask, to_ignore_mask; local
146 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80;
147 (first_char & mask);
148 num_to_read++, to_ignore_mask |= mask, mask >>= 1) {
152 to_ignore_mask |= mask;
379 int32_t mask, to_ignore_mask; local
464 int32_t mask; local
[all...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl34 void setSystemUiVisibility(int vis, int mask);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_TransformResidual4x4_s.s116 mask RN 14 label
332 LDR mask, =0xffff03ff ;// Used to mask the down shifted 6 bits
342 AND colOp00, mask, colOp00, ASR #6
343 AND colOp02, mask, colOp02, ASR #6
352 AND colOp10, mask, colOp10, ASR #6
353 AND colOp12, mask, colOp12, ASR #6
362 AND colOp20, mask, colOp20, ASR #6
363 AND colOp22, mask, colOp22, ASR #6
372 AND colOp30, mask, colOp3
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java57 * take an options mask
63 * that take an options mask
69 * take an options mask
75 * take an options mask
80 * Bit mask indicating that all available patterns should be matched in
81 * methods that take an options mask
193 * of the link types indicated in the mask into clickable links.
194 * If the mask is nonzero, it also removes any existing URLSpans
198 public static final boolean addLinks(Spannable text, int mask) { argument
199 if (mask
252 addLinks(TextView text, int mask) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_FileObserver.cpp86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path);
105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument
115 res = inotify_add_watch(fd, path, mask);
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c99 // strictly for testing, logs the indices of the channels for a given mask,
101 void Downmix_testIndexComputation(uint32_t mask) { argument
102 ALOGI("Testing index computation for 0x%x:", mask);
104 if (mask & kUnsupported) {
109 if ((mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) {
115 if ((mask & kSides) != 0) {
116 if ((mask & kSides) != kSides) {
124 if ((mask & kBacks) != 0) {
125 if ((mask & kBacks) != kBacks) {
132 const int numChan = popcount(mask);
1059 Downmix_foldGeneric( uint32_t mask, int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManager.java835 @ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON,
837 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND,
839 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND,
841 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE,
843 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE,
845 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL,
847 @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING,
849 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
851 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN,
853 @ViewDebug.FlagToString(mask
[all...]

Completed in 197 milliseconds

123456