Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DRecorder.java78 private static int audioChannelMaskFromRepresentationAndBits(int representation, int bits) in audioChannelMaskFromRepresentationAndBits() argument
80 return ((representation << AUDIO_CHANNEL_COUNT_MAX) | bits); in audioChannelMaskFromRepresentationAndBits()
96 int bits = (1 << channel_count) - 1; in audioChannelMaskForIndexAssignmentFromCount() local
97 return audioChannelMaskFromRepresentationAndBits(AUDIO_CHANNEL_REPRESENTATION_INDEX, bits); in audioChannelMaskForIndexAssignmentFromCount()
105 int bits; in channelCountToChannelMask() local
108 bits = AudioFormat.CHANNEL_IN_MONO; in channelCountToChannelMask()
112 bits = AudioFormat.CHANNEL_IN_STEREO; in channelCountToChannelMask()
128 … return audioChannelMaskFromRepresentationAndBits(AUDIO_CHANNEL_REPRESENTATION_POSITION, bits); in channelCountToChannelMask()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0814/
Dpoc.cpp324 ogg_reference *ref, oggpack_buffer *bits) { in makeBitReader() argument
331 oggpack_readinit(bits, ref); in makeBitReader()
337 oggpack_buffer bits; in main() local
341 memset(&bits, 0, sizeof(oggpack_buffer)); in main()
343 makeBitReader(packInfoData, sizeof(packInfoData), &buf, &ref, &bits); in main()
348 int ret = _vorbis_unpack_info(mVi, &bits); in main()
352 memset(&bits, 0, sizeof(oggpack_buffer)); in main()
354 makeBitReader(unpackBookData, sizeof(unpackBookData), &buf, &ref, &bits); in main()
356 ret = _vorbis_unpack_books(mVi, &bits); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9527/
Dpoc.cpp47 ogg_reference *ref, oggpack_buffer *bits) { in makeBitReader() argument
54 oggpack_readinit(bits, ref); in makeBitReader()
60 oggpack_buffer bits; in main() local
64 memset(&bits, 0, sizeof(oggpack_buffer)); in main()
66 makeBitReader(packInfoData, sizeof(packInfoData), &buf, &ref, &bits); in main()
71 int ret = _vorbis_unpack_info(mVi, &bits); in main()
75 memset(&bits, 0, sizeof(oggpack_buffer)); in main()
78 &bits); in main()
80 ret = _vorbis_unpack_books(mVi, &bits); in main()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DPerUnalignedUtils.java55 int bits = leastBitsToEncodeLong(range); in encodeNormalizedConstrainedWholeNumber() local
56 for (int i = bits - 1; i >= 0; --i) { in encodeNormalizedConstrainedWholeNumber()
82 int bits = leastBitsToEncodeLong(range); in decodeNormalizedConstrainedWholeNumber() local
83 for (int i = 0; i < bits; ++i) { in decodeNormalizedConstrainedWholeNumber()
91 for (int bits = 1; bits < 64; bits++) { in leastBitsToEncodeLong()
92 if (value < (1L << bits)) { in leastBitsToEncodeLong()
93 return bits; in leastBitsToEncodeLong()
DPerAlignedUtils.java130 for (int bits = 1; bits < 8; bits++) { in leastBitsToEncode()
131 if (unsignedByte < (1 << bits)) { in leastBitsToEncode()
132 return bits; in leastBitsToEncode()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DGTestApiReport.java74 String bits = "64"; in main() local
85 bits = getExpectedArg(args, ++i); in main()
94 apiReport = parseTestcasesFolder(testCasePath, bits); in main()
107 GTestApiReport(List<TestModule> testModules, String bits) { in GTestApiReport() argument
109 mBits = bits; in GTestApiReport()
120 public static GTestApiReport parseTestcasesFolder(String testCasePath, String bits) in parseTestcasesFolder() argument
144 + bits); in parseTestcasesFolder()
170 return new GTestApiReport(testModules, bits); in parseTestcasesFolder()
DApkNdkApiReport.java76 String bits = "64"; in main() local
87 bits = getExpectedArg(args, ++i); in main()
96 apiReport = parseTestcasesFolder(testCasePath, bits); in main()
109 ApkNdkApiReport(List<TestModule> testModules, String bits) { in ApkNdkApiReport() argument
111 mBits = bits; in ApkNdkApiReport()
122 public static ApkNdkApiReport parseTestcasesFolder(String testCasePath, String bits) in parseTestcasesFolder() argument
140 if (!entry.getName().matches("lib(.*)" + bits + "(.*)so")) { in parseTestcasesFolder()
170 return new ApkNdkApiReport(testModules, bits); in parseTestcasesFolder()
DCtsApiCoverage.java116 String bits = "64"; in main() local
148 bits = getExpectedArg(args, ++i); in main()
220 addGTestNdkApiCoverage(apiCoverage, testCasesFolder, bits); in main()
228 addNdkApiCoverage(apiCoverage, testCasesFolder, bits); in main()
366 ApiCoverage apiCoverage, String testCasesFolder, String bits) in addNdkApiCoverage() argument
368 ApkNdkApiReport apiReport = ApkNdkApiReport.parseTestcasesFolder(testCasesFolder, bits); in addNdkApiCoverage()
375 testCasesFolder, bits)); in addNdkApiCoverage()
388 ApiCoverage apiCoverage, String testCasesFolder, String bits) in addGTestNdkApiCoverage() argument
390 GTestApiReport apiReport = GTestApiReport.parseTestcasesFolder(testCasesFolder, bits); in addGTestNdkApiCoverage()
397 testCasesFolder, bits)); in addGTestNdkApiCoverage()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewPrecomputedTextTest.java154 for (int bits = 1; bits <= fullBits; ++bits) { in getParameters()
157 param[j] = new Boolean((bits & (1 << j)) != 0); in getParameters()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java126 BitSet bits = new BitSet(macBinary.length()); in generateSuplStartLocalLocationMessage() local
129 bits.set(i); in generateSuplStartLocalLocationMessage()
133 .setApMACAddressToNewInstance().setValue(bits); in generateSuplStartLocalLocationMessage()
204 BitSet bits = new BitSet(macBinary.length()); in generateSuplPositionInitLocalLocationMessage() local
207 bits.set(i); in generateSuplPositionInitLocalLocationMessage()
211 .setApMACAddressToNewInstance().setValue(bits); in generateSuplPositionInitLocalLocationMessage()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java112 long bits = (exponent & DOUBLE_EXPONENT_MASK) | (mantissa & DOUBLE_MANTISSA_MASK); in constructDouble() local
113 if (isNegative) bits |= DOUBLE_SIGN_MASK; in constructDouble()
114 return Double.longBitsToDouble(bits); in constructDouble()
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java263 int bits = 0; in bitCount() local
265 bits++; in bitCount()
268 return bits; in bitCount()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp142 outMsg->body.motion.pointers[i].coords.bits = in sanitizeMessage()
143 msg.body.motion.pointers[i].coords.bits; in sanitizeMessage()
144 const uint32_t count = BitSet64::count(msg.body.motion.pointers[i].coords.bits); in sanitizeMessage()
/cts/tests/location/location_gnss/protos/
Dephemeris.proto30 // SV health bits.
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp116 float FloatFromHalf(uint16_t bits) { in FloatFromHalf() argument
117 uint32_t s = bits & 0x8000; in FloatFromHalf()
118 uint32_t e = (bits & 0x7C00) >> 10; in FloatFromHalf()
119 uint32_t m = bits & 0x3FF; in FloatFromHalf()
148 uint32_t bits = *reinterpret_cast<uint32_t*>(&value); // convert to int bits in HalfFromFloat() local
149 int32_t s = (bits >> 31); in HalfFromFloat()
150 int32_t e = (bits >> 23) & 0xFF; in HalfFromFloat()
151 int32_t m = bits & 0x7FFFFF; in HalfFromFloat()
/cts/tools/release-parser/tests/resources/
Dandroid.test.runner.odex.pb.txt81 bits: 64
Dboot-framework.oat.pb.txt99 bits: 64
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rscript215 uint index = (i & 1) | ((j & 1) << 1); // bits [0,1] are blacklevel offset
216 index |= (cfa << 2); // bits [2,3] are cfa
/cts/tools/release-parser/proto/
Drelease.proto281 int32 bits = 22; field
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1697 int bits = fcntl(rw_bit, F_GETFD); in rw_thread() local
1698 if (bits < 0) { in rw_thread()
1702 rw_val = !!(bits & FD_CLOEXEC); in rw_thread()
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java143 long bits; in parseUnsignedIntAttribute() local
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java146 long bits; in parseUnsignedIntAttribute() local
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java561 public void bits() { in bits() method in HalfTest
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java144 long bits; in parseUnsignedIntAttribute() local
/cts/tests/tests/media/assets/hls_variant/1676816/
D08.ts1526 …�1w�E���}'�Ŷ��Z�0�1�'˻Gy�4����n�������X�����,W�;�<��$����?�!��,�bits��N>7V1Xꎨ�_ǒkryes�…