/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/native/opengl/libagl/ |
D | matrix.h | 87 GLfixed a1, GLfixed b1, in mla2a() argument 101 "%r"(a1), "r"(b1), in mla2a() 110 int64_t(a1)*b1)>>16) + c; in mla2a() 116 GLfixed a1, GLfixed b1, in mla3a() argument 132 "%r"(a1), "r"(b1), in mla3a() 142 int64_t(a1)*b1 + in mla3a() 152 GLfixed a1, in mla3a16() argument 167 "r"(a1), in mla3a16() 181 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16() 191 GLfixed a1, in mla3a16_btb() argument [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 | 122 public boolean[] booleanArray(boolean[] a0, boolean[] a1, boolean[] a2) { in booleanArray() argument 126 for (int i = 0; i < a0.length && i < a1.length; i++) { in booleanArray() 127 a1[i] = a0[i]; in booleanArray() 132 public char[] charArray(char[] a0, char[] a1, char[] a2) { in charArray() argument 136 for (int i = 0; i < a0.length && i < a1.length; i++) { in charArray() 137 a1[i] = a0[i]; in charArray() 142 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() argument 146 for (int i = 0; i < a0.length && i < a1.length; i++) { in intArray() 147 a1[i] = a0[i]; in intArray() 152 public long[] longArray(long[] a0, long[] a1, long[] a2) { in longArray() argument [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | prelu.mod.py | 19 a1 = Parameter("alpha", "TENSOR_FLOAT32", "{1, 1, 3}", [0, 1, 2]) variable 21 Model().Operation("PRELU", i1, a1).To(o1) 26 a1: ("TENSOR_QUANT8_ASYMM", 0.25, 50), 33 a1: ("TENSOR_QUANT8_ASYMM", 0.25, 50), 40 a1: ("TENSOR_QUANT8_ASYMM", 0.5, 50), 47 a1: ("TENSOR_QUANT8_ASYMM", 0.5, 50),
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | prelu_quant8_signed.mod.py | 18 a1 = Parameter("alpha", "TENSOR_FLOAT32", "{1, 1, 3}", [0, 1, 2]) variable 20 Model().Operation("PRELU", i1, a1).To(o1) 25 a1: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.25, -78), 32 a1: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.25, -78), 39 a1: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.5, -78), 46 a1: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.5, -78),
|
/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/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/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() 101 for (int i = 0; i < a1.size(); ++i) { 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() [all …]
|
/frameworks/base/core/java/android/net/ |
D | IpPrefix.java | 274 final byte[] a1 = prefix1.address; in lengthComparator() 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() 282 if (a1.length < len) return -1; in lengthComparator()
|
/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/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/ |
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-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/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 | 73 int a1 = 0, a2 = 0, a3 = 0, a4 = 0; in updateOffsets() local 77 a1 = mSelectedArray[0]; in updateOffsets() 90 mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4); in updateOffsets() local
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 336 String[] a1 = p1.get(i); in equals() local 338 if (a1.length != a2.length) return false; in equals() 339 for (int j = 0; j < a1.length; j++) { in equals() 340 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 241 long[] val = new long[a1.length]; in subtract() 243 val[i] = a1[i] - a2[i]; in subtract()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceClientPermissionsTest.java | 232 ArrayList<SliceAuthority> a1 = new ArrayList<>(o1.getAuthorities()); in assertEquivalent() local 234 a1.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent() 236 assertEquals(a1, a2); in assertEquivalent()
|