/frameworks/base/docs/html/guide/components/ |
aidl.jd | 31 the client and service agree upon in order to communicate with each other using 38 different applications to access your service for IPC and want to handle multithreading in your 39 service. If you do not need to perform concurrent IPC across 57 another thread, that is the one that executes your code in the service. Thus, if only local 58 threads are accessing the service, you can completely control which threads are executing in it (but 80 the application hosting the service and any other application that binds to the service.</p> 84 the project's {@code gen/} directory. The service must implement the {@link android.os.IBinder} 85 interface as appropriate. The client applications can then bind to the service and call methods from 88 <p>To create a bounded service using AIDL, follow these steps:</p [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BinderTest.java | 150 public void onServiceConnected(ComponentName name, IBinder service) { 157 service.transact(LocalService.SET_REPORTER_CODE, data, null, 0); 213 waitForResultOrThrow(DELAY_MSEC, "existing connection to receive service"); 217 waitForResultOrThrow(DELAY_MSEC, "new connection to receive service"); 236 waitForResultOrThrow(DELAY_MSEC, "the existing connection to lose service"); 249 waitForResultOrThrow(DELAY_MSEC, "the existing connection to receive service"); 263 // Expect to see the service unbind and then destroyed. 267 waitForResultOrThrow(DELAY_MSEC, "the existing connection to lose service"); 280 waitForResultOrThrow(DELAY_MSEC, "existing connection to receive service"); 294 // Expect to see the service unbind but not destroyed [all...] |
/external/chromium/net/proxy/ |
proxy_service_unittest.cc | 119 scoped_refptr<ProxyService> service( 128 int rv = service->ResolveProxy(url, &info, &callback, NULL, log.bound()); 154 scoped_refptr<ProxyService> service( 163 int rv = service->ResolveProxy(url, &info, &callback, NULL, log.bound()); 204 scoped_refptr<ProxyService> service( 211 int rv = service->ResolveProxy(url, &info, &callback, NULL, BoundNetLog()); 232 scoped_refptr<ProxyService> service( 239 int rv = service->ResolveProxy(url, &info, &callback1, NULL, BoundNetLog()); 261 rv = service->ReconsiderProxyAfterError(url, &info, &callback2, NULL, 290 scoped_refptr<ProxyService> service( [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_browsertest.cc | 64 ExtensionService* service = browser()->profile()->GetExtensionService(); local 69 service->LoadExtension(path); 78 service->extensions()->rbegin(); 79 iter != service->extensions()->rend(); ++iter) { 90 service->extension_prefs()->OnExtensionInstalled( 92 service->SetIsIncognitoEnabled(extension->id(), incognito_enabled); 93 service->SetAllowFileAccess(extension, fileaccess_enabled); 121 ExtensionService* service = browser()->profile()->GetExtensionService(); local 128 service->LoadComponentExtension( 208 ExtensionService* service = profile->GetExtensionService() local 269 ExtensionService* service = browser()->profile()->GetExtensionService(); local 277 ExtensionService* service = browser()->profile()->GetExtensionService(); local 282 ExtensionService* service = browser()->profile()->GetExtensionService(); local 287 ExtensionService* service = browser()->profile()->GetExtensionService(); local 292 ExtensionService* service = browser()->profile()->GetExtensionService(); local 367 ExtensionService* service = browser()->profile()->GetExtensionService(); local [all...] |
/external/chromium/chrome/browser/sync/ |
sync_setup_flow.cc | 35 void DisablePasswordSync(ProfileSyncService* service) { 37 service->GetPreferredDataTypes(&types); 39 service->OnUserChoseDatatypes(false, types); 56 SyncSetupFlow* SyncSetupFlow::Run(ProfileSyncService* service, 62 SyncSetupFlow::GetArgsForGaiaLogin(service, &args); 64 SyncSetupFlow::GetArgsForConfigure(service, &args); 74 container, service); 82 void SyncSetupFlow::GetArgsForGaiaLogin(const ProfileSyncService* service, 85 const GoogleServiceAuthError& error = service->GetAuthError(); 86 if (!service->last_attempted_user_email().empty()) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServRespTestCase.java | 26 * The service response test case. 51 * Add renderer service 61 * Add IPP service 71 * Add AFP service 124 return "Service discovery responder test";
|
/cts/tests/tests/app/src/android/app/cts/ |
IntentServiceTest.java | 85 // start service 95 // bind service 105 // unbind service 107 // stop service 114 public void onServiceConnected(ComponentName name, IBinder service) {
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
LocalServiceTest.java | 31 * This is a simple framework for a test of a Service. See {@link android.test.ServiceTestCase 32 * ServiceTestCase} for more information on how to write and extend service tests. 61 * Test basic startup/shutdown of Service 71 * Test binding to service 77 IBinder service = bindService(startIntent); local
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiDirectServicesList.java | 72 WiFiP2pService service = items.get(position); local 73 if (service != null) { 78 nameText.setText(service.device.deviceName + " - " + service.instanceName); 82 statusText.setText(getDeviceStatus(service.device.status));
|
/external/chromium/chrome/browser/net/ |
resolve_proxy_msg_helper.h | 19 // request on the IO thread using the specified proxy service. Completion is 24 // outstanding proxy resolve requests with the proxy service. It also deletes 30 // If |proxy_service| is NULL, then the main profile's proxy service will 51 // Get the proxy service instance to use. On success returns true and 80 // Specified by unit-tests, to use this proxy service in place of the
|
/external/chromium/chrome/browser/policy/ |
device_management_backend.h | 36 // Service error: Management not supported. 38 // Service error: Device not found. 40 // Service error: Device token invalid. 42 // Service error: Activation pending. 44 // Service error: Policy not found. Error code defined by the DM folks.
|
/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_host.h | 25 // class relays this information to the client-side detection service 58 // Used for testing. This function does not take ownership of the service 60 void set_client_side_detection_service(ClientSideDetectionService* service); 62 // Used for testing. This function does not take ownership of the service 64 void set_safe_browsing_service(SafeBrowsingService* service);
|
/external/dbus/test/ |
test-shell-service.c | 28 fprintf (stderr, "*** test-service: %s", message); 62 fprintf (stderr, "Shell echo service echoed the command line\n"); 173 _dbus_verbose ("*** Failed to acquire service: %s\n", 179 _dbus_verbose ("*** Test service entering main loop\n"); 193 _dbus_verbose ("*** Test service exiting\n");
|
/external/openssh/ |
openssh.xml.in | 21 <service 23 type='service' 37 type='service'> 45 type='service'> 89 </service>
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
BlockingService.java | 34 * Blocking equivalent to {@link Service}. 41 * Equivalent to {@link Service#getDescriptorForType}. 46 * Equivalent to {@link Service#callMethod}, except that 56 * Equivalent to {@link Service#getRequestPrototype}. 61 * Equivalent to {@link Service#getResponsePrototype}.
|
/external/sepolicy/ |
property_contexts | 2 # property service keys 23 service. u:object_r:system_prop:s0 29 service.adb.root u:object_r:shell_prop:s0 30 service.adb.tcp.port u:object_r:shell_prop:s0 33 persist.service. u:object_r:system_prop:s0
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
index.jd | 5 next.title=Using Network Service Discovery 32 Network Service Discovery (NSD) takes this further by allowing an application to 49 <dt><strong><a href="nsd.html">Using Network Service Discovery</a></strong></dt> 52 details for the service you wish to connect to.</dd> 57 <dt><strong><a href="nsd-wifi-direct.html">Using Wi-Fi Direct for Service
|
/frameworks/native/include/binder/ |
BinderService.h | 33 template<typename SERVICE> 39 return sm->addService(String16(SERVICE::getServiceName()), new SERVICE(), allowIsolated); 44 sm->addService(String16(SERVICE::getServiceName()), new SERVICE(), allowIsolated);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
UsimServiceTable.java | 22 * Wrapper class for the USIM Service Table EF. 30 SDN, // Service Dialing Numbers 45 SPN, // Service Provider Name 129 public boolean isAvailable(UsimService service) { 130 return super.isAvailable(service.ordinal());
|
/packages/apps/Email/src/com/android/email/mail/store/ |
ServiceStore.java | 27 import com.android.emailcommon.service.EmailServiceProxy; 28 import com.android.emailcommon.service.IEmailService; 31 * Base class for service-based stores 66 * We handle AutoDiscover here, wrapping the EmailService call. The service call returns a 67 * HostAuth and we return null if there was a service issue
|
/system/core/rootdir/etc/ |
init.goldfish.rc | 43 # Login Service will insert these accounts into the database when 54 service goldfish-setup /system/etc/init.goldfish.sh 65 service qemu-props /system/bin/qemu-props 71 service qemud /system/bin/qemud 81 service goldfish-logcat /system/bin/logcat -Q
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityManagerTest.java | 20 import android.app.Service; 50 getContext().getSystemService(Service.ACCESSIBILITY_SERVICE); 84 assertFalse("There must be at least one installed service.", installedServices.isEmpty()); 100 assertTrue("The speaking service should be installed.", speakingServiceInstalled); 101 assertTrue("The vibrating service should be installed.", vibratingServiceInstalled); 123 assertTrue("The speaking service should be enabled.", speakingServiceEnabled); 124 assertTrue("The vibrating service should be enabled.", vibratingServiceEnabled); 131 assertSame("There should be only one enabled speaking service.", 1, enabledServices.size()); 141 fail("The speaking service is not enabled."); 161 assertTrue("The speaking service should be installed.", speakingServiceInstalled) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RemoteService.java | 23 import android.app.Service; 46 * This is an example of implementing an application service that runs in a 50 * show how to interact with the service. 53 * the complexity shown here. If your application simply has a service 57 public class RemoteService extends Service { 60 * service. Note that this is package scoped (instead of private) so 76 // While this service is running, it will continually increment a 101 // Select the interface to return. If your service only implements 126 * A secondary interface to the service. 180 * Show a notification while this service is running [all...] |
/development/samples/CubeLiveWallpaper/ |
_index.html | 5 Android <a href="../../../reference/android/app/Service.html">service</a>. The 7 href="../../../reference/android/service/wallpaper/WallpaperService.html#onCreateEngine()"><code> 10 href="../../../reference/android/service/wallpaper/WallpaperService.Engine.html"> 19 <p>The examples in this application show how to set up a wallpaper service that 20 creates a <code>WallpaperService.Engine</code> to manage the service lifecycle, 34 CubeWallpaper1</code></a> — a wallpaper service that draws and animates a 40 — a wallpaper service that draws and animates a 43 wallpaper service implements a listener callback method that captures the user's 47 — a wallpaper service that draws an [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
ownership_service.cc | 170 void OwnershipService::UpdateOwnerKey(OwnershipService* service, 175 service->manager()->UpdateOwnerKey(thread_id, new_key, d); 179 void OwnershipService::TryLoadOwnerKeyAttempt(OwnershipService* service) { 181 if (!service->IsAlreadyOwned()) { 185 service->manager()->LoadOwnerKey(); 189 void OwnershipService::TrySigningAttempt(OwnershipService* service, 194 if (!service->IsAlreadyOwned()) { 201 service->manager()->Sign(thread_id, data, d); 205 void OwnershipService::TryVerifyAttempt(OwnershipService* service, 211 if (!service->IsAlreadyOwned()) [all...] |