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

12

/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;
/frameworks/av/media/audioserver/
H A DAndroid.mk48 # This is relevant for 64 bit architectures where either or both
49 # 32 and 64 bit libraries may be built.
52 # 32 to build 32 bit audioserver libraries and 32 bit audioserver.
53 # 64 to build 64 bit audioserver libraries and 64 bit audioserver.
54 # both to build both 32 bit and 64 bit libraries,
57 # <empty> to build both 32 and 64 bit libraries and 32 bit audioserve
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocationFunctions.h28 for (size_t bit = 0; bit != sizeof (T1) * 8; ++bit) {
30 const bool maskBit = (pMask >> bit) & 1;
32 result |= static_cast<T1>(valBit) << bit;
/frameworks/base/core/java/android/net/metrics/
H A DApfProgramEvent.java117 for (int bit = set.nextSetBit(0); bit >= 0; bit = set.nextSetBit(bit+1)) {
118 names.add(Decoder.constants.get(bit));
/frameworks/av/services/mediacodec/
H A DAndroid.mk54 # Since this is 32-bit-only module, only 32-bit version of the codecs are installed.
73 # mediacodec runs in 32-bit combatibility mode. For 64 bit architectures,
74 # use the 32 bit policy
/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/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DGrain.java49 int bit = 0;
51 bit++;
54 return bit;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DGrain.java49 int bit = 0;
51 bit++;
54 return bit;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DGrain.java54 int bit = 0;
56 bit++;
59 return bit;
/frameworks/av/services/mediadrm/
H A DAndroid.mk38 # TODO: Some legacy DRM plugins only support 32-bit. They need to be migrated to
39 # 64-bit. (b/18948909) Once all of a device's legacy DRM plugins support 64-bit,
41 # 64-bit.
/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/ml/nn/common/operations/
H A DLSHProjection.cpp79 // Compute sign bit of dot product of hash(seed, input) and weight.
122 int bit = running_sign_bit(input, weight, seed); local
123 hash_signature = (hash_signature << 1) | bit;
137 int bit = running_sign_bit(input, weight, seed); local
138 *out_buf++ = bit;
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DMotionEvents.java117 private static boolean hasBit(int metaState, int bit) { argument
118 return (metaState & bit) != 0;
/frameworks/wilhelm/src/
H A Dlocks.cpp157 /** \brief Exclusively unlock an object and report updates to the specified bit-mask of
194 unsigned bit = ctz(attributes); local
195 // ATTR_INDEX_MAX == next bit position after the last attribute
196 assert(ATTR_INDEX_MAX > bit);
197 // compute the entry in the handler table using object ID and bit number
198 AttributeHandler handler = handlerTable[index][bit];
202 attributes &= ~(1 << bit);
/frameworks/rs/script_api/
H A Drs_vector_math.spec23 The precision of the mathematical operations on 32 bit floats is affected by the pragmas
32 <li>fast_: May perform internal computations using 16 bit floats. Additionally, subnormal
126 The precision is what would be expected from doing the computation using 16 bit floating
144 The precision is what would be expected from doing the computation using 16 bit floating
165 The precision is what would be expected from doing the computation using 16 bit floating
H A Drs_math.spec35 The precision of the mathematical operations on 32 bit floats is affected by the pragmas
46 <li>half_: May perform internal computations using 16 bit floats. Additionally, subnormal
55 summary: 1 / pi, as a 32 bit float
57 The inverse of pi, as a 32 bit float.
63 summary: 2 / pi, as a 32 bit float
65 2 divided by pi, as a 32 bit float.
73 summary: 2 / pi, as a 32 bit float
75 2 divided by pi, as a 32 bit float.
81 summary: 2 / sqrt(pi), as a 32 bit float
83 2 divided by the square root of pi, as a 32 bit floa
[all...]
/frameworks/native/libs/ui/
H A DGralloc2.cpp42 for (const auto bit : hardware::hidl_enum_iterator<BufferUsage>()) {
43 bits = bits | bit;
57 for (const auto bit : hardware::hidl_enum_iterator<BufferUsage>()) {
58 bits = bits | bit;
/frameworks/rs/
H A DrsCppUtils.h121 uint32_t bit = 0; local
123 bit++;
126 return bit;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaNetworkHal.java604 for (int bit = keyMgmt.nextSetBit(0); bit != -1; bit = keyMgmt.nextSetBit(bit + 1)) {
605 switch (bit) {
630 "Invalid protoMask bit in keyMgmt: " + bit);
638 for (int bit = protoMask.nextSetBit(0); bit != -1; bit
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java266 * Decode one bit to a black and white color:
269 * @param bit to decode
272 private static int bitToBnW(int bit){ argument
273 if(bit == 1){
329 * Calculate bit mask for a given number of bits. The mask should enable to
332 * @return bit mask
/frameworks/base/core/java/android/os/
H A DStrictMode.java228 * Note, a "VM_" bit, not thread.
235 * Note, a "VM_" bit, not thread.
242 * Note, a "VM_" bit, not thread.
670 private Builder enable(int bit) { argument
671 mMask |= bit;
675 private Builder disable(int bit) { argument
676 mMask &= ~bit;
1034 private Builder enable(int bit) { argument
1035 mMask |= bit;
1039 Builder disable(int bit) { argument
[all...]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DWapPushTest.java838 int bit = 1;
845 if ((bit & uint32Val) > 0) topbit = i;
846 bit = (bit << 1);
997 int bit = 1;
1001 if ((mAppIdValue & bit) > 0) topBit = i;
1002 bit = (bit << 1);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DIpConnectivityEventBuilder.java340 private static boolean isBitSet(int flags, int bit) { argument
341 return (flags & (1 << bit)) != 0;
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
H A DIccUtils.java230 * - the SMS default 7 bit coded alphabet as defined in
231 * TS 23.038 [12] with bit 8 set to 0. The alpha identifier
237 * remaining octets are 16 bit UCS2 characters ...
241 * 8 bit number which defines bits 15 to 8 of a 16 bit
242 * base pointer, where bit 16 is set to zero and bits 7 to 1
247 * If bit 8 of the octet is set to zero, the remaining 7 bits
249 * whereas if bit 8 of the octet is set to one, then the
251 * 16 bit base pointer defined earlier...
255 * contain a 16 bit numbe
497 bitToRGB(int bit) argument
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp54 /* this macro is used to tell if "bit" is set in "array"
56 * operation with a byte that only has the relevant bit set.
57 * eg. to check for the 12th bit, we do (array[1] & 1<<4)
59 #define test_bit(bit, array) ((array)[(bit)/8] & (1<<((bit)%8)))
61 /* this macro computes the number of bytes needed to represent a bit array of the specified size */

Completed in 416 milliseconds

12