HomeSort by relevance Sort by last modified time
    Searched full:service (Results 176 - 200 of 11175) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium/chrome/browser/profiles/
profile_keyed_service_factory.h 14 // Base class for Factories that take a Profile object and return some service
27 // Associate an already-created |service| with |profile| for this factory.
28 // The service may be a mock, or may be NULL to inhibit automatic creation of
29 // the service by the default function. A mock factory set with
30 // |set_test_factory| will be called instead if the service is NULL.
31 void ForceAssociationBetween(Profile* profile, ProfileKeyedService* service) {
32 Associate(profile, service);
35 // Sets the factory function to use to create mock instances of this service.
37 // |ForceAssociationBetween| has been previously called with a NULL service
54 // Common implementation that maps |profile| to some service object. Deal
    [all...]
  /external/chromium_org/cloud_print/service/win/
service_resources.grd 25 Google Cloud Print Service
31 Google Cloud Print Service
34 Service Options
43 Service state:
91 Manages Google Cloud Print Service for Windows.
94 Installs cloud print as service.
97 User data directory with "Service State" file.
100 Uninstalls service.
103 Starts service. May be combined with installation.
106 Stops service
    [all...]
  /external/chromium/chrome/browser/net/gaia/
token_service.h 5 // The TokenService will supply authentication tokens for any service that
7 // the token service is expected to call ClientLogin to derive a new SID and
13 // A token service controller like the ChromiumOS login is expected to:
29 // if (IsServiceICareAbout(notification.service())) {
69 TokenAvailableDetails(const std::string& service,
71 : service_(service), token_(token) {}
72 const std::string& service() const { return service_; } function in class:TokenService::TokenAvailableDetails
83 TokenRequestFailedDetails(const std::string& service,
85 : service_(service), error_(error) {}
86 const std::string& service() const { return service_; function in class:TokenService::TokenRequestFailedDetails
    [all...]
token_service.cc 53 // Allow the token service to be cleared from the command line.
61 std::string service = value.substr(0, separator); local
63 token_map_[service] = token;
64 SaveAuthTokenToDB(service, token);
107 void TokenService::SaveAuthTokenToDB(const std::string& service,
110 web_data_service_->SetTokenForService(service, auth_token);
142 bool TokenService::HasTokenForService(const char* const service) const {
143 return token_map_.count(service) > 0;
147 const char* const service) const {
149 if (token_map_.count(service) > 0)
    [all...]
  /external/chromium/chrome/common/
service_process_util.h 23 // Return the IPC channel to connect to the service process.
27 // Return a name that is scoped to this instance of the service process. We
31 // Return a name that is scoped to this instance of the service process. We
37 // service process (typically the browser process).
39 // This method checks that if the service process is ready to receive
43 // Returns the process id and version of the currently running service process.
44 // Note: DO NOT use this check whether the service process is ready because
51 // Forces a service process matching the specified version to shut down.
55 // This is a class that is used by the service process to signal events and
64 // Tries to become the sole service process for the current user data dir
    [all...]
  /external/chromium_org/chrome/common/
service_process_util.h 32 // Return the IPC channel to connect to the service process.
36 // Return a name that is scoped to this instance of the service process. We
40 // Return a name that is scoped to this instance of the service process. We
59 // service process (typically the browser process).
61 // This method checks that if the service process is ready to receive
65 // Returns the process id and version of the currently running service process.
66 // Note: DO NOT use this check whether the service process is ready because
73 // Forces a service process matching the specified version to shut down.
77 // This is a class that is used by the service process to signal events and
86 // Tries to become the sole service process for the current user data dir
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
ListenerStatus.java 43 * A service has been added.<br/>
44 * <b>Note:</b>This event is only the service added event. The service info associated with this event does not include resolution information.<br/>
51 * Please note that service resolution may take a few second to resolve.
55 * The ServiceEvent providing the name and fully qualified type of the service.
66 logger.finer("Service Added called for a service already added: " + event);
71 * A service has been removed.
74 * The ServiceEvent providing the name and fully qualified type of the service.
81 logger.finer("Service Removed called for a service already removed: " + event)
    [all...]
ServiceEventImpl.java 26 * The type name of the service.
30 * The instance name of the service. Or null, if the event was fired to a service type listener.
34 * The service info record, or null if the service could be be resolved. This is also null, if the event was fired to a service type listener.
44 * the type name of the service.
46 * the instance name of the service.
48 * the service info record, or null if the service could be be resolved
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
StartedServiceMatcher.java 3 import android.app.Service;
25 public StartedServiceMatcher(String packageName, Class<? extends Service> expectedServiceClass) {
29 public StartedServiceMatcher(Class<? extends Service> expectedServiceClass) {
33 public StartedServiceMatcher(Class<? extends Service> expectedServiceClass, String expectedAction) {
65 // Test only that we are sending intent to the right service class
87 public static Intent createIntent(Class<? extends Service> serviceClass, String extraKey, String extraValue) {
93 public static Intent createIntent(Class<? extends Service> serviceClass, String action) {
99 public static Intent createIntent(Class<? extends Service> serviceClass) {
101 String packageName = "android.service";
109 public static Intent createIntent(String packageName, Class<? extends Service> serviceClass)
    [all...]
  /frameworks/base/docs/html/tools/testing/
service_testing.jd 1 page.title=Service Testing
11 <a href="#DesignAndTest">Service Design and Testing</a>
50 Android provides a testing framework for Service objects that can run them in
51 isolation and provides mock objects. The test case class for Service objects is
52 {@link android.test.ServiceTestCase}. Since the Service class assumes that it is separate
53 from its clients, you can test a Service object without using instrumentation.
56 This document describes techniques for testing Service objects. If you aren't familiar with the
57 Service class, please read the <a href="{@docRoot}guide/components/services.html">
62 <h2 id="DesignAndTest">Service Design and Testing</h2>
64 When you design a Service, you should consider how your tests can examine the various state
    [all...]
  /frameworks/native/cmds/dumpsys/
dumpsys.cpp 35 ALOGE("Unable to get default service manager!");
36 aerr << "dumpsys: Unable to get default service manager!" << endl;
64 sp<IBinder> service = sm->checkService(services[i]); local
65 if (service != NULL) {
76 sp<IBinder> service = sm->checkService(services[i]); local
77 if (service != NULL) {
81 aout << "DUMP OF SERVICE " << services[i] << ":" << endl;
83 int err = service->dump(STDOUT_FILENO, args);
85 aerr << "Error dumping service info: (" << strerror(err)
89 aerr << "Can't find service: " << services[i] << endl
    [all...]
  /packages/experimental/RpcPerformance/
rpcperftest.cpp 42 fprintf(stderr, "usage: rpcperftest service-to-test | :service-to-serve\n");
48 fprintf(stderr, "error: can't get default service manager\n");
56 fprintf(stderr, "error: can't register service: %s\n", argv[1] + 1);
62 fprintf(stderr, "error: can't run service\n");
66 sp<IBinder> service = sm->checkService(String16(argv[1])); local
67 if (service == NULL) {
68 fprintf(stderr, "error: can't find service: %s\n", argv[1]);
73 status_t status = service->pingBinder();
83 status_t status = service->pingBinder()
    [all...]
  /external/chromium/chrome/browser/service/
service_process_control.h 30 // A ServiceProcessControl works as a portal between the service process and
33 // It is used to start and terminate the service process. It is also used
34 // to send and receive IPC messages from the service process.
49 // An interface for handling messages received from the service process.
63 // Return the user profile associated with this service process.
66 // Return true if this object is connected to the service.
69 // If no service process is currently running, creates a new service process
71 // If a service process is already running this method will try to connect
75 // |failure_task| is called when we failed to connect to the service process
    [all...]
  /external/chromium_org/chrome/browser/service_process/
service_process_control.h 32 // A ServiceProcessControl works as a portal between the service process and
35 // It is used to start and terminate the service process. It is also used
36 // to send and receive IPC messages from the service process.
72 // Return true if this object is connected to the service.
76 // If no service process is currently running, creates a new service process
77 // and connects to it. If a service process is already running this method
81 // |failure_task| is called when we failed to connect to the service process.
84 // Note that if we are already connected to service process then
90 // Disconnect the IPC channel from the service process
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/fortress/
Services.java 41 private static final Map<String, Provider.Service> services
42 = new HashMap<String, Provider.Service>(600);
45 * Save default SecureRandom service as well.
48 private static Provider.Service cachedSecureRandomService;
56 * The cacheVersion is changed on every update of service
58 * own caches of Service information.
142 for (Provider.Service service : p.getServices()) {
143 String type = service.getType();
145 cachedSecureRandomService = service;
    [all...]
  /development/samples/training/NsdChat/src/com/example/android/nsdchat/
NsdHelper.java 59 Log.d(TAG, "Service discovery started");
63 public void onServiceFound(NsdServiceInfo service) {
64 Log.d(TAG, "Service discovery success" + service);
65 if (!service.getServiceType().equals(SERVICE_TYPE)) {
66 Log.d(TAG, "Unknown Service Type: " + service.getServiceType());
67 } else if (service.getServiceName().equals(mServiceName)) {
69 } else if (service.getServiceName().contains(mServiceName)){
70 mNsdManager.resolveService(service, mResolveListener)
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
terms_of_service_screen_handler.h 45 // Update the UI to show an error message or the Terms of Service, depending
46 // on whether the download of the Terms of Service was successful. Does
50 // Called when the user declines the Terms of Service by clicking the "back"
54 // Called when the user accepts the Terms of Service by clicking the "accept
63 // The domain name whose Terms of Service are being shown.
66 // Set to |true| when the download of the Terms of Service fails.
69 // Set to the Terms of Service when the download is successful.
  /frameworks/base/docs/html/google/backup/
index.jd 1 page.title=Android Backup Service
5 <p>Android Backup Service provides a <em>backup transport</em> for Android's <a
9 higher. The backup service is <em>not</em> designed for synchronizing application data with other
13 <p>The Android Backup Service offered by Google provides a backup
19 <p>In order to use Android Backup Service, you must <a href="{@docRoot}google/backup/signup.html"
20 >register your app</a> with the service to receive a key that you must
24 Service does not guarantee that it will always back up data using this service
27 on the device. Registering with Android Backup Service allows your application to back up
28 when the backup transport on the device is provided by Android Backup Service.</p
    [all...]
  /frameworks/base/test-runner/src/android/test/
ServiceTestCase.java 20 import android.app.Service;
32 * This test case provides a framework in which you can test Service classes in
34 * Service, and hooks with which you can inject various dependencies and control
35 * the environment in which your Service is tested.
44 * A Service is accessed with a specific sequence of
47 * document. In order to support the lifecycle of a Service,
57 * The test case waits to call {@link android.app.Service#onCreate()} until one of your
60 * the running service.
65 * {@link android.app.Service#onCreate() Service.onCreate()} and then calls eithe
    [all...]
  /external/chromium_org/gpu/
gpu.gyp 199 'command_buffer/service/async_pixel_transfer_delegate_mock.h',
200 'command_buffer/service/async_pixel_transfer_delegate_mock.cc',
201 'command_buffer/service/async_pixel_transfer_manager_mock.h',
202 'command_buffer/service/async_pixel_transfer_manager_mock.cc',
203 'command_buffer/service/buffer_manager_unittest.cc',
204 'command_buffer/service/cmd_parser_test.cc',
205 'command_buffer/service/command_buffer_service_unittest.cc',
206 'command_buffer/service/common_decoder_unittest.cc',
207 'command_buffer/service/context_group_unittest.cc',
208 'command_buffer/service/feature_info_unittest.cc'
    [all...]
  /external/chromium_org/chrome/browser/ui/global_error/
global_error_service_browsertest.cc 71 GlobalErrorService* service = local
73 service->AddGlobalError(error);
75 EXPECT_EQ(error, service->GetFirstGlobalErrorWithBubbleView());
81 EXPECT_EQ(NULL, service->GetFirstGlobalErrorWithBubbleView());
92 GlobalErrorService* service = local
94 service->AddGlobalError(error);
96 EXPECT_EQ(error, service->GetFirstGlobalErrorWithBubbleView());
102 EXPECT_EQ(NULL, service->GetFirstGlobalErrorWithBubbleView());
124 GlobalErrorService* service = local
126 service->AddGlobalError(error.get())
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
HostEmulationManager.java 77 /** Whether we need to clear the "next tap" service at the end
82 // Variables below are for a non-payment service,
88 // Variables below are for a payment service,
95 // mActiveService denotes the service interface
97 // comes in that may be resolved to a different service.
128 public void setDefaultForNextTap(ComponentName service) {
130 if (service != null) {
131 bindServiceIfNeededLocked(service);
199 for (ApduServiceInfo service : resolveInfo.services) {
200 if (mActiveServiceName.equals(service.getComponent()))
    [all...]
  /system/core/init/
init.h 75 #define SVC_RESTART 0x100 /* Use to safely restart (stop, wait, start) a service */
81 struct service { struct
106 /* keycodes for triggering this service via /dev/keychord */
121 struct service *service_find_by_name(const char *name);
122 struct service *service_find_by_pid(pid_t pid);
123 struct service *service_find_by_keychord(int keychord_id);
124 void service_for_each(void (*func)(struct service *svc));
126 void (*func)(struct service *svc));
128 void (*func)(struct service *svc));
129 void service_stop(struct service *svc)
    [all...]
  /development/samples/Alarm/tests/src/com/example/android/newalarm/
AlarmServiceTest.java 25 * service component.
28 // Contains an Intent used to start the service
31 // Contains a handle to the system alarm service
51 // Sets up an intent to start the service under test
67 * Tests the service's onCreate() method. Starts the service using startService(Intent)
70 // Starts the service under test
73 // Gets a handle to the service under test.
76 // Asserts that the Notification Manager was created in the service under test.
  /external/chromium_org/chrome/browser/extensions/api/audio/
audio_api.cc 52 AudioService* service = local
54 DCHECK(service);
55 service->StartGetInfo(base::Bind(&AudioGetInfoFunction::OnGetInfoCompleted,
75 AudioService* service = local
77 DCHECK(service);
79 service->SetActiveDevices(params->ids);
88 AudioService* service = local
90 DCHECK(service);
98 if (!service->SetDeviceProperties(params->id,

Completed in 1510 milliseconds

1 2 3 4 5 6 78 91011>>