Home
last modified time | relevance | path

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

/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DInlineDexmakerMockMaker.java167 private final Map<Object, InvocationHandlerAdapter> mocks;
248 InvocationHandlerAdapter handlerAdapter = new InvocationHandlerAdapter(handler); in createMock()
319 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock); in resetMock()
350 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock);
361 private InvocationHandlerAdapter getInvocationHandlerAdapter(Object instance) {
374 implements Map<Object, InvocationHandlerAdapter> {
381 private HashMap<WeakKey, InvocationHandlerAdapter> adapters = new HashMap<>();
466 public InvocationHandlerAdapter get(Object mock) {
476 InvocationHandlerAdapter adapter = adapters.get(key);
518 public InvocationHandlerAdapter put(Object mock, InvocationHandlerAdapter adapter) {
[all …]
DMockMethodAdvice.java23 private final Map<Object, InvocationHandlerAdapter> interceptors;
31 MockMethodAdvice(Map<Object, InvocationHandlerAdapter> interceptors) { in MockMethodAdvice()
196 InvocationHandlerAdapter interceptor = interceptors.get(instance); in handle()
257 private static class SuperMethodCall implements InvocationHandlerAdapter.SuperMethod {
DInvocationHandlerAdapter.java35 final class InvocationHandlerAdapter implements InvocationHandler { class
38 InvocationHandlerAdapter(MockHandler handler) { in InvocationHandlerAdapter() method in InvocationHandlerAdapter
DClassTransformer.java97 Map<Object, InvocationHandlerAdapter> mocks) { in ClassTransformer()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java87 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler); in createMock()
128 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock); in resetMock()
157 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock);
179 private InvocationHandlerAdapter getInvocationHandlerAdapter(Object mock) {
185 return invocationHandler instanceof InvocationHandlerAdapter
186 ? (InvocationHandlerAdapter) invocationHandler
192 return invocationHandler instanceof InvocationHandlerAdapter
193 ? (InvocationHandlerAdapter) invocationHandler
DInvocationHandlerAdapter.java34 final class InvocationHandlerAdapter implements InvocationHandler { class
37 public InvocationHandlerAdapter(MockHandler handler) { in InvocationHandlerAdapter() method in InvocationHandlerAdapter
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DInlineStaticMockMaker.java115 private final HashMap<Object, InvocationHandlerAdapter> markerToHandler = new HashMap<>();
146 InvocationHandlerAdapter handlerAdapter = new InvocationHandlerAdapter(handler); in createMock()
172 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock); in resetMock()
217 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock);
227 private InvocationHandlerAdapter getInvocationHandlerAdapter(Object marker) {
DStaticMockMethodAdvice.java33 private final Map<Object, InvocationHandlerAdapter> markersToHandler;
38 StaticMockMethodAdvice(Map<Object, InvocationHandlerAdapter> markerToHandler, Map<Class, Object> in StaticMockMethodAdvice()
231 InvocationHandlerAdapter interceptor = markersToHandler.get(marker); in handle()
304 private static class SuperMethodCall implements InvocationHandlerAdapter.SuperMethod {
DStaticClassTransformer.java90 Map<Object, InvocationHandlerAdapter> markerToHandler, Map<Class, Object> in StaticClassTransformer()
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...