/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
SetAlarm.java | 52 Log.d(LOG_TAG, "Service disconnected."); 54 errorFinish("service disconnected"); 58 public void onServiceConnected(ComponentName name, IBinder service) { 59 Log.d(LOG_TAG, "Service connected."); 60 mAlarmService = Alarm.Stub.asInterface(service); 110 // start the service with an intent, this ensures the service keeps running after unbind 113 errorFinish("failed to start service"); 116 errorFinish("failed to bind service"); 138 // explicitly stop the service (started in prepare()) so that the service is now fre [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Provider2Test.java | 131 // Regression Test for Provider.Service.getAlias(), which is an package 137 Provider.Service service = new Provider.Service(mockProvider, local 139 mockProvider.putService(service); 162 public void putService(Provider.Service service) { 163 super.putService(service); 166 public void removeService(Provider.Service service) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MessengerService.java | 22 import android.app.Service; 41 * This is an example of implementing an application service that uses the 43 * remote interaction with a service, without needing to define an AIDL 47 * happen in the service. This is generally how background services should 51 //BEGIN_INCLUDE(service) 52 public class MessengerService extends Service { 61 * Command to the service to register a client, receiving callbacks 62 * from the service. The Message's replyTo field must be a Messenger of 68 * Command to the service to unregister a client, ot stop receiving callbacks 69 * from the service. The Message's replyTo field must be a Messenger o [all...] |
/external/chromium_org/chrome/browser/extensions/api/mdns/ |
dns_sd_registry.cc | 20 explicit IsSameServiceName(const DnsSdService& service) : service_(service) {} 49 bool added, const DnsSdService& service) { 53 IsSameServiceName(service)); 54 // Set to true when a service is updated in or added to the registry. 57 // If added == true, but we still found the service in our cache, then just 60 if (*it != service) { 61 *it = service; 65 service_list_.push_back(service); 153 const DnsSdService& service) { [all...] |
/external/chromium_org/chrome/browser/local_discovery/ |
service_discovery_client_mac.mm | 42 // Extracts the instance name, name type and domain from a full service name or 43 // the service type and domain from a service type. Returns true if successful. 44 // TODO(justinlin): This current only handles service names with format 45 // <name>._<protocol2>._<protocol1>.<domain>. Service names with 48 bool ExtractServiceInfo(const std::string& service, 53 if (service.empty()) 56 const size_t last_period = service.find_last_of('.'); 57 if (last_period == std::string::npos || service.length() <= last_period) 62 *type = service.substr(0, last_period) + "." [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
profile_sync_service_harness.cc | 118 if (harness->service()->sync_initialized()) 124 if (harness->service()->IsRetryingAccessTokenFetchForTest()) 138 if (harness->service()->passphrase_required_reason() == 160 if (harness->service()->IsRetryingAccessTokenFetchForTest()) 170 return harness->service()->IsPassphraseRequired(); 177 return (!harness->service()->IsPassphraseRequired() && 178 harness->service()->IsUsingSecondaryPassphrase()); 194 harness->service()->HasUnrecoverableError() == true); 236 if (service()->HasObserver(this)) 237 service()->RemoveObserver(this) [all...] |
/frameworks/base/services/java/com/android/server/print/ |
RemotePrintService.java | 48 * This class represents a remote print service. It abstracts away the binding 97 public void onServiceDied(RemotePrintService service); 171 // The service is dead and neither has active jobs nor discovery 172 // session, so ensure we are unbound since the service has no work. 188 // If the service has a printer discovery session 286 // The service is dead and neither has active jobs nor discovery 287 // session, so ensure we are unbound since the service has no work. 308 // If the service has no print jobs and no active discovery 471 pw.append(prefix).append("service:").println(); 531 throw new IllegalStateException("Cannot interact with a destroyed service"); 680 RemotePrintService service = mWeakService.get(); local 695 RemotePrintService service = mWeakService.get(); local 710 RemotePrintService service = mWeakService.get(); local 724 RemotePrintService service = mWeakService.get(); local 738 RemotePrintService service = mWeakService.get(); local 752 RemotePrintService service = mWeakService.get(); local 768 RemotePrintService service = mWeakService.get(); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattServer.java | 47 * <p>BluetoothGattServer is a proxy object for controlling the Bluetooth Service 116 * Service has been added 122 if (DBG) Log.d(TAG, "onServiceAdded() - service=" + srvcUuid 125 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType); 126 if (service == null) return; 129 mCallback.onServiceAdded((int)status, service); 145 + "service=" + srvcUuid + ", characteristic=" + charUuid); 148 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType); 149 if (service == null) return; 151 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 45 * Provides Bluetooth Hid Host profile, as a service in 116 Log.d(TAG, "getHidService(): service is NULL"); 118 Log.d(TAG,"getHidService(): service is not available"); 131 Log.d(TAG, "setHidService(): service not available"); 133 Log.d(TAG,"setHidService(): service is cleaning up"); 276 * Handlers for incoming service calls 302 HidService service = getService(); local 303 if (service == null) return false; 304 return service.connect(device); 308 HidService service = getService() local 314 HidService service = getService(); local 325 HidService service = getService(); local 331 HidService service = getService(); local 337 HidService service = getService(); local 344 HidService service = getService(); local 350 HidService service = getService(); local 356 HidService service = getService(); local 362 HidService service = getService(); local 368 HidService service = getService(); local 374 HidService service = getService(); local [all...] |
/frameworks/base/docs/html/guide/topics/ui/accessibility/ |
services.jd | 13 <li><a href="#service-declaration">Accessibility service declaration</a></li> 14 <li><a href="#service-config">Accessibility service configuration</a></li> 47 <p>An accessibility service is an application that provides user interface enhancements to 54 accessibility service.</p> 68 application manifests to be treated as an accessibility service by the Android system. This 72 <h3 id="service-declaration">Accessibility service declaration</h3> 74 <p>In order to be treated as an accessibility service, your application must include th [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 22 import com.google.common.util.concurrent.Service.State; // javadoc needs this 40 public abstract class AbstractService implements Service { 54 * If true, the user requested a shutdown while the service was still starting 60 * This method is called by {@link #start} to initiate service startup. The 67 * thread where it is convenient. It is invoked exactly once on service 73 * This method should be used to initiate service shutdown. The invocation 79 * thread where it is convenient. It is invoked exactly once on service 138 * Implementing classes should invoke this method once their service has 139 * started. It will cause the service to transition from {@link 142 * @throws IllegalStateException if the service is no [all...] |
/cts/tests/src/android/app/cts/ |
MockService.java | 19 import android.app.Service; 24 public class MockService extends Service { 35 * set the result as true when service bind 44 * set the result as true when service start
|
/external/chromium/chrome/browser/chromeos/login/ |
help_app_launcher.cc | 35 ExtensionService* service = profile->GetExtensionService(); local 37 DCHECK(service); 38 if (!service) 45 if (service->GetExtensionByURL(url))
|
/external/chromium/chrome/browser/sessions/ |
session_service_test_helper.h | 27 explicit SessionServiceTestHelper(SessionService* service); 64 void set_service(SessionService* service) { service_ = service; } 66 SessionService* service() { return service_.get(); } function in class:SessionServiceTestHelper
|
/external/chromium/chrome/browser/ui/webui/ |
sync_internals_ui.h | 33 // All other messages are routed to the sync service if it exists, 37 // getAboutInfo() be handled by the sync service. 46 // Returns the sync service's JsFrontend object, or NULL if the sync 47 // service does not exist.
|
/external/chromium_org/chrome/browser/profile_resetter/ |
automatic_profile_resetter_factory.cc | 51 AutomaticProfileResetter* service = new AutomaticProfileResetter(profile); local 52 service->Initialize(); 53 service->Activate(); 54 return service;
|
/external/chromium_org/content/public/browser/ |
download_danger_type.h | 20 // Safebrowsing download service shows this URL leads to malicious file 24 // SafeBrowsing download service shows this file content as being malicious. 31 // SafeBrowsing download service checked the contents of the download, but 39 // SafeBrowsing download service checked the contents of the download and
|
/external/chromium_org/gpu/command_buffer/service/ |
async_pixel_transfer_delegate_mock.cc | 5 #include "gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h"
|
async_pixel_transfer_manager_mock.cc | 5 #include "gpu/command_buffer/service/async_pixel_transfer_manager_mock.h"
|
error_state_mock.cc | 5 #include "gpu/command_buffer/service/error_state_mock.h"
|
gl_surface_mock.cc | 5 #include "gpu/command_buffer/service/gl_surface_mock.h"
|
stream_texture_manager_mock.cc | 5 #include "gpu/command_buffer/service/stream_texture_manager_mock.h"
|
stream_texture_mock.cc | 5 #include "gpu/command_buffer/service/stream_texture_mock.h"
|
/external/chromium_org/remoting/ |
branding_Chromium | 2 DAEMON_FILE_NAME=Chromoting Host Service
|
/external/mdnsresponder/Clients/ |
ReadMe.txt | 8 platform, like "DNS Service Browser" and "DNS Service Registration", 24 DNS Service Browser Graphical X 25 DNS Service Registration Graphical X
|