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.java101 private static int audioChannelMaskFromRepresentationAndBits(int representation, int bits) in audioChannelMaskFromRepresentationAndBits() argument
103 return ((representation << AUDIO_CHANNEL_COUNT_MAX) | bits); in audioChannelMaskFromRepresentationAndBits()
119 int bits = (1 << channel_count) - 1; in audioChannelMaskForIndexAssignmentFromCount() local
120 return audioChannelMaskFromRepresentationAndBits(AUDIO_CHANNEL_REPRESENTATION_INDEX, bits); in audioChannelMaskForIndexAssignmentFromCount()
128 int bits; in channelCountToChannelMask() local
131 bits = AudioFormat.CHANNEL_IN_MONO; in channelCountToChannelMask()
135 bits = AudioFormat.CHANNEL_IN_STEREO; in channelCountToChannelMask()
152 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/hostsidetests/securitybulletin/securityPatch/CVE-2019-2027/
Dpoc.cpp76 oggpack_buffer bits; in main() local
81 memset(&bits, 0, sizeof(oggpack_buffer)); in main()
89 oggpack_readinit(&bits, &ref); in main()
92 FAIL_CHECK(vorbis_book_unpack(&bits, &book) == 0); 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/
DApkNdkApiReport.java78 String bits = "64"; in main() local
89 bits = getExpectedArg(args, ++i); in main()
98 apiReport = parseTestcasesFolder(testCasePath, bits); in main()
111 ApkNdkApiReport(List<TestModule> testModules, String bits) { in ApkNdkApiReport() argument
113 mBits = bits; in ApkNdkApiReport()
124 public static ApkNdkApiReport parseTestcasesFolder(String testCasePath, String bits) in parseTestcasesFolder() argument
142 if (!entry.getName().matches("lib(.*)" + bits + "(.*)so")) { in parseTestcasesFolder()
172 return new ApkNdkApiReport(testModules, bits); in parseTestcasesFolder()
DGTestApiReport.java76 String bits = "64"; in main() local
87 bits = getExpectedArg(args, ++i); in main()
96 apiReport = parseTestcasesFolder(testCasePath, bits); in main()
109 GTestApiReport(List<TestModule> testModules, String bits) { in GTestApiReport() argument
111 mBits = bits; in GTestApiReport()
122 public static GTestApiReport parseTestcasesFolder(String testCasePath, String bits) in parseTestcasesFolder() argument
146 + bits); in parseTestcasesFolder()
172 return new GTestApiReport(testModules, bits); in parseTestcasesFolder()
DCtsApiCoverage.java125 String bits = "64"; in main() local
158 bits = getExpectedArg(args, ++i); in main()
238 addGTestNdkApiCoverage(apiCoverage, testCasesFolder, bits); in main()
246 addNdkApiCoverage(apiCoverage, testCasesFolder, bits); in main()
384 ApiCoverage apiCoverage, String testCasesFolder, String bits) in addNdkApiCoverage() argument
386 ApkNdkApiReport apiReport = ApkNdkApiReport.parseTestcasesFolder(testCasesFolder, bits); in addNdkApiCoverage()
394 testCasesFolder, bits)); in addNdkApiCoverage()
407 ApiCoverage apiCoverage, String testCasesFolder, String bits) in addGTestNdkApiCoverage() argument
409 GTestApiReport apiReport = GTestApiReport.parseTestcasesFolder(testCasesFolder, bits); in addGTestNdkApiCoverage()
417 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.java469 int bits = 0; in bitCount() local
471 bits++; in bitCount()
474 return bits; in bitCount()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp150 outMsg->body.motion.pointers[i].coords.bits = in sanitizeMessage()
151 msg.body.motion.pointers[i].coords.bits; in sanitizeMessage()
152 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.cpp122 float FloatFromHalf(uint16_t bits) { in FloatFromHalf() argument
123 uint32_t s = bits & 0x8000; in FloatFromHalf()
124 uint32_t e = (bits & 0x7C00) >> 10; in FloatFromHalf()
125 uint32_t m = bits & 0x3FF; in FloatFromHalf()
154 uint32_t bits = *reinterpret_cast<uint32_t*>(&value); // convert to int bits in HalfFromFloat() local
155 int32_t s = (bits >> 31); in HalfFromFloat()
156 int32_t e = (bits >> 23) & 0xFF; in HalfFromFloat()
157 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/tools/release-parser/proto/
Drelease.proto281 int32 bits = 22; field
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1702 int bits = fcntl(rw_bit, F_GETFD); in rw_thread() local
1703 if (bits < 0) { in rw_thread()
1707 rw_val = !!(bits & FD_CLOEXEC); in rw_thread()
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java146 long bits; in parseUnsignedIntAttribute() local
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java143 long bits; in parseUnsignedIntAttribute() local
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java587 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/mediapc/requirements/
Drequirements.txtpb883 …ertise support for the EXT_YUV_target extension to sample from YUV textures in both 8 and 10-bits."