/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractScheduledServiceTest.java | 20 import com.google.common.util.concurrent.Service.State; 60 NullService service = new NullService(); local 61 service.startAndWait(); 63 service.stopAndWait(); 76 TestService service = new TestService(); local 77 service.runException = new Exception(); 78 service.startAndWait(); 79 service.runFirstBarrier.await(); 80 service.runSecondBarrier.await(); 87 assertEquals(service.runException, e.getCause().getCause()) 93 TestService service = new TestService(); local 106 TestService service = new TestService(); local 122 TestService service = new TestService(); local 136 TestService service = new TestService(); local 154 TestService service = new TestService(); local 316 TestAbstractScheduledCustomService service = new TestAbstractScheduledCustomService(); local 329 TestAbstractScheduledCustomService service = new TestAbstractScheduledCustomService() { local 386 TestFailingCustomScheduledService service = new TestFailingCustomScheduledService(); local [all...] |
AbstractIdleServiceTest.java | 19 import com.google.common.util.concurrent.Service.State; 52 NullService service = new NullService(); local 53 assertFalse(service.startUpCalled); 55 service.start().get(); 56 assertTrue(service.startUpCalled); 57 assertEquals(Service.State.RUNNING, service.state()); 59 service.stop().get(); 60 assertTrue(service.shutDownCalled); 61 assertEquals(Service.State.TERMINATED, service.state()) 67 NullService service = new NullService(); local 77 Service service = new NullService() { local [all...] |
/external/jmdns/src/javax/jmdns/ |
ServiceInfo.java | 16 * The fully qualified service name is build using up to 5 components with the following structure: 25 * <li><servicedomain>.<parentdomain>: This is the domain scope of the service typically "local.", but this can also be something similar to "in-addr.arpa." or "ip6.arpa."</li> 28 * <li><Instance>: This is the service name</li> 67 * Construct a service description for registering with JmDNS. 70 * fully qualified service type name, such as <code>_http._tcp.local.</code>. 72 * unqualified service instance name, such as <code>foobar</code> 74 * the local port on which the service runs 76 * string describing the service 77 * @return new service info 84 * Construct a service description for registering with JmDNS [all...] |
ServiceTypeListener.java | 10 * Listener for service types.
16 * A new service type was discovered.
19 * The service event providing the fully qualified type of the service.
24 * A new subtype for the service type was discovered.
31 * The service event providing the fully qualified type of the service with subtype.
|
ServiceEvent.java | 20 * Constructs a Service Event. 39 * Returns the fully qualified type of the service. 41 * @return type of the service. 46 * Returns the instance name of the service. Always returns null, if the event is sent to a service type listener. 48 * @return name of the service 53 * Returns the service info record, or null if the service could not be resolved. Always returns null, if the event is sent to a service type listener. 55 * @return service info recor [all...] |
/frameworks/base/core/java/android/os/ |
ServiceManager.java | 38 // Find the service manager 44 * Returns a reference to a service with the given name. 46 * @param name the name of the service to get 47 * @return a reference to the service, or <code>null</code> if the service doesn't exist 51 IBinder service = sCache.get(name); local 52 if (service != null) { 53 return service; 64 * Place a new @a service called @a name into the service 101 IBinder service = sCache.get(name); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetService.java | 41 * Provides Bluetooth Headset and Handsfree profile, as a service in 114 * Handlers for incoming service calls 140 HeadsetService service = getService(); local 141 if (service == null) return false; 142 return service.connect(device); 146 HeadsetService service = getService(); local 147 if (service == null) return false; 148 return service.disconnect(device); 152 HeadsetService service = getService(); local 153 if (service == null) return new ArrayList<BluetoothDevice>(0) 158 HeadsetService service = getService(); local 164 HeadsetService service = getService(); local 170 HeadsetService service = getService(); local 176 HeadsetService service = getService(); local 182 HeadsetService service = getService(); local 188 HeadsetService service = getService(); local 194 HeadsetService service = getService(); local 200 HeadsetService service = getService(); local 206 HeadsetService service = getService(); local 212 HeadsetService service = getService(); local 218 HeadsetService service = getService(); local 224 HeadsetService service = getService(); local 230 HeadsetService service = getService(); local 236 HeadsetService service = getService(); local 242 HeadsetService service = getService(); local 248 HeadsetService service = getService(); local 255 HeadsetService service = getService(); local 261 HeadsetService service = getService(); local 268 HeadsetService service = getService(); local [all...] |
/frameworks/base/core/java/android/content/ |
ServiceConnection.java | 22 * Interface for monitoring the state of an application service. See 23 * {@link android.app.Service} and 30 * Called when a connection to the Service has been established, with 32 * Service. 34 * @param name The concrete component name of the service that has 37 * @param service The IBinder of the Service's communication channel, 40 public void onServiceConnected(ComponentName name, IBinder service); 43 * Called when a connection to the Service has been lost. This typically 44 * happens when the process hosting the service has crashed or been killed [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
ServiceManager.java | 24 * Returns a reference to a service with the given name. 26 * @param name the name of the service to get 27 * @return a reference to the service, or <code>null</code> if the service doesn't exist 34 * Place a new @a service called @a name into the service 37 * @param name the name of the new service 38 * @param service the service object 40 public static void addService(String name, IBinder service) { [all...] |
/frameworks/base/core/java/android/service/textservice/ |
package.html | 6 <p>To create a new spell checker, you must implement a service that extends {@link 7 android.service.textservice.SpellCheckerService} and extend the {@link 8 android.service.textservice.SpellCheckerService.Session} class to provide spelling suggestions based 10 android.service.textservice.SpellCheckerService.Session} callback methods, you must return the 13 <p>Applications with a spell checker service must declare the {@link 14 android.Manifest.permission#BIND_TEXT_SERVICE} permission as required by the service. The service 16 android:name="android.service.textservice.SpellCheckerService" />} as the intent?s action and should 21 <service 26 <action android:name="android.service.textservice.SpellCheckerService" / [all...] |
/external/dbus/test/data/valid-service-files/ |
org.freedesktop.DBus.TestSuiteForkingEchoService.service.in | 1 [D-BUS Service]
|
org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service.in | 1 [D-BUS Service]
|
/external/dbus/test/data/valid-service-files-system/ |
org.freedesktop.DBus.TestSuiteEchoService.service.in | 1 [D-BUS Service]
|
org.freedesktop.DBus.TestSuiteSegfaultService.service.in | 1 [D-BUS Service]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Service.java | 27 * lifecycle of a service is: 36 * If the service fails while starting, running or stopping, its state will be 37 * {@link State#FAILED}, and its behavior is undefined. Such a service cannot be 46 * {@code com.google.common.base.Service}) 49 public interface Service { 51 * If the service state is {@link State#NEW}, this initiates service startup 52 * and returns immediately. If the service has already been started, this 53 * method returns immediately without taking action. A stopped service may not 58 * until the service has finished starting, and returns one of {@lin [all...] |
/external/icu4c/common/ |
localsvc.h | 15 * Prototype for user-supplied service hook. This function is expected to return 16 * a type of factory object specific to the requested service. 18 * @param what service-specific string identifying the specific user hook 20 * @return a service-specific hook, or NULL on failure.
|
/external/wpa_supplicant_6/wpa_supplicant/ |
dbus-wpa_supplicant.service | 1 [D-BUS Service]
|
/frameworks/base/core/java/android/os/storage/ |
package.html | 4 Contains classes for the system storage service, which manages binary asset filesystems
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 27 import java.security.Provider.Service; 38 * Tests for <code>Provider.Service</code> constructor and methods 46 new Provider.Service(null, "type", "algorithm", "className", null, 52 new Provider.Service(p, null, "algorithm", "className", null, null); 57 new Provider.Service(p, "type", null, "className", null, null); 62 new Provider.Service(p, "type", "algorithm", null, null, null); 67 Provider.Service s = new Provider.Service(p, "type", "algorithm", 89 Provider.Service s = new Provider.Service(p, "type", "algorithm" [all...] |
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/ |
exportservice2.xml | 12 <service 14 android:name="com.sample.service.serviceClass" 17 <action android:name="com.sample.service.serviceClass" > 20 </service>
|
exportservice5.xml | 12 <service 14 android:name="com.sample.service.serviceClass" 17 <action android:name="com.sample.service.serviceClass" > 20 </service>
|
/system/core/adb/ |
adb_client.h | 6 /* connect to adb, connect to the named service, and return 7 ** a valid fd for interacting with that service upon success 10 int adb_connect(const char *service); 11 int _adb_connect(const char *service); 13 /* connect to adb, connect to the named service, return 0 if 14 ** the connection succeeded AND the service returned OKAY 16 int adb_command(const char *service); 18 /* connect to adb, connect to the named service, return 22 char *adb_query(const char *service);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/kerberos/ |
KerberosNameTest.java | 32 KerberosName kerberosName = new KerberosName("service@localhost", GSSName.NT_HOSTBASED_SERVICE); 39 KerberosName one = new KerberosName("service@localhost", GSSName.NT_HOSTBASED_SERVICE); 40 KerberosName another = new KerberosName("service@localhost", GSSName.NT_HOSTBASED_SERVICE); 43 one = new KerberosName("service@localhost", GSSName.NT_HOSTBASED_SERVICE); 44 another = new KerberosName("service/localhost", GSSName.NT_HOSTBASED_SERVICE); 47 one = new KerberosName("service@localhost", GSSName.NT_USER_NAME); 48 another = new KerberosName("service@localhost", GSSName.NT_USER_NAME); 51 one = new KerberosName("service@localhost", GSSName.NT_USER_NAME); 52 another = new KerberosName("service/localhost", GSSName.NT_USER_NAME); 56 one = new KerberosName("service@localhost", KRB5_PRINCIPAL_NAMETYPE) [all...] |
/frameworks/base/docs/html/guide/components/ |
bound-services.jd | 11 <li>A bound service allows other components to bind to it, in order to interact with it and 13 <li>A bound service is destroyed once all clients unbind, unless the service was also started</li> 18 <li><a href="#Creating">Creating a Bound Service</a> 24 <li><a href="#Binding">Binding to a Service</a></li> 25 <li><a href="#Lifecycle">Managing the Lifecycle of a Bound Service</a></li> 30 <li>{@link android.app.Service}</li> 50 <p>A bound service is the server in a client-server interface. A bound service allows components 51 (such as activities) to bind to the service, send requests, receive responses, and even perfor [all...] |
/external/chromium/chrome/browser/sync/ |
sync_ui_util.cc | 36 ProfileSyncService* service, string16* status_label, 45 if (service->GetAuthenticatedUsername().empty()) 52 DCHECK(service->GetAuthenticatedUsername().empty()); 72 string16 GetSyncedStateStatusLabel(ProfileSyncService* service) { 74 string16 user_name(service->GetAuthenticatedUsername()); 84 service->GetLastSyncedTimeString()); 90 MessageType GetStatusInfo(ProfileSyncService* service, 97 if (!service) { 101 if (service->HasSyncSetupCompleted()) { 102 ProfileSyncService::Status status(service->QueryDetailedSyncStatus()) 264 ProfileSyncService* service = local [all...] |