Home
last modified time | relevance | path

Searched refs:l1 (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DLinkAddressTest.java207 private void assertIsSameAddressAs(LinkAddress l1, LinkAddress l2) { in assertIsSameAddressAs() argument
208 assertTrue(l1 + " unexpectedly does not have same address as " + l2, in assertIsSameAddressAs()
209 l1.isSameAddressAs(l2)); in assertIsSameAddressAs()
210 assertTrue(l2 + " unexpectedly does not have same address as " + l1, in assertIsSameAddressAs()
211 l2.isSameAddressAs(l1)); in assertIsSameAddressAs()
214 private void assertIsNotSameAddressAs(LinkAddress l1, LinkAddress l2) { in assertIsNotSameAddressAs() argument
215 assertFalse(l1 + " unexpectedly has same address as " + l2, in assertIsNotSameAddressAs()
216 l1.isSameAddressAs(l2)); in assertIsNotSameAddressAs()
217 assertFalse(l2 + " unexpectedly has same address as " + l1, in assertIsNotSameAddressAs()
218 l1.isSameAddressAs(l2)); in assertIsNotSameAddressAs()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java111 final MyListener l1 = new MyListener(); in testListenerCallbacks() local
113 a1.addListener(l1); in testListenerCallbacks()
117 assertFalse(l1.startCalled); in testListenerCallbacks()
118 assertFalse(l1.cancelCalled); in testListenerCallbacks()
119 assertFalse(l1.endCalled); in testListenerCallbacks()
139 assertFalse(l1.cancelCalled); in testListenerCallbacks()
141 assertTrue(l1.cancelCalled); in testListenerCallbacks()
142 assertTrue(l1.endCalled); in testListenerCallbacks()
151 assertTrue(l1.startCalled); in testListenerCallbacks()
166 assertTrue(l1.startCalled); in testListenerCallbacks()
[all …]
DAnimatorSetActivityTest.java497 final MyListener l1 = new MyListener() {
517 s1.addListener(l1);
524 assertFalse(l1.startIsCalled);
525 assertFalse(l1.endIsCalled);
549 assertTrue(l1.startIsCalled);
550 assertTrue(l1.endIsCalled);
/frameworks/base/media/tests/audiotests/
Dshared_mem_test.cpp153 long l0, l1; in ComputeSine() local
158 l1 = (amplitude*sin1024[((phi>>22) + 256) & 0x3ff]) >> 15; // 2^15*cosine in ComputeSine()
159 l0 = (l0 * l1) >> 10; in ComputeSine()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DDomainMatcher.java200 Iterator<String> l1 = labels1.iterator(); in arg2SubdomainOfArg1() local
203 while(l1.hasNext()) { in arg2SubdomainOfArg1()
204 if (!TextUtils.equals(l1.next(), l2.next())) { in arg2SubdomainOfArg1()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DDomainMatcher.java103 Iterator<String> l1 = arg1.iterator(); in arg2SubdomainOfArg1() local
106 while (l1.hasNext()) { in arg2SubdomainOfArg1()
107 if (!l1.next().equals(l2.next())) { in arg2SubdomainOfArg1()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMergedBinding.java118 private static <T> T[] concat(List<T> l1, List<T> l2, Class<T> klass) { in concat() argument
120 result.addAll(l1); in concat()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java337 long[] l1 = new long[]{51, 52}; in testArrays() local
339 long[] lr = mRemote.longArray(l0, l1, l2); in testArrays()
344 assertEquals(50, l1[0]); in testArrays()
345 assertEquals(0, l1[1]); in testArrays()
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/
DSpringTests.java203 final MyEndListener l1 = new MyEndListener(); in testDampingRatioOverAndCriticallyDamped() local
220 anim1.setStartValue(800).addUpdateListener(updateListener).addEndListener(l1) in testDampingRatioOverAndCriticallyDamped()
227 assertTrue(l1.endTime > 0); in testDampingRatioOverAndCriticallyDamped()
228 assertTrue(l2.endTime > l1.endTime); in testDampingRatioOverAndCriticallyDamped()
267 final MyEndListener l1 = new MyEndListener(); in testDampingRatioUnderDamped() local
280 anim1.setStartValue(360).addUpdateListener(updateListener).addEndListener(l1) in testDampingRatioUnderDamped()
299 assertTrue(l1.endTime > l2.endTime); in testDampingRatioUnderDamped()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java101 Label l1 = new Label(); in generateInvoke() local
102 mParentVisitor.visitJumpInsn(Opcodes.IFEQ, l1); in generateInvoke()
105 mParentVisitor.visitLabel(l1); in generateInvoke()
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rs76 long l1;
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java667 float l1 = (float) Math.hypot(src[0], src[1]); in nMapRadius() local
669 return (float) Math.sqrt(l1 * l2); in nMapRadius()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.orig89 rsDebug("Testing " #op " for l1", i++); \