/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/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/location/src/android/location/cts/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/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/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 102 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/ |
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/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/tests/binder_ndk/src/android/binder/cts/ |
D | JavaClientTest.java | 275 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/ |
D | test_native_aidl_client.cpp | 501 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/ |
D | CameraOrientationActivity.java | 194 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/ |
D | RVCVXCheckTestActivity.java | 335 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/ |
D | MediaSessionManagerTest.java | 105 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/ |
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 | 796 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/ |
D | BluetoothLeScanTest.java | 372 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/ |
D | CameraTestUtils.java | 1234 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/ |
D | 00.ts | 961 …ku�K���5LN�(��AY@*kp��Z^�)��S��ߞ$�������&gJ��~u>�<e���2�����-�+�lhs���n�[�2io'�f��O…
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 302 …onpt}ukfdejv����znfdeeejv~|xwz{{yqieefggedegrz}�������������������������~lhs����~vkeehq}�}||z|�…
|