Searched refs:bit (Results 1 - 22 of 22) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccServiceTable.java22 * Wrapper class for an ICC EF containing a bit field of enabled services.
50 int bit = service % 8;
51 return (mServiceTable[offset] & (1 << bit)) != 0;
64 for (int bit = 0; bit < 8; bit++) {
65 if ((currentByte & (1 << bit)) != 0) {
71 int ordinal = (i * 8) + bit;
H A DIccUtils.java147 * - the SMS default 7 bit coded alphabet as defined in
148 * TS 23.038 [12] with bit 8 set to 0. The alpha identifier
154 * remaining octets are 16 bit UCS2 characters ...
158 * 8 bit number which defines bits 15 to 8 of a 16 bit
159 * base pointer, where bit 16 is set to zero and bits 7 to 1
164 * If bit 8 of the octet is set to zero, the remaining 7 bits
166 * whereas if bit 8 of the octet is set to one, then the
168 * 16 bit base pointer defined earlier...
172 * contain a 16 bit numbe
415 bitToRGB(int bit) argument
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocationFunctions.h25 for (size_t bit = 0; bit != sizeof (T1) * 8; ++bit) {
27 const bool maskBit = (pMask >> bit) & 1;
29 result |= static_cast<T1>(valBit) << bit;
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dtypedefs.h31 * Word8 8-bit signed minWord8, maxWord8
32 * UWord8 8-bit unsigned minUWord8, maxUWord8
33 * Word16 16-bit signed minWord16, maxWord16
34 * UWord16 16-bit unsigned minUWord16, maxUWord16
35 * Word32 32-bit signed minWord32, maxWord32
36 * UWord32 32-bit unsigned minUWord32, maxUWord32
80 ********* define 8 bit signed/unsigned types & constants
91 #error cannot find 8-bit type
96 ********* define 16 bit signed/unsigned types & constants
113 #error cannot find 16-bit typ
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DGrain.java49 int bit = 0;
51 bit++;
54 return bit;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DGrain.java44 int bit = 0;
46 bit++;
49 return bit;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DGrain.java49 int bit = 0;
51 bit++;
54 return bit;
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp345 uint32_t bit; local
348 bit = mCodecQuirks.size();
350 if (bit == 32) {
355 mCodecQuirks.add(name, bit);
357 bit = mCodecQuirks.valueAt(index);
361 info->mQuirks |= 1ul << bit;
394 uint32_t bit; local
397 bit = mTypes.size();
399 if (bit == 32) {
404 mTypes.add(name, bit);
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dbits.c20 Description: Performs bit stream manipulation
36 Word16 coding_mode, /* i: coding bit-stream ratio mode */
37 Word16 mode, /* i: coding bit-stream ratio mode*/
193 Word16 i, bit; local
197 bit = (Word16) (value & 0x0001); /* get lsb */
198 if (bit == 0)
/frameworks/wilhelm/src/
H A Dlocks.c144 /** \brief Exclusively unlock an object and report updates to the specified bit-mask of
181 unsigned bit = ctz(attributes); local
182 // ATTR_INDEX_MAX == next bit position after the last attribute
183 assert(ATTR_INDEX_MAX > bit);
184 // compute the entry in the handler table using object ID and bit number
185 AttributeHandler handler = handlerTable[index][bit];
189 attributes &= ~(1 << bit);
/frameworks/rs/
H A DrsCppUtils.h217 uint32_t bit = 0; local
219 bit++;
222 return bit;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s25 ; * the bit stream buffer
26 ; * [in] pBitOffset pointer to the bit position in the byte pointed
39 ; * bit stream syntax
45 ; * so that it points to the current byte in the bit
48 ; * current bit position in the byte pointed by
254 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
H A DomxVCM4P2_PredictReconCoefIntra_s.s44 ; * performed. It is equal to ac_pred_flag in the bit
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s25 ; * the bit stream buffer
26 ; * [in] pBitOffset pointer to the bit position in the byte pointed
39 ; * bit stream syntax
45 ; * so that it points to the current byte in the bit
48 ; * current bit position in the byte pointed by
254 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
H A DomxVCM4P2_PredictReconCoefIntra_s.s44 ; * performed. It is equal to ac_pred_flag in the bit
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_cavlc.c173 /* fixed 6 bit length VLC, nC <= 8 */
741 coeffMap on bits [16,31] if successful, this is bit map
742 where each bit indicates if the corresponding
758 u32 levelSuffix, zerosLeft, bit; local
778 BUFFER_SHOW(bufferValue, bufferBits, bit, 16);
780 tmp = DecodeCoeffToken(bit, (u32)nc);
796 BUFFER_GET(bufferValue, bufferBits, bit, trailingOnes);
800 level[i] = bit & tmp ? -1 : 1;
813 BUFFER_SHOW(bufferValue, bufferBits, bit, 16);
814 levelPrefix = DecodeLevelPrefix(bit);
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_neon.S282 vsubl.u8 Q5, d10, d6 @ Y to 16 bit - 16 (in 16bit) (n to n+7)
283 vmull.s16 Q8, d10, d4[0] @ Y(n,n+1,n+2,n+3) * 298 = Q8 (to 32bit)
284 vmull.s16 Q11, d11, d4[0] @ Y(n+4,n+5,n+6,n+7) * 298 = Q11 (to 32bit)
286 vsubl.u8 Q5, d12, d8 @ V to 16 bit - 128 = Q5 // V(n, n+1, n+2,n+3)
287 vsubl.u8 Q6, d14, d8 @ U to 16 bit - 128 = Q6 // U(n, n+1, n+2,n+3)
317 vrshrn.i32 d16, Q8, #8 @ d16 : R shifted right by 8 rounded'n narrowed to 16bit
318 vrshrn.i32 d18, Q9, #8 @ d18 : G shifted right by 8 rounded'n narrowed to 16bit
319 vrshrn.i32 d20, Q10, #8 @ d20 : B shifted right by 8 rounded'n narrowed to 16bit
322 vrshrn.i32 d17, Q11, #8 @ d17 : R shifted right by 8 rounded'n narrowed to 16bit
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java261 * Decode one bit to a black and white color:
264 * @param bit to decode
267 private static int bitToBnW(int bit){ argument
268 if(bit == 1){
324 * Calculate bit mask for a given number of bits. The mask should enable to
327 * @return bit mask
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java147 * - the SMS default 7 bit coded alphabet as defined in
148 * TS 23.038 [12] with bit 8 set to 0. The alpha identifier
154 * remaining octets are 16 bit UCS2 characters ...
158 * 8 bit number which defines bits 15 to 8 of a 16 bit
159 * base pointer, where bit 16 is set to zero and bits 7 to 1
164 * If bit 8 of the octet is set to zero, the remaining 7 bits
166 * whereas if bit 8 of the octet is set to one, then the
168 * 16 bit base pointer defined earlier...
172 * contain a 16 bit numbe
415 bitToRGB(int bit) argument
[all...]
/frameworks/base/core/java/android/os/
H A DStrictMode.java181 * Note, a "VM_" bit, not thread.
187 * Note, a "VM_" bit, not thread.
193 * Note, a "VM_" bit, not thread.
501 private Builder enable(int bit) { argument
502 mMask |= bit;
506 private Builder disable(int bit) { argument
507 mMask &= ~bit;
712 private Builder enable(int bit) { argument
713 mMask |= bit;
1188 // bit i
[all...]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DWapPushTest.java819 int bit = 1;
826 if ((bit & uint32Val) > 0) topbit = i;
827 bit = (bit << 1);
978 int bit = 1;
982 if ((mAppIdValue & bit) > 0) topBit = i;
983 bit = (bit << 1);
/frameworks/base/services/input/
H A DEventHub.cpp53 /* this macro is used to tell if "bit" is set in "array"
55 * operation with a byte that only has the relevant bit set.
56 * eg. to check for the 12th bit, we do (array[1] & 1<<4)
58 #define test_bit(bit, array) (array[bit/8] & (1<<(bit%8)))
60 /* this macro computes the number of bytes needed to represent a bit array of the specified size */

Completed in 856 milliseconds