/frameworks/base/services/tests/servicestests/src/com/android/server/ |
ConnectivityServiceTest.java | 26 import static org.mockito.Matchers.isA; 127 .when(mNetFactory).createTracker(anyInt(), isA(NetworkConfig.class)); 130 .when(mNetFactory).createTracker(eq(TYPE_MOBILE), isA(NetworkConfig.class)); 132 .when(mNetFactory).createTracker(eq(TYPE_WIFI), isA(NetworkConfig.class)); 136 .startMonitoring(isA(Context.class), trackerHandler.capture());
|
NetworkPolicyManagerServiceTest.java | 47 import static org.easymock.EasyMock.isA; [all...] |
NetworkStatsServiceTest.java | 49 import static org.easymock.EasyMock.isA; [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
ProgramStoreTest.java | 34 boolean isA = (a == 1); 38 pb.setColorMaskEnabled(isR, isG, isB, isA);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_program_store.java | 138 boolean isA = (a == 1); 142 pb.setColorMaskEnabled(isR, isG, isB, isA); 144 checkObject(ps, depthMask, df, bsf, bdf, isR, isG, isB, isA, isDither);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
Mocks.java | 25 import static org.easymock.EasyMock.isA; 67 javaProject.setRawClasspath(capture(capturedEntries), isA(IProgressMonitor.class)); 71 isA(IProgressMonitor.class));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 27 import static org.easymock.EasyMock.isA; 98 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 147 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existingZero); 149 expect(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))) 152 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existing); 157 expect(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))) 159 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existing);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
MoreExecutorsTest.java | 214 ASSERT.that(getOnlyElement(results)).isA(ListenableFutureTask.class); 217 ASSERT.that(getOnlyElement(results)).isA(ListenableFutureTask.class);
|
/external/littlemock/tests/com/google/testing/littlemock/ |
LittleMockTest.java | 42 import static com.google.testing.littlemock.LittleMock.isA; 943 verify(mFoo).takesObject(isA(Object.class)); 948 verify(mFoo).takesObject(isA(Object.class)); 949 verify(mFoo).takesObject(isA(String.class)); 955 verify(mFoo).takesObject(isA(String.class)); 962 verify(mFoo).takesObject(isA(Object.class)); 963 verify(mFoo).takesObject(isA(String.class)); 968 verify(mFoo).takesBar(isA(BarSubtype.class)); 974 verify(mFoo).takesBar(isA(BarSubtype.class)); [all...] |
/external/mockito/src/org/mockito/ |
Matchers.java | 57 * in your code. If you want to perform type checks use the {@link #isA(Class)} method.
474 public static <T> T isA(Class<T> clazz) {
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_inter_prediction.c | 1003 u32 isA, isB, isC; 1004 isA = (a[0].refIndex == refIndex) ? HANTRO_TRUE : HANTRO_FALSE; 1008 if (((u32)isA+(u32)isB+(u32)isC) != 1) 1013 else if (isA) [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 31 import static org.mockito.Matchers.isA; 623 verify(mNotifManager, never()).notify(anyString(), anyInt(), isA(Notification.class)); 635 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); 647 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); [all...] |
/external/easymock/src/org/easymock/ |
EasyMock.java | 677 public static <T> T isA(Class<T> clazz) {
[all...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMock.java | 249 * {@link #isA(Class)} and also the more complex {@link #and(char, char)}, [all...] |
/external/guava/guava-tests/lib/ |
libtruth.jar | |
/external/littlemock/src/com/google/testing/littlemock/ |
LittleMock.java | 275 * {@link #isA(Class)} to do that. 280 public static String anyString() { return isA(String.class); } 317 public static <T> T isA(final Class<T> clazz) { [all...] |
/external/android-mock/tests/com/google/android/testing/mocking/ |
AndroidMockTest.java | 671 AndroidMock.expect(mockMap.get(AndroidMock.isA(String.class))).andReturn(null); [all...] |
/prebuilts/tools/common/easymock-tools/ |
easymock-3.1.jar | |
/prebuilts/tools/common/m2/internal/org/easymock/easymock/3.1/ |
easymock-3.1.jar | |
/external/valgrind/main/VEX/priv/ |
guest_amd64_toIR.c | [all...] |
/external/robolectric/lib/test/ |
mockito-core-1.8.5.jar | |
/external/dexmaker/lib/ |
mockito-core-1.9.1-SNAPSHOT.jar | |