/external/qemu/proxy/ |
proxy_http.c | 22 http_service_free( HttpService* service ) 25 if (service->footer != service->footer0) 26 qemu_free(service->footer); 27 qemu_free(service); 32 http_service_connect( HttpService* service, 41 if (sock_address_equal( address, &service->server_addr )) 50 return http_rewriter_connect(service, address); 53 return http_connector_connect(service, address); 65 HttpService* service; local [all...] |
/frameworks/base/docs/html/guide/components/ |
services.jd | 8 <li>A service can run in the background to perform work even while the user is in a different 10 <li>A service can allow other components to bind to it, in order to interact with it and 12 <li>A service runs in the main thread of the application that hosts it, by default</li> 18 <li><a href="#Declaring">Declaring a service in the manifest</a></li> 20 <li><a href="#CreatingAService">Creating a Started Service</a> 23 <li><a href="#ExtendingService">Extending the Service class</a></li> 24 <li><a href="#StartingAService">Starting a service</a></li> 25 <li><a href="#Stopping">Stopping a service</a></li> 28 <li><a href="#CreatingBoundService">Creating a Bound Service</a></li> 30 <li><a href="#Foreground">Running a Service in the Foreground</a></li [all...] |
/external/dropbear/debian/ |
README.runit | 5 service supervision, and this package already has prepared an adequate 6 service directory. Follow these steps to enable the dropbear service 10 sure its service supervision is enabled (it's by default) 14 Make sure the dropbear service normally handled through the sysv init 19 Create the system user ``dropbearlog'' which will run the logger service, 29 Optionally adjust the configuration of the dropbear service by editing the 34 Finally enable the service by linking dropbear's service directory to 35 /var/service/. The service will be started within five seconds, an [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pDnsSdServiceRequest.java | 22 * A class for creating a Bonjour service discovery request for use with 34 * @param query The part of service specific query. 57 * Create a service discovery request to search all Bonjour services. 59 * @return service request for Bonjour. 66 * Create a service discovery to search for Bonjour services with the specified 67 * service type. 69 * @param serviceType service type. Cannot be null <br> 72 * "_http._tcp" (http service) 73 * @return service request for DnsSd. 77 throw new IllegalArgumentException("service type cannot be null") [all...] |
/tools/motodev/src/help/studio_help/src/topics/ |
u_new-service.dita | 3 <reference id="u_new-service" xml:lang="en-us"> 4 <title>New Service wizard</title> 5 <shortdesc>Creates a new Android service.</shortdesc> 18 <stentry>The folder into which the source code for the new service is to be stored. By default this is the 23 <stentry>The package that is to contain the new service. By default this is the current project's 28 <stentry>The name to be used for the class that implements the service. This should be a simple, non-qualified 33 <stentry>(optional) The label for the service. This label is displayed to the user, often along with the 34 service's icon, when the service needs to be identified to the user. Note that if you specify a label, the 35 New Service wizard creates a string resource to hold this value. If the <uicontrol>Default</uicontrol [all...] |
/development/samples/Alarm/ |
_index.html | 4 for the <a href="../AlarmServiceTest/index.html">Alarm Service Test</a> 8 This application demonstrates a simple Android service that is started when needed by 10 use this type of service to move long-running or periodic tasks into the background. For 11 example, you could use this type of service to perform data synchronization. 14 In the sample, the service simply runs for 15 seconds and then stops itself. The wait is 16 set up a service that runs multiple threads that depend on one or more objects that must be 21 service. You use the activity to control when the service starts and stops. By default, the 22 activity fires off the service every thirty seconds. In effect, the service starts afte [all...] |
/external/chromium/chrome/browser/profiles/ |
profile_keyed_service_factory.cc | 38 ProfileKeyedService* service; local 43 service = it->second; 44 if (service || !factory_) 45 return service; 47 // service is NULL but we have a mock factory function 49 service = factory_(profile); 51 service = BuildServiceInstanceFor(profile); 54 Associate(profile, service); 55 return service; 63 ProfileKeyedService* service) { [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ServiceTest.java | 20 import android.app.Service; 41 String EXIST_CONN_TO_RECEIVE_SERVICE = "existing connection to receive service"; 42 private static final String EXIST_CONN_TO_LOSE_SERVICE = "existing connection to lose service"; 54 public void onServiceConnected(ComponentName name, IBinder service) { 77 public void onServiceConnected(ComponentName name, IBinder service) { 83 service.transact(LocalService.SET_REPORTER_CODE, data, null, 0); 127 private void startExpectResult(Intent service) { 128 startExpectResult(service, new Bundle()); 131 private void startExpectResult(Intent service, Bundle bundle) { 137 mContext.startService(new Intent(service).putExtras(bundle)) [all...] |
/frameworks/base/services/java/com/android/server/location/ |
LocationProviderProxy.java | 90 * Remember we can switch the service that implements a providers 96 if (D) Log.d(TAG, "applying state to connected service"); 102 ILocationProvider service; 107 service = getService(); 110 if (service == null) return; 114 properties = service.getProperties(); 120 // apply current state to new service 122 service.enable(); 124 service.setRequest(request, source); 130 // never let remote service crash system serve 157 ILocationProvider service = getService(); local 175 ILocationProvider service = getService(); local 201 ILocationProvider service = getService(); local 227 ILocationProvider service = getService(); local 248 ILocationProvider service = getService(); local 264 ILocationProvider service = getService(); local 280 ILocationProvider service = getService(); local [all...] |
/external/qemu/android/protocol/ |
fb-updates-proxy.h | 14 * Contains core-side framebuffer service that sends framebuffer updates 21 /* Descriptor for a framebuffer core service instance */ 25 * Creates framebuffer service. 27 * sock - Socket descriptor for the service 33 * Framebuffer service descriptor. 38 * Destroys framebuffer service created with proxyFb_create. 40 * core_fb - Framebuffer service descriptor created with proxyFb_create 47 * core_fb - Framebuffer service descriptor created with proxyFb_create
|
/frameworks/base/cmds/service/ |
Android.mk | 5 service.cpp 14 LOCAL_MODULE:= service
|
service.cpp | 33 static String16 get_interface_name(sp<IBinder> service) 35 if (service != NULL) { 37 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply); 63 aerr << "service: Unable to get default service manager!" << endl; 81 aerr << "service: Unknown option -" << ic << endl; 94 sp<IBinder> service = sm->checkService(String16(argv[optind])); local 95 aout << "Service " << argv[optind] << 96 (service == NULL ? ": not found" : ": found") << endl; 98 aerr << "service: No service specified for check" << endl 108 sp<IBinder> service = sm->checkService(name); local 118 sp<IBinder> service = sm->checkService(String16(argv[optind++])); local [all...] |
/sdk/templates/other/Service/root/ |
AndroidManifest.xml.ftl | 4 <service android:name=".${className}" 7 </service>
|
/external/chromium/chrome/browser/webdata/ |
token_service_table_unittest.cc | 45 std::string service; local 47 service = "testservice"; 54 EXPECT_TRUE(db.GetTokenServiceTable()->SetTokenForService(service, 58 EXPECT_EQ(out_map.find(service)->second, "pepperoni"); 68 EXPECT_TRUE(db.GetTokenServiceTable()->SetTokenForService(service, "cheese")); 70 EXPECT_EQ(out_map.find(service)->second, "cheese"); 78 std::string service; local 79 service = "testservice"; 84 EXPECT_TRUE(db.GetTokenServiceTable()->SetTokenForService(service, 87 EXPECT_EQ(out_map.find(service)->second, "pepperoni") [all...] |
/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...] |
/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...] |
/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/dbus/bus/ |
services.h | 2 /* services.h Service management 33 typedef void (* BusServiceForeachFunction) (BusService *service, 69 BusService* bus_service_ref (BusService *service); 70 void bus_service_unref (BusService *service); 71 dbus_bool_t bus_service_add_owner (BusService *service, 76 dbus_bool_t bus_service_swap_owner (BusService *service, 80 dbus_bool_t bus_service_remove_owner (BusService *service, 84 dbus_bool_t bus_service_has_owner (BusService *service, 86 BusOwner* bus_service_get_primary_owner (BusService *service); 87 dbus_bool_t bus_service_get_allow_replacement (BusService *service); [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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpService.java | 34 * Provides Bluetooth A2DP profile, as a service in the Bluetooth application. 80 Log.d(TAG, "getA2dpService(): service is NULL"); 82 Log.d(TAG,"getA2dpService(): service is not available"); 95 Log.d(TAG, "setA2dpService(): service not available"); 97 Log.d(TAG,"setA2dpService(): service is cleaning up"); 206 A2dpService service = getService(); local 207 if (service == null) return false; 208 return service.connect(device); 212 A2dpService service = getService(); local 213 if (service == null) return false 218 A2dpService service = getService(); local 224 A2dpService service = getService(); local 230 A2dpService service = getService(); local 236 A2dpService service = getService(); local 242 A2dpService service = getService(); local 248 A2dpService service = getService(); 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...] |
/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...] |