/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 49 private ValueAnimator a2; field in ValueAnimatorTests 69 a2 = ValueAnimator.ofInt(A2_START_VALUE, A2_END_VALUE).setDuration(500); in setUp() 75 a2 = null; in tearDown() 126 a2.addListener(l2); in testListenerCallbacks() 127 a2.setStartDelay(400); in testListenerCallbacks() 140 a2.start(); in testListenerCallbacks() 158 while (wait < a2.getStartDelay()) { in testListenerCallbacks() 171 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) + TOLERANCE; in testListenerCallbacks() 193 assertFalse(a2.isStarted()); in testIsStarted() 195 assertFalse(a2.isRunning()); in testIsStarted() [all …]
|
D | AnimatorSetActivityTest.java | 48 private ObjectAnimator a1,a2,a3; field in AnimatorSetActivityTest 85 a2 = ObjectAnimator.ofFloat(square2, View.ALPHA, 1f, 0f).setDuration(350); in setUp() 95 a2 = null; in tearDown() 104 s1.playTogether(a1, a2, a3); in testGetChildAnimations() 108 assertTrue(children.contains(a2)); in testGetChildAnimations() 112 s2.playSequentially(a1, a2, a3); in testGetChildAnimations() 116 assertTrue(children.contains(a2)); in testGetChildAnimations() 120 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations() 125 assertTrue(s3Children.contains(a2)); in testGetChildAnimations() 176 s3.play(a1).before(a2).after(a3); in testTotalDuration() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_copy_test.java | 36 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local 45 s.forEach_copyFloat2(a1, a2); in testFloat2() 47 a2.copyTo(f2); in testFloat2() 55 a2.destroy(); in testFloat2() 60 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local 69 s.forEach_copyFloat3(a1, a2); in testFloat3() 71 a2.copyTo(f2); in testFloat3() 79 a2.destroy(); in testFloat3() 84 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local 93 s.forEach_copyFloat4(a1, a2); in testFloat4() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_copy_test.java | 34 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local 43 s.forEach_copyFloat2(a1, a2); in testFloat2() 45 a2.copyTo(f2); in testFloat2() 53 a2.destroy(); in testFloat2() 58 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local 67 s.forEach_copyFloat3(a1, a2); in testFloat3() 69 a2.copyTo(f2); in testFloat3() 77 a2.destroy(); in testFloat3() 82 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local 91 s.forEach_copyFloat4(a1, a2); in testFloat4() [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_copy_test.java | 35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local 44 s.forEach_copyFloat2(a1, a2); in testFloat2() 46 a2.copyTo(f2); in testFloat2() 54 a2.destroy(); in testFloat2() 59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local 68 s.forEach_copyFloat3(a1, a2); in testFloat3() 70 a2.copyTo(f2); in testFloat3() 78 a2.destroy(); in testFloat3() 83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local 92 s.forEach_copyFloat4(a1, a2); in testFloat4() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | IAidlTest.aidl | 34 boolean[] booleanArray(in boolean[] a0, out boolean[] a1, inout boolean[] a2); in booleanArray() argument 35 char[] charArray(in char[] a0, out char[] a1, inout char[] a2); in charArray() argument 36 int[] intArray(in int[] a0, out int[] a1, inout int[] a2); in intArray() argument 37 long[] longArray(in long[] a0, out long[] a1, inout long[] a2); in longArray() argument 38 float[] floatArray(in float[] a0, out float[] a1, inout float[] a2); in floatArray() argument 39 double[] doubleArray(in double[] a0, out double[] a1, inout double[] a2); in doubleArray() argument 40 String[] stringArray(in String[] a0, out String[] a1, inout String[] a2); in stringArray() argument 43 inout AidlTest.TestParcelable[] a2); in parcelableArray() argument
|
D | AidlTest.java | 122 public boolean[] booleanArray(boolean[] a0, boolean[] a1, boolean[] a2) { in booleanArray() argument 123 for (int i = 0; i < a0.length && i < a2.length; i++) { in booleanArray() 124 a2[i] = a0[i]; in booleanArray() 132 public char[] charArray(char[] a0, char[] a1, char[] a2) { in charArray() argument 133 for (int i = 0; i < a0.length && i < a2.length; i++) { in charArray() 134 a2[i] = a0[i]; in charArray() 142 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() argument 143 for (int i = 0; i < a0.length && i < a2.length; i++) { in intArray() 144 a2[i] = a0[i]; in intArray() 152 public long[] longArray(long[] a0, long[] a1, long[] a2) { in longArray() argument [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | GraphTest.cpp | 185 ListDigraph::Arc* a2 = graph.addArc(*u2, *u3); in TEST_F() local 189 ASSERT_TRUE(u2 == a2->source && u3 == a2->target); in TEST_F() 193 ASSERT_TRUE(u2->first_in == a1 && u2->first_out == a2); in TEST_F() 194 ASSERT_TRUE(u3->first_in == a2 && u3->first_out == a3); in TEST_F() 205 ListDigraph::Arc* a2 = graph.addArc(*u1, *u2); in TEST_F() local 209 ASSERT_TRUE(u1 == a2->source && u2 == a2->target); in TEST_F() 213 ASSERT_TRUE(u2->first_in == a2 && u2->first_out == NULL); in TEST_F() 225 ListDigraph::Arc* a2 = graph.addArc(*u2, *u3); in TEST_F() local 228 graph.erase(*a2); in TEST_F() 240 ASSERT_TRUE(NULL == a2->next_in); in TEST_F() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 99 private static void assertApnSettingsEqual(List<ApnSetting> a1, List<ApnSetting> a2) { in assertApnSettingsEqual() argument 100 assertEquals(a1.size(), a2.size()); in assertApnSettingsEqual() 102 assertApnSettingEqual(a1.get(i), a2.get(i)); in assertApnSettingsEqual() 106 private static void assertApnSettingEqual(ApnSetting a1, ApnSetting a2) { in assertApnSettingEqual() argument 107 assertEquals(a1.getEntryName(), a2.getEntryName()); in assertApnSettingEqual() 108 assertEquals(a1.getApnName(), a2.getApnName()); in assertApnSettingEqual() 109 assertEquals(a1.getProxyAddressAsString(), a2.getProxyAddressAsString()); in assertApnSettingEqual() 110 assertEquals(a1.getProxyPort(), a2.getProxyPort()); in assertApnSettingEqual() 111 assertEquals(a1.getMmsc(), a2.getMmsc()); in assertApnSettingEqual() 112 assertEquals(a1.getMmsProxyAddressAsString(), a2.getMmsProxyAddressAsString()); in assertApnSettingEqual() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | MessageUtilsTest.java | 65 SparseArray<String> a1, SparseArray<String> a2) throws Exception { in assertSparseArrayEquals() argument 66 String msg = String.format("%s != %s", a1.toString(), a2.toString()); in assertSparseArrayEquals() 67 assertEquals(msg, a1.size(), a2.size()); in assertSparseArrayEquals() 70 assertEquals(msg, a1.keyAt(i), a2.keyAt(i)); in assertSparseArrayEquals() 71 assertEquals(msg, a1.valueAt(i), a2.valueAt(i)); in assertSparseArrayEquals()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | WeakIdentityHashMapTest.java | 54 String a2 = new String("a"); in testUsesIdentity() local 55 assertNotSame(a1, a2); in testUsesIdentity() 58 mMap.put(a2, "value2"); in testUsesIdentity() 61 assertEquals("value2", mMap.get(a2)); in testUsesIdentity()
|
/frameworks/base/core/java/android/net/ |
D | IpPrefix.java | 275 final byte[] a2 = prefix2.address; in lengthComparator() field in IpPrefix 276 final int len = a1.length < a2.length ? a1.length : a2.length; in lengthComparator() 278 if (a1[i] < a2[i]) return -1; in lengthComparator() 279 if (a1[i] > a2[i]) return 1; in lengthComparator() 281 if (a2.length < len) return 1; in lengthComparator()
|
/frameworks/base/core/java/android/content/res/loader/ |
D | ResourcesLoader.java | 203 private static boolean arrayEquals(ResourcesProvider[] a1, ResourcesProvider[] a2) { in arrayEquals() argument 204 if (a1 == a2) { in arrayEquals() 208 if (a1 == null || a2 == null) { in arrayEquals() 212 if (a1.length != a2.length) { in arrayEquals() 220 if (a1[i] != a2[i]) { in arrayEquals()
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 308 float a2 = EARTH_SEMI_MAJOR_AXIS_KM * EARTH_SEMI_MAJOR_AXIS_KM; in computeGeocentricCoordinates() local 315 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates() 318 / (latRad * altitudeKm + a2)); in computeGeocentricCoordinates() 323 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + in computeGeocentricCoordinates() 325 + (a2 * a2 * clat * clat + b2 * b2 * slat * slat) in computeGeocentricCoordinates() 326 / (a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates()
|
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/ |
D | setelementat.rscript | 9 float2 a2 = {4.0f, 4.0f}; 23 rsSetElementAt(A, &a2, 0, 0);
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 160 const audio_coef_t a2 = mCoefs[4]; in process_normal_mono() local 168 acc = mac_coef_sample(a2, y2, acc); in process_normal_mono() 207 const audio_coef_t a2 = mCoefs[4]; in process_normal_multi() local 221 acc = mac_coef_sample(a2, y2, acc); in process_normal_multi()
|
/frameworks/base/core/jni/ |
D | android_os_Parcel.cpp | 357 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_createByteArray() local 358 if (a2) { in android_os_Parcel_createByteArray() 361 memcpy(a2, data, len); in android_os_Parcel_createByteArray() 363 env->ReleasePrimitiveArrayCritical(ret, a2, 0); in android_os_Parcel_createByteArray() 419 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_readBlob() local 420 if (a2) { in android_os_Parcel_readBlob() 421 memcpy(a2, blob.data(), len); in android_os_Parcel_readBlob() 422 env->ReleasePrimitiveArrayCritical(ret, a2, 0); in android_os_Parcel_readBlob()
|
/frameworks/base/rs/java/android/renderscript/ |
D | AllocationAdapter.java | 73 int a1 = 0, a2 = 0, a3 = 0, a4 = 0; in updateOffsets() local 80 a2 = mSelectedArray[2]; in updateOffsets() 90 mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4); in updateOffsets() local
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | residu_asm_opt.s | 41 ORR r6, r7, r6, LSL #16 @r6 --- a2, a3 89 SMLATB r11, r6, r2, r11 @i3(2) --- r11 += x[0] * a2 90 SMLATT r12, r6, r2, r12 @i4(2) --- r12 += x[1] * a2 96 SMLATT r4, r6, r2, r4 @i2(2) --- r4 += x[-1] * a2 99 SMLATB r3, r6, r2, r3 @i1(2) --- r3 += x[-2] * a2
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenInternalAudioRecorder.java | 184 private byte[] addAndConvertBuffers(short[] a1, int a1Limit, short[] a2, int a2Limit) { in addAndConvertBuffers() argument 191 sum = a2[i]; in addAndConvertBuffers() 195 sum = (int) a1[i] + (int) a2[i]; in addAndConvertBuffers()
|
/frameworks/compile/slang/lit-tests/P_ref_count/ |
D | func_params.rscript | 47 static void bar(int a0, rs_element a1, float a2, struct Wrapper a3) { 52 g2 = a2;
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceClientPermissionsTest.java | 250 ArrayList<SliceAuthority> a2 = new ArrayList<>(o2.getAuthorities()); in assertEquivalent() local 252 a2.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent() 253 assertEquals(a1, a2); in assertEquivalent()
|
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/ |
D | valid-cert.pem | 68 87:bb:b9:a2:d0:ad:32:6e:eb:ca:ad:14:8e:96:d3: 100 a2:2f:8c:7a:a9:06:80:27:72:17:20:59:3b:c1:b6: 186 9d:df:b8:5d:9a:6c:27:99:08:1e:ec:02:1a:ed:33:0f:8d:a2: 191 8c:4c:26:0e:2b:f7:83:f9:66:62:90:c3:a2:7b:2b:c7:9b:6b: 195 33:4c:ed:15:9f:07:b0:ec:a4:4b:77:32:e1:59:b8:a2:92:18: 198 72:2c:a2:1e:37:1e:9c:10:70:e3:11:35:e5:3d:81:9b:08:09:
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 343 String[] a2 = p2.get(i); in equals() local 344 if (a1.length != a2.length) return false; in equals() 346 if (!Objects.equals(a1[j], a2[j])) return false; in equals()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidUserSysTimeReaderTest.java | 240 private long[] subtract(long[] a1, long[] a2) { in subtract() argument 243 val[i] = a1[i] - a2[i]; in subtract()
|