/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | PackedStringTests.java | 63 PackedString.Builder b2 = new PackedString.Builder(packedOut); in testPackedStringBuilderCreate() local 64 assertEquals("value1", b2.get("tag1")); in testPackedStringBuilderCreate() 65 assertEquals("value2", b2.get("tag2")); in testPackedStringBuilderCreate() 66 assertEquals("value3", b2.get("tag3")); in testPackedStringBuilderCreate() 67 assertEquals("value4", b2.get("tag4")); in testPackedStringBuilderCreate() 68 assertNull(b2.get("tag100")); in testPackedStringBuilderCreate() 96 PackedString.Builder b2 = new PackedString.Builder(packedOut); in testPackedStringBuilderEdit() local 97 assertEquals("val1", b2.get("tag1")); in testPackedStringBuilderEdit() 98 assertEquals("TWO", b2.get("tag2")); in testPackedStringBuilderEdit() 99 assertEquals(null, b2.get("tag3")); in testPackedStringBuilderEdit() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_poly.h | 111 double b0,b1,b2; in db_MultiplyPoly0_2() local 113 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly0_2() 117 d[2]=a0*b2; in db_MultiplyPoly0_2() 123 double b0,b1,b2; in db_MultiplyPoly1_2() local 125 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly1_2() 129 d[2]=a0*b2+a1*b1; in db_MultiplyPoly1_2() 130 d[3]= a1*b2; in db_MultiplyPoly1_2() 137 double b0,b1,b2,b3; in db_MultiplyPoly1_3() local 139 b0=b[0];b1=b[1];b2=b[2];b3=b[3]; in db_MultiplyPoly1_3() 143 d[2]=a0*b2+a1*b1; in db_MultiplyPoly1_3() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapUtils.java | 536 byte b2 = input[++in]; in quotedPrintableToUtf8() 537 if (b1 == '\r' && b2 == '\n') { in quotedPrintableToUtf8() 541 && b1 <= 'f')) && ((b2 >= '0' && b2 <= '9') || (b2 >= 'A' && b2 <= 'F') || ( in quotedPrintableToUtf8() 542 b2 >= 'a' && b2 <= 'f'))) { in quotedPrintableToUtf8() 544 Log.v(TAG, "Found hex number: " + String.format("%c%c", b1, b2)); in quotedPrintableToUtf8() 554 if (b2 <= '9') { in quotedPrintableToUtf8() 555 b2 = (byte) (b2 - '0'); in quotedPrintableToUtf8() 556 } else if (b2 <= 'F') { in quotedPrintableToUtf8() 557 b2 = (byte) (b2 - 'A' + 10); in quotedPrintableToUtf8() 558 } else if (b2 <= 'f') { in quotedPrintableToUtf8() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | Base64.java | 75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64() 99 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64() 106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 108 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64() 112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 119 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | Base64.java | 75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64() 99 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64() 106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 108 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64() 112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 119 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 70 Bitmap b2 = Bitmap.createBitmap( in rotate() local 72 if (b != b2) { in rotate() 74 b = b2; in rotate() 165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() local 167 Canvas c = new Canvas(b2); in transform() 187 return b2; in transform() 227 Bitmap b2 = Bitmap.createBitmap( in transform() local 234 if (b2 != b1) { in transform() 240 return b2; in transform()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterGradRepresentation.java | 161 Band b2 = rep.mBands.get(i); in equals() local 162 if (b1.mask != b2.mask in equals() 163 || b1.brightness != b2.brightness in equals() 164 || b1.contrast != b2.contrast in equals() 165 || b1.saturation != b2.saturation in equals() 166 || b1.xPos1 != b2.xPos1 in equals() 167 || b1.xPos2 != b2.xPos2 in equals() 168 || b1.yPos1 != b2.yPos1 in equals() 169 || b1.yPos2 != b2.yPos2) { in equals()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 210 Mailbox b2 = ProviderTestUtils.setupMailbox("box2", 1, true, c, Mailbox.TYPE_MAIL); in testGetMailboxForMessageId() local 213 Message m2 = ProviderTestUtils.setupMessage("1", b2.mAccountKey, b2.mId, in testGetMailboxForMessageId() 216 ProviderTestUtils.assertMailboxEqual("x", b2, Mailbox.getMailboxForMessageId(c, m2.mId)); in testGetMailboxForMessageId() 350 Mailbox b2 = ProviderTestUtils.setupMailbox("box2", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testMessageCount() local 358 assertEquals(0, getMessageCount(b2.mId)); in testMessageCount() 374 Message m21 = createMessage(c, b2, false, false, Message.FLAG_LOADED_COMPLETE); in testMessageCount() 375 Message m22 = createMessage(c, b2, true, true, Message.FLAG_LOADED_COMPLETE); in testMessageCount() 391 assertEquals(2, getMessageCount(b2.mId)); in testMessageCount() 412 assertEquals(2, getMessageCount(b2.mId)); in testMessageCount() 427 assertEquals(1, getMessageCount(b2.mId)); in testMessageCount()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | MimeBoundaryInputStream.java | 129 int b2 = s.read(); in read() local 131 if (b1 == '\r' && b2 == '\n') { in read() 137 if (b2 != -1) { in read() 138 s.unread(b2); in read()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | LogoUtilsTest.java | 127 private void assertBitmapEquals(Bitmap b1, Bitmap b2) { in assertBitmapEquals() argument 128 assertEquals(b1.getWidth(), b2.getWidth()); in assertBitmapEquals() 129 assertEquals(b1.getHeight(), b2.getHeight()); in assertBitmapEquals() 132 assertEquals(b1.getPixel(x, y), b2.getPixel(x, y)); in assertBitmapEquals()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | move1.dot | 41 b2 [label="{b:null|}", fillcolor=1] 44 a2 -> b2 [style=invis, dir=back] 46 b1 -> b2 [style=invis]
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 308 Bundle b2 = new Bundle(Account.class.getClassLoader()); in testAccountParcel() local 309 b2.readFromParcel(p); in testAccountParcel() 310 Account account2 = (Account) b2.getParcelable("account"); in testAccountParcel() 2001 Mailbox b2 = ProviderTestUtils.setupMailbox("box2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetKeyColumnLong() local 2003 Message m2 = createMessage(c, b2, false, false); in testGetKeyColumnLong() 2007 assertEquals(b2.mId, Message.getKeyColumnLong(c, m2.mId, MessageColumns.MAILBOX_KEY)); in testGetKeyColumnLong() 2015 Mailbox b2 = ProviderTestUtils.setupMailbox("box2", a2.mId, true, c, Mailbox.TYPE_MAIL); in testGetAccountIdForMessageId() local 2017 Message m2 = createMessage(c, b2, false, false); in testGetAccountIdForMessageId() 2102 Mailbox b2 = ProviderTestUtils.setupMailbox("box2", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testRecalculateMessageCounts() local 2112 Message m21 = createMessage(c, b2, false, false, Message.FLAG_LOADED_COMPLETE); in testRecalculateMessageCounts() [all …]
|
D | AttachmentProviderTests.java | 177 Mailbox b2 = ProviderTestUtils.setupMailbox( in testInboxQuery() local 192 Message m21 = createMessage(mMockContext, b2); in testInboxQuery() 193 Message m22 = createMessage(mMockContext, b2); in testInboxQuery()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | BitmapUtility.java | 65 Bitmap b2 = Bitmap.createBitmap(b, 0, 0,b.getWidth(),b.getHeight(), mat, true); in rotatedBitmap() local 66 return b2; in rotatedBitmap()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Geometry.h | 112 double b2 = y1 - m2 * x1; in FindTriangleCentroid() local 116 double x = (b2 - b1) / (m1 - m2); in FindTriangleCentroid()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | NewOutgoingCallIntentBroadcasterTest.java | 495 private static boolean areBundlesEqual(Bundle b1, Bundle b2) { 497 if (!b1.get(key1).equals(b2.get(key1))) { 502 for (String key2 : b2.keySet()) { 503 if (!b2.get(key2).equals(b1.get(key2))) {
|
D | TelecomServiceImplTest.java | 1040 private static boolean areBundlesEqual(Bundle b1, Bundle b2) { in areBundlesEqual() argument 1042 if (!b1.get(key1).equals(b2.get(key1))) { in areBundlesEqual() 1047 for (String key2 : b2.keySet()) { in areBundlesEqual() 1048 if (!b2.get(key2).equals(b1.get(key2))) { in areBundlesEqual()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | Obd2Connection.java | 228 FourByteBitSet(byte b0, byte b1, byte b2, byte b3) { in FourByteBitSet() argument 231 mByte2 = b2; in FourByteBitSet()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 143 Bitmap b2 = Bitmap.createBitmap( in rotateAndMirror() local 145 if (b != b2) { in rotateAndMirror() 147 b = b2; in rotateAndMirror()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 172 Bitmap b2 = Bitmap.createBitmap( in rotateAndMirror() local 174 if (b != b2) { in rotateAndMirror() 176 b = b2; in rotateAndMirror()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallScreeningServiceHelper.java | 71 public void disallowCall(String s, boolean b, boolean b1, boolean b2, in disallowCall() argument
|
/packages/providers/TelephonyProvider/assets/sdk28_carrier_id/ |
D | carrier_list.textpb | 7684 gid1: "b2"
|
/packages/providers/TelephonyProvider/assets/ |
D | carrier_list.textpb | 7870 gid1: "b2"
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 1289 …'�߿Њ�C#m۰X�ֽ_�Ի[��?PV�v6�3�~L��5��E�o,z�k�6�7���[� ,T<��AK.���J�q�d�� b2w4�1c¾�1�R����֣V… 1780 …sB�D�˔���5%Ȋ��Lr3�E�i���,I�T�K�[���J�S-��ri�i�.��G�?:�� �����9��]jDF)j�G��K�_G&�b2��� 2853 ȯ�o���<�l��=�*�QQ91�=��_dP�HW�9�ң��eG*~b2��*����A!��<z�v��?�6��������W��8h�6�qȩ�v$����… 4327 ���b2��Җ�J�t��k����2:���ݕwԇ@���sه͙F��gh��՝oS�V�亝���U���7�* 5951 ����縠�4�3L����=�x����E�b2�8�=pEF&F�����έ�8�Tv��@���q�>��+��ݧN�c�L��Xs���H<�f�)�X��j�g�P… 6133 �n��A8� p9��[���q̛�.3TuMlYE梄�f;A�q4���hI9A��b2�1�DZR&JV��v:���f���T���s�s��&��\ֿ��m�Î�u… 6675 …iA��#��Q�h��vA�u���+����N~V�=�3)U�%#�?B�����^���1�0@ S���~tb2�[��pLDc���wdv��"�… 6962 …h�"y�r��t�8)ۼ1�u������9Pz~�ZT�T��3�i��@�L��X�֜�Qd�(g� �s��b2�H=��B�W��s��g�{{�… 7035 ��� �&\�Б��j�b2��$Ә3�{I�FB�n�;�r��H��<R=�wR�N��KP�z}���$�Z�r��$����� +�%Ls�@�… 7915 …�;�V���@߸�������QF�� Xڹ��ޚr���mē�M5��v�w-lG#w$�*)���i�1�f�/��Fs�ڤb27�Οf���=1Q�ܼS��8V<… [all …]
|