/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
GattService.java | 19 import android.app.Service; 46 * Provides Bluetooth Gatt profile, as a service in 79 * Pending service declaration queue 180 return Service.START_NOT_STICKY; 217 * Handlers for incoming service calls 233 Log.e(TAG, "getService() - Service requested, but not available!"); 238 GattService service = getService(); local 239 if (service == null) return new ArrayList<BluetoothDevice>(); 240 return service.getDevicesMatchingConnectionStates(states); 244 GattService service = getService() local 250 GattService service = getService(); local 256 GattService service = getService(); local 262 GattService service = getService(); local 272 GattService service = getService(); local 278 GattService service = getService(); local 284 GattService service = getService(); local 290 GattService service = getService(); local 296 GattService service = getService(); local 305 GattService service = getService(); local 316 GattService service = getService(); local 328 GattService service = getService(); local 341 GattService service = getService(); local 350 GattService service = getService(); local 356 GattService service = getService(); local 365 GattService service = getService(); local 373 GattService service = getService(); local 379 GattService service = getService(); local 385 GattService service = getService(); local 391 GattService service = getService(); local 397 GattService service = getService(); local 405 GattService service = getService(); local 413 GattService service = getService(); local 421 GattService service = getService(); local 429 GattService service = getService(); local 435 GattService service = getService(); local 442 GattService service = getService(); local 449 GattService service = getService(); local 456 GattService service = getService(); local 465 GattService service = getService(); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGatt.java | 191 * A new GATT service has been discovered. 192 * The service is added to the internal list and the search 207 * An included service has been found durig GATT discovery. 208 * The included service is added to the respective parent. 221 BluetoothGattService service = getService(mDevice, 226 if (service != null && includedService != null) { 227 service.addIncludedService(includedService); 233 * Add the new characteristic to the relevant service and continue 247 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(), 249 if (service != null) [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_api.c | 137 ** Description Create a service. When service creation is done, a callback 139 ** and service ID to the profile. The service ID obtained in 141 ** service and characteristics/descriptors into the service. 143 ** Parameters app_id: Profile ID this service is belonged to. 144 ** p_service_uuid: service UUID. 145 ** inst: instance ID number of this service. 146 ** num_handle: numble of handle requessted for this service [all...] |
/frameworks/base/core/java/android/speech/ |
RecognitionService.java | 21 import android.app.Service; 32 * This class provides a base class for recognition service implementations. This class should be 34 * implementation of this service is stateless. 36 public abstract class RecognitionService extends Service { 38 * The {@link Intent} that must be declared as handled by the service. 46 * <code><{@link android.R.styleable#RecognitionService recognition-service}></code> tag. 56 /** Binder of the recognition service */ 165 Log.e(TAG, "call for recognition service without RECORD_AUDIO permissions"); 174 * Notifies the service that it should start listening for speech. 179 * @param listener that will receive the service's callback [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActiveServices.java | 39 import android.app.Service; 67 // How long we wait for a service to finish executing. 70 // How long a service needs to be running until restarting its process 71 // is no longer considered to be a relaunch of the service. 74 // How long a service needs to be running until it will start back at 79 // a service is killed before it has run for SERVICE_RESET_RUN_DURATION. 87 // Maximum amount of time for there to be no activity on a service before 97 * All currently bound service connections. Keys are the IBinder of 207 public ActiveServices(ActivityManagerService service) { 208 mAm = service; [all...] |
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
ServiceRunnerActivity.java | 20 import android.app.Service; 44 // Handler of incoming messages from service. 81 public void onServiceConnected(ComponentName className, IBinder service) { 82 mService = new Messenger(service); 84 // Send a message to the service to register. 90 // In this case the service has crashed before we could even do anything. 91 Log.e(TAG, "Failed to send start message to service."); 97 // This is called when the connection with the service has been unexpectedly 99 Log.e(TAG, "Service disconnected.");
|
/development/samples/Alarm/tests/ |
_index.html | 3 sample application. It tests the application's <code>AlarmService</code> service. 17 file for a test application, and how to set up a test case class for a service. The 25 service under test before each test is run. 28 Service start: The <code>Service.testServiceCreate()</code> test confirms that the 29 service starts correctly and initializes the variables it needs to provide its 39 service under test. 43 <code>com.example.android.newalarm</code>, which is the same package used by service under 45 service under test that are defined with package visibility. To prevent conflicts, though,
|
/frameworks/base/core/java/android/nfc/tech/ |
BasicTagTechnology.java | 65 Log.e(TAG, "NFC service dead", e); 88 Log.e(TAG, "NFC service dead", e); 89 throw new IOException("NFC service died"); 111 Log.e(TAG, "NFC service dead", e); 112 throw new IOException("NFC service died"); 125 Log.e(TAG, "NFC service dead", e); 137 Log.e(TAG, "NFC service dead", e); 154 Log.e(TAG, "NFC service dead", e); 155 throw new IOException("NFC service died");
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceInfo.java | 24 * A class for storing Upnp service information that is advertised 53 * Create UPnP service information object. 63 * @param services a string representation of this service in the following format, 67 * e.g) urn:schemas-upnp-org:service:ContentDirectory:1 68 * @return UPnP service information object. 83 for (String service:services) { 84 info.add(createSupplicantQuery(uuid, service)); 92 * Create wpa_supplicant service query for upnp. 96 * @return wpa_supplicant service query for upnp
|
WifiP2pUpnpServiceResponse.java | 25 * A class for a response of upnp service discovery. 37 * The list of Unique Service Name. 55 * Return Unique Service Name strings. 57 * @return Unique Service Name.<br> 64 * <li>"uuid:6859dede-8574-59ab-9332-123456789012::urn:schemas-upnp-org:service: 85 throw new IllegalArgumentException("Malformed upnp service response"); 90 * Parse UPnP service discovery response 135 * Create upnp service response. 143 * @return UPnP service response data.
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiver.java | 20 import android.app.Service; 28 * Handle incoming SMSes. Just dispatches the work off to a Service. 68 * Start the service to process the current event notifications, acquiring 69 * the wake lock before returning to ensure that the service will run. 86 * Called back by the service when it has finished processing notifications, 87 * releasing the wake lock if the service is now stopping. 89 public static void finishStartingService(Service service, int startId) { 92 if (service.stopSelfResult(startId)) {
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/ |
ControllerService.java | 17 package com.android.tools.sdkcontroller.service; 26 import android.app.Service; 40 * The background service of the SdkController. 43 * The service manages a number of SDK controller channels which can be seen as 53 * All the channels are created when the service starts, and whether the emulator 61 public class ControllerService extends Service { 65 * http://developer.android.com/reference/android/app/Service.html#LocalServiceSample 84 * Whether the service is running. Set to true in onCreate, false in onDestroy. 88 /** Internal error reported by the service. */ 92 * Interface that the service uses to notify binded activities [all...] |
/system/core/init/ |
readme.txt | 20 Actions and Services have unique names. If a second Action or Service 51 service <name> <pathname> [ <argument> ]* 60 runs the service. 63 This is a device-critical service. If it exits more than four times in 67 This service will not automatically start with its class. 79 Change to username before exec'ing this service. 86 Change to groupname before exec'ing this service. Additional 92 Change to securitycontext before exec'ing this service. 99 Do not restart the service when it exits. 102 Specify a class name for the service. All services in [all...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 88 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", 96 Provider.Service s1 = p.getService("MessageDigest", "AbC"); 101 s = new Provider.Service(p, "MessageDigest", "SHA-1", 114 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", 129 s = (Provider.Service)it.next(); 145 fail("Incorrect service"); 153 Provider.Service s = new Provider.Service(p, "Type", "Algorithm" [all...] |
/external/qemu/android/ |
hw-qemud.h | 32 * a single client in the emulated system for a given named service. 34 * this is only used to connect GPS and GSM service clients to the 56 /* A QemudService service is used to connect one or more clients to 71 * service through qemud. 85 /* Register a new client for a given service. 92 extern QemudClient* qemud_client_new( QemudService* service, 115 * system tries to connect to a given qemud service. This should typically 119 QemudService* service, 123 /* A function that will be called when the state of the service should be 126 typedef void (*QemudServiceSave) ( QEMUFile* f, QemudService* service, void* opaque ) [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/Public/ |
MobiCoreRegistry.h | 87 /** Stores a service provider container secure object in the registry. 88 * @param spid Service provider ID. 89 * @param so Service provider container secure object. 94 /** Reads a service provider container secure object from the registry. 95 * @param spid Service provider ID. 96 * @param[out] so Service provider container secure object. 101 /** Deletes a service provider recursively, including all trustlets and 103 * @param spid Service provider ID. 135 * @param context (service provider = 0; trustlet = 1). 136 * @param cid Service provider or UUID [all...] |
/device/samsung/tuna/ |
init.tuna.rc | 137 service fRom /system/bin/fRom \ 145 service pvrsrvctl /vendor/bin/pvrsrvctl --start --no-module 152 service setup_fs /system/bin/setup_fs \ 160 service tf_daemon /system/bin/tf_daemon \ 166 service smc_pa_wvdrm /system/bin/smc_pa_ctrl \ 175 service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023 178 service p2p_supplicant /system/bin/wpa_supplicant \ 193 service wpa_supplicant /system/bin/wpa_supplicant \ 206 service dhcpcd_wlan0 /system/bin/dhcpcd -aABDKL 211 service dhcpcd_p2p /system/bin/dhcpcd -aABK [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
AccessibilityManagerTest.java | 42 * Tests for the AccessibilityManager which mocking the backing service. 65 // create a list of installed accessibility services the mock service returns 71 // configure the mock service behavior 89 // verify the mock service was properly called 95 // configure the mock service behavior 108 // verify the mock service was properly called 114 // configure the mock service behavior 127 assertTrue("Must be enabled since the mock service is enabled", isEnabledServiceEnabled); 139 assertFalse("Must be disabled since the mock service is disabled", 142 // verify the mock service was properly calle [all...] |
/frameworks/base/docs/html/guide/topics/manifest/ |
service-element.jd | 1 page.title=<service> 8 <dd><pre class="stx"><service android:<a href="#enabled">enabled</a>=["true" | "false"] 17 </service></pre></dd> 27 <dd>Declares a service (a {@link android.app.Service} subclass) as one 34 All services must be represented by {@code <service>} elements in 42 <dd>Whether or not the service can be instantiated by the system — 50 <code><a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> and {@code <service>} 52 are by default) for the service to be enabled. If either is 53 "{@code false}", the service is disabled; it cannot be instantiated [all...] |
/external/icu4c/common/ |
serv.h | 19 * even when service is removed from the build. 53 * generate an instance of the service. ICUServiceKeys define how 63 * to provide a fully unique identifier for the service object, 121 * identify an instance of the service in the cache. A 125 * instantiate the service.</p> 207 * <p>An implementing ICUServiceFactory generates the service objects maintained by the 208 * service. A factory generates a service object from a key, 217 * <p>Create a service object from the key, if this factory 221 * the service's getKey(ICUServiceKey, String[], ICUServiceFactory) metho [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/basicsyncadapter/ |
SyncService.java | 19 import android.app.Service; 24 /** Service to handle sync requests. 26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and 35 public class SyncService extends Service { 47 Log.i(TAG, "Service created"); 61 Log.i(TAG, "Service destroyed");
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
NsdChatActivity.java | 65 // Register service 78 NsdServiceInfo service = mNsdHelper.getChosenServiceInfo(); local 79 if (service != null) { 81 mConnection.connectToServer(service.getHost(), 82 service.getPort()); 84 Log.d(TAG, "No service to connect to!");
|
/external/sepolicy/ |
property_contexts | 2 # property service keys 23 service. u:object_r:system_prop:s0 30 service.adb.root u:object_r:shell_prop:s0 31 service.adb.tcp.port u:object_r:shell_prop:s0 35 persist.service. u:object_r:system_prop:s0 36 persist.service.bdroid. u:object_r:bluetooth_prop:s0
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
nsd-wifi-direct.jd | 1 page.title=Using Wi-Fi Direct for Service Discovery 14 <li><a href="#register">Add a Local Service</a></li> 26 <p>The first lesson in this class, <a href="nsd.html">Using Network Service 29 Wi-Fi Direct&trad; Service Discovery allows you to discover the services of nearby devices directly, 33 <p>While this set of APIs is similar in purpose to the Network Service Discovery 66 <h2 id="register">Add a Local Service</h2> 67 <p>If you're providing a local service, you need to register it for 68 service discovery. Once your local service is registered, the framework 69 automatically responds to service discovery requests from peers.</p [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ViewNotificationService.java | 19 import android.app.Service; 31 * Service that sends out a view notification for a contact. At the moment, this is only 34 public class ViewNotificationService extends Service { 57 // startId will stop this service. In practice, this shouldn't be a problem, 58 // as this service is supposed to be called by the Phone app which only sends 63 Log.e(TAG, "Error stopping service", e);
|