/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/wrapper/sidecarwrapperimpl/ |
D | TestSidecarWindowLayoutInfo.java | 95 private static boolean areSidecarWindowLayoutInfoEqual(@NonNull SidecarWindowLayoutInfo lhs, in areSidecarWindowLayoutInfoEqual() argument 97 if (lhs.displayFeatures == rhs.displayFeatures) { in areSidecarWindowLayoutInfoEqual() 100 if (lhs.displayFeatures == null || rhs.displayFeatures == null in areSidecarWindowLayoutInfoEqual() 101 || lhs.displayFeatures.size() != rhs.displayFeatures.size()) { in areSidecarWindowLayoutInfoEqual() 104 for (int i = 0; i < lhs.displayFeatures.size(); i++) { in areSidecarWindowLayoutInfoEqual() 105 if (!areSidecarDisplayFeatureEqual(lhs.displayFeatures.get(i), in areSidecarWindowLayoutInfoEqual() 123 private static boolean areSidecarDisplayFeatureEqual(@NonNull SidecarDisplayFeature lhs, in areSidecarDisplayFeatureEqual() argument 125 return lhs.getType() == rhs.getType() && lhs.getRect().equals(rhs.getRect()); in areSidecarDisplayFeatureEqual()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PrecompiledLayoutTest.java | 44 private void assertEquivalentLayouts(View lhs, View rhs) { in assertEquivalentLayouts() argument 46 Assert.assertEquals(lhs == null, rhs == null); in assertEquivalentLayouts() 47 if (lhs == null) { in assertEquivalentLayouts() 53 Assert.assertSame(lhs.getClass(), rhs.getClass()); in assertEquivalentLayouts() 54 Assert.assertEquals(lhs.getId(), rhs.getId()); in assertEquivalentLayouts() 57 if (lhs instanceof ViewGroup) { in assertEquivalentLayouts() 58 ViewGroup lhsGroup = (ViewGroup) lhs; in assertEquivalentLayouts()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | WorkSourceTest.java | 207 private void doTestCombineTwoUids(int[] lhs, int[] rhs, int[] expected, int[] newbs, in doTestCombineTwoUids() argument 209 WorkSource ws1 = wsNew(lhs); in doTestCombineTwoUids() 213 ws1 = wsNew(lhs); in doTestCombineTwoUids() 217 ws1 = wsNew(lhs); in doTestCombineTwoUids() 238 int[] lhs = makeRepeatingIntArray(lhsnames, 0); in doTestCombineTwoNames() local 243 doTestCombineTwoUidsNames(lhs, lhsnames, rhs, rhsnames, expected, expectednames, in doTestCombineTwoNames() 247 … private void doTestCombineTwoUidsNames(int[] lhs, String[] lhsnames, int[] rhs, String[] rhsnames, in doTestCombineTwoUidsNames() argument 250 WorkSource ws1 = wsNew(lhs, lhsnames); in doTestCombineTwoUidsNames() 254 ws1 = wsNew(lhs, lhsnames); in doTestCombineTwoUidsNames() 258 ws1 = wsNew(lhs, lhsnames); in doTestCombineTwoUidsNames() [all …]
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1SetOf.java | 46 byte[] lhs = keyMaker.getPaddedBytes(); in encodePerImpl() 54 for (int i = 0; i < lhs.length && i < rhs.length; in encodePerImpl() 56 if ((lhs[i] & 0xFF) < (rhs[i] & 0xFF)) { in encodePerImpl() 59 if ((lhs[i] & 0xFF) > (rhs[i] & 0xFF)) { in encodePerImpl() 63 if (lhs.length < rhs.length) { in encodePerImpl() 66 if (lhs.length > rhs.length) { in encodePerImpl()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | BitmapImage.java | 109 private static boolean robustMatchInternal(@ColorInt int lhs, @ColorInt int rhs) { in robustMatchInternal() argument 110 return lhs == rhs || (Math.abs(Color.red(lhs) - Color.red(rhs)) <= TOLERANCE in robustMatchInternal() 111 && Math.abs(Color.green(lhs) - Color.green(rhs)) <= TOLERANCE in robustMatchInternal() 112 && Math.abs(Color.blue(lhs) - Color.blue(rhs)) <= TOLERANCE); in robustMatchInternal()
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | TestUtils.java | 60 MacWrapper lhs = (MacWrapper) o; in equals() local 61 return Arrays.equals(mMac, lhs.mMac); in equals()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Matrix.cpp | 107 float const* const lhs = l.mData; in multiply() local 119 x += lhs[j4 + 0] * e; in multiply() 120 y += lhs[j4 + 1] * e; in multiply() 121 z += lhs[j4 + 2] * e; in multiply() 122 w += lhs[j4 + 3] * e; in multiply() 317 void Matrix::multiplyVector(float* result, const Matrix& lhs, in multiplyVector() argument 319 const float* d = lhs.mData; in multiplyVector()
|
D | Matrix.h | 54 static void multiplyVector(float* result, const Matrix& lhs,
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Matrix2fTest.java | 142 Matrix2f lhs = new Matrix2f(lhsData); in testMultiply() local 146 loadMul.loadMultiply(lhs, rhs); in testMultiply() 149 lhs.multiply(rhs); in testMultiply() 150 checkData(lhs, expected); in testMultiply()
|
D | Matrix4fTest.java | 208 Matrix4f lhs = new Matrix4f(lhsData); in testMultiply() local 212 loadMul.loadMultiply(lhs, rhs); in testMultiply() 215 lhs.multiply(rhs); in testMultiply() 216 checkData(lhs, expected); in testMultiply()
|
D | Matrix3fTest.java | 201 Matrix3f lhs = new Matrix3f(lhsData); in testMultiply() local 205 loadMul.loadMultiply(lhs, rhs); in testMultiply() 208 lhs.multiply(rhs); in testMultiply() 209 checkData(lhs, expected); in testMultiply()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 225 public int compare(Camera.Size lhs, Camera.Size rhs) { in compare() argument 226 return compareSizes(lhs.width, lhs.height, rhs.width, rhs.height); in compare()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 196 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera() argument 197 if (lhs.width < rhs.width) return -1; in setUpCamera() 198 if (lhs.width > rhs.width) return 1; in setUpCamera() 199 if (lhs.height < rhs.height) return -1; in setUpCamera() 200 if (lhs.height > rhs.height) return 1; in setUpCamera()
|
/cts/tests/tests/binder_ndk/src/android/binder/cts/ |
D | JavaClientTest.java | 305 public void assertPolygonEquals(RegularPolygon lhs, RegularPolygon rhs) { in assertPolygonEquals() argument 306 assertEquals(lhs.name, rhs.name); in assertPolygonEquals() 307 assertEquals(lhs.numSides, rhs.numSides); in assertPolygonEquals() 308 assertEquals(lhs.sideLength, rhs.sideLength, 0.0f); in assertPolygonEquals() 310 public void assertPolygonEquals(RegularPolygon[] lhs, RegularPolygon[] rhs) { in assertPolygonEquals() argument 311 assertEquals(lhs.length, rhs.length); in assertPolygonEquals() 312 for (int i = 0; i < lhs.length; i++) { in assertPolygonEquals() 313 assertPolygonEquals(lhs[i], rhs[i]); in assertPolygonEquals()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckTestActivity.java | 340 private void assertLessThan(String message, double lhs, double rhs) { in assertLessThan() argument 341 Assert.assertTrue(String.format("%s - expected %.4f < %.4f", message, lhs, rhs), in assertLessThan() 342 lhs < rhs); in assertLessThan()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 387 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera() argument 388 if (lhs.width < rhs.width) return -1; in setUpCamera() 389 if (lhs.width > rhs.width) return 1; in setUpCamera() 390 if (lhs.height < rhs.height) return -1; in setUpCamera() 391 if (lhs.height > rhs.height) return 1; in setUpCamera()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 1137 private void assertContactInfoEquals(ContactInfo lhs, ContactInfo rhs) { in assertContactInfoEquals() argument 1138 if (lhs == null) { in assertContactInfoEquals() 1142 assertEquals(lhs.contactId, rhs.contactId); in assertContactInfoEquals() 1143 assertEquals(lhs.displayName, rhs.displayName); in assertContactInfoEquals() 1144 assertEquals(lhs.photoId, rhs.photoId); in assertContactInfoEquals() 1145 assertEquals(lhs.photoThumbnailUri, rhs.photoThumbnailUri); in assertContactInfoEquals() 1146 assertEquals(lhs.photoUri, rhs.photoUri); in assertContactInfoEquals()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 803 public int compare(Size lhs, Size rhs) { in setUpCamera() argument 804 if (lhs.width < rhs.width) return -1; in setUpCamera() 805 if (lhs.width > rhs.width) return 1; in setUpCamera() 806 if (lhs.height < rhs.height) return -1; in setUpCamera() 807 if (lhs.height > rhs.height) return 1; in setUpCamera()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothLeScanTest.java | 374 public int compare(ScanResult lhs, ScanResult rhs) { in compare() argument 375 return rhs.getRssi() - lhs.getRssi(); in compare()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSessionManagerTest.java | 208 private void assertKeyEventEquals(KeyEvent lhs, int keyCode, int action, int repeatCount) { in assertKeyEventEquals() argument 209 assertTrue(lhs.getKeyCode() == keyCode in assertKeyEventEquals() 210 && lhs.getAction() == action in assertKeyEventEquals() 211 && lhs.getRepeatCount() == repeatCount); in assertKeyEventEquals()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 580 public int compare(Size lhs, Size rhs) { in compare() argument 581 long lha = lhs.getWidth() * lhs.getHeight(); in compare() 584 lha = lhs.getWidth(); in compare()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ChecksumsTest.java | 1365 Arrays.sort(checksums, (ApkChecksum lhs, ApkChecksum rhs) -> { in onChecksumsReady() 1366 final String lhsSplit = lhs.getSplitName(); in onChecksumsReady() 1369 return Integer.signum(lhs.getType() - rhs.getType()); in onChecksumsReady()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1741 public int compare(Size lhs, Size rhs) { in compare() argument 1743 .compareSizes(lhs.getWidth(), lhs.getHeight(), rhs.getWidth(), rhs.getHeight()); in compare()
|
/cts/tests/tests/media/assets/hls_variant/387360/ |
D | 00.ts | 961 …ku�K���5LN�(��AY@*kp��Z^�)��S��ߞ$�������&gJ��~u>�<e���2�����-�+�lhs���n�[�2io'�f��O…
|