/external/javassist/src/main/javassist/util/proxy/ |
package.html | 3 Dynamic proxy (similar to <code>Enhancer</code> of <a href="http://cglib.sourceforge.net/">cglib</a>).
|
/external/mockito/src/org/mockito/internal/creation/jmock/ |
ClassImposterizer.java | 89 Enhancer enhancer = new Enhancer() {
local 96 enhancer.setClassLoader(SearchingClassLoader.combineLoadersOf(mockedType));
97 enhancer.setUseFactory(true);
99 enhancer.setSuperclass(Object.class);
100 enhancer.setInterfaces(prepend(mockedType, interfaces));
102 enhancer.setSuperclass(mockedType);
103 enhancer.setInterfaces(interfaces);
105 enhancer.setCallbackTypes(new Class[]{MethodInterceptor.class, NoOp.class}); [all...] |
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
CoverageTask.java | 66 final TaskEnhancer enhancer = findEnhancerForTask(subTaskTypeName); local 67 if (enhancer == null) { 75 enhancer.enhanceTask(task); 82 for (final TaskEnhancer enhancer : taskEnhancers) { 83 if (enhancer.supportsTask(taskName)) { 84 return enhancer; 106 * Task enhancer for TestNG. TestNG task always run in a forked VM and has 123 * Basic task enhancer that can handle all 'java like' tasks. That is, tasks 172 * The task enhancer is responsible for potentially reconfiguring a task to 179 * @return <code>true</code> if this enhancer is capable of enhancin [all...] |
/external/guice/core/src/com/google/inject/internal/ |
ProxyFactory.java | 31 import net.sf.cglib.proxy.Enhancer; 91 Enhancer.getMethods(declaringClass, null, methods); 172 // Create the proxied class. We're careful to ensure that all enhancer state is not-specific 175 Enhancer enhancer = BytecodeGen.newEnhancer(declaringClass, visibility); local 176 enhancer.setCallbackFilter(new IndicesCallbackFilter(methods)); 177 enhancer.setCallbackTypes(callbackTypes); 178 return new ProxyConstructor<T>(enhancer, injectionPoint, callbacks, interceptors); 250 ProxyConstructor(Enhancer enhancer, InjectionPoint injectionPoint, Callback[] callbacks [all...] |
BytecodeGen.java | 36 * net.sf.cglib.reflect.FastClass faster reflection}, {@link net.sf.cglib.proxy.Enhancer method 81 = net.sf.cglib.proxy.Enhancer.class.getName().replaceFirst("\\.cglib\\..*$", ".cglib"); 110 // we explicitly set the source here to "Enhancer" so that our jarjar renaming 111 // to $Enhancer doesn't leak into the class names. if we did not do this, 114 return super.getClassName(prefix, "Enhancer", key, names); 207 public static net.sf.cglib.proxy.Enhancer newEnhancer(Class<?> type, Visibility visibility) { 208 net.sf.cglib.proxy.Enhancer enhancer = new net.sf.cglib.proxy.Enhancer(); local 209 enhancer.setSuperclass(type) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
CallbackFilter.java | 22 * Map methods of subclasses generated by {@link Enhancer} to a particular 33 * @return the index into the array of callbacks (as specified by {@link Enhancer#setCallbacks}) to use for the method, 39 * the <code>Enhancer</code> will use, so this is a reminder that
|
Dispatcher.java | 19 * Dispatching {@link Enhancer} callback. This is identical to the 20 * {@link LazyLoader} interface but needs to be separate so that <code>Enhancer</code>
|
Callback.java | 19 * All callback interfaces used by {@link Enhancer} extend this interface.
|
NoOp.java | 19 * Methods using this {@link Enhancer} callback will delegate directly to the
|
Proxy.java | 57 Enhancer.registerCallbacks(getClass(), new Callback[]{ h, null }); 76 Enhancer e = new Enhancer();
|
Enhancer.java | 49 * a new instance of <code>Enhancer</code>. Other classes within CGLIB follow a similar pattern. 59 public class Enhancer extends AbstractClassGenerator 67 private static final Source SOURCE = new Source(Enhancer.class.getName()); 145 * Create a new <code>Enhancer</code>. A new <code>Enhancer</code> 151 public Enhancer() { 402 * Enhancer-generated class using the specified superclass and 405 * to the subclassing nature of the classes generated by Enhancer, 521 * constructors, but subclasses may extend Enhancer to override this 559 * an instance of <code>Enhancer</code> or the {@link Factory} interface to creat [all...] |
Factory.java | 20 * All enhanced instances returned by the {@link Enhancer} class implement this interface. 21 * Using this interface for new instances is faster than going through the <code>Enhancer</code>
|
FixedValue.java | 19 * {@link Enhancer} callback that simply returns the value to return
|
InvocationHandler.java | 23 * may be used with {@link Enhancer} as well.
|
LazyLoader.java | 19 * Lazy-loading {@link Enhancer} callback.
|
ProxyRefDispatcher.java | 19 * Dispatching {@link Enhancer} callback. This is the same as the
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
init_decode.h | 31 int use_enhancer /* (i) 1 to use enhancer 32 0 to run without enhancer */
|
defines.h | 66 /* enhancer */ 192 /* pitch lag estimated in enhancer and used in PLC */ 213 /* enhancer state information */
|
enhancer_interface.h | 25 * interface for enhancer
|
decode.c | 137 if ((*iLBCdec_inst).use_enhancer == 1) { /* Enhancer activated */ 157 /* Enhancer has 40 samples delay */ 172 /* Enhancer has 80 samples delay */ 190 } else { /* Enhancer not activated */ 193 /* Find last lag (since the enhancer is not called to give this info) */
|
ilbc.gypi | 45 'enhancer.c', 115 'enhancer.h',
|
init_decode.c | 29 int use_enhancer) { /* (i) 1: use enhancer, 0: no enhancer */
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_StereoEnhancer.h | 43 /* Stereo enhancer structure */
|
LVCS_Headphone_Coeffs.h | 24 /* The Stereo Enhancer */ 28 /* Stereo Enhancer coefficients for 8000 Hz sample rate, scaled with 0.161258 */ 42 /* Stereo Enhancer coefficients for 11025Hz sample rate, scaled with 0.162943 */ 56 /* Stereo Enhancer coefficients for 12000Hz sample rate, scaled with 0.162191 */ 70 /* Stereo Enhancer coefficients for 16000Hz sample rate, scaled with 0.162371 */ 84 /* Stereo Enhancer coefficients for 22050Hz sample rate, scaled with 0.160781 */ 98 /* Stereo Enhancer coefficients for 24000Hz sample rate, scaled with 0.161882 */ 112 /* Stereo Enhancer coefficients for 32000Hz sample rate, scaled with 0.160322 */ 126 /* Stereo Enhancer coefficients for 44100Hz sample rate, scaled with 0.163834 */ 140 /* Stereo Enhancer coefficients for 48000Hz sample rate, scaled with 0.164402 * [all...] |
/external/speex/include/speex/ |
speex_callbacks.h | 122 /** Standard handler for enhancer request (Turn enhancer on/off, no questions asked) */
|