/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | SyncManagerTest.java | 13 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 D | SyncOperationTest.java | 60 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 D | BigBuffer_test.cpp | 33 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;
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.h | 111 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 D | dxt.cpp | 102 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 D | Base64.java | 75 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 D | AndroidDistinguishedNameParser.java | 322 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 D | PeriodicSync.java | 138 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 D | BasicNfcEeTest.java | 111 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 D | BluetoothGattCharacteristic.java | 711 private int unsignedBytesToInt(byte b0, byte b1) { argument 712 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); 718 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { argument 719 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) 726 private float bytesToFloat(byte b0, byte b1) { argument 728 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); 729 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); 736 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { argument 738 + (unsignedByteToInt(b1) << 8)
|
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 421 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 D | AudioBiquadFilter.cpp | 157 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 D | SntpClient.java | 221 byte b1 = buffer[offset+1]; 227 int i1 = ((b1 & 0x80) == 0x80 ? (b1 & 0x7F) + 0x80 : b1);
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 174 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/base/libs/androidfw/include/androidfw/ |
H A D | StringPiece.h | 184 const char* b1 = data_ != nullptr ? data_ : &nullStr; local 185 const char* e1 = b1 + length_; 189 while (b1 < e1 && b2 < e2) { 190 const int d = static_cast<int>(*b1++) - static_cast<int>(*b2++); 225 const char16_t* b1 = data_ != nullptr ? data_ : &nullStr; local 227 return strzcmp16(b1, length_, b2, rhs.length_);
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 203 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 D | NativeCrashListener.java | 166 int b0, b1, b2, b3; 169 b1 = ((int) buf[offset+1]) & 0xFF; 172 return (b0 << 24) | (b1 << 16) | (b2 << 8) | b3;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | AidlTest.java | 289 boolean[] b1 = new boolean[]{false, true}; 291 boolean[] br = mRemote.booleanArray(b0, b1, b2); 296 assertTrue(b1[0]); 297 assertFalse(b1[1]);
|
H A D | PerformanceCollectorTest.java | 477 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/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPResponse.java | 173 private static boolean equals(byte[] b1, int offset, byte[] pattern) { argument 175 if (b1[n + offset] != pattern[n]) {
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | BitmapTest.java | 223 int b1 = Color.blue(c1); 225 assertTrue("blue", Math.abs(bb - b1) <= tolerance);
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 995 public static void assertBundlesEqual(BaseBundle b1, BaseBundle b2) { argument 996 if (b1 == null && b2 == null) { 999 assertNotNull("b1 is null but b2 is not", b1); 1000 assertNotNull("b2 is null but b1 is not", b2); 1003 assertEquals(set(b1.keySet()), set(b2.keySet())); 1005 for (String key : b1.keySet()) { 1006 final Object v1 = b1.get(key); 1018 + " b1=" + b1 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 1223 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...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | BackgroundScanScheduler.java | 252 public int compare(Bucket b1, Bucket b2) { 253 return b1.period - b2.period;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | SpotShadow.java | 86 float b1 = poly[k * 3 + 1] - poly[0 * 3 + 1]; 88 float c0 = a1 * b2 - b1 * a2; 90 float c2 = a0 * b1 - b0 * a1;
|