Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DLinkAddressTest.java218 private void assertIsSameAddressAs(LinkAddress l1, LinkAddress l2) { in assertIsSameAddressAs() argument
219 assertTrue(l1 + " unexpectedly does not have same address as " + l2, in assertIsSameAddressAs()
220 l1.isSameAddressAs(l2)); in assertIsSameAddressAs()
221 assertTrue(l2 + " unexpectedly does not have same address as " + l1, in assertIsSameAddressAs()
222 l2.isSameAddressAs(l1)); in assertIsSameAddressAs()
225 private void assertIsNotSameAddressAs(LinkAddress l1, LinkAddress l2) { in assertIsNotSameAddressAs() argument
226 assertFalse(l1 + " unexpectedly has same address as " + l2, in assertIsNotSameAddressAs()
227 l1.isSameAddressAs(l2)); in assertIsNotSameAddressAs()
228 assertFalse(l2 + " unexpectedly has same address as " + l1, in assertIsNotSameAddressAs()
229 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/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java515 public void assertLinkAddressMatches(LinkAddress l1, LinkAddress l2) { in assertLinkAddressMatches() argument
517 String msg = String.format("LinkAddresses do not match. expected: %s actual: %s", l1, l2); in assertLinkAddressMatches()
518 assertTrue(msg, l1.isSameAddressAs(l2)); in assertLinkAddressMatches()
519 assertEquals("LinkAddress flags do not match", l1.getFlags(), l2.getFlags()); in assertLinkAddressMatches()
520 assertEquals("LinkAddress scope does not match", l1.getScope(), l2.getScope()); in assertLinkAddressMatches()
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rscript76 long l1;
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript109 RUN_BENCH(res_l_1 = src1_l_1 op src2_l_1, "l1 " #op " 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_11/src/com/android/rs/test/
Dmath.rscript241 rsDebug("Testing " #op " for l1", i++); \
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.orig89 rsDebug("Testing " #op " for l1", i++); \
Dmath.rscript89 rsDebug("Testing " #op " for l1", i++); \
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath.rscript89 rsDebug("Testing " #op " for l1", i++); \
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript89 rsDebug("Testing " #op " for l1", i++); \
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath.rscript105 rsDebug("Testing " #op " for l1", i++); \
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmath.rscript107 rsDebug("Testing " #op " for l1", i++); \