/frameworks/base/services/print/java/com/android/server/print/ |
H A D | UserState.java | 136 final RemotePrintService service; 140 service = mActiveServices.get(printServiceName); 142 if (service != null) { 143 service.onPrintJobQueued(printJob); 145 // The service for the job is no longer enabled, so just 154 final RemotePrintService service; 157 service = mActiveServices.get(printService); 159 if (service != null) { 160 service.onAllPrintJobsHandled(); 295 // from the print service 529 onServiceDied(RemotePrintService service) argument 831 addServiceLocked(RemotePrintService service) argument 838 removeServiceLocked(RemotePrintService service) argument 1235 onServiceRemovedLocked(RemotePrintService service) argument 1246 onServiceDiedLocked(RemotePrintService service) argument 1251 onServiceAddedLocked(RemotePrintService service) argument 1404 handleValidatePrinters(RemotePrintService service, List<PrinterId> printerIds) argument 1409 handleStartPrinterStateTracking(RemotePrintService service, PrinterId printerId) argument 1414 handleStopPrinterStateTracking(RemotePrintService service, PrinterId printerId) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | AccessibilityManagerServiceTest.java | 41 * service. The service itself is interacting with the platform. Note: Testing 42 * the service in full isolation would require significant amount of work for 60 * Timeout used for testing that a service is notified only upon a 66 * The interface used to talk to the tested service. 177 assertTrue("First mock service must be installed", firstMockServiceInstalled); 178 assertTrue("Second mock service must be installed", secondMockServiceInstalled); 187 // enable the mock accessibility service 190 // configure the mock service 191 MockAccessibilityService service 663 assertMockServiceVerifiedWithinTimeout(MockAccessibilityService service) argument [all...] |
H A D | CountryDetectorServiceTest.java | 96 private void waitForSystemReady(CountryDetectorService service) { argument 103 if (service.isSystemReady()) {
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerService.java | 45 import android.service.voice.IVoiceInteractionService; 46 import android.service.voice.IVoiceInteractionSession; 47 import android.service.voice.VoiceInteractionService; 48 import android.service.voice.VoiceInteractionServiceInfo; 106 // implementation entry point and binder service 144 // the user to have the default voice interaction service enabled. 242 Slog.wtf(TAG, "Bad voice interaction service name " + curService, e); 289 Slog.w(TAG, "More than one voice interaction service, " 299 Slog.w(TAG, "Bad interaction service " + comp + ": " 303 Slog.w(TAG, "Failure looking up interaction service " 381 startSession(IVoiceInteractionService service, Bundle args) argument 551 isEnrolledForKeyphrase(IVoiceInteractionService service, int keyphraseId, String bcp47Locale) argument 577 getDspModuleProperties(IVoiceInteractionService service) argument 596 startRecognition(IVoiceInteractionService service, int keyphraseId, String bcp47Locale, IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) argument 632 stopRecognition(IVoiceInteractionService service, int keyphraseId, IRecognitionStatusCallback callback) argument [all...] |
H A D | VoiceInteractionManagerServiceImpl.java | 36 import android.service.voice.IVoiceInteractionService; 37 import android.service.voice.IVoiceInteractionSession; 38 import android.service.voice.IVoiceInteractionSessionService; 39 import android.service.voice.VoiceInteractionService; 40 import android.service.voice.VoiceInteractionServiceInfo; 87 public void onServiceConnected(ComponentName name, IBinder service) { 89 mService = IVoiceInteractionService.Stub.asInterface(service); 125 Slog.w(TAG, "Failed binding to voice interaction session service " + mComponent); 130 public void onServiceConnected(ComponentName name, IBinder service) { argument 132 mService = IVoiceInteractionSessionService.Stub.asInterface(service); 188 VoiceInteractionManagerServiceImpl(Context context, Handler handler, Object lock, int userHandle, ComponentName service) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 78 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 433 public ComponentName startService(Intent service) { argument 438 public boolean stopService(Intent service) { argument 444 public ComponentName startServiceAsUser(Intent service, UserHandle user) { argument 450 public boolean stopServiceAsUser(Intent service, UserHandle user) { argument 455 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument 461 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, argument
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Service.java | 27 * Base implementation of a service that communicates over a transport. 69 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
|
H A D | Transport.java | 55 // The list of callbacks indexed by service id. 103 * @param service The service to whom the message is addressed. 108 public boolean sendMessage(int service, int what, ByteBuffer content) { argument 109 checkServiceId(service); 122 mOutputBuffer.putShort((short)service); 174 * Registers a service and provides a callback to receive messages. 176 * @param service The service id. 179 public void registerService(int service, Callbac argument 195 unregisterService(int service) argument 203 dispatchMessageReceived(int service, int what, ByteBuffer content) argument 216 checkServiceId(int service) argument 247 onMessageReceived(int service, int what, ByteBuffer content) argument [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 91 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 82 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 87 @Override public void onServiceConnected(ComponentName name, IBinder service) { argument 89 if (!(service instanceof Binder)) { 91 service.linkToDeath(this, 0); 94 mService = new Messenger(service); 97 // Whoops, service has disappeared... try starting again. 98 Log.w(TAG, "Test service died, starting again"); 287 Log.w(TAG, "Failure communicating with service", e); 344 Log.w(TAG, "Test service aleady died when terminating");
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
H A D | TestJobService.java | 17 package com.android.demo.jobSchedulerApp.service; 44 * This service is invoked in response to Intents with action android.content.SyncAdapter, and 77 Log.e(TAG, "Error passing service object back to activity.");
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | NotificationHelper.java | 46 public NotificationHelper(Service service, MediaSession session) { argument 47 mService = service;
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | ServiceManager.java | 24 * Returns a reference to a service with the given name. 26 * @param name the name of the service to get 27 * @return a reference to the service, or <code>null</code> if the service doesn't exist 34 * Place a new @a service called @a name into the service 37 * @param name the name of the new service 38 * @param service the service object 40 public static void addService(String name, IBinder service) { argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | WindowManagerGlobal_Delegate.java | 40 public static void setWindowManagerService(IWindowManager service) { argument 41 sService = service;
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
H A D | AccessibilityManager.java | 31 * System level service that serves as an event dispatch for {@link AccessibilityEvent}s. 35 * events implement and register an accessibility service which extends 111 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 458 public Object getSystemService(String service) { argument 459 if (LAYOUT_INFLATER_SERVICE.equals(service)) { 463 if (TEXT_SERVICES_MANAGER_SERVICE.equals(service)) { 464 // we need to return a valid service to avoid NPE 468 if (WINDOW_SERVICE.equals(service)) { 473 if (INPUT_METHOD_SERVICE.equals(service)) { 477 if (POWER_SERVICE.equals(service)) { 481 if (DISPLAY_SERVICE.equals(service)) { 485 if (ACCESSIBILITY_SERVICE.equals(service)) { 489 throw new UnsupportedOperationException("Unsupported Service: " + service); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | RttManager.java | 338 * @param service the Binder interface 342 public RttManager(Context context, IRttManager service) { argument 344 mService = service;
|
H A D | WifiManager.java | 568 * @param service the Binder interface 572 public WifiManager(Context context, IWifiManager service) { argument 574 mService = service; 1652 * unable to service the request
|
H A D | WifiScanner.java | 619 * @param service the Binder interface 622 public WifiScanner(Context context, IWifiScanner service) { argument 624 mService = service;
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pManager.java | 89 * service discovery is meant to address this issue of filtering the peers based on the running 92 * <p>With pre-association service discovery, an application can advertise a service for a 94 * Currently, DNS based service discovery (Bonjour) and Upnp are the higher layer protocols 99 * <p> An application can advertise a Upnp or a Bonjour service with a call to 100 * {@link #addLocalService}. After a local service is added, 101 * the framework automatically responds to a peer application discovering the service prior 103 * service and {@link #clearLocalServices} can be used to clear all local services. 107 * application can add service discovery request with a call to {@link #addServiceRequest}, 108 * remove a service discover 480 WifiP2pManager(IWifiP2pManager service) argument [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 403 /* redirect output to a service control socket */ 404 void redirect_to_socket(FILE *redirect, const char *service) { argument 405 int s = android_get_control_socket(service); 407 fprintf(stderr, "android_get_control_socket(%s): %s\n", service, strerror(errno));
|
/frameworks/native/cmds/dumpsys/ |
H A D | 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) { 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;
|
/frameworks/native/cmds/service/ |
H A D | service.cpp | 44 static String16 get_interface_name(sp<IBinder> service) argument 46 if (service != NULL) { 48 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply); 74 aerr << "service: Unable to get default service manager!" << endl; 92 aerr << "service: Unknown option -" << ic << endl; 105 sp<IBinder> service = sm->checkService(String16(argv[optind])); local 107 (service == NULL ? ": not found" : ": found") << endl; 109 aerr << "service: No service specifie 119 sp<IBinder> service = sm->checkService(name); local 129 sp<IBinder> service = sm->checkService(String16(argv[optind++])); local [all...] |