Home
last modified time | relevance | path

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

12

/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java287 ValueAnimator a1 = ValueAnimator.ofFloat(0f, 100f); in testPauseAndResume() local
288 a1.setDuration(50); in testPauseAndResume()
291 a1.addListener(new AnimatorListenerAdapter() { in testPauseAndResume()
298 set.playTogether(a1, a2); in testPauseAndResume()
347 ValueAnimator a1 = ValueAnimator.ofFloat(0f, 100f); in testPauseBeforeStart() local
348 a1.setDuration(50); in testPauseBeforeStart()
352 set.playSequentially(a1, a2); in testPauseBeforeStart()
374 ValueAnimator a1 = ValueAnimator.ofFloat(0f, 50f); in testSeekAfterPause() local
375 a1.setDuration(50); in testSeekAfterPause()
378 set.playSequentially(a1, a2); in testSeekAfterPause()
[all …]
DValueAnimatorTest.java235 ValueAnimator a1 = ValueAnimator.ofFloat(0, 1f); in testPauseListener() local
236 a1.addPauseListener(l1); in testPauseListener()
237 a1.addPauseListener(l2); in testPauseListener()
239 a1.start(); in testPauseListener()
240 a1.pause(); in testPauseListener()
241 verify(l1, times(1)).onAnimationPause(a1); in testPauseListener()
242 verify(l2, times(1)).onAnimationPause(a1); in testPauseListener()
243 a1.removePauseListener(l2); in testPauseListener()
244 a1.resume(); in testPauseListener()
248 verify(l1, times(1)).onAnimationResume(a1); in testPauseListener()
[all …]
/cts/tests/app/src/android/app/cts/
DAppTaskTests.java99 final Activity a1 = mActivityRule.launchActivity(null); in testSingleAppTask() local
102 assertTrue(appTasks.get(0).getTaskInfo().topActivity.equals(a1.getComponentName())); in testSingleAppTask()
127 final Activity a1 = mActivityRule.launchActivity(null); in testFinishAndRemoveTask() local
129 getAppTask(a1).finishAndRemoveTask(); in testFinishAndRemoveTask()
138 final Activity a1 = mActivityRule.launchActivity(null); in testMoveToFront() local
152 if (activity == a1 && stage == Stage.RESUMED) { in testMoveToFront()
158 getAppTask(a1).moveToFront(); in testMoveToFront()
168 final Activity a1 = mActivityRule.launchActivity(null); in testStartActivityInTask_NoNewTask() local
169 final ActivityManager.AppTask task = getAppTask(a1); in testStartActivityInTask_NoNewTask()
174 () -> getAppTask(a1) != null && getAppTask(a1).getTaskInfo().numActivities == 2, in testStartActivityInTask_NoNewTask()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DVLoadTest.java110 private void verify(byte[] a1, byte[] a2, String s) { in verify() argument
113 if (a1[i] != a2[i]) { in verify()
114 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
121 private void verify(short[] a1, short[] a2, String s) { in verify() argument
124 if (a1[i] != a2[i]) { in verify()
125 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
132 private void verify(int[] a1, int[] a2, String s) { in verify() argument
135 if (a1[i] != a2[i]) { in verify()
136 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
143 private void verify(long[] a1, long[] a2, String s) { in verify() argument
[all …]
DImageProcessingTest.java65 private Allocation a1, a2; field in ImageProcessingTest
75 a1 = Allocation.createTyped(mRS, t); in setUp()
81 a1.destroy(); in tearDown()
91 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testBlur()
96 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testBlur()
669 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testColorMatrix()
680 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix()
691 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix()
706 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testConvolve3x3()
709 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve3x3()
[all …]
DLaunchClip.java45 int a0, int a1, int a2, int a3) { in setup() argument
53 mDimA1 = a1; in setup()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/bluetooth/
DBluetoothStatsTests.java116 AtomsProto.BleScanStateChanged a1 = data.get(1).getAtom().getBleScanStateChanged(); in testBleUnoptimizedScan() local
117 assertThat(a1.getState().getNumber()).isEqualTo( in testBleUnoptimizedScan()
119 assertThat(a1.getIsFiltered()).isFalse(); in testBleUnoptimizedScan()
120 assertThat(a1.getIsFirstMatch()).isFalse(); in testBleUnoptimizedScan()
121 assertThat(a1.getIsOpportunistic()).isFalse(); in testBleUnoptimizedScan()
151 AtomsProto.BleScanStateChanged a1 = data.get(1).getAtom().getBleScanStateChanged(); in testBleOpportunisticScan() local
152 assertThat(a1.getState().getNumber()).isEqualTo( in testBleOpportunisticScan()
154 assertThat(a1.getIsFiltered()).isFalse(); in testBleOpportunisticScan()
155 assertThat(a1.getIsFirstMatch()).isFalse(); in testBleOpportunisticScan()
156 assertThat(a1.getIsOpportunistic()).isTrue(); in testBleOpportunisticScan()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/wifi/
DWifiStatsTests.java190 AtomsProto.WifiConnectionResultReported a1 = in testWifiReconnect() local
194 assertThat(a1).isNotNull(); in testWifiReconnect()
201 assertThat(a1.getConnectionResult()).isTrue(); in testWifiReconnect()
202 assertThat(a1.getRssi()).isIn(Range.closed(-127, 0)); in testWifiReconnect()
203 assertThat(a1.getConnectionAttemptDurationMillis()).isIn( in testWifiReconnect()
205 assertThat(a1.getTrigger()).isEqualTo( in testWifiReconnect()
207 assertThat(a1.getNetworkUsed()).isTrue(); in testWifiReconnect()
222 AtomsProto.WifiScanReported a1 = data.get(1).getAtom().getWifiScanReported(); in testWifiScanLogsScanAtoms() local
224 for (AtomsProto.WifiScanReported a : new AtomsProto.WifiScanReported[]{a0, a1}) { in testWifiScanLogsScanAtoms()
259 AtomsProto.WifiScanStateChanged a1 = data.get(1).getAtom().getWifiScanStateChanged(); in testWifiScanLogsStateChangedAtoms() local
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/
DT_a1_1.dfh1 // Processing 'out/classes_dasm/dot/junit/verify/a1/d/T_a1_1.dex'...
2 // Opened 'out/classes_dasm/dot/junit/verify/a1/d/T_a1_1.dex', DEX version '035'
55 // parsed: offset 116, len 4: [1] string_data_off: 268 (0x00010c) "Ldot/junit/verify/a1/d/T_a1_1;"
67 // parsed: offset 136, len 4: [0] descriptor_idx: 1 (0x000001) "Ldot/junit/verify/a1/d/T_a1_1;"
93 // class_idx: 0 "Ldot/junit/verify/a1/d/T_a1_1;"
103 // CODE_ITEM for "dot.junit.verify.a1.d.T_a1_1.<init>"
123 // CODE_ITEM for "dot.junit.verify.a1.d.T_a1_1.run"
146 // parsed: offset 268, len 32: TYPE_STRING_DATA_ITEM [1] "Ldot/junit/verify/a1/d/T_a1_1;"
156 // CLASS_DATA_ITEM for class [0] "Ldot/junit/verify/a1/d/T_a1_1;"
DT_a1_2.java17 package dot.junit.verify.a1.d;
DT_a1_1.smali16 .class public Ldot/junit/verify/a1/d/T_a1_1;
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java101 TestApp a1 = new TestApp(TestApp.A1.toString(), TestApp.A1.getPackageName(), in testNativeFilePathTestApp() local
109 assertSameResource(TestApp.A1, a1); in testNativeFilePathTestApp()
112 assertThat(a1.toString()).isEqualTo(TestApp.A1.toString()); in testNativeFilePathTestApp()
113 assertThat(a1.getPackageName()).isEqualTo(TestApp.A1.getPackageName()); in testNativeFilePathTestApp()
114 assertThat(a1.getVersionCode()).isEqualTo(TestApp.A1.getVersionCode()); in testNativeFilePathTestApp()
119 Install.multi(a1, b2).addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in testNativeFilePathTestApp()
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/
DTest_a1.java17 package dot.junit.verify.a1;
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java248 final int a1 = Color.alpha(actual); in distance() local
250 final int r = multiplyAlpha(Color.red(actual), a1) - in distance()
252 final int g = multiplyAlpha(Color.green(actual), a1) - in distance()
254 final int b = multiplyAlpha(Color.blue(actual), a1) - in distance()
/cts/tools/vm-tests-tf/src/dot/junit/verify/
DAllTests.java35 suite.addTestSuite(dot.junit.verify.a1.Test_a1.class); in suite()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java474 int a1, a2; // AXIS_X/Y/Z in testRemapCoordinateSystem() local
488 a1 = j/3 + 1; in testRemapCoordinateSystem()
492 if (a1 == a2) continue; in testRemapCoordinateSystem()
496 b1 = a1 | (((k & 2) != 0) ? 0x80 : 0); in testRemapCoordinateSystem()
499 b3 = (6 - a1 -a2) | in testRemapCoordinateSystem()
500 ( (((a2 + 3 - a1) % 3 == 2) ? 0x80 : 0) ^ (b1 & 0x80) ^ (b2 & 0x80)); in testRemapCoordinateSystem()
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java101 private void compareArrays(String message, int[] a1, int[] a2) { in compareArrays() argument
102 if (a1 == a2) { in compareArrays()
106 assertNotNull(message + ": array 1 is null", a1); in compareArrays()
109 assertEquals(message + ": arraylengths differ", a1.length, a2.length); in compareArrays()
110 int length = a1.length; in compareArrays()
113 if (a1[i] != a2[i]) { in compareArrays()
114 Log.i("@@@@", Arrays.toString(a1)); in compareArrays()
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java256 int a1 = a.getValue(v1); in verifyCellAlignment() local
259 a0, a1); in verifyCellAlignment()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/
DAppCompatStateStatsTests.java186 try (AutoCloseable a1 = DeviceUtils.withActivity(getDevice(), in testAppCompatFlow() argument
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem50 7f:dd:5f:7b:eb:7c:a1:39:a2:8b:43:2e:f4:f2:71:
/cts/tests/vr/jni/
DVrExtensionsJni.cpp358 float a1 = ((color1 >> 24) & 0xff) / 255.0f; in LerpColor() local
362 uint32_t a8 = (a0 * (1.0f - t) + a1 * t) * 255.0f; in LerpColor()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_goto/d/
DT_opc_goto_2.dfh9 // parsed: offset 12, len 20: signature : 19a1...8fae
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java494 GpsScanStateChanged a1 = data.get(1).getAtom().getGpsScanStateChanged(); in testGpsScan() local
498 assertThat(a1.getState().getNumber()).isEqualTo(stateOff); in testGpsScan()
/cts/tests/tests/media/assets/hls_variant/165340/
D19.ts623 �F^�� :ľ�6:[�a���@a�'��)4��?�L� �!-� � ��a1�_�B���8Eg�G� �U��#UL�.��@�p0�����P ]0…
/cts/tests/tests/media/assets/hls_variant/765178/
D16.ts613 ,7��@Ō�=WJ��V����y����� ��J�O>\=n�\4�w��*wc}�x�i�=�m�8�@'� ”5*�a1i��+��b�G����D���c…
1228 ��B��L"���ܰ�;<���a1~�s�M. 6.��;��r(��s�1

12