/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbResolverActivity.java | 99 IUsbManager service = IUsbManager.Stub.asInterface(b); local 105 service.grantDevicePermission(mDevice, uid); 108 service.setDevicePackage(mDevice, ri.activityInfo.packageName, userId); 110 service.setDevicePackage(mDevice, null, userId); 114 service.grantAccessoryPermission(mAccessory, uid); 117 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName, userId); 119 service.setAccessoryPackage(mAccessory, null, userId);
|
/frameworks/base/docs/html/training/sync-adapters/ |
creating-authenticator.jd | 53 implementations. You also need to provide a bound {@link android.app.Service} that 140 Service for it. This service provides an Android binder object that allows the framework 144 Since the framework starts this {@link android.app.Service} the first time it needs to 145 access the authenticator, you can also use the service to instantiate the authenticator, 147 {@link android.app.Service#onCreate Service.onCreate()} method of the service. 150 The following snippet shows you how to define the bound {@link android.app.Service}: 154 * A bound Service that instantiates the authenticato [all...] |
/frameworks/base/services/java/com/android/server/ |
AppWidgetService.java | 49 * Redirects calls to this service to the instance of the service for the appropriate user. 227 AppWidgetServiceImpl service; local 229 service = mAppWidgetServices.get(userId); 230 if (service == null) { 233 service = new AppWidgetServiceImpl(mContext, userId, mSaveStateHandler); 234 service.systemReady(mSafeMode); 236 mAppWidgetServices.append(userId, service); 241 service.sendInitialBroadcasts(); 243 return service; 326 AppWidgetServiceImpl service = mAppWidgetServices.valueAt(i); local [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 94 * service discovery is meant to address this issue of filtering the peers based on the running 97 * <p>With pre-association service discovery, an application can advertise a service for a 99 * Currently, DNS based service discovery (Bonjour) and Upnp are the higher layer protocols 104 * <p> An application can advertise a Upnp or a Bonjour service with a call to 105 * {@link #addLocalService}. After a local service is added, 106 * the framework automatically responds to a peer application discovering the service prior 108 * service and {@link #clearLocalServices} can be used to clear all local services. 112 * application can add service discovery request with a call to {@link #addServiceRequest}, 113 * remove a service discovery request with a call to {@link #removeServiceRequest} or clea [all...] |
/external/qemu/docs/ |
ANDROID-QEMUD.TXT | 22 Each service is identified by a name and serves a specific purpose. For 47 - sending the service name through the socket 52 corresponding service. 83 communication, the client and service should use a fragmentation 92 - When a client connects to /dev/socket/qemud and sends a service 95 connect:<service>:<id> 97 where <service> is the service name, and <id> is a 2-hexchar string 114 the corresponding emulator service will be passed through the 122 - If an emulator service decides, for some reason, to disconnec [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_cache.c | 51 "I", /* Included Service */ 76 APPL_TRACE_ERROR6("Service[%d]: handle[%d ~ %d] %s[0x%04x] inst[%d]", 206 ** Description get service instance number 208 ** Returns instance ID of the service. 260 ** Description Add a service into database cache. 274 APPL_TRACE_DEBUG0("Add a service into Service"); 285 /* update service information */ 297 /* first service */ 329 APPL_TRACE_DEBUG1("bta_gattc_add_attr_to_cache: Add a [%s] into Service", bta_gattc_attr_type[type]) [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_sdp.c | 38 /* Number of elements in service class id list. */ 41 /* size of database for service discovery */ 154 /* add service class id list */ 172 /* add service name */ 223 /* if service is set in mask */ 278 /* if service registered for this scb and not registered for any other scb */ 299 ** for requested service. 305 BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) 313 if (service & BTA_HFP_SERVICE_MASK) 318 else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
SimpleTimeLimiterTest.java | 37 private TimeLimiter service; field in class:SimpleTimeLimiterTest 55 service = new SimpleTimeLimiter(executor); 60 String result = service.callWithTimeout( 74 service.callWithTimeout( 90 service.callWithTimeout( 106 service.callWithTimeout( 121 Sample proxy = service.newProxy( 131 Sample proxy = service.newProxy( 149 Sample proxy = service.newProxy( 162 Sample proxy = service.newProxy [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
Service.java | 37 * interface can be used to call the methods of the service without knowing 48 public interface Service { 50 * Get the {@code ServiceDescriptor} describing this service and its methods. 55 * <p>Call a method of the service specified by MethodDescriptor. This is 57 * definitions of the service's methods. 65 * being used by this Service. For stubs, the "correct type" depends 66 * on the RpcChannel which the stub is using. Server-side Service 100 * service.getDescriptorForType().findMethodByName("Foo"); 104 * service.callMethod(method, request, callback); 112 * the {@code Service} implementation constructs the response message itself [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
uenum.h | 43 * the iterator is out-of-sync with its service, status is set to 61 * with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and 62 * NULL is returned. If the native service string is a char* string, 70 * the iterator is out of sync with its service. 87 * with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and 88 * NULL is returned. If the native service string is a UChar* 99 * the iterator is out of sync with its service. Set to 118 * Resets the iterator to the current list of service IDs. This 119 * re-establishes sync with the service and rewinds the iterator 123 * the iterator is out of sync with its service. [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
uenum.h | 43 * the iterator is out-of-sync with its service, status is set to 61 * with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and 62 * NULL is returned. If the native service string is a char* string, 70 * the iterator is out of sync with its service. 87 * with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and 88 * NULL is returned. If the native service string is a UChar* 99 * the iterator is out of sync with its service. Set to 118 * Resets the iterator to the current list of service IDs. This 119 * re-establishes sync with the service and rewinds the iterator 123 * the iterator is out of sync with its service. [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
uenum.h | 43 * the iterator is out-of-sync with its service, status is set to 61 * with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and 62 * NULL is returned. If the native service string is a char* string, 70 * the iterator is out of sync with its service. 87 * with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and 88 * NULL is returned. If the native service string is a UChar* 99 * the iterator is out of sync with its service. Set to 118 * Resets the iterator to the current list of service IDs. This 119 * re-establishes sync with the service and rewinds the iterator 123 * the iterator is out of sync with its service. [all...] |
/frameworks/base/core/java/android/app/ |
IntentService.java | 27 * IntentService is a base class for {@link Service}s that handle asynchronous 30 * service is started as needed, handles each Intent in turn using a worker 37 * will receive the Intents, launch a worker thread, and stop the service as 52 public abstract class IntentService extends Service { 86 * {@link Service#START_REDELIVER_INTENT}, so if this process dies before 93 * {@link Service#START_NOT_STICKY}, and if the process dies, the Intent 104 // method that would launch the service & hand off a wakelock. 126 * @see android.app.Service#onStartCommand 140 * Unless you provide binding for your service, you don't need to implement this 142 * @see android.app.Service#onBin [all...] |
/frameworks/base/core/java/android/os/ |
ServiceManagerNative.java | 23 * Native implementation of the service manager. Most clients will only 30 * Cast a Binder object into a service manager interface, generating 59 IBinder service = getService(name); local 60 reply.writeStrongBinder(service); 67 IBinder service = checkService(name); local 68 reply.writeStrongBinder(service); 75 IBinder service = data.readStrongBinder(); local 77 addService(name, service, allowIsolated); 142 public void addService(String name, IBinder service, boolean allowIsolated) 148 data.writeStrongBinder(service); [all...] |
/frameworks/base/core/java/com/android/internal/os/storage/ |
ExternalStorageFormatter.java | 4 import android.app.Service; 27 public class ExternalStorageFormatter extends Service 101 return Service.START_REDELIVER_INTENT; 130 Log.w(TAG, "Failed talking with mount service", e); 158 Log.w(TAG, "Failed talking with mount service", e); 196 Log.w(TAG, "Failed talking with mount service", e); 235 IBinder service = ServiceManager.getService("mount"); local 236 if (service != null) { 237 mMountService = IMountService.Stub.asInterface(service); 239 Log.e(TAG, "Can't get mount service"); [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxService.java | 23 import android.app.Service; 48 * Machine Learning service that runs in a remote process. 52 public class BordeauxService extends Service { 56 * service. 74 Log.i(TAG, "Bordeaux service created."); 86 // TODO: don't display the notification after the service is 108 Log.i(TAG, "Bordeaux service stopped."); 121 // The main interface implemented by the service. 170 * Show a notification while this service is running. 171 * TODO: remove the code after production (when service is loade [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DockEventReceiver.java | 19 import android.app.Service; 95 * 4) the dock is still docked (check can only be done in the Service) 121 * Start the service to process the current event notifications, acquiring 122 * the wake lock before returning to ensure that the service will run. 141 * Called back by the service when it has finished processing notifications, 142 * releasing the wake lock if the service is now stopping. 144 public static void finishStartingService(Service service, int startId) { 148 if (service.stopSelfResult(startId)) { 149 Log.d(TAG, "finishStartingService: stopping service"); [all...] |
/frameworks/base/docs/html/guide/topics/processes/ |
process-lifecycle.jd | 17 (in particular {@link android.app.Activity}, {@link android.app.Service}, 32 is to start a {@link android.app.Service} from the BroadcastReceiver, so the 53 <li>It has a {@link android.app.Service} that is currently executing code 54 in one of its callbacks ({@link android.app.Service#onCreate Service.onCreate()}, 55 {@link android.app.Service#onStart Service.onStart()}, or 56 {@link android.app.Service#onDestroy Service.onDestroy()}).</li> 75 <li>A <strong>service process</strong> is one holding a {@link android.app.Service [all...] |
/device/lge/mako/ |
init.mako.rc | 267 service rmt_storage /system/bin/rmt_storage 271 service hciattach /system/bin/sh /system/etc/init.mako.bt.sh 284 service bridgemgrd /system/bin/bridgemgrd 290 service qmuxd /system/bin/qmuxd 295 service kickstart /system/bin/qcks -i /firmware/image/ -r /data/tombstones/mdm/ 301 service netmgrd /system/bin/netmgrd 305 service sensors /system/bin/sensors.qcom 310 service wpa_supplicant /system/bin/wpa_supplicant \ 323 service p2p_supplicant /system/bin/wpa_supplicant \ 338 service dhcpcd_wlan0 /system/bin/dhcpcd -aABDK [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothClass.java | 28 * <p>Every Bluetooth class is composed of zero or more service classes, and 35 * service discovery is done through SDP requests, which are automatically 47 * constants and methods to determine which Service Class(es) and Device Class 102 * Defines all service class constants. 103 * <p>Each {@link BluetoothClass} encodes zero or more service classes. 105 public static final class Service { 120 * Return true if the specified service class is supported by this 122 * <p>Valid service classes are the public constants in 123 * {@link BluetoothClass.Service}. For example, {@link 124 * BluetoothClass.Service#AUDIO} [all...] |
/frameworks/support/v4/java/android/support/v4/accessibilityservice/ |
AccessibilityServiceInfoCompat.java | 125 * Capability: This accessibility service can retrieve the active window content. 130 * Capability: This accessibility service can request touch exploration mode in which 136 * Capability: This accessibility service can request enhanced web accessibility 142 * Capability: This accessibility service can filter the key event stream. 169 * Default service is invoked only if no package specific one exists. In case of 170 * more than one package specific service only the earlier registered is notified. 182 * window content and also the accessibility service will receive accessibility events 209 * certain gestures performed on the touch screen and notify this service. 211 * accessibility service that has this flag set. Hence, clearing this 213 * mode since there may be another enabled service that requested it [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderService.java | 19 import android.app.Service; 38 * To implement your own media route provider service, extend this class and 42 * Declare your media route provider service in your application manifest 46 * <service android:name=".MyMediaRouteProviderService" 51 * </service> 54 public abstract class MediaRouteProviderService extends Service { 68 * The {@link Intent} that must be declared as handled by the service. 75 * Messages sent from the client to the service. 166 * Messages sent from the service to the client. 170 /** (service v1 785 MediaRouteProviderService service = mServiceRef.get(); local [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_api.c | 76 ** application UUID, service UUID and service instance 128 ** Description This function is called to reserve a block of handles for a service. 130 ** *** It should be called only once per service instance *** 133 ** p_svc_uuid : service UUID 134 ** svc_inst : instance of the service inside the application 135 ** num_handles : number of handles needed by the service. 136 ** is_pri : is a primary service or not. 138 ** Returns service handle if sucessful, otherwise 0. 167 GATT_TRACE_DEBUG0 ("Service already been created!!") [all...] |
/external/mdnsresponder/mDNSPosix/ |
ProxyResponder.c | 96 // Service Registration 99 // unique name for the service. For a device such as a printer, this may be appropriate. 101 // response may be to prompt the user and ask them to choose a new name for the service. 116 printf("Service %s now registered and active\n", buffer); 164 printf("Made Service Records for %s\n", buffer); 168 // Service non-existence assertion 169 // (claiming a service name without actually providing a service at that name, to prevent anyone else using that name) 171 // e.g. A printer that implements IPP printing service using the name "My Printer", but doesn't implement LPR service, [all...] |
/external/protobuf/python/google/protobuf/ |
service.py | 31 """DEPRECATED: Declares the RPC service interfaces. 51 class Service(object): 57 interface can be used to call the methods of the service without knowing 62 """Retrieves this service's descriptor.""" 67 """Calls a method of the service specified by method_descriptor. 76 * method_descriptor.service == GetDescriptor 81 used by this Service. For stubs, the "correct type" depends on the 101 method = service.GetDescriptor().FindMethodByName("Foo") 104 service.CallMethod(method, request, callback) 205 An RpcChannel represents a communication line to a service which can be use [all...] |