/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 51 private ValueAnimator a2; field in ValueAnimatorTests 71 a2 = ValueAnimator.ofInt(A2_START_VALUE, A2_END_VALUE).setDuration(500); in setUp() 77 a2 = null; in tearDown() 128 a2.addListener(l2); in testListenerCallbacks() 129 a2.setStartDelay(400); in testListenerCallbacks() 142 a2.start(); in testListenerCallbacks() 160 while (wait < a2.getStartDelay()) { in testListenerCallbacks() 173 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) + TOLERANCE; in testListenerCallbacks() 195 assertFalse(a2.isStarted()); in testIsStarted() 197 assertFalse(a2.isRunning()); in testIsStarted() [all …]
|
D | AnimatorSetActivityTest.java | 52 private ObjectAnimator a1,a2,a3; field in AnimatorSetActivityTest 89 a2 = ObjectAnimator.ofFloat(square2, View.ALPHA, 1f, 0f).setDuration(350); in setUp() 99 a2 = null; in tearDown() 108 s1.playTogether(a1, a2, a3); in testGetChildAnimations() 112 assertTrue(children.contains(a2)); in testGetChildAnimations() 116 s2.playSequentially(a1, a2, a3); in testGetChildAnimations() 120 assertTrue(children.contains(a2)); in testGetChildAnimations() 124 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations() 129 assertTrue(s3Children.contains(a2)); in testGetChildAnimations() 180 s3.play(a1).before(a2).after(a3); in testTotalDuration() [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/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/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 | 144 public boolean[] booleanArray(boolean[] a0, boolean[] a1, boolean[] a2) { in booleanArray() argument 145 for (int i = 0; i < a0.length && i < a2.length; i++) { in booleanArray() 146 a2[i] = a0[i]; in booleanArray() 154 public char[] charArray(char[] a0, char[] a1, char[] a2) { in charArray() argument 155 for (int i = 0; i < a0.length && i < a2.length; i++) { in charArray() 156 a2[i] = a0[i]; in charArray() 164 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() argument 165 for (int i = 0; i < a0.length && i < a2.length; i++) { in intArray() 166 a2[i] = a0[i]; in intArray() 174 public long[] longArray(long[] a0, long[] a1, long[] a2) { in longArray() argument [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | ApnSettingTest.java | 85 private static void assertApnSettingsEqual(List<ApnSetting> a1, List<ApnSetting> a2) { in assertApnSettingsEqual() argument 86 assertEquals(a1.size(), a2.size()); in assertApnSettingsEqual() 88 assertApnSettingEqual(a1.get(i), a2.get(i)); in assertApnSettingsEqual() 92 private static void assertApnSettingEqual(ApnSetting a1, ApnSetting a2) { in assertApnSettingEqual() argument 93 assertEquals(a1.getEntryName(), a2.getEntryName()); in assertApnSettingEqual() 94 assertEquals(a1.getApnName(), a2.getApnName()); in assertApnSettingEqual() 95 assertEquals(a1.getProxyAddressAsString(), a2.getProxyAddressAsString()); in assertApnSettingEqual() 96 assertEquals(a1.getProxyPort(), a2.getProxyPort()); in assertApnSettingEqual() 97 assertEquals(a1.getMmsc(), a2.getMmsc()); in assertApnSettingEqual() 98 assertEquals(a1.getMmsProxyAddressAsString(), a2.getMmsProxyAddressAsString()); in assertApnSettingEqual() [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationListenerFilterTest.java | 59 VersionedPackage a2= new VersionedPackage("pkg2", 2142534); in testConstructor() local 60 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testConstructor() 69 assertThat(nlf.getDisallowedPackages()).contains(a2); in testConstructor() 71 assertThat(nlf.isPackageAllowed(a2)).isFalse(); in testConstructor() 102 VersionedPackage a2= new VersionedPackage("pkg2", 2142534); in testDescribeContents() local 103 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testDescribeContents() 112 VersionedPackage a2= new VersionedPackage("pkg2", 2142534); in testParceling() local 113 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testParceling() 128 assertThat(nlf1.getDisallowedPackages()).contains(a2); in testParceling() 130 assertThat(nlf1.isPackageAllowed(a2)).isFalse(); in testParceling()
|
/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/libs/binary_translation/tests/tests_apk/src/com/example/ndk_tests/ |
D | NdkTests.java | 53 public boolean jniArgTest(long a1, int a2, long a3, int a4, int a5, long a6) { in jniArgTest() argument 54 return a1 == 1 && a2 == 2 && a3 == 3 && a4 == 4 && a5 == 5 && a6 == 6; in jniArgTest() 57 public boolean jniFloatArgTest(float a1, int a2, float a3, int a4, int a5, in jniFloatArgTest() argument 59 return a1 == 1.0 && a2 == 2 && a3 == 3.0 && a4 == 4 && a5 == 5 && a6 == 6.0; in jniFloatArgTest()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | MessageUtilsTest.java | 69 SparseArray<String> a1, SparseArray<String> a2) throws Exception { in assertSparseArrayEquals() argument 70 String msg = String.format("%s != %s", a1.toString(), a2.toString()); in assertSparseArrayEquals() 71 assertEquals(msg, a1.size(), a2.size()); in assertSparseArrayEquals() 74 assertEquals(msg, a1.keyAt(i), a2.keyAt(i)); in assertSparseArrayEquals() 75 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/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 | 312 float a2 = EARTH_SEMI_MAJOR_AXIS_KM * EARTH_SEMI_MAJOR_AXIS_KM; in computeGeocentricCoordinates() local 319 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates() 322 / (latRad * altitudeKm + a2)); in computeGeocentricCoordinates() 327 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + in computeGeocentricCoordinates() 329 + (a2 * a2 * clat * clat + b2 * b2 * slat * slat) in computeGeocentricCoordinates() 330 / (a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmStoreTest.java | 101 final Alarm a2 = createAlarm(2, 0); in add() local 102 mAlarmStore.add(a2); in add() 107 assertTrue(alarmsAdded.contains(a1) && alarmsAdded.contains(a2)); in add() 113 final Alarm a2 = createAlarm(2, 0); in remove() local 115 addAlarmsToStore(a1, a2, a5); in remove() 120 assertTrue(removed.contains(a1) && removed.contains(a2)); in remove() 123 addAlarmsToStore(a8, a2, a1); in remove()
|
/frameworks/base/core/java/android/view/ |
D | DisplayAddress.java | 149 public static boolean isPortMatch(DisplayAddress a1, DisplayAddress a2) { in isPortMatch() argument 151 if (!(a1 instanceof Physical && a2 instanceof Physical)) { in isPortMatch() 155 Physical p2 = (Physical) a2; in isPortMatch()
|
/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/rs/java/android/renderscript/ |
D | AllocationAdapter.java | 77 int a1 = 0, a2 = 0, a3 = 0, a4 = 0; in updateOffsets() local 84 a2 = mSelectedArray[2]; in updateOffsets() 94 mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4); in updateOffsets() local
|
/frameworks/av/media/module/codecs/amrwb/enc/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/core/jni/ |
D | android_os_Parcel.cpp | 374 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_createByteArray() local 375 if (a2) { in android_os_Parcel_createByteArray() 378 memcpy(a2, data, len); in android_os_Parcel_createByteArray() 380 env->ReleasePrimitiveArrayCritical(ret, a2, 0); in android_os_Parcel_createByteArray() 436 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_readBlob() local 437 if (a2) { in android_os_Parcel_readBlob() 438 memcpy(a2, blob.data(), len); in android_os_Parcel_readBlob() 439 env->ReleasePrimitiveArrayCritical(ret, a2, 0); in android_os_Parcel_readBlob()
|
/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/libs/binary_translation/tools/riscv-arch-test/include/ |
D | model_test.h | 31 li a2, 8; \
|
/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:
|