Searched refs:b1 (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncManagerTest.java13 Bundle b1 = new Bundle();
16 b1.putString(KEY_1, null);
20 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */));
24 Bundle b1 = new Bundle();
27 b1.putString(KEY_1, null);
30 b1.putString(KEY_2, "bla");
34 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */));
38 Bundle b1 = new Bundle();
41 b1.putString(KEY_1, null);
44 b1
[all...]
H A DSyncOperationTest.java60 Bundle b1 = new Bundle();
68 b1,
76 b1,
84 b1,
92 b1,
112 Bundle b1 = new Bundle();
113 b1.putParcelable("acc", account1);
114 b1.putString("str", "String");
120 b1,
/frameworks/base/tools/aapt2/util/
H A DBigBuffer_test.cpp33 char* b1 = buffer.nextBlock<char>(8); local
34 EXPECT_NE(nullptr, b1);
39 EXPECT_EQ(b1 + 8, b2);
52 uint32_t* b1 = buffer.nextBlock<uint32_t>(); local
53 ASSERT_NE(nullptr, b1);
54 *b1 = 33;
58 b1 = buffer2.nextBlock<uint32_t>();
59 ASSERT_NE(nullptr, b1);
60 *b1 = 44;
H A DStringPiece.h181 const char* b1 = mData != nullptr ? mData : &nullStr; local
182 const char* e1 = b1 + mLength;
186 while (b1 < e1 && b2 < e2) {
187 const int d = static_cast<int>(*b1++) - static_cast<int>(*b2++);
214 const char16_t* b1 = mData != nullptr ? mData : &nullStr; local
216 return strzcmp16(b1, mLength, b2, rhs.mLength);
/frameworks/native/opengl/libagl/
H A Dmatrix.h111 GLfixed a1, GLfixed b1,
125 "%r"(a1), "r"(b1),
134 int64_t(a1)*b1)>>16) + c;
140 GLfixed a1, GLfixed b1,
156 "%r"(a1), "r"(b1),
169 "madd %[a1],%[b1] \r\n"
178 : [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c)
186 int64_t(a1)*b1 +
192 // b0, b1, b
110 mla2a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed c) argument
139 mla3a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed c) argument
316 mla3( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2) argument
347 mla4( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed a3, GLfixed b3) argument
[all...]
H A Ddxt.cpp102 int b1 = (x >> 16) & 0xff; local
106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0);
167 // bits: b31 b30 b29 ... b3 b2 b1 b0
168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1
169 // &: b31 (b31 & b30) (b29 & b28) ... (b2 & b1) (b1 & b0)
170 // & 0x55..: 0 (b31 & b30) 0 ... 0 (b1 & b0)
241 int b1 = blue(color1); local
245 c[1] = (r1 << 11) | ((g1 >> 1) << 6) | (b1 << 1) | 0x1;
261 b2 = avg23(b0, b1);
371 int b1 = blue(color1); local
528 int b1 = blue(color1); local
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DBase64.java75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0;
98 b1 = base64Alphabet[base64Data[dataIndex]];
106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4);
112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4);
117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4);
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java322 int b1, b2;
324 b1 = chars[position];
325 if (b1 >= '0' && b1 <= '9') {
326 b1 = b1 - '0';
327 } else if (b1 >= 'a' && b1 <= 'f') {
328 b1 = b1
[all...]
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java138 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { argument
139 if (b1.size() != b2.size()) {
142 if (b1.isEmpty()) {
145 for (String key : b1.keySet()) {
151 if (!Objects.equals(b1.get(key), b2.get(key))) {
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
H A DBasicNfcEeTest.java111 private static void assertByteArrayEquals(byte[] b1, byte[] b2) { argument
112 assertEquals(b1.length, b2.length);
113 for (int i = 0; i < b1.length; i++) {
114 assertEquals(b1[i], b2[i]);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java703 private int unsignedBytesToInt(byte b0, byte b1) { argument
704 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8));
710 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { argument
711 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8))
718 private float bytesToFloat(byte b0, byte b1) { argument
720 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12);
721 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4);
728 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { argument
730 + (unsignedByteToInt(b1) << 8)
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java421 Bitmap b1;
424 b1 = Bitmap.createBitmap(source, 0, 0,
427 b1 = source;
430 if (recycle && b1 != source) {
434 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
435 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
438 b1,
444 if (b2 != b1) {
445 if (recycle || b1 != source) {
446 b1
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp157 const audio_coef_t b1 = mCoefs[1]; local
165 acc = mac_coef_sample(b1, x1, acc);
204 const audio_coef_t b1 = mCoefs[1]; local
218 acc = mac_coef_sample(b1, x1, acc);
/frameworks/base/core/java/android/net/
H A DSntpClient.java217 byte b1 = buffer[offset+1];
223 int i1 = ((b1 & 0x80) == 0x80 ? (b1 & 0x7F) + 0x80 : b1);
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp174 signed b1 = (tmp1 + u_b) / 256; local
186 | (kAdjustedClip[b1] >> 3);
290 signed b1 = (tmp1 + u_b) / 256; local
302 | (kAdjustedClip[b1] >> 3);
363 signed b1 = (tmp1 + u_b) / 256; local
373 ((kAdjustedClip[b1] >> 3) << 11)
437 signed b1 = (tmp1 + u_b) / 256; local
447 ((kAdjustedClip[b1] >> 3) << 11)
507 signed b1 = (tmp1 + u_b) / 256; local
519 | (kAdjustedClip[b1] >>
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp203 int r1, r2, g1, g2, b1, b2; local
213 b1 = convert5To8(bBase);
221 b1 = convert4To8(high >> 12);
229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped);
379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks local
391 b1 = convert5To8(b51);
417 b1 = convert4To8(b41);
426 pBaseColors[2] = b1;
/frameworks/base/services/core/java/com/android/server/am/
H A DNativeCrashListener.java171 int b0, b1, b2, b3;
174 b1 = ((int) buf[offset+1]) & 0xFF;
177 return (b0 << 24) | (b1 << 16) | (b2 << 8) | b3;
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java289 boolean[] b1 = new boolean[]{false, true};
291 boolean[] br = mRemote.booleanArray(b0, b1, b2);
296 assertTrue(b1[0]);
297 assertFalse(b1[1]);
H A DPerformanceCollectorTest.java477 private void assertEqualsBundle(Bundle b1, Bundle b2) { argument
478 assertEquals(b1.keySet(), b2.keySet());
479 for (String key : b1.keySet()) {
480 assertEquals(b1.get(key), b2.get(key));
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java222 int b1 = Color.blue(c1);
224 assertTrue("blue", Math.abs(bb - b1) <= tolerance);
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java177 private static boolean equals(byte[] b1, int offset, byte[] pattern) { argument
179 if (b1[n + offset] != pattern[n]) {
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DModelTest.java147 BitSet b1 = new BitSet(ITEM_COUNT);
160 b1.set(Integer.parseInt(docId));
168 assertEquals(ITEM_COUNT, b1.cardinality());
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java157 public int compare(Bitmap b1, Bitmap b2) {
158 if (b1.getWidth() == b2.getWidth()) {
159 return b2.getHeight() - b1.getHeight();
161 return b2.getWidth() - b1.getWidth();
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java934 public static void assertBundlesEqual(BaseBundle b1, BaseBundle b2) { argument
935 if (b1 == null && b2 == null) {
938 assertNotNull("b1 is null but b2 is not", b1);
939 assertNotNull("b2 is null but b1 is not", b2);
942 assertEquals(set(b1.keySet()), set(b2.keySet()));
944 for (String key : b1.keySet()) {
945 final Object v1 = b1.get(key);
957 + " b1=" + b1
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c1223 i32 *ptrC, *ptrV, *b1; local
1247 b1 = table;
1272 *b1++ = tmp6;
1282 *b1++ = tmp5;
1292 *b1++ = tmp4;
1302 *b1++ = tmp3;
1410 i32 *ptrC, *ptrV, *ptrInt, *b1; local
1434 b1 = table;
1457 *b1++ = tmp6;
1467 *b1
[all...]

Completed in 1437 milliseconds

12