Home
last modified time | relevance | path

Searched refs:bb (Results 1 – 25 of 34) 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 …]
/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/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/support/heifwriter/src/main/java/androidx/heifwriter/
DEglRectBlt.java60 ByteBuffer bb = ByteBuffer.allocateDirect(coords.length * SIZEOF_FLOAT); in createFloatBuffer() local
61 bb.order(ByteOrder.nativeOrder()); in createFloatBuffer()
62 FloatBuffer fb = bb.asFloatBuffer(); in createFloatBuffer()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java719 ByteBuffer bb = ByteBuffer.wrap(sig); in waitSocketSignal() local
721 bb.order(ByteOrder.nativeOrder()); in waitSocketSignal()
722 int size = bb.getShort(); in waitSocketSignal()
727 bb.get(addr); in waitSocketSignal()
728 int channel = bb.getInt(); in waitSocketSignal()
729 int status = bb.getInt(); in waitSocketSignal()
730 mMaxTxPacketSize = (bb.getShort() & 0xffff); // Convert to unsigned value in waitSocketSignal()
731 mMaxRxPacketSize = (bb.getShort() & 0xffff); // Convert to unsigned value in waitSocketSignal()
778 ByteBuffer bb = ByteBuffer.wrap(ibytes); in readInt() local
779 bb.order(ByteOrder.nativeOrder()); in readInt()
[all …]
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp647 int bb = *in_row++; in WritePng() local
651 rr = gg = bb = 0; in WritePng()
654 const uint32_t color = rr << 24 | gg << 16 | bb << 8 | aa; in WritePng()
672 int bb = in_row[x * 4 + 2]; in WritePng() local
676 rr = gg = bb = 0; in WritePng()
687 (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in WritePng()
709 int bb = *in_row++; in WritePng() local
713 rr = gg = bb = 0; in WritePng()
717 out_row[x * bpp + 2] = bb; in WritePng()
DPng.cpp254 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
279 bb = *row++; in analyze_image()
284 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
285 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
289 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
295 if (rr != gg || rr != bb) { in analyze_image()
298 rr, gg, bb, aa); in analyze_image()
309 rr, gg, bb, aa); in analyze_image()
317 col = (uint32_t)((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
417 bb = *row++; in analyze_image()
[all …]
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rs20 struct q bb;
27 int bb;
/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.java534 collector.checkThat("HIST1.bb[0]", HIST1.bb[0], equalTo(1.0)); in testHistParamInit()
535 collector.checkThat("HIST1.bb[1]", HIST1.bb[1], equalTo(10.0)); in testHistParamInit()
536 collector.checkThat("HIST1.bb[2]", HIST1.bb[2], equalTo(100.0)); in testHistParamInit()
537 collector.checkThat("HIST1.bb[3]", HIST1.bb[3], equalTo(1000.0)); in testHistParamInit()
538 collector.checkThat("HIST1.bb[4]", HIST1.bb[4], equalTo(10000.0)); in testHistParamInit()
539 collector.checkThat("HIST1.bb[5]", HIST1.bb[5], equalTo(100000.0)); in testHistParamInit()
548 collector.checkThat("HIST2.bb[0]", HIST2.bb[0], equalTo(-18.0)); in testHistParamInit()
549 collector.checkThat("HIST2.bb[1]", HIST2.bb[1], equalTo(-10.0)); in testHistParamInit()
550 collector.checkThat("HIST2.bb[2]", HIST2.bb[2], equalTo(30.0)); in testHistParamInit()
/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_extra32/
Dreflection3264_foreach_mismatch_extra32.rs6 void RS_KERNEL bb(int in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_extra64/
Dreflection3264_foreach_mismatch_extra64.rs6 void RS_KERNEL bb(int in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name32/
Dreflection3264_foreach_mismatch_name32.rs18 void RS_KERNEL bb(size_t in) { }
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name32.rs:18:16: error: 1st input of foreach kernel 'bb' has type '…
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name64/
Dreflection3264_foreach_mismatch_name64.rs18 void RS_KERNEL bb(size_t in) { }
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name64.rs:18:16: error: 1st input of foreach kernel 'bb' has type '…
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dreflection3264_reduce_mismatch.rs24 #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.rs13 int RS_KERNEL bb(float fin, double din) { return 0; }
15 void bb(const long *ain) { }
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra32/
Dreflection3264_reduce_extra32.rs7 #pragma rs reduce(bb) accumulator(accum)
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra64/
Dreflection3264_reduce_extra64.rs7 #pragma rs reduce(bb) accumulator(accum)
/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/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java224 int bb = computePrePostMul(a0, b0); in testSetPixelsWithNonOpaqueAlpha() local
225 assertTrue("blue", Math.abs(bb - b1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
228 int cc = Color.argb(a0, rr, gg, bb); in testSetPixelsWithNonOpaqueAlpha()

12