Home
last modified time | relevance | path

Searched refs:classHandler (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DRobolectricInternals.java10 private static ClassHandler classHandler; // initialized via magic by SdkEnvironment field in RobolectricInternals
20 classHandler.classInitializing(clazz); in classInitializing()
25 return classHandler.initializing(instance); in initializing()
30 return classHandler.methodInvoked(signature, isStatic, theClass); in methodInvoked()
34 return classHandler.getShadowCreator(caller); in getShadowCreator()
39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic); in findShadowMethodHandle()
44 return classHandler.stripStackTrace(exception); in cleanStackTrace()
49 return classHandler.intercept(signature, instance, params, theClass); in intercept()
DSandbox.java12 public ClassHandler classHandler; // todo not public field in Sandbox
46 public void configure(ClassHandler classHandler, Interceptors interceptors) { in configure() argument
47 this.classHandler = classHandler; in configure()
56 setStaticField(robolectricInternalsClass, "classHandler", classHandler); in configure()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCoverageTest.java38 Handler classHandler = SerializableTestUtility.getHandler(className); in testSerialization() local
39 if (classHandler == null) { in testSerialization()
45 Object[] testObjects = classHandler.getTestObjects(); in testSerialization()
49 if (!classHandler.hasSameBehavior(serializedObjects[i], testObjects[i])) { in testSerialization()
DSerializableWriter.java89 Handler classHandler = SerializableTestUtility.getHandler(className); in serialize() local
90 if (classHandler == null) { in serialize()
94 Object[] testObjects = classHandler.getTestObjects(); in serialize()
DCompatibilityTest.java89 Handler classHandler = SerializableTestUtility.getHandler(holder.className); in testCompatibility() local
91 Object[] testObjects = classHandler.getTestObjects(); in testCompatibility()
93 if (!classHandler.hasSameBehavior(oldObjects[i], testObjects[i])) { in testCompatibility()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCoverageTest.java41 Handler classHandler = SerializableTestUtility.getHandler(className); in testSerialization() local
42 if (classHandler == null) { in testSerialization()
48 Object[] testObjects = classHandler.getTestObjects(); in testSerialization()
52 if (!classHandler.hasSameBehavior(serializedObjects[i], testObjects[i])) { in testSerialization()
DSerializableWriter.java92 Handler classHandler = SerializableTestUtility.getHandler(className); in serialize() local
93 if (classHandler == null) { in serialize()
97 Object[] testObjects = classHandler.getTestObjects(); in serialize()
DCompatibilityTest.java92 Handler classHandler = SerializableTestUtility.getHandler(holder.className); in testCompatibility() local
94 Object[] testObjects = classHandler.getTestObjects(); in testCompatibility()
96 if (!classHandler.hasSameBehavior(oldObjects[i], testObjects[i])) { in testCompatibility()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java88 private MyClassHandler classHandler = new MyClassHandler(transcript); field in SandboxClassLoaderTest
227 classHandler.valueToReturn = 456; in callingNormalMethodReturningIntegerShouldInvokeClassHandler()
240 classHandler.valueToReturn = 456; in callingMethodReturningDoubleShouldInvokeClassHandler()
285 classHandler.valueToReturn = true; in shouldHandleMethodsReturningBoolean()
299 classHandler.valueToReturn = new String[]{"miao, mieuw"}; in shouldHandleMethodsReturningArray()
393 classHandler.valueToReturn = true; in shouldAlsoInstrumentEqualsAndHashCodeAndToStringWhenDeclared()
399 classHandler.valueToReturn = 42; in shouldAlsoInstrumentEqualsAndHashCodeAndToStringWhenDeclared()
465 classHandler.valueToReturnFromIntercept = (byte) 10; in byte_shouldBeHandledAsReturnValueFromInterceptHandler()
472 classHandler.valueToReturnFromIntercept = new byte[]{10, 12, 14}; in byteArray_shouldBeHandledAsReturnValueFromInterceptHandler()
479 classHandler.valueToReturnFromIntercept = 20; in int_shouldBeHandledAsReturnValueFromInterceptHandler()
[all …]