Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java59 bb = new double[n]; in LogHistParms()
61 bb[0] = b + p; in LogHistParms()
64 bb[i] = m * (bb[i - 1] - b) + b; in LogHistParms()
78 public double[] bb; // bucket base field in MetricsUtils.LogHistParms
99 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram()
106 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram()
130 protoArray[i].start = (long) (hp.bb[key / hp.s] + hp.sbw[key / hp.s] * (key % hp.s)); in logHistogramToGenericBuckets()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct_inline.h273 register int32 bb = (int32)op2; in mla724() local
279 "r"(bb), in mla724()
289 register int32 bb = (int32)k14; in mla392() local
295 "r"(bb), in mla392()
305 register int32 bb = (int32)k12; in mla554() local
311 "r"(bb), in mla554()
321 register int32 bb = (int32)k14; in mla1338() local
327 "r"(bb), in mla1338()
336 register int32 bb = (int32)k14; in mla946() local
342 "r"(bb), in mla946()
[all …]
Dfastquant_inline.h514 register int32 bb = (int32)coeff; in smlabb() local
520 "r"(bb), in smlabb()
529 register int32 bb = (int32)coeff; in smulbb() local
534 "r"(bb)); in smulbb()
/frameworks/compile/mclinker/unittests/
DSymbolCategoryTest.cpp56 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F() local
64 m_pTestee->add(*bb); in TEST_F()
99 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F() local
105 b->setSymPtr(bb); in TEST_F()
113 m_pTestee->add(*bb); in TEST_F()
127 m_pTestee->changeToDynamic(*bb); in TEST_F()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaBassBoostTest.java93 BassBoost bb = null; in test0_0ConstructorAndRelease() local
95 bb = new BassBoost(0, 0); in test0_0ConstructorAndRelease()
96 assertNotNull(msg + ": could not create BassBoost", bb); in test0_0ConstructorAndRelease()
98 assertTrue(msg +": invalid effect ID", (bb.getId() != 0)); in test0_0ConstructorAndRelease()
108 if (bb != null) { in test0_0ConstructorAndRelease()
109 bb.release(); in test0_0ConstructorAndRelease()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java715 ByteBuffer bb = ByteBuffer.wrap(sig); in waitSocketSignal() local
717 bb.order(ByteOrder.nativeOrder()); in waitSocketSignal()
718 int size = bb.getShort(); in waitSocketSignal()
723 bb.get(addr); in waitSocketSignal()
724 int channel = bb.getInt(); in waitSocketSignal()
725 int status = bb.getInt(); in waitSocketSignal()
726 mMaxTxPacketSize = (bb.getShort() & 0xffff); // Convert to unsigned value in waitSocketSignal()
727 mMaxRxPacketSize = (bb.getShort() & 0xffff); // Convert to unsigned value in waitSocketSignal()
774 ByteBuffer bb = ByteBuffer.wrap(ibytes); in readInt() local
775 bb.order(ByteOrder.nativeOrder()); in readInt()
[all …]
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp651 int bb = *in_row++; in WritePng() local
655 rr = gg = bb = 0; in WritePng()
658 const uint32_t color = rr << 24 | gg << 16 | bb << 8 | aa; in WritePng()
676 int bb = in_row[x * 4 + 2]; in WritePng() local
680 rr = gg = bb = 0; in WritePng()
691 (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in WritePng()
713 int bb = *in_row++; in WritePng() local
717 rr = gg = bb = 0; in WritePng()
721 out_row[x * bpp + 2] = bb; in WritePng()
DPng.cpp255 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
280 bb = *row++; in analyze_image()
285 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
286 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
290 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
296 if (rr != gg || rr != bb) { in analyze_image()
299 rr, gg, bb, aa); in analyze_image()
310 rr, gg, bb, aa); in analyze_image()
318 col = (uint32_t)((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
418 bb = *row++; in analyze_image()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp824 int i, j, rr, gg, bb, aa; in dump_image() local
844 bb = row[2]; in dump_image()
859 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
862 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
882 int i, j, rr, gg, bb, aa, idx;; in analyze_image() local
924 bb = 0; in analyze_image()
935 bb = *(row + 2); in analyze_image()
941 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
942 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
946 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java539 collector.checkThat("HIST1.bb[0]", HIST1.bb[0], equalTo(1.0)); in testHistParamInit()
540 collector.checkThat("HIST1.bb[1]", HIST1.bb[1], equalTo(10.0)); in testHistParamInit()
541 collector.checkThat("HIST1.bb[2]", HIST1.bb[2], equalTo(100.0)); in testHistParamInit()
542 collector.checkThat("HIST1.bb[3]", HIST1.bb[3], equalTo(1000.0)); in testHistParamInit()
543 collector.checkThat("HIST1.bb[4]", HIST1.bb[4], equalTo(10000.0)); in testHistParamInit()
544 collector.checkThat("HIST1.bb[5]", HIST1.bb[5], equalTo(100000.0)); in testHistParamInit()
553 collector.checkThat("HIST2.bb[0]", HIST2.bb[0], equalTo(-18.0)); in testHistParamInit()
554 collector.checkThat("HIST2.bb[1]", HIST2.bb[1], equalTo(-10.0)); in testHistParamInit()
555 collector.checkThat("HIST2.bb[2]", HIST2.bb[2], equalTo(30.0)); in testHistParamInit()
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rscript20 struct q bb;
27 int bb;
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java141 ByteBuffer bb = ByteBuffer.allocateDirect(buf.length * 4); in createFloatBuffer() local
142 bb.order(ByteOrder.nativeOrder()); in createFloatBuffer()
143 FloatBuffer fb = bb.asFloatBuffer(); in createFloatBuffer()
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem67 09:c1:6f:d3:93:35:b1:e2:cf:60:85:bb:a0:58:af:
68 87:bb:b9:a2:d0:ad:32:6e:eb:ca:ad:14:8e:96:d3:
81 96:04:d7:bf:b2:bb:61:2e:7b:de:13:77:4d:06:3f:
86 50:21:76:9c:1e:cf:6b:c9:27:bb:89:01:0c:69:33:
89 fe:98:67:55:50:6f:16:bb:48:8d:83:1f:c8:ad:f8:
106 bb:8a:f0:25:e0:05:f5:8b:1e:83:d0:44:63:ce:93:
193 3b:7b:a7:77:17:76:bd:d1:45:18:90:12:20:8d:ef:73:bb:44:
197 9d:aa:6a:fe:f5:a5:6d:d1:8e:84:4d:34:bb:ee:7a:d0:ca:09:
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_extra64/
Dreflection3264_foreach_mismatch_extra64.rscript6 void RS_KERNEL bb(int in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_extra32/
Dreflection3264_foreach_mismatch_extra32.rscript6 void RS_KERNEL bb(int in) { }
/frameworks/base/tools/preload/
Dsorttable.js262 bb = parseFloat(b[0].replace(/[^0-9.-]/g,''));
263 if (isNaN(bb)) bb = 0;
264 return aa-bb;
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra64/
Dreflection3264_reduce_extra64.rscript7 #pragma rs reduce(bb) accumulator(accum)
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra32/
Dreflection3264_reduce_extra32.rscript7 #pragma rs reduce(bb) accumulator(accum)
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name64/
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name64.rscript:18:16: error: 1st input of foreach kernel 'bb' has t…
Dreflection3264_foreach_mismatch_name64.rscript18 void RS_KERNEL bb(size_t in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name32/
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name32.rscript:18:16: error: 1st input of foreach kernel 'bb' has t…
Dreflection3264_foreach_mismatch_name32.rscript18 void RS_KERNEL bb(size_t in) { }
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dreflection3264_reduce_mismatch.rscript24 #pragma rs reduce(bb) accumulator(bbAccum) combiner(bbComb) outconverter(bbOut)
27 #pragma rs reduce(bb) accumulator(bbAccum) combiner(bbComb)
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dreflection3264_foreach_mismatch.rscript13 int RS_KERNEL bb(float fin, double din) { return 0; }
15 void bb(const long *ain) { }
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java229 int bb = computePrePostMul(a0, b0); in testSetPixelsWithNonOpaqueAlpha() local
230 assertTrue("blue", Math.abs(bb - b1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
233 int cc = Color.argb(a0, rr, gg, bb); in testSetPixelsWithNonOpaqueAlpha()

12