/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 35 import java.security.Provider.Service; 269 Provider.Service s = (Provider.Service)it.next(); 285 fail("Incorrect service"); 302 Provider.Service s = p.getService("MessageDigest", "SHA-1"); 343 public void putService(Provider.Service s) { 349 public void removeService(Provider.Service s) { 370 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); 385 Set<Provider.Service> services = myProvider.getServices(); 388 Provider.Service s[] = new Provider.Service[3] [all...] |
/libcore/luni/src/main/java/java/security/ |
Provider.java | 58 // Contains "Service.Algorithm" and Provider.Service classes added using 60 private transient TwoKeyHashMap<String, String, Service> serviceTable; 62 // Contains "Service.Alias" and Provider.Service classes added using 64 private transient TwoKeyHashMap<String, String, Service> aliasTable; 66 // Contains "Service.Algorithm" and Provider.Service classes added using 68 private transient TwoKeyHashMap<String, String, Service> propertyServiceTable; 70 // Contains "Service.Alias" and Provider.Service classes added using put( 379 Provider.Service service; local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothClass.java | 28 * <p>Every Bluetooth class is composed of zero or more service classes, and 35 * service discovery is done through SDP requests, which are automatically 47 * constants and methods to determine which Service Class(es) and Device Class 102 * Defines all service class constants. 103 * <p>Each {@link BluetoothClass} encodes zero or more service classes. 105 public static final class Service { 120 * Return true if the specified service class is supported by this 122 * <p>Valid service classes are the public constants in 123 * {@link BluetoothClass.Service}. For example, {@link 124 * BluetoothClass.Service#AUDIO} [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
Services.java | 46 private static final Map<String, Provider.Service> services 47 = new HashMap<String, Provider.Service>(600); 48 // Save default SecureRandom service as well. 50 private static Provider.Service secureRandom; 160 for (Provider.Service serv : p.getServices()) { 201 * Returns service description. 207 public static Provider.Service getService(String key) { 212 * Returns the default SecureRandom service description. 215 public static Provider.Service getSecureRandomService() {
|
/cts/tests/src/android/content/cts/ |
MockContextWrapperService.java | 19 import android.app.Service; 32 public class MockContextWrapperService extends Service {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalService.java | 22 import android.app.Service; 34 * This is an example of implementing an application service that runs locally 37 * service. 40 * happen in the service. This is generally how background services should 44 //BEGIN_INCLUDE(service) 45 public class LocalService extends Service { 53 * Class for clients to access. Because we know this service always 74 // We want this service to continue running until it is explicitly 98 * Show a notification while this service is running. 120 //END_INCLUDE(service) [all...] |
AlarmService_Service.java | 26 import android.app.Service; 35 * This is an example of implementing an application service that will run in 42 public class AlarmService_Service extends Service { 52 // Start up the thread running the service. Note that we create a 53 // separate thread because the service normally runs in the process's 85 // Done with our work... stop the service! 96 * Show a notification while this service is running.
|
NotifyingService.java | 26 import android.app.Service; 35 * This is an example of service that will update its status bar balloon 39 public class NotifyingService extends Service { 51 // Start up the thread running the service. Note that we create a 52 // separate thread because the service normally runs in the process's 83 // Done with our work... stop the service!
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServerService.java | 21 import android.app.Service; 26 public class SecureWebServerService extends Service {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
ServicesTest.java | 42 Provider.Service serv = Services.getService("Service.ALGORITHM"); 44 fail("Service is null"); 48 fail("Incorrect Service"); 51 serv = Services.getService("Service.ALGORITHM"); 61 Provider.Service serv = Services.getService("Service.ALGORITHM"); 63 serv = Services.getService("Service.ALGORITHM"); 65 fail("Service removed"); 70 serv = Services.getService("Service.ALGORITHM") [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Provider_ImplTest.java | 56 Provider.Service s = new Provider.Service(p, "Type", "Algorithm",
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractIdleService.java | 35 public abstract class AbstractIdleService implements Service { 38 private final Service delegate = new AbstractService() { 68 /** Start the service. */ 71 /** Stop the service. */ 75 * Returns the {@link Executor} that will be used to run this service. 79 * execute()} method is called when this service is started and stopped, 82 * @param state {@link Service.State#STARTING} or 83 * {@link Service.State#STOPPING}, used by the default implementation for
|
/frameworks/base/core/java/com/android/internal/util/ |
AsyncService.java | 19 import android.app.Service; 28 * A service that receives Intents and IBinder transactions 35 abstract public class AsyncService extends Service { 58 * For instance @see android.app.Service#START_STICKY 66 * Create the service's handler returning AsyncServiceInfo. 108 * Called when service is destroyed. After returning the 109 * service is dead and no more processing should be expected
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
DataVerify.java | 19 import android.app.Service; 30 public class DataVerify extends Service {
|
/packages/apps/Contacts/src/com/android/contacts/ |
ViewNotificationService.java | 21 import android.app.Service; 29 * Service that sends out a view notification for a contact. At the moment, this is only 32 public class ViewNotificationService extends Service { 55 // startId will stop this service. In practice, this shouldn't be a problem, 56 // as this service is supposed to be called by the Phone app which only sends 61 Log.e(TAG, "Error stopping service", e);
|
/packages/apps/Email/src/com/android/email/service/ |
PolicyService.java | 17 package com.android.email.service; 21 import com.android.emailcommon.service.IPolicyService; 23 import android.app.Service; 28 public class PolicyService extends Service { 73 // When we bind this service, save the context and SecurityPolicy singleton
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiver.java | 20 import android.app.Service; 29 * Handle incoming SMSes. Just dispatches the work off to a Service. 69 * Start the service to process the current event notifications, acquiring 70 * the wake lock before returning to ensure that the service will run. 87 * Called back by the service when it has finished processing notifications, 88 * releasing the wake lock if the service is now stopping. 90 public static void finishStartingService(Service service, int startId) { 93 if (service.stopSelfResult(startId)) {
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
ServiceBase.java | 19 import android.app.Service; 34 public class ServiceBase extends Service {
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
GalaxyView.java | 10 import android.app.Service; 34 .getSystemService(Service.WINDOW_SERVICE))
|
/external/mdnsresponder/mDNSPosix/ |
Makefile | 109 # uClibc does not support Name Service Switch 266 # nss_mdns target builds the Name Service Switch module 268 @echo "Name Service Switch module done"
|
/bionic/libc/tools/ |
genserv.py | 10 this program is used to generate the hard-coded internet service list for the 17 class Service: 42 result = [] # list of Service objects 55 service = Service( m.group(1), int(m.group(2)), m.group(3) ) 62 service.add_alias(m.group(1)) 65 result.append(service)
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
ReceiveUriService.java | 19 import android.app.Service; 29 public class ReceiveUriService extends Service {
|
/cts/tests/src/android/app/cts/ |
LocalService.java | 19 import android.app.Service; 26 public class LocalService extends Service {
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
BuildWidget.java | 20 import android.app.Service; 39 * an update we spawn a background {@link Service} to perform the API queries. 45 // To prevent any ANR timeouts, we perform the update in a service 49 public static class UpdateService extends Service { 83 // We don't need to bind to this service
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmService.java | 22 import android.app.Service; 32 * This class implements a service. The service is started by AlarmActivity, which contains a 37 * When this service is started, it creates a Runnable and starts it in a new Thread. The 38 * Runnable does a synchronized lock on the service's Binder object for 15 seconds, then issues 40 * shuts down the entire service. The activity restarts the service after 15 more seconds, when the 44 * This service is provided as the service under test for the sample test application 49 * onStartCommand. See the Javadoc for android.app.Service for more details [all...] |