/external/chromium/chrome/browser/extensions/ |
extension_startup_browsertest.cc | 81 ExtensionService* service = browser()->profile()->GetExtensionService(); local 85 for (size_t i = 0; i < service->extensions()->size(); i++) 86 if (service->extensions()->at(i)->location() != Extension::COMPONENT) 91 ASSERT_EQ(expect_extensions_enabled, service->extensions_enabled()); 164 ExtensionService* service = browser()->profile()->GetExtensionService(); local 165 for (size_t i = 0; i < service->extensions()->size(); ++i) { 166 if (service->extensions()->at(i)->location() == Extension::COMPONENT) 168 if (service->AllowFileAccess(service->extensions()->at(i))) { 169 service->SetAllowFileAccess(service->extensions()->at(i), false) [all...] |
/external/dbus/cmake/test/ |
CMakeLists.txt | 14 ${CMAKE_SOURCE_DIR}/../test/test-service.c 30 ${CMAKE_SOURCE_DIR}/../test/test-shell-service.c 59 add_executable(test-service ${test-service_SOURCES}) 60 target_link_libraries(test-service ${DBUS_INTERNAL_LIBRARIES}) 69 add_executable(test-shell-service ${test-shell-service_SOURCES}) 70 target_link_libraries(test-shell-service ${DBUS_INTERNAL_LIBRARIES}) 101 test/data/valid-service-files 102 test/data/valid-service-files-system 106 test/data/invalid-service-files-system 118 FOREACH(FILE_TYPE *.message *.message-raw *.auth-script *.sha1 *.txt *.conf *.service) [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractExecutionThreadService.java | 29 * service; consider {@link AbstractService} if you would like to manage any 36 public abstract class AbstractExecutionThreadService implements Service { 41 private final Service delegate = new AbstractService() { 58 "Error while attempting to shut down the service after failure.", ignored); 80 * Start the service. This method is invoked on the execution thread. 85 * Run the service. This method is invoked on the execution thread. 101 * Stop the service. This method is invoked on the execution thread. 107 * Invoked to request the service to stop. 112 * Returns the {@link Executor} that will be used to run this service. 116 * execute()} method is called when this service is started, and should retur [all...] |
AbstractScheduledService.java | 40 * the {@link #startUp} and {@link #shutDown} methods and also uses that service to schedule the 42 * {@link Scheduler}. When this service is asked to stop via {@link #stop} or {@link #stopAndWait}, 55 * Here is a sketch of a service which crawls a website and uses the scheduling capabilities to 90 public abstract class AbstractScheduledService implements Service { 99 * service with a fixed schedule. If more flexibility is needed then consider subclassing the 120 public Future<?> schedule(AbstractService service, ScheduledExecutorService executor, 139 public Future<?> schedule(AbstractService service, ScheduledExecutorService executor, 146 /** Schedules the task to run on the provided executor on behalf of the service. */ 147 abstract Future<?> schedule(AbstractService service, ScheduledExecutorService executor, 175 "Error while attempting to shut down the service after failure.", ignored) [all...] |
/frameworks/base/services/java/com/android/server/dreams/ |
DreamController.java | 29 import android.service.dreams.DreamService; 30 import android.service.dreams.IDreamService; 108 Slog.e(TAG, "Unable to bind dream service: " + intent); 113 Slog.e(TAG, "Unable to bind dream service: " + intent, ex); 171 private void attach(IDreamService service) { 173 service.asBinder().linkToDeath(mCurrentDream, 0); 174 service.attach(mCurrentDream.mToken); 176 Slog.e(TAG, "The dream service died unexpectedly.", ex); 181 mCurrentDream.mService = service; 230 public void onServiceConnected(ComponentName name, final IBinder service) { [all...] |
/packages/apps/Exchange/exchange2/ |
AndroidManifest.xml | 83 android:name=".service.ExchangeBroadcastReceiver" 97 <service 98 android:name=".service.ExchangeBroadcastProcessorService" /> 101 <service 110 </service> 113 <service 122 </service> 125 <service 134 </service> 137 <service [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
MainActivity.java | 32 import com.android.tools.sdkcontroller.service.ControllerService; 33 import com.android.tools.sdkcontroller.service.ControllerService.ControllerBinder; 34 import com.android.tools.sdkcontroller.service.ControllerService.ControllerListener; 38 * It allows the user to start/stop the service and see it's current state and errors. 69 // BaseBindingActivity.onResume will bind to the service. 76 // BaseBindingActivity.onResume will unbind from (but not stop) the service. 83 // If back is pressed, we stop the service automatically. 158 * Unbind and then actually stops the service. 161 Intent service = new Intent(this, ControllerService.class); local 163 if (DEBUG) Log.d(TAG, "stop service requested") [all...] |
/tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/wizards/buildingblocks/ |
NewServiceWizard.java | 37 import com.motorola.studio.android.model.Service; 40 * Class that implements the Service Wizard. 46 private Service service = new Service(); field in class:NewServiceWizard 108 StudioLogger.error(NewServiceWizard.class, "Could not open the service " 114 StudioLogger.error(NewServiceWizard.class, "Could not open the service " 147 service.configure(selection); 156 addPage(new NewServiceMainPage(service)); 165 return service; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmService_Service.java | 26 import android.app.Service; 35 * This is an example of implementing an application service that will run in 42 public class AlarmService_Service extends Service { 52 // Start up the thread running the service. Note that we create a 53 // separate thread because the service normally runs in the process's 85 // Done with our work... stop the service! 96 * Show a notification while this service is running.
|
_index.html | 192 <h3 id="Service">Service</h3> 194 <dt><a href="LocalService.html">Local Service</a></dt> 195 <dd>Demonstrate the implementation of a service that runs in the same 200 with a service when you know it will only run in your own process. The client 201 code for interacting with the service is in 202 <a href="LocalServiceActivities.html">Local Service Activities</a>.</dd> 204 <dt><a href="MessengerService.html">Messenger Service</a></dt> 205 <dd>Demonstrates binding to a Service whose interface is implemented with 207 with a Service than using a raw AIDL interface. The clien [all...] |
/development/tools/emulator/system/qemu-props/ |
qemu-props.c | 19 * system. It does so by connecting to the 'boot-properties' qemud service. 40 /* Name of the qemud service we want to connect to. 50 /* try to connect to the qemud service */ 69 DD("connected to '%s' qemud service.", QEMUD_SERVICE); 71 /* send the 'list' command to the service */ 73 DD("could not send command to '%s' service", QEMUD_SERVICE); 77 /* read each system property as a single line from the service,
|
/external/chromium/chrome/browser/resources/net_internals/ |
serviceprovidersview.js | 6 * This view displays information on Winsock layered service providers and 9 * For each layered service provider, shows the name, dll, and type 41 * Returns type of a layered service provider. 79 * Returns socket type of a layered service provider as a string. 94 * Returns protocol type of a layered service provider as a string. 102 * Updates the table of layered service providers. 108 // Add a table row for each service provider.
|
/external/protobuf/src/google/protobuf/ |
service.h | 45 // When you use the protocol compiler to compile a service definition, it 46 // generates two classes: An abstract interface for the service (with 47 // methods matching the service definition) and a "stub" implementation. 49 // local implementation of the service. 51 // For example, the service definition: 52 // service MyService { 110 class Service; 123 // interface can be used to call the methods of the Service without knowing 125 class LIBPROTOBUF_EXPORT Service { 127 inline Service() {} [all...] |
/frameworks/base/core/java/android/content/pm/ |
ServiceInfo.java | 25 * service. This corresponds to information collected from the 26 * AndroidManifest.xml's <service> tags. 32 * Service. From the "permission" attribute. 37 * Bit in {@link #flags}: If set, the service will automatically be 45 * Bit in {@link #flags}: If set, the service will run in its own 52 * Bit in {@link #flags}: If set, a single instance of the service will 59 * Options that have been set in the service declaration in the
|
/frameworks/base/core/java/com/android/internal/util/ |
AsyncService.java | 19 import android.app.Service; 28 * A service that receives Intents and IBinder transactions 35 abstract public class AsyncService extends Service { 58 * For instance @see android.app.Service#START_STICKY 66 * Create the service's handler returning AsyncServiceInfo. 108 * Called when service is destroyed. After returning the 109 * service is dead and no more processing should be expected
|
/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);
|
/sdk/emulator/tools/ |
qemu-props.c | 19 * system. It does so by connecting to the 'boot-properties' qemud service. 40 /* Name of the qemud service we want to connect to. 50 /* try to connect to the qemud service */ 69 DD("connected to '%s' qemud service.", QEMUD_SERVICE); 71 /* send the 'list' command to the service */ 73 DD("could not send command to '%s' service", QEMUD_SERVICE); 77 /* read each system property as a single line from the service,
|
/frameworks/base/services/java/com/android/server/ |
AppWidgetService.java | 47 * Redirects calls to this service to the instance of the service for the appropriate user. 226 AppWidgetServiceImpl service; local 228 service = mAppWidgetServices.get(userId); 229 if (service == null) { 232 service = new AppWidgetServiceImpl(mContext, userId); 233 service.systemReady(mSafeMode); 235 mAppWidgetServices.append(userId, service); 240 service.sendInitialBroadcasts(); 242 return service; 321 AppWidgetServiceImpl service = mAppWidgetServices.valueAt(i); local [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 93 * service discovery is meant to address this issue of filtering the peers based on the running 96 * <p>With pre-association service discovery, an application can advertise a service for a 98 * Currently, DNS based service discovery (Bonjour) and Upnp are the higher layer protocols 103 * <p> An application can advertise a Upnp or a Bonjour service with a call to 104 * {@link #addLocalService}. After a local service is added, 105 * the framework automatically responds to a peer application discovering the service prior 107 * service and {@link #clearLocalServices} can be used to clear all local services. 111 * application can add service discovery request with a call to {@link #addServiceRequest}, 112 * 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 */ 333 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...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/delegate/ |
DelegatingAccessibilityService.java | 23 import android.app.Service; 35 * This class is an accessibility service mock to which the system is bound and 39 * service, another with the instrumented activity and test cases. The 44 * Accessibility), the mock service must be enabled (Settings -> Accessibility 45 * -> Mock Accessibility Service), and then the CTS tests in this package 50 * the binding between the mock accessibility service and the system. 60 * Handle to the instance used by the accessibility service connection. 71 // the service is ready to be used only 114 * This is a service to which the end-to-end CTS test connects to pass a 118 public static class DelegatingConnectionService extends Service { [all...] |
/external/dbus/cmake/bus/ |
CMakeLists.txt | 18 # copy services for local daemon start to local service dir data/dbus-1/services 19 SET (SERVICE_FILES test/data/valid-service-files) 20 FILE(GLOB FILES "${CMAKE_SOURCE_DIR}/../${SERVICE_FILES}/*.service.in" ) 23 SET (TARGET ${CMAKE_BINARY_DIR}/data/dbus-1/services/${FILENAME}.service) 90 ${BUS_DIR}/bus-service-win.c 92 # ${BUS_DIR}/service-main.c 96 add_executable(dbus-service ${dbus_service_SOURCES} ) 97 target_link_libraries(dbus-service ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY}) 98 set_target_properties(dbus-service PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) 99 install_targets(/bin dbus-service ) [all...] |
/external/dbus/dbus/ |
dbus-shared.h | 103 #define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1 /**< Allow another service to become the primary owner if requested */ 108 #define DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER 1 /**< Service has become the primary owner of the requested name */ 109 #define DBUS_REQUEST_NAME_REPLY_IN_QUEUE 2 /**< Service could not become the primary owner and has been placed in the queue */ 110 #define DBUS_REQUEST_NAME_REPLY_EXISTS 3 /**< Service is already in the queue */ 111 #define DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER 4 /**< Service is already the primary owner */ 114 #define DBUS_RELEASE_NAME_REPLY_RELEASED 1 /**< Service was released from the given name */ 116 #define DBUS_RELEASE_NAME_REPLY_NOT_OWNER 3 /**< Service is not an owner of the given name */ 118 /* Replies to service starts */ 119 #define DBUS_START_REPLY_SUCCESS 1 /**< Service was auto started */ 120 #define DBUS_START_REPLY_ALREADY_RUNNING 2 /**< Service was already running * [all...] |