Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/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/tests/location/src/android/location/cts/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/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp121 outMsg->body.motion.pointers[i].coords.bits = in sanitizeMessage()
122 msg.body.motion.pointers[i].coords.bits; in sanitizeMessage()
123 const uint32_t count = BitSet64::count(msg.body.motion.pointers[i].coords.bits); in sanitizeMessage()
/cts/tests/tests/location/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/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.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�…