/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/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...] |
/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; 60 sp<IBinder> service = sm->checkService(services[i]); local 61 if (service != NULL) { 68 sp<IBinder> service = sm->checkService(services[i]); local 69 if (service != NULL) { 73 aout << "DUMP OF SERVICE " << services[i] << ":" << endl; 75 int err = service->dump(STDOUT_FILENO, args); 77 aerr << "Error dumping service info: (" << strerror(err) 81 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...] |
service_process_control_manager.cc | 5 #include "chrome/browser/service/service_process_control_manager.h" 10 #include "chrome/browser/service/service_process_control.h" 24 // TODO(hclam): We will have different service process for different types of 25 // service, but now we only create a new process for a different profile. 40 // shutdown the service process.
|
/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...] |
/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...] |
/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.
|
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/ |
FmService.java | 20 import android.app.Service; 29 public final class FmService extends Service { 35 * IBinder of this service. 40 * Called by the system when the service is first created. Do not call this 51 * Called by the system to notify a Service that it is no longer used and is 52 * being removed. The service should clean up an resources it holds (threads 54 * more calls in to this Service object and it is effectively dead. 63 * If this service is binded, this method is called. 66 * Intent used when service is called.
|
/tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/wizards/buildingblocks/ |
NewServiceMainPage.java | 20 import com.motorola.studio.android.model.Service; 23 * Class that implements the Service Wizard Main Page. 33 * @param service The service wizard model 35 public NewServiceMainPage(Service service) 37 super(service, CodeUtilsNLS.UI_NewServiceMainPage_WizardTitle); 44 public Service getBuildBlock() 46 return (Service) super.getBuildBlock();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MessengerServiceActivities.java | 25 * Example of binding and unbinding to the remote service. 26 * This demonstrates the implementation of a service which the client will 34 /** Messenger for communicating with service. */ 36 /** Flag indicating whether we have called bind on the service. */ 42 * Handler of incoming messages from service. 49 mCallbackText.setText("Received from service: " + msg.arg1); 63 * Class for interacting with the main interface of the service. 67 IBinder service) { 68 // This is called when the connection with the service has been 69 // established, giving us the service object we can use t [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticationService.java | 19 import android.app.Service; 25 * Service to handle Account authentication. It instantiates the authenticator 28 public class AuthenticationService extends Service { 37 Log.v(TAG, "SampleSyncAdapter Authentication Service started."); 45 Log.v(TAG, "SampleSyncAdapter Authentication Service stopped.");
|
/external/dnsmasq/contrib/Solaris10/ |
dnsmasq.xml | 4 <!-- Service manifest for dnsmasq --> 7 <service name='network/dnsmasq' type='service' version='1'> 15 type='service'> 64 </service>
|
/external/freetype/src/base/ |
ftfstype.c | 36 FT_Service_PsInfo service = NULL;
local 39 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO );
41 if ( service && service->ps_get_font_extra )
46 if ( !service->ps_get_font_extra( face, &extra ) &&
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PPreferredServiceParser.java | 12 * This software is provided by NIST as a service and is expressly 43 * P-Preferred-Service: urn:urn-7:3gpp-service.exampletelephony.version1 58 * "The URN consists of a hierarchical service identifier or application 60 * the most significant one and is called 'top-level service 64 * For any given service identifier, labels can be removed right-to-left and 66 * service, with the exception of the top-level service identifier 67 * and possibly the first sub-service or sub-application identifier. 69 * Labels cannot be removed beyond a defined basic service, fo [all...] |
/external/qemu/android/protocol/ |
core-commands-impl.h | 17 * Contains the Core-side implementation of the "ui-core-control" service that is 23 * service. Note that there can be only one instance of this service in the core. 25 * fd - Socket descriptor for the service. 31 /* Destroys the descriptor for the Core-side of the "ui-core-control" service. */
|
user-events-impl.h | 14 * Contains the Core-side of the "user events" service. Here we receive and 22 * service. Note that there can be only one instance of this service in the core. 24 * fd - Socket descriptor for the service. 30 /* Destroys the descriptor for the Core-side of the "user-events" service. */
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ReceiverService.java | 19 import android.app.Service; 28 * Service type receiver application 30 public class ReceiverService extends Service { 36 Log.d(LOG_TAG, "Receiver service created"); 46 Log.d(LOG_TAG, "Receiver service started");
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
CdmaSmsCbProgramData.java | 23 * CDMA Service Category Program Data from SCPT teleservice SMS. 26 * containing an array of these objects to update its list of cell broadcast service categories 33 /** Delete the specified service category from the list of enabled categories. */ 36 /** Add the specified service category to the list of enabled categories. */ 39 /** Clear all service categories from the list of enabled categories. */ 78 /** Service category operation (add/delete/clear). */ 81 /** Service category to modify. */ 84 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */ 87 /** Maximum number of messages to store for this service category. */ 90 /** Service category alert option. * [all...] |