Home
last modified time | relevance | path

Searched refs:func1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/textservice/
DLazyIntToIntMapTest.java62 final IntUnaryOperator func1 = mock(IntUnaryOperator.class); in testDelete() local
63 when(func1.applyAsInt(eq(1))).thenReturn(11); in testDelete()
64 when(func1.applyAsInt(eq(2))).thenReturn(22); in testDelete()
70 final AtomicReference<IntUnaryOperator> funcRef = new AtomicReference<>(func1); in testDelete()
73 verify(func1, never()).applyAsInt(anyInt()); in testDelete()
77 verify(func1, times(1)).applyAsInt(eq(2)); in testDelete()
86 verify(func1, times(1)).applyAsInt(eq(2)); in testDelete()
/frameworks/compile/slang/tests/F_warnings_as_error/
Dstderr.txt.expect2 deprecated.rs:9:11: note: did you mean 'func1'?
3 deprecated.rs:8:13: note: 'func1' declared here
Ddeprecated.rs8 static void func1() {