Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java207 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/tests/view/src/android/view/cts/
DPrecompiledLayoutTest.java44 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/location/src/android/location/cts/asn1/base/
DAsn1SetOf.java46 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/tests/openglperf2/jni/graphics/
DMatrix.cpp107 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()
DMatrix.h54 static void multiplyVector(float* result, const Matrix& lhs,
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java102 public int compare(Camera.Size lhs, Camera.Size rhs) { in compare() argument
103 return compareSizes(lhs.width, lhs.height, rhs.width, rhs.height); in compare()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrix2fTest.java142 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()
DMatrix4fTest.java208 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()
DMatrix3fTest.java201 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/tests/wifi/src/android/net/wifi/aware/cts/
DTestUtils.java60 MacWrapper lhs = (MacWrapper) o; in equals() local
61 return Arrays.equals(mMac, lhs.mMac); in equals()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java275 public void assertPolygonEquals(RegularPolygon lhs, RegularPolygon rhs) { in assertPolygonEquals() argument
276 assertEquals(lhs.name, rhs.name); in assertPolygonEquals()
277 assertEquals(lhs.numSides, rhs.numSides); in assertPolygonEquals()
278 assertEquals(lhs.sideLength, rhs.sideLength, 0.0f); in assertPolygonEquals()
280 public void assertPolygonEquals(RegularPolygon[] lhs, RegularPolygon[] rhs) { in assertPolygonEquals() argument
281 assertEquals(lhs.length, rhs.length); in assertPolygonEquals()
282 for (int i = 0; i < lhs.length; i++) { in assertPolygonEquals()
283 assertPolygonEquals(lhs[i], rhs[i]); in assertPolygonEquals()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp501 inline bool operator==(const RegularPolygon& lhs, const RegularPolygon& rhs) { in operator ==() argument
502 return lhs.name == rhs.name && lhs.numSides == rhs.numSides && lhs.sideLength == rhs.sideLength; in operator ==()
504 inline bool operator==(const std::vector<RegularPolygon>& lhs, in operator ==() argument
506 if (lhs.size() != rhs.size()) return false; in operator ==()
507 for (size_t i = 0; i < lhs.size(); i++) { in operator ==()
508 if (!(lhs[i] == rhs[i])) return false; in operator ==()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java194 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera() argument
195 if (lhs.width < rhs.width) return -1; in setUpCamera()
196 if (lhs.width > rhs.width) return 1; in setUpCamera()
197 if (lhs.height < rhs.height) return -1; in setUpCamera()
198 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java335 private void assertLessThan(String message, double lhs, double rhs) { in assertLessThan() argument
336 Assert.assertTrue(String.format("%s - expected %.4f < %.4f", message, lhs, rhs), in assertLessThan()
337 lhs < rhs); in assertLessThan()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionManagerTest.java105 private void assertKeyEventEquals(KeyEvent lhs, int keyCode, int action, int repeatCount) { in assertKeyEventEquals() argument
106 assertTrue(lhs.getKeyCode() == keyCode in assertKeyEventEquals()
107 && lhs.getAction() == action in assertKeyEventEquals()
108 && lhs.getRepeatCount() == repeatCount); in assertKeyEventEquals()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java387 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/
DContactsTest.java1137 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/
DCameraVideoActivity.java796 public int compare(Size lhs, Size rhs) { in setUpCamera() argument
797 if (lhs.width < rhs.width) return -1; in setUpCamera()
798 if (lhs.width > rhs.width) return 1; in setUpCamera()
799 if (lhs.height < rhs.height) return -1; in setUpCamera()
800 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java372 public int compare(ScanResult lhs, ScanResult rhs) { in compare() argument
373 return rhs.getRssi() - lhs.getRssi(); in compare()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1234 public int compare(Size lhs, Size rhs) { in compare() argument
1236 .compareSizes(lhs.getWidth(), lhs.getHeight(), rhs.getWidth(), rhs.getHeight()); in compare()
/cts/tests/tests/media/assets/hls_variant/387360/
D00.ts961 …ku�K���5LN�(� �AY@*kp��Z^�)��S��ߞ$��������&gJ��~u>�<e���2�����-�+�lhs���n�[�2io'�f��O…
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv302 …onpt}ukfdejv����znfdeeejv~|xwz{{yqieefggedegrz}�������������������������~lhs����~vkeehq}�}||z|�…