Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DLinkAddressTest.java206 private void assertIsSameAddressAs(LinkAddress l1, LinkAddress l2) { in assertIsSameAddressAs() argument
207 assertTrue(l1 + " unexpectedly does not have same address as " + l2, in assertIsSameAddressAs()
208 l1.isSameAddressAs(l2)); in assertIsSameAddressAs()
209 assertTrue(l2 + " unexpectedly does not have same address as " + l1, in assertIsSameAddressAs()
210 l2.isSameAddressAs(l1)); in assertIsSameAddressAs()
213 private void assertIsNotSameAddressAs(LinkAddress l1, LinkAddress l2) { in assertIsNotSameAddressAs() argument
214 assertFalse(l1 + " unexpectedly has same address as " + l2, in assertIsNotSameAddressAs()
215 l1.isSameAddressAs(l2)); in assertIsNotSameAddressAs()
216 assertFalse(l2 + " unexpectedly has same address as " + l1, in assertIsNotSameAddressAs()
217 l1.isSameAddressAs(l2)); in assertIsNotSameAddressAs()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java123 final MyListener l1 = new MyListener(); in testListenerCallbacks() local
125 a1.addListener(l1); in testListenerCallbacks()
129 assertFalse(l1.startCalled); in testListenerCallbacks()
130 assertFalse(l1.cancelCalled); in testListenerCallbacks()
131 assertFalse(l1.endCalled); in testListenerCallbacks()
151 assertFalse(l1.cancelCalled); in testListenerCallbacks()
153 assertTrue(l1.cancelCalled); in testListenerCallbacks()
154 assertTrue(l1.endCalled); in testListenerCallbacks()
163 assertTrue(l1.startCalled); in testListenerCallbacks()
178 assertTrue(l1.startCalled); in testListenerCallbacks()
[all …]
DAnimatorSetActivityTest.java480 final MyListener l1 = new MyListener() { in testClone() local
500 s1.addListener(l1); in testClone()
505 assertFalse(l1.startIsCalled); in testClone()
506 assertFalse(l1.endIsCalled); in testClone()
522 assertTrue(l1.startIsCalled); in testClone()
523 assertTrue(l1.endIsCalled); in testClone()
/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/core/tests/coretests/src/android/os/
DAidlTest.java336 long[] l1 = new long[]{51, 52}; in testArrays() local
338 long[] lr = mRemote.longArray(l0, l1, l2); in testArrays()
343 assertEquals(50, l1[0]); in testArrays()
344 assertEquals(0, l1[1]); in testArrays()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubCallMethodAdapter.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.java675 float l1 = (float) Math.hypot(src[0], src[1]); in nMapRadius() local
677 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++); \