Searched refs:ICUService (Results 1 - 25 of 31) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DCurrencyServiceShim.java17 import android.icu.impl.ICUService;
18 import android.icu.impl.ICUService.Factory;
23 * dependencies on ICUService are located in this file. This structure
65 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCurrencyServiceShim.java16 import com.ibm.icu.impl.ICUService;
17 import com.ibm.icu.impl.ICUService.Factory;
22 * dependencies on ICUService are located in this file. This structure
64 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DNumberFormatServiceShim.java21 import android.icu.impl.ICUService;
22 import android.icu.impl.ICUService.Factory;
23 import android.icu.impl.ICUService.Key;
53 public Object create(Key key, ICUService srvc) {
112 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
H A DCollatorServiceShim.java21 import android.icu.impl.ICUService;
22 import android.icu.impl.ICUService.Factory;
76 public Object handleCreate(ULocale loc, int kind, ICUService srvc) {
142 protected Object handleCreate(ULocale uloc, int kind, ICUService srvc) {
H A DBreakIteratorFactory.java23 import android.icu.impl.ICUService;
24 import android.icu.impl.ICUService.Factory;
87 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNumberFormatServiceShim.java20 import com.ibm.icu.impl.ICUService;
21 import com.ibm.icu.impl.ICUService.Factory;
22 import com.ibm.icu.impl.ICUService.Key;
52 public Object create(Key key, ICUService srvc) {
111 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
H A DBreakIteratorFactory.java22 import com.ibm.icu.impl.ICUService;
23 import com.ibm.icu.impl.ICUService.Factory;
86 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
/external/icu/icu4c/source/common/
H A Dserv.cpp138 SimpleFactory::create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const
338 ICUService::ICUService() function in class:ICUService
348 ICUService::ICUService(const UnicodeString& newName) function in class:ICUService
358 ICUService::~ICUService()
369 ICUService::get(const UnicodeString& descriptor, UErrorCode& status) const
375 ICUService::get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) const
387 ICUService
[all...]
H A Dserv.h20 * Allow the declaration of APIs with pointers to ICUService
23 class ICUService;
45 class ICUService;
235 virtual UObject* create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const = 0;
244 * support ICUService::getDisplayNames. The factory determines
318 virtual UObject* create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const;
365 * <p>ServiceListener is the listener that ICUService provides by default.
366 * ICUService will notifiy this listener when factories are added to
382 virtual void serviceChanged(const ICUService& service) const = 0;
402 * <p>A StringPair holds a displayName/ID pair. ICUService use
[all...]
H A Dservloc.h21 * Allow the declaration of APIs with pointers to ICUService
241 virtual UObject* create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const;
260 * Utility method used by create(ICUServiceKey, ICUService). Subclasses can implement
263 virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* service, UErrorCode& status) const;
327 virtual UObject* create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const;
403 virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* service, UErrorCode& status) const;
425 class U_COMMON_API ICULocaleService : public ICUService
452 return ICUService::get(descriptor, status);
456 return ICUService::get(descriptor, actualReturn, status);
H A Dservlkf.cpp48 LocaleKeyFactory::create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const {
110 const ICUService* /* service */,
H A Dservrbf.cpp55 ICUResourceBundleFactory::handleCreate(const Locale& loc, int32_t /* kind */, const ICUService* /* service */, UErrorCode& status) const
H A Dservslkf.cpp64 SimpleLocaleKeyFactory::create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) const
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DICUServiceThreadTest.java33 import android.icu.impl.ICUService;
34 import android.icu.impl.ICUService.Factory;
35 import android.icu.impl.ICUService.SimpleFactory;
70 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
116 protected ICUService service;
120 public TestThread(String name, ICUService service, long delay, TestLog log) {
192 RegisterFactoryThread(String name, ICUService service, long delay, TestLog log) {
208 UnregisterFactoryThread(String name, ICUService service, long delay, TestLog log) {
233 UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories, TestLog log) {
251 GetVisibleThread(String name, ICUService servic
[all...]
H A DICUServiceTestSample.java21 import android.icu.impl.ICUService;
113 private static ICUService registry;
134 private static ICUService registry() {
214 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
H A DICUServiceTest.java36 import android.icu.impl.ICUService;
37 import android.icu.impl.ICUService.Factory;
38 import android.icu.impl.ICUService.Key;
39 import android.icu.impl.ICUService.ServiceListener;
40 import android.icu.impl.ICUService.SimpleFactory;
72 public SortedMap getDisplayNames(ICUService service) {
83 public SortedMap getDisplayNames(ICUService service, ULocale locale) {
92 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) {
98 static final class TestService extends ICUService {
111 ICUService servic
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DICUServiceThreadTest.java32 import com.ibm.icu.impl.ICUService;
33 import com.ibm.icu.impl.ICUService.Factory;
34 import com.ibm.icu.impl.ICUService.SimpleFactory;
69 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
115 protected ICUService service;
119 public TestThread(String name, ICUService service, long delay, TestLog log) {
191 RegisterFactoryThread(String name, ICUService service, long delay, TestLog log) {
207 UnregisterFactoryThread(String name, ICUService service, long delay, TestLog log) {
232 UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories, TestLog log) {
250 GetVisibleThread(String name, ICUService servic
[all...]
H A DICUServiceTestSample.java20 import com.ibm.icu.impl.ICUService;
112 private static ICUService registry;
133 private static ICUService registry() {
213 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
H A DICUServiceTest.java35 import com.ibm.icu.impl.ICUService;
36 import com.ibm.icu.impl.ICUService.Factory;
37 import com.ibm.icu.impl.ICUService.Key;
38 import com.ibm.icu.impl.ICUService.ServiceListener;
39 import com.ibm.icu.impl.ICUService.SimpleFactory;
71 public SortedMap getDisplayNames(ICUService service) {
82 public SortedMap getDisplayNames(ICUService service, ULocale locale) {
91 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) {
97 static final class TestService extends ICUService {
110 ICUService servic
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DCollatorServiceShim.java20 import com.ibm.icu.impl.ICUService;
21 import com.ibm.icu.impl.ICUService.Factory;
75 public Object handleCreate(ULocale loc, int kind, ICUService srvc) {
141 protected Object handleCreate(ULocale uloc, int kind, ICUService srvc) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DICULocaleService.java22 public class ICULocaleService extends ICUService {
166 public static class LocaleKey extends ICUService.Key {
382 public Object create(Key key, ICUService service) {
438 * Utility method used by create(Key, ICUService). Subclasses can
441 protected Object handleCreate(ULocale loc, int kind, ICUService service) {
504 public Object create(Key key, ICUService service) {
596 protected Object handleCreate(ULocale loc, int kind, ICUService service) {
H A DICUService.java60 * <p>ICUService uses Keys to query factories and perform
65 * repeated effort. ICUService provides convenience APIs that
68 * <p>ICUService provides API to get the list of ids publicly
73 * version of the simple ID, for use in user interfaces. ICUService
77 * <p>ICUService implements ICUNotifier, so that clients can register
79 * the service. ICUService provides a default EventListener subinterface,
84 * <p>The ICUService API is both rich and generic, and it is expected
85 * that most implementations will statically 'wrap' ICUService to
90 * ICUService by overriding it, for example, to customize the Key and
96 public class ICUService extend class in inherits:ICUNotifier
105 public ICUService() { method in class:ICUService
113 public ICUService(String name) { method in class:ICUService
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICULocaleService.java18 public class ICULocaleService extends ICUService {
162 public static class LocaleKey extends ICUService.Key {
378 public Object create(Key key, ICUService service) {
434 * Utility method used by create(Key, ICUService). Subclasses can
437 protected Object handleCreate(ULocale loc, int kind, ICUService service) {
500 public Object create(Key key, ICUService service) {
592 protected Object handleCreate(ULocale loc, int kind, ICUService service) {
H A DICUService.java59 * <p>ICUService uses Keys to query factories and perform
64 * repeated effort. ICUService provides convenience APIs that
67 * <p>ICUService provides API to get the list of ids publicly
72 * version of the simple ID, for use in user interfaces. ICUService
76 * <p>ICUService implements ICUNotifier, so that clients can register
78 * the service. ICUService provides a default EventListener subinterface,
83 * <p>The ICUService API is both rich and generic, and it is expected
84 * that most implementations will statically 'wrap' ICUService to
89 * ICUService by overriding it, for example, to customize the Key and
94 public class ICUService extend class in inherits:ICUNotifier
103 public ICUService() { method in class:ICUService
111 public ICUService(String name) { method in class:ICUService
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dicusvtst.cpp114 class TestIntegerService : public ICUService {
478 class TestStringSimpleKeyService : public ICUService {
483 // We could put this type check into ICUService itself, but we'd still
488 return ICUService::createSimpleFactory(obj, id, visible, status);
498 class TestStringService : public ICUService {
522 virtual UObject* create(const ICUServiceKey& key, const ICUService* /* service */, UErrorCode& /* status */) const {
568 UObject* create(const ICUServiceKey& key, const ICUService* /* service */, UErrorCode& status) const {
961 virtual void serviceChanged(const ICUService& service) const {
1015 public void serviceChanged(ICUService s) {
1231 UObject* create(const ICUServiceKey& key, const ICUService* servic
[all...]

Completed in 1544 milliseconds

12