Home
last modified time | relevance | path

Searched refs:a1 (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java48 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 …]
DAnimatorSetActivityTest.java48 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/
Dmatrix.h111 GLfixed a1, GLfixed b1, in mla2a() argument
125 "%r"(a1), "r"(b1), in mla2a()
134 int64_t(a1)*b1)>>16) + c; in mla2a()
140 GLfixed a1, GLfixed b1, in mla3a() argument
156 "%r"(a1), "r"(b1), in mla3a()
178 …: [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) in mla3a()
186 int64_t(a1)*b1 + in mla3a()
196 GLfixed a1, in mla3a16() argument
211 "r"(a1), in mla3a16()
225 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16()
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dprelu.mod.py19 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),
61 }).AddInput(a1).AddVariations("relaxed", quant8_gt, quant8_eq1, quant8_eq2, quant8_lt, "float16")
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_copy_test.java33 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/
DUT_copy_test.java35 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/
DUT_copy_test.java34 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/
DIAidlTest.aidl34 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
DAidlTest.java122 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/compile/mclinker/unittests/
DGraphTest.cpp184 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java99 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/tests/utiltests/src/com/android/internal/util/
DMessageUtilsTest.java65 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/rs/rsov/compiler/tests/rs_allocation/
Daccess_same.rs20 rs_allocation a1;
23 uchar4 res = rsGetElementAt_uchar4(a1, in.r, in.g);
24 rsSetElementAt_uchar4(a1, res, in.b, in.a);
Daccess_same.ll14 @a1 = common global %struct.rs_allocation zeroinitializer, align 4
24 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @a1 to i32*), align 4
31 %.unpack14 = load i32, i32* bitcast (%struct.rs_allocation* @a1 to i32*), align 4
51 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @a1) #2
76 !7 = !{!"a1", !"20"}
Dmulti_read.rs20 rs_allocation a1;
24 uchar4 res = rsGetElementAt_uchar4(a1, in.r, in.g);
Dmulti_read.ll14 @a1 = common global %struct.rs_allocation zeroinitializer, align 4
25 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @a1 to i32*), align 4
51 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @a1) #2
77 !7 = !{!"a1", !"20"}
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DWeakIdentityHashMapTest.java53 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/core/java/android/net/
DIpPrefix.java274 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/compile/slang/lit-tests/P_ref_count/
Dfunc_params.rs47 static void bar(int a0, rs_element a1, float a2, struct Wrapper a3) {
51 a1 = x;
/frameworks/rs/tests/cpp_api/cppbasic/
Dcompute.cpp28 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/
Dcompute.cpp28 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/
DAudioBiquadFilter.cpp159 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/
Dvalid-cert.pem78 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/
Dcompute.cpp32 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/
DAllocationAdapter.java73 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

123