/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUServiceTest.java | 76 public SortedMap getDisplayNames(ICUService service) { 79 return service.getDisplayNames(locale, col, null); 87 public SortedMap getDisplayNames(ICUService service, ULocale locale) { 89 return service.getDisplayNames(locale, col, null); 96 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { 98 return service.getDisplayNames(locale, col, matchID); 104 super("Test Service"); 113 // create a service using locale keys, 114 ICUService service = new TestService(); local 116 logln("service name:" + service.getName()) 669 ICULocaleService service = new ICULocaleService("test locale"); local 790 ICUService service = new ICUService("wrap"); local 842 ICUService service = new ICUService(); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUServiceTest.java | 72 public SortedMap getDisplayNames(ICUService service) { 75 return service.getDisplayNames(locale, col, null); 83 public SortedMap getDisplayNames(ICUService service, ULocale locale) { 85 return service.getDisplayNames(locale, col, null); 92 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { 94 return service.getDisplayNames(locale, col, matchID); 100 super("Test Service"); 109 // create a service using locale keys, 110 ICUService service = new TestService(); local 112 logln("service name:" + service.getName()) 665 ICULocaleService service = new ICULocaleService("test locale"); local 786 ICUService service = new ICUService("wrap"); local 838 ICUService service = new ICUService(); local [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/matchers/ |
StartedServiceMatcherTest.java | 6 import android.service.wallpaper.WallpaperService; 21 private WallpaperService service; field in class:StartedServiceMatcherTest 29 service = new WallpaperService() { 41 givesFailureMessage((Context) service, "to start " + createIntent(WallpaperService.class) + ", but didn't start anything")); 44 givesFailureMessage((Context) service, "to start " + createIntent(WallpaperService.class, "view") + ", but didn't start anything")); 47 givesFailureMessage((Context) service, "to start " + intentWithExtra + ", but didn't start anything")); 54 service.startService(actualIntent); 56 givesFailureMessage((Context) service, "to start " + createIntent(IntentService.class) + ", but started " + actualIntent)); 58 service.startService(actualIntent); 60 givesFailureMessage((Context) service, "to start " + createIntent(IntentService.class, "view") + ", but started " + actualIntent)) [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
LocationProviderProxy.java | 93 * Remember we can switch the service that implements a providers 99 if (D) Log.d(TAG, "applying state to connected service"); 105 ILocationProvider service; 110 service = getService(); 113 if (service == null) return; 117 properties = service.getProperties(); 123 // apply current state to new service 125 service.enable(); 127 service.setRequest(request, source); 133 // never let remote service crash system serve 160 ILocationProvider service = getService(); local 178 ILocationProvider service = getService(); local 204 ILocationProvider service = getService(); local 225 ILocationProvider service = getService(); local 246 ILocationProvider service = getService(); local 262 ILocationProvider service = getService(); local 278 ILocationProvider service = getService(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
A2dpSinkService.java | 35 * Provides Bluetooth A2DP Sink profile, as a service in the Bluetooth application. 57 // Start the media browser service. 92 Log.d(TAG, "getA2dpSinkService(): service is NULL"); 94 Log.d(TAG,"getA2dpSinkService(): service is not available"); 107 Log.d(TAG, "setA2dpSinkService(): service not available"); 109 Log.d(TAG,"setA2dpSinkService(): service is cleaning up"); 261 A2dpSinkService service = getService(); local 262 if (service == null) return false; 263 return service.connect(device); 267 A2dpSinkService service = getService() local 273 A2dpSinkService service = getService(); local 279 A2dpSinkService service = getService(); local 285 A2dpSinkService service = getService(); local 291 A2dpSinkService service = getService(); local 297 A2dpSinkService service = getService(); local 303 A2dpSinkService service = getService(); local 309 A2dpSinkService service = getService(); local [all...] |
/system/bt/test/suite/ |
Android.mk | 30 ../../service/hal/bluetooth_gatt_interface.cpp \ 31 ../../service/hal/bluetooth_interface.cpp \ 32 ../../service/logging_helpers.cpp
|
/system/security/keystore/ |
keystore_get.cpp | 27 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local 29 if (service == NULL) { 34 int32_t ret = service->get(String16(key, keyLength), -1, value, &valueLength);
|
/system/connectivity/shill/cellular/ |
active_passive_out_of_credits_detector.cc | 51 CellularService* service) 52 : OutOfCreditsDetector(dispatcher, manager, metrics, service), 55 new TrafficMonitor(service->cellular(), dispatcher)), 56 service_rpc_identifier_(service->GetRpcIdentifier()) { 78 Service::ConnectState old_state, Service::ConnectState new_state) { 81 case Service::kStateUnknown: 82 case Service::kStateIdle: 83 case Service::kStateFailure: 87 case Service::kStateAssociating [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ServiceTest.java | 120 public void onServiceConnected(ComponentName name, IBinder service) { 143 public void onServiceConnected(ComponentName name, IBinder service) { 149 service.transact(SET_REPORTER_CODE, data, null, 0); 191 void startExpectResult(Intent service) { 192 startExpectResult(service, new Bundle()); 195 void startExpectResult(Intent service, Bundle bundle) { 201 getContext().startService(new Intent(service).putExtras(bundle)); 202 waitForResultOrThrow(5 * 1000, "service to start first time"); 205 getContext().startService(new Intent(service).putExtras(bundle)); 206 waitForResultOrThrow(5 * 1000, "service to start second time") [all...] |
/frameworks/base/services/core/java/com/android/server/ |
SystemServiceManager.java | 49 * Starts a service by class name. 51 * @return The service instance. 60 throw new RuntimeException("Failed to create service " + className 61 + ": service class not found, usually indicates that the caller should " 70 * Creates and starts a system service. The class must be a subclass of 74 * @return The service instance, never null. 75 * @throws RuntimeException if the service fails to start. 84 // Create the service. 87 + ": service must extend " + SystemService.class.getName()); 89 final T service; local 140 final SystemService service = mServices.get(i); local 158 final SystemService service = mServices.get(i); local 171 final SystemService service = mServices.get(i); local 184 final SystemService service = mServices.get(i); local 197 final SystemService service = mServices.get(i); local 210 final SystemService service = mServices.get(i); local 242 final SystemService service = mServices.get(i); local [all...] |
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
SettingsActivity.java | 17 package android.alarmclock.service;
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
SettingsActivity.java | 17 package android.voiceinteraction.service;
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
SettingsActivity.java | 17 package android.voicesettings.service;
|
/external/autotest/client/cros/cellular/pseudomodem/ |
modem_simple.py | 9 class ModemSimple(dbus.service.Interface): 20 @dbus.service.method(mm1_constants.I_MODEM_SIMPLE, 57 @dbus.service.method(mm1_constants.I_MODEM_SIMPLE, in_signature='o', 80 @dbus.service.method(mm1_constants.I_MODEM_SIMPLE, out_signature='a{sv}')
|
/external/guice/core/test/com/google/inject/example/ |
ClientServiceWithFactories.java | 28 public interface Service { 32 public static class ServiceImpl implements Service { 42 private static Service instance = new ServiceImpl(); 44 public static Service getInstance() { 48 public static void setInstance(Service service) { 49 instance = service; 56 Service service = ServiceFactory.getInstance(); local 57 service.go() [all...] |
/external/libchrome/dbus/ |
dbus_statistics.h | 22 SHOW_SERVICE = 0, // Service totals only 23 SHOW_INTERFACE = 1, // Service + interface totals 24 SHOW_METHOD = 2, // Service + interface + method totals 41 CHROME_DBUS_EXPORT void AddSentMethodCall(const std::string& service, 44 CHROME_DBUS_EXPORT void AddReceivedSignal(const std::string& service, 49 CHROME_DBUS_EXPORT void AddBlockingSentMethodCall(const std::string& service, 54 // of detail to show: one line per service, per interface, or per method. 67 // service+interface+method. Used in unittests. 68 CHROME_DBUS_EXPORT bool GetCalls(const std::string& service,
|
/external/pdfium/third_party/freetype/src/base/ |
ftotval.c | 37 FT_Service_OTvalidate service; local 57 FT_FACE_FIND_GLOBAL_SERVICE( face, service, OPENTYPE_VALIDATE ); 59 if ( service ) 60 error = service->validate( face,
|
/external/testng/src/test/java/test/tmp/p2/ |
ServiceTest.java | 9 public void service() { method in class:ServiceTest
|
/frameworks/base/core/java/android/service/gatekeeper/ |
IGateKeeperService.aidl | 17 package android.service.gatekeeper; 19 import android.service.gatekeeper.GateKeeperResponse;
|
/frameworks/base/core/java/android/service/trust/ |
ITrustAgentService.aidl | 16 package android.service.trust; 19 import android.service.trust.ITrustAgentServiceCallback;
|
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionManagerInternal.java | 17 package android.service.voice; 38 * Returns whether the currently selected voice interaction service supports local voice
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
ActivityManagerTest.java | 31 IActivityManager service; field in class:ActivityManagerTest 35 service = ActivityManagerNative.getDefault(); 39 for(int userId : service.getRunningUserIds()) { 45 List<ActivityManager.RecentTaskInfo> recentTasks = service.getRecentTasks(
|
/system/connectivity/shill/ |
control_interface.h | 39 class Service; 101 virtual ServiceAdaptorInterface* CreateServiceAdaptor(Service* service) = 0; 142 virtual DHCPProxyInterface* CreateDHCPProxy(const std::string& service) = 0; 149 const std::string& service) = 0; 153 const std::string& service, 160 const std::string& service, 165 const std::string& service) = 0; 169 const std::string& service) = 0; 173 const std::string& service) = 0 [all...] |
mock_control.h | 46 ServiceAdaptorInterface* CreateServiceAdaptor(Service* service) override; 85 DHCPProxyInterface*(const std::string& service)); 94 const std::string& service)); 99 const std::string& service, 106 const std::string& service, 111 const std::string& service)); 114 const std::string& service)); 118 const std::string& service)); 121 const std::string& service)); [all...] |
nice_mock_control.h | 46 ServiceAdaptorInterface* CreateServiceAdaptor(Service* service) override; 85 DHCPProxyInterface*(const std::string& service)); 94 const std::string& service)); 99 const std::string& service, 106 const std::string& service, 111 const std::string& service)); 114 const std::string& service)); 118 const std::string& service)); 121 const std::string& service)); [all...] |