Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 20 of 20) 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
210 WorkSource ws2 = wsNew(rhs); in doTestCombineTwoUids()
219 checkWorkSource("SetReturning result", ws1, rhs); in doTestCombineTwoUids()
239 int[] rhs = makeRepeatingIntArray(rhsnames, 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
251 WorkSource ws2 = wsNew(rhs, rhsnames); in doTestCombineTwoUidsNames()
260 checkWorkSource("SetReturning result", ws1, rhs, rhsnames); in doTestCombineTwoUidsNames()
287 private void doTestCombineTwo(int[] lhs, int[] rhs, int[] expected, int[] newbs, in doTestCombineTwo() argument
289 doTestCombineTwoUids(lhs, rhs, expected, newbs, gones); in doTestCombineTwo()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1SetOf.java53 byte[] rhs = 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/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()
53 Assert.assertSame(lhs.getClass(), rhs.getClass()); in assertEquivalentLayouts()
54 Assert.assertEquals(lhs.getId(), rhs.getId()); in assertEquivalentLayouts()
59 ViewGroup rhsGroup = (ViewGroup) rhs; in assertEquivalentLayouts()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp108 float const* const rhs = r.mData; in multiply() local
118 const float e = rhs[i4 + j]; in multiply()
318 const float* rhs) { in multiplyVector() argument
320 const float x = rhs[0]; in multiplyVector()
321 const float y = rhs[1]; in multiplyVector()
322 const float z = rhs[2]; in multiplyVector()
323 const float w = rhs[3]; in multiplyVector()
DMatrix.h55 const float* rhs);
/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.java143 Matrix2f rhs = new Matrix2f(rhsData); in testMultiply() local
146 loadMul.loadMultiply(lhs, rhs); in testMultiply()
149 lhs.multiply(rhs); in testMultiply()
DMatrix4fTest.java209 Matrix4f rhs = new Matrix4f(rhsData); in testMultiply() local
212 loadMul.loadMultiply(lhs, rhs); in testMultiply()
215 lhs.multiply(rhs); in testMultiply()
DMatrix3fTest.java202 Matrix3f rhs = new Matrix3f(rhsData); in testMultiply() local
205 loadMul.loadMultiply(lhs, rhs); in testMultiply()
208 lhs.multiply(rhs); in testMultiply()
/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()
283 assertPolygonEquals(lhs[i], rhs[i]); in assertPolygonEquals()
/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/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 ==()
505 const std::vector<RegularPolygon>& rhs) { in operator ==() argument
506 if (lhs.size() != rhs.size()) return false; in operator ==()
508 if (!(lhs[i] == rhs[i])) return false; in operator ==()
/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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1137 private void assertContactInfoEquals(ContactInfo lhs, ContactInfo rhs) { in assertContactInfoEquals() argument
1139 assertNull(rhs); in assertContactInfoEquals()
1141 assertNotNull(rhs); 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/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/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/1676816/
D12.ts5352 �q.�\H����?J,+P��2P��=����Aޥa�f$��T\�U�i�x�'.�R�K����Z,O����1s�?��@�agB�Q���>�>�^sr��rhs��…
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv7 …dcccccccddcccdcbbcdccdddeedcchnq~�y|��}qntvpgddehihimnnpsrruwy{}}|xw}������rhs~~|umgeecddddddeddc…
126 …nppmllnmmsiWTQNNKIGE@==65S~��kM4%#"!4NO7%1LPIJLVYF.!!)Poslhggd`\UJ:6Nr�rhs��{xz}�������~vqldco…
238 …bXJ=4352-' )3@FC=9851-*Hfddgijmj_[^cddfgiklklotwvvwtstz}}zvsx}}~~xsy�|qv~}rhs��sWJNLAAPew�������…