/frameworks/base/core/java/android/os/ |
SystemService.java | 36 * State of a known {@code init} service. 62 /** Request that the init daemon start a named service. */ 67 /** Request that the init daemon stop a named service. */ 72 /** Request that the init daemon restart a named service. */ 78 * Return current state of given service. 80 public static State getState(String service) { 81 final String rawState = SystemProperties.get("init.svc." + service); 91 * Check if given service is {@link State#STOPPED}. 93 public static boolean isStopped(String service) { 94 return State.STOPPED.equals(getState(service)); [all...] |
/packages/wallpapers/MusicVisualization/ |
AndroidManifest.xml | 36 <service 43 <action android:name="android.service.wallpaper.WallpaperService" /> 45 <meta-data android:name="android.service.wallpaper" android:resource="@xml/cube" /> 46 </service> 50 <service 57 <action android:name="android.service.wallpaper.WallpaperService" /> 59 <meta-data android:name="android.service.wallpaper" android:resource="@xml/vis2" /> 60 </service> 63 <service 70 <action android:name="android.service.wallpaper.WallpaperService" / [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
BaseBindingActivity.java | 27 import com.android.tools.sdkcontroller.service.ControllerService; 28 import com.android.tools.sdkcontroller.service.ControllerService.ControllerBinder; 29 import com.android.tools.sdkcontroller.service.ControllerService.ControllerListener; 43 * Returns the binder. Activities can use that to query the controller service. 54 * This automatically binds to the service, starting it as needed. 56 * Since on resume we automatically bind to the service, the {@link ServiceConnection} 58 * Derived classes that need to initialize anything that is related to the service 60 * <em>not</em> in {@link #onResume()} -- since binding to the service is asynchronous 72 * This automatically unbinds from the service but does not stop it. 83 * Called when binding to the service to get the activity's {@link ControllerListener} 140 Intent service = new Intent(this, ControllerService.class); local [all...] |
/external/chromium_org/components/autofill/core/common/ |
autofill_switches.cc | 10 // Flag used to tell Chrome the base url of the Autofill service. 11 const char kAutofillServiceUrl[] = "autofill-service-url"; 42 // Secure service URL for Online Wallet service. Used as the base url to escrow 44 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 46 // Service URL for Online Wallet service. Used as the base url for Online Wallet 48 const char kWalletServiceUrl[] = "wallet-service-url"; 50 // Use the sandbox Online Wallet service URL (for developer testing). 51 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox" [all...] |
/libcore/luni/src/main/java/java/util/ |
ServiceLoader.java | 26 * A service-provider loader. 28 * <p>A service provider is a factory for creating all known implementations of a particular 57 * for (MyService service : ServiceLoader<MyService>.load(MyService.class)) { 58 * if (service.supports(o)) { 59 * return service.handle(o); 64 * <p>Note that each iteration creates new instances of the various service implementations, so 69 * @param <S> the service class or interface 73 private final Class<S> service; field in class:ServiceLoader 77 private ServiceLoader(Class<S> service, ClassLoader classLoader) { 78 // It makes no sense for service to be null 187 private final Class<S> service; field in class:ServiceLoader.ServiceIterator [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardTouchDelegate.java | 53 public void onServiceConnected(ComponentName name, IBinder service) { 55 mService = IKeyguardService.Stub.asInterface(service); 88 final IKeyguardService service = mService; local 89 if (service != null) { 91 return service.isSecure(); 96 Slog.w(TAG, "isSecure(): NO SERVICE!"); 102 final IKeyguardService service = mService; local 103 if (service != null) { 105 service.dispatch(event); 112 Slog.w(TAG, "dispatch(event): NO SERVICE!"); 118 final IKeyguardService service = mService; local 132 final IKeyguardService service = mService; local 146 final IKeyguardService service = mService; local 160 final IKeyguardService service = mService; local 174 final IKeyguardService service = mService; local [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_change_registrar_unittest.cc | 40 MockPrefService* service() const { return service_.get(); } function in class:PrefChangeRegistrarTest 54 registrar.Init(service()); 57 EXPECT_CALL(*service(), 59 EXPECT_CALL(*service(), 66 Mock::VerifyAndClearExpectations(service()); 67 EXPECT_CALL(*service(), 69 EXPECT_CALL(*service(), 77 Mock::VerifyAndClearExpectations(service()); 82 registrar.Init(service()); 85 EXPECT_CALL(*service(), [all...] |
/external/chromium_org/chrome/browser/webdata/ |
token_service_table_unittest.cc | 52 std::string service; local 54 service = "testservice"; 61 EXPECT_TRUE(table_->SetTokenForService(service, "pepperoni")); 64 EXPECT_EQ("pepperoni", out_map.find(service)->second); 74 EXPECT_TRUE(table_->SetTokenForService(service, "cheese")); 76 EXPECT_EQ("cheese", out_map.find(service)->second); 81 std::string service; local 82 service = "testservice"; 87 EXPECT_TRUE(table_->SetTokenForService(service, "pepperoni")); 89 EXPECT_EQ("pepperoni", out_map.find(service)->second) 106 std::string service; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PAssertedServiceHeader.java | 12 * This software is provided by NIST as a service and is expressly 35 * PAssertedService = "P-Asserted-Service" 38 * PAssertedService-value = Service-ID *(COMMA Service-ID) 42 * Service-ID = "urn:urn-7:" urn-service-id 43 * urn-service-id = top-level *("." sub-service-id) 45 * sub-service-id = let-dig [ *let-dig ] 48 * Egs: P-Asserted-Service: urn:urn-7:3gpp-service.exampletelephony.version [all...] |
PPreferredServiceHeader.java | 12 * This software is provided by NIST as a service and is expressly 35 * PPreferredService = "P-Preferred-Service" 38 * PPreferredService-value = Service-ID *(COMMA Service-ID) 42 * Service-ID = "urn:urn-7:" urn-service-id 43 * urn-service-id = top-level *("." sub-service-id) 45 * sub-service-id = let-dig [ *let-dig ] 48 * Egs: P-Preferred-Service: urn:urn-7:3gpp-service.exampletelephony.version [all...] |
/external/chromium_org/cloud_print/service/win/ |
service_controller.cc | 5 #include "cloud_print/service/win/service_controller.h" 18 #include "cloud_print/service/service_constants.h" 19 #include "cloud_print/service/service_switches.h" 20 #include "cloud_print/service/win/chrome_launcher.h" 21 #include "cloud_print/service/win/local_security_policy.h" 22 #include "cloud_print/service/win/service_utils.h" 28 // The traits class for Windows Service. 65 ServiceHandle* service) { 66 if (!service) 74 service->Set(::OpenService(scm, name.c_str(), access)) 93 ServiceHandle service; local 109 ServiceHandle service; local 224 ServiceHandle service; local 279 ServiceHandle service; local [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/docs/html/google/backup/ |
signup.jd | 1 page.title=Register for Android Backup Service 8 register your application with Android Backup Service in order to backup your app's data 10 Service Key that verifies your application and allows backup when 11 Android Backup Service is available on the user's device. Registration with Android Backup Service 14 <p>A single Backup Service Key is valid for only the application with which you register using the 15 form below. If you have multiple applications for which you would like a Backup Service Key, then 16 you must register each application to receive a unique Backup Service Key for each one.</p> 18 <p>For more information about developing with Android Backup Service, read the <a 21 <p>Before you can register with Android Backup Service, [all...] |
/external/chromium/chrome/browser/ |
background_application_list_model_unittest.cc | 104 ExtensionService* service = profile_->GetExtensionService(); local 105 ASSERT_TRUE(service); 106 ASSERT_TRUE(service->is_ready()); 107 ASSERT_TRUE(service->extensions()); 108 ASSERT_TRUE(service->extensions()->empty()); 118 ASSERT_TRUE(service->extensions() != NULL); 119 ASSERT_EQ(0U, service->extensions()->size()); 123 service->AddExtension(ext1); 124 ASSERT_EQ(1U, service->extensions()->size()); 127 service->AddExtension(bgapp1) 181 ExtensionService* service = profile_->GetExtensionService(); local [all...] |
/external/jmdns/src/javax/jmdns/ |
JmmDNS.java | 148 * Get service information. If the information is not cached, the method will block until updated information is received on all DNS. 153 * fully qualified service type, such as <code>_http._tcp.local.</code> . 155 * unqualified service name, such as <code>foobar</code> . 156 * @return list of service info. If no service info is found the list is empty. 162 * Get service information. If the information is not cached, the method will block until updated information is received on all DNS. 167 * full qualified service type, such as <code>_http._tcp.local.</code> . 169 * unqualified service name, such as <code>foobar</code> . 172 * @return list of service info. If no service info is found the list is empty [all...] |
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
nsd.jd | 1 page.title=Using Network Service Discovery 13 <li><a href="#register">Register Your Service on the Network</a></li> 16 <li><a href="#teardown">Unregister Your Service on Application Close</a></li> 36 <p>Adding Network Service Discovery (NSD) to your app allows your users to 47 <h2 id="register">Register Your Service on the Network</h2> 54 <p>To register your service on the local network, first create a {@link 57 service. </p> 73 <p>This code snippet sets the service name to "NsdChat". 75 local services. Keep in mind that the name must be unique for any service on the 78 them changes the service name automatically, to something like "NsdCha [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetService.java | 41 * Provides Bluetooth Headset and Handsfree profile, as a service in 118 * Handlers for incoming service calls 144 HeadsetService service = getService(); local 145 if (service == null) return false; 146 return service.connect(device); 150 HeadsetService service = getService(); local 151 if (service == null) return false; 152 return service.disconnect(device); 156 HeadsetService service = getService(); local 157 if (service == null) return new ArrayList<BluetoothDevice>(0) 162 HeadsetService service = getService(); local 168 HeadsetService service = getService(); local 174 HeadsetService service = getService(); local 180 HeadsetService service = getService(); local 186 HeadsetService service = getService(); local 192 HeadsetService service = getService(); local 198 HeadsetService service = getService(); local 204 HeadsetService service = getService(); local 210 HeadsetService service = getService(); local 216 HeadsetService service = getService(); local 222 HeadsetService service = getService(); local 228 HeadsetService service = getService(); local 234 HeadsetService service = getService(); local 240 HeadsetService service = getService(); local 246 HeadsetService service = getService(); local 252 HeadsetService service = getService(); local 259 HeadsetService service = getService(); local 266 HeadsetService service = getService(); local 274 HeadsetService service = getService(); local [all...] |
/system/core/libsysutils/src/ |
ServiceManager.cpp | 6 #define LOG_TAG "Service" 13 /* The service name should not exceed SERVICE_NAME_MAX to avoid 16 * - Starting a service is done by writing its name to the "ctl.start" 18 * the service for us. 20 * - Stopping the service is done by writing its name to "ctl.stop" 23 * - Reading the status of a service is done by reading the property 27 * the service by writing to ctl.start/stop, but you won't be able to 33 /* The maximum amount of time to wait for a service to start or stop, 37 /* The minimal sleeping interval between checking for the service's state 43 SLOGE("Service name '%s' is too long", name) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.osgi.services_3.2.100.v20100503.jar | |
/external/chromium/chrome/common/net/gaia/ |
gaia_constants.cc | 15 // Service name for Gaia. Used to convert to cookie auth. 17 // Service name for Gaia Contacts API. API is used to get user's image. 19 // Service name for sync. 21 // Service name for XMPP Google Talk. 23 // Service name for remoting. 25 // Service name for cloud print. 27 // Service name for device management (cloud-based policy) server.
|
/external/chromium_org/chrome/browser/chromeos/dbus/ |
cros_dbus_service.h | 20 // CrosDBusService is used to run a D-Bus service inside Chrome for Chrome 21 // OS. The service will be registered as follows: 23 // Service name: org.chromium.LibCrosService (kLibCrosServiceName) 27 // used in the D-Bus constants such as the service name. 29 // CrosDBusService exports D-Bus methods through service provider classes 34 // CrosDBusService consists of service providers that implement this 38 // Starts the service provider. |exported_object| is used to export
|
/external/chromium_org/chrome/common/extensions/api/ |
mdns.idl | 10 // Represents a mDNS/DNS-SD service. 12 // The service name of an mDNS advertised service, 16 // The host:port pair of an mDNS advertised service. 19 // The IP address of an mDNS advertised service. 22 // Metadata for an mDNS advertised service. 29 // most recent event. The service type that the extension is interested in
|
/frameworks/base/core/java/android/printservice/ |
package.html | 10 A print service implementation should extend {@link android.printservice.PrintService} 11 and implement its abstract methods. Also the print service has to follow the contract for 15 The system is responsible for starting and stopping a print service depending on whether 16 there are active print jobs for the printers managed by the service. The print service 18 The interaction between the system and the print service during printer discovery is 20 by the print service when requested by the system.
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
Engine.java | 33 * per service type and synchronize on that instance during calls to 35 * and Service Provider Interface (SPI) results. Retreiving the 80 * Service name such as Cipher or SSLContext 98 private final Provider.Service service; field in class:Engine.ServiceCacheEntry 102 Provider.Service service) { 105 this.service = service; 121 * @param service 138 Provider.Service service; local 168 Provider.Service service = provider.getService(serviceName, algorithm); local [all...] |
/external/chromium/chrome/browser/webdata/ |
token_service_table.cc | 17 "service VARCHAR PRIMARY KEY NOT NULL," 41 bool TokenServiceTable::SetTokenForService(const std::string& service, 47 "(service, encrypted_token) VALUES (?, ?)")); 60 s.BindString(0, service); 69 "SELECT service, encrypted_token FROM token_service")); 78 std::string service; local 79 service = s.ColumnString(0); 80 bool entry_ok = !service.empty() && 84 (*tokens)[service] = decrypted_token;
|