/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 48 private ValueAnimator a1; field in ValueAnimatorTests 68 a1 = ValueAnimator.ofFloat(A1_START_VALUE, A1_END_VALUE).setDuration(300); in setUp() 74 a1 = null; in tearDown() 125 a1.addListener(l1); in testListenerCallbacks() 139 a1.start(); in testListenerCallbacks() 152 a1.cancel(); in testListenerCallbacks() 171 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) + TOLERANCE; in testListenerCallbacks() 192 assertFalse(a1.isStarted()); in testIsStarted() 194 assertFalse(a1.isRunning()); in testIsStarted() 197 a1.setStartDelay(startDelay); in testIsStarted() [all …]
|
D | AnimatorSetActivityTest.java | 48 private ObjectAnimator a1,a2,a3; field in AnimatorSetActivityTest 84 a1 = ObjectAnimator.ofFloat(square1, View.TRANSLATION_X, 0f, 500f, 0f).setDuration(250); in setUp() 94 a1 = null; in tearDown() 104 s1.playTogether(a1, a2, a3); in testGetChildAnimations() 107 assertTrue(children.contains(a1)); in testGetChildAnimations() 112 s2.playSequentially(a1, a2, a3); in testGetChildAnimations() 115 assertTrue(children.contains(a1)); in testGetChildAnimations() 120 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations() 124 assertTrue(s3Children.contains(a1)); in testGetChildAnimations() 160 a1.setStartDelay(100); in testTotalDuration() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_copy_test.java | 33 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local 41 a1.copyFrom(f1); in testFloat2() 43 s.forEach_copyFloat2(a1, a2); in testFloat2() 52 a1.destroy(); in testFloat2() 57 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local 65 a1.copyFrom(f1); in testFloat3() 67 s.forEach_copyFloat3(a1, a2); in testFloat3() 76 a1.destroy(); in testFloat3() 81 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local 89 a1.copyFrom(f1); in testFloat4() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_copy_test.java | 35 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local 43 a1.copyFrom(f1); in testFloat2() 45 s.forEach_copyFloat2(a1, a2); in testFloat2() 54 a1.destroy(); in testFloat2() 59 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local 67 a1.copyFrom(f1); in testFloat3() 69 s.forEach_copyFloat3(a1, a2); in testFloat3() 78 a1.destroy(); in testFloat3() 83 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local 91 a1.copyFrom(f1); in testFloat4() [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local 42 a1.copyFrom(f1); in testFloat2() 44 s.forEach_copyFloat2(a1, a2); in testFloat2() 53 a1.destroy(); in testFloat2() 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local 66 a1.copyFrom(f1); in testFloat3() 68 s.forEach_copyFloat3(a1, a2); in testFloat3() 77 a1.destroy(); in testFloat3() 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local 90 a1.copyFrom(f1); 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 42 out AidlTest.TestParcelable[] a1, in parcelableArray() argument
|
D | AidlTest.java | 123 public boolean[] booleanArray(boolean[] a0, boolean[] a1, boolean[] a2) { in booleanArray() argument 127 for (int i = 0; i < a0.length && i < a1.length; i++) { in booleanArray() 128 a1[i] = a0[i]; in booleanArray() 133 public char[] charArray(char[] a0, char[] a1, char[] a2) { in charArray() argument 137 for (int i = 0; i < a0.length && i < a1.length; i++) { in charArray() 138 a1[i] = a0[i]; in charArray() 143 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() argument 147 for (int i = 0; i < a0.length && i < a1.length; i++) { in intArray() 148 a1[i] = a0[i]; in intArray() 153 public long[] longArray(long[] a0, long[] a1, long[] a2) { in longArray() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationListenerFilterTest.java | 58 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testConstructor() local 60 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testConstructor() 68 assertThat(nlf.getDisallowedPackages()).contains(a1); in testConstructor() 70 assertThat(nlf.isPackageAllowed(a1)).isFalse(); in testConstructor() 101 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testDescribeContents() local 103 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testDescribeContents() 111 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testParceling() local 113 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testParceling() 127 assertThat(nlf1.getDisallowedPackages()).contains(a1); in testParceling() 129 assertThat(nlf1.isPackageAllowed(a1)).isFalse(); in testParceling()
|
/frameworks/compile/mclinker/unittests/ |
D | GraphTest.cpp | 184 ListDigraph::Arc* a1 = graph.addArc(*u1, *u2); in TEST_F() local 188 ASSERT_TRUE(u1 == a1->source && u2 == a1->target); in TEST_F() 192 ASSERT_TRUE(u1->first_in == a3 && u1->first_out == a1); in TEST_F() 193 ASSERT_TRUE(u2->first_in == a1 && u2->first_out == a2); in TEST_F() 204 ListDigraph::Arc* a1 = graph.addArc(*u1, *u1); in TEST_F() local 208 ASSERT_TRUE(u1 == a1->source && u1 == a1->target); in TEST_F() 212 ASSERT_TRUE(u1->first_in == a1 && u1->first_out == a3); in TEST_F() 224 ListDigraph::Arc* a1 = graph.addArc(*u1, *u2); in TEST_F() local 230 ASSERT_TRUE(u1 == a1->source && u2 == a1->target); in TEST_F() 234 ASSERT_TRUE(u2->first_in == a1 && u2->first_out == NULL); in TEST_F() [all …]
|
/frameworks/libs/net/common/netd/libnetdutils/ |
D | SliceTest.cpp | 106 A a1{}; in TEST_F() local 107 size_t len = extract(buffer, a1); in TEST_F() 109 EXPECT_EQ(origA1, a1); in TEST_F() 114 A a1{}; in TEST_F() local 116 size_t len = extract(buffer, a1, b); in TEST_F() 118 EXPECT_EQ(origA1, a1); in TEST_F() 124 A a1{}, a2{}; in TEST_F() local 126 size_t len = extract(buffer, a1, b, a2); in TEST_F() 128 EXPECT_EQ(origA1, a1); in TEST_F()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 83 private static void assertApnSettingsEqual(List<ApnSetting> a1, List<ApnSetting> a2) { in assertApnSettingsEqual() argument 84 assertEquals(a1.size(), a2.size()); in assertApnSettingsEqual() 85 for (int i = 0; i < a1.size(); ++i) { in assertApnSettingsEqual() 86 assertApnSettingEqual(a1.get(i), a2.get(i)); in assertApnSettingsEqual() 90 private static void assertApnSettingEqual(ApnSetting a1, ApnSetting a2) { in assertApnSettingEqual() argument 91 assertEquals(a1.getEntryName(), a2.getEntryName()); in assertApnSettingEqual() 92 assertEquals(a1.getApnName(), a2.getApnName()); in assertApnSettingEqual() 93 assertEquals(a1.getProxyAddressAsString(), a2.getProxyAddressAsString()); in assertApnSettingEqual() 94 assertEquals(a1.getProxyPort(), a2.getProxyPort()); in assertApnSettingEqual() 95 assertEquals(a1.getMmsc(), a2.getMmsc()); 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() 68 int size = a1.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/services/tests/PackageManagerServiceTests/server/src/com/android/server/ |
D | WatchedIntentHandlingTest.java | 146 PreferredActivity a1 = new PreferredActivity(i, 1, components, component, true); in testPreferredIntentResolver() local 148 r.addFilter(null, a1); in testPreferredIntentResolver() 152 a1.setPriority(a1.getPriority() + 1); in testPreferredIntentResolver() 155 PreferredActivity s1 = a1.snapshot(); in testPreferredIntentResolver() 158 assertTrue(s1 == a1.snapshot()); in testPreferredIntentResolver() 159 a1.setPriority(a1.getPriority() + 1); in testPreferredIntentResolver() 161 PreferredActivity s2 = a1.snapshot(); in testPreferredIntentResolver()
|
/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() 219 for (int i = 0, n = a1.length; i < n; i++) { in arrayEquals() 220 if (a1[i] != a2[i]) { in arrayEquals()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | WeakIdentityHashMapTest.java | 53 String a1 = new String("a"); in testUsesIdentity() local 55 assertNotSame(a1, a2); in testUsesIdentity() 57 mMap.put(a1, "value1"); in testUsesIdentity() 60 assertEquals("value1", mMap.get(a1)); in testUsesIdentity()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmStoreTest.java | 98 final Alarm a1 = createAlarm(1, 0); in add() local 99 mAlarmStore.add(a1); in add() 108 assertTrue(alarmsAdded.contains(a1) && alarmsAdded.contains(a2)); in add() 113 final Alarm a1 = createAlarm(1, 0); in remove() local 116 addAlarmsToStore(a1, a2, a5); in remove() 121 assertTrue(removed.contains(a1) && removed.contains(a2)); in remove() 124 addAlarmsToStore(a8, a2, a1); in remove()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenersTest.java | 189 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testWriteExtraTag() local 191 new NotificationListenerFilter(4, new ArraySet<>(new VersionedPackage[]{a1})); in testWriteExtraTag() 221 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in validateListenersFromXml() local 224 .contains(a1); in validateListenersFromXml() 230 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testOnUserRemoved() local 232 new NotificationListenerFilter(4, new ArraySet<>(new VersionedPackage[] {a1})); in testOnUserRemoved() 257 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testEnsureFilters_preExisting() local 259 new NotificationListenerFilter(4, new ArraySet<>(new VersionedPackage[] {a1})); in testEnsureFilters_preExisting() 381 VersionedPackage a1 = new VersionedPackage("pkg1", 243); in testOnPackageChanged() local 383 new NotificationListenerFilter(4, new ArraySet<>(new VersionedPackage[] {a1})); in testOnPackageChanged() [all …]
|
/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/ |
D | ColorScheme.kt | 155 val a1: TonalSpec, constant in com.android.systemui.monet.CoreSpec 164 a1 = TonalSpec(HueSource(), ChromaConstant(12.0)), 171 a1 = TonalSpec(HueSource(), ChromaConstant(36.0)), 178 a1 = TonalSpec(HueSource(), ChromaMaxOut()), 185 a1 = TonalSpec(HueAdd(240.0), ChromaConstant(40.0)), 192 a1 = TonalSpec(HueSource(), ChromaConstant(48.0)), 199 a1 = TonalSpec(HueSubtract(50.0), ChromaConstant(48.0)), 206 a1 = TonalSpec(HueSource(), ChromaSource()), 213 a1 = TonalSpec(HueSource(), ChromaConstant(.0)), 312 accent1 = TonalPalette(style.coreSpec.a1, seedArgb)
|
/frameworks/compile/slang/lit-tests/P_ref_count/ |
D | func_params.rscript | 7 … call void @_Z11rsSetObjectP10rs_elementS_(%struct.rs_element{{.*}}* nonnull %.rs.param.a1, {{.*}}) 28 // CHECK-CLR: call void @_Z13rsClearObjectP10rs_element(%struct.rs_element{{.*}}* {{.*}}%a1) 47 static void bar(int a0, rs_element a1, float a2, struct Wrapper a3) { 51 a1 = x;
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
D | compute.cpp | 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in test_compute() local 29 printf("Allocation %p\n", a1.get()); in test_compute() 38 sc->set_alloc(a1); in test_compute()
|
/frameworks/rs/tests/cpp_api/cppbasic/ |
D | compute.cpp | 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in test_compute() local 29 printf("Allocation %p\n", a1.get()); in test_compute() 38 sc->set_alloc(a1); in test_compute()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 159 const audio_coef_t a1 = mCoefs[3]; in process_normal_mono() local 167 acc = mac_coef_sample(a1, y1, acc); in process_normal_mono() 206 const audio_coef_t a1 = mCoefs[3]; in process_normal_multi() local 220 acc = mac_coef_sample(a1, y1, acc); in process_normal_multi()
|
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/ |
D | valid-cert.pem | 78 d2:ad:a8:cb:36:2d:02:a1:66:ac:47:a7:6e:d2:3a: 85 c2:a1:b3:80:7f:d0:a4:1d:ce:ad:7e:75:33:f0:7b: 94 25:a1:e1:47:2f:66:ae:e7:51:fd:57:10:ca:72:ca: 102 52:3c:63:ec:c5:54:60:0b:08:48:7b:07:82:a1:13: 123 a1:3c:7d:39:3b:5f:b8:bf:39:a5:76:c2:83:16:ca: 148 01:9f:2d:35:d6:f7:ae:3e:99:53:70:d7:b2:2d:e2:a1:59:19: 149 ff:cb:d5:4c:40:4c:a1:68:b9:6c:0b:50:e2:df:95:8d:f2:8c: 153 cd:47:0a:87:d6:5c:96:cf:f2:df:69:57:db:57:80:ad:69:a1: 162 d0:07:a7:60:56:b3:34:cd:48:4c:43:dc:d1:a7:94:7f:c6:a1: 182 12:64:e2:6f:15:07:56:3b:10:7c:73:7b:d9:64:61:a1:32:e4:
|
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
D | compute.cpp | 32 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in test_compute() local 33 printf("Allocation %p\n", a1.get()); in test_compute()
|
/frameworks/base/rs/java/android/renderscript/ |
D | AllocationAdapter.java | 77 int a1 = 0, a2 = 0, a3 = 0, a4 = 0; in updateOffsets() local 81 a1 = mSelectedArray[0]; in updateOffsets() 94 mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4); in updateOffsets() local
|