Lines Matching defs:Demo
79 Demo.preRegister(context, demoCounter);
91 // Expect to create Demo for initial round, then MAX_ROUNDS in which
95 // Expect to create MyAttr for same processing rounds as for Demo,
125 static class Demo {
127 context.put(Demo.class, new Context.Factory<Demo>() {
128 public Demo make(Context c) {
130 return new Demo(c);
135 Demo(Context c) {
136 c.put(Demo.class, this);
139 static Demo instance(Context context) {
140 return context.get(Demo.class);
177 check("Demo", Demo.instance(context), Demo.class);