Home | History | Annotate | Download | only in util

Lines Matching refs:service

83     public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
92 return service.getDisplayNames(locale, col, null);
129 protected ICUService service;
133 public TestThread(String name, ICUService service, long delay, TestLog log) {
135 this.service = service;
205 RegisterFactoryThread(String name, ICUService service, long delay, TestLog log) {
206 super("REG " + name, service, delay, log);
211 service.registerFactory(f);
220 UnregisterFactoryThread(String name, ICUService service, long delay, TestLog log) {
221 super("UNREG " + name, service, delay, log);
224 factories = service.factories();
230 factories = service.factories();
234 boolean success = service.unregisterFactory(f);
244 UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories, TestLog log) {
245 super("UNREG " + name, service, delay, log);
253 boolean success = service.unregisterFactory(f);
261 GetVisibleThread(String name, ICUService service, long delay, TestLog log) {
262 super("VIS " + name, service, delay, log);
266 Set ids = service.getVisibleIDs();
271 Object result = service.get(id);
280 GetDisplayThread(String name, ICUService service, long delay, ULocale locale, TestLog log) {
281 super("DIS " + name, service, delay, log);
287 Map names = getDisplayNames(service,locale);
294 Object result = service.get(id);
313 GetThread(String name, ICUService service, long delay, TestLog log) {
314 super("GET " + name, service, delay, log);
321 Object o = service.get(id, actualID);
332 GetListThread(String name, ICUService service, long delay, String[] list, TestLog log) {
333 super("GETL " + name, service, delay, log);
343 Object o = service.get(id);
362 void registerFactories(ICUService service, Collection c) {
365 service.registerFactory((Factory)iter.next());
379 // run multiple get on a stable service
388 // run multiple getVisibleID on a stable service
397 // run multiple getDisplayName on a stable service
414 // run register/unregister on a service
416 ICUService service = new ICULocaleService();
417 if (PRINTSTATS) service.stats(); // Enable the stats collection
419 new RegisterFactoryThread("[" + i + "]", service, 0, this).start();
422 new UnregisterFactoryThread("[" + i + "]", service, 0, this).start();
425 if (PRINTSTATS) System.out.println(service.stats());
429 ICUService service = new ICULocaleService();
430 if (PRINTSTATS) service.stats(); // Enable the stats collection
433 registerFactories(service, fc);
443 new GetThread("", service, 0, this).start();
444 new UnregisterFactoryListThread("", service, 3, factories, this).start();
447 if (PRINTSTATS) System.out.println(service.stats());
457 ICUService service = new ICULocaleService();
458 if (PRINTSTATS) service.stats(); // Enable the stats collection
460 new RegisterFactoryThread("", service, 500, this).start();
463 new GetThread("[" + Integer.toString(i) + "]", service, 0, this).start();
466 new GetVisibleThread("", service, 50, this).start();
480 new UnregisterFactoryThread("", service, 500, this).start();
484 if (PRINTSTATS) System.out.println(service.stats());