/frameworks/support/browser/src/main/java/androidx/browser/customtabs/ |
CustomTabsServiceConnection.java | 32 public final void onServiceConnected(ComponentName name, IBinder service) { 34 ICustomTabsService.Stub.asInterface(service), name) { 40 * @param name The concrete component name of the service that has been connected.
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/ |
SimpleWakefulReceiver.java | 31 // This is the Intent to deliver to our service. 32 Intent service = new Intent(context, SimpleWakefulService.class); local 34 // Start the service, keeping the device awake while it is launching. 35 Log.i("SimpleWakefulReceiver", "Starting service @ " + SystemClock.elapsedRealtime()); 36 startWakefulService(context, service);
|
/hardware/interfaces/tests/extension/light/2.0/default/ |
service.cpp | 16 #define LOG_TAG "android.hardware.tests.extension.light@2.0-service" 31 android::sp<ILight> service = new Light(); local 33 if (service->registerAsService() != android::OK) {
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
IRadioCallback.aidl | 16 package com.android.car.radio.service;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
IEmailService.aidl | 18 package com.android.emailcommon.service; 20 import com.android.emailcommon.service.HostAuthCompat; 21 import com.android.emailcommon.service.IEmailServiceCallback; 22 import com.android.emailcommon.service.SearchParams; 43 // Notify the service that the push configuration has changed for an account. 58 // Service control operations (i.e. does not generate a client-server message). 60 // trigger the service to reload the flags.
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
BaseBindingActivity.java | 27 import com.android.tools.sdkcontroller.service.ControllerService; 28 import com.android.tools.sdkcontroller.service.ControllerService.ControllerBinder; 29 import com.android.tools.sdkcontroller.service.ControllerService.ControllerListener; 43 * Returns the binder. Activities can use that to query the controller service. 54 * This automatically binds to the service, starting it as needed. 56 * Since on resume we automatically bind to the service, the {@link ServiceConnection} 58 * Derived classes that need to initialize anything that is related to the service 60 * <em>not</em> in {@link #onResume()} -- since binding to the service is asynchronous 72 * This automatically unbinds from the service but does not stop it. 83 * Called when binding to the service to get the activity's {@link ControllerListener} 140 Intent service = new Intent(this, ControllerService.class); local [all...] |
/frameworks/base/core/java/android/service/quicksettings/ |
IQSService.aidl | 16 package android.service.quicksettings; 20 import android.service.quicksettings.Tile; 27 void updateQsTile(in Tile tile, in IBinder service);
|
/frameworks/base/core/java/android/service/vr/ |
IVrManager.aidl | 17 package android.service.vr; 21 import android.service.vr.IVrStateCallbacks; 22 import android.service.vr.IPersistentVrStateCallbacks; 99 * Set the component name of the compositor service to bind. 101 * @param componentName flattened string representing a ComponentName of a Service in the
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
StateController.java | 41 StateController(JobSchedulerService service) { 42 mService = service; 43 mStateChangedListener = service; 44 mContext = service.getTestableContext(); 45 mLock = service.getLock(); 46 mConstants = service.getConstants();
|
/system/core/adb/ |
adb_client.cpp | 74 std::string service; local 76 service += "host:transport-id:"; 77 service += std::to_string(__adb_transport_id); 79 service += "host:transport:"; 80 service += __adb_serial; 97 service += "host:"; 98 service += transport_type; 101 if (!SendProtocolString(fd, service)) { 138 static int _adb_connect(const std::string& service, std::string* error) { 139 D("_adb_connect: %s", service.c_str()) [all...] |
/system/sepolicy/vendor/ |
file_contexts | 4 /(vendor|system/vendor)/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_default_exec:s0 5 /(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol@1\.0-service u:object_r:hal_audiocontrol_default_exec:s0 6 /(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.evs@1\.0-service u:object_r:hal_evs_default_exec:s0 7 /(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.vehicle@2\.0-service u:object_r:hal_vehicle_default_exec:s0 8 /(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service u:object_r:hal_bluetooth_default_exec:s0 9 /(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0 10 /(vendor|system/vendor)/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_bootctl_default_exec:s0 11 /(vendor|system/vendor)/bin/hw/android\.hardware\.broadcastradio@\d+\.\d+-service u:object_r:hal_broadcastradio_default_exec:s0 13 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.4-service u:object_r:hal_camera_default_exec:s0 14 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.4-external-service u:object_r:hal_camera_default_exec:s [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
CardEmulation.java | 55 * card emulation service for a certain category. This will 57 * replace the current default service with the service 74 * The service {@link ComponentName} object passed in as an 95 * <p>In this mode, the user has set a default service for this 101 * that the default service has registered in this category, 102 * that service will automatically be bound to to handle 112 * is selected, the user is asked which service he wants to use to handle 113 * the transaction, even if there is only one matching service. 121 * or {@link OffHostApduService}, the user will only be asked to select a service 172 INfcCardEmulation service = adapter.getCardEmulationService(); local [all...] |
/external/autotest/client/site_tests/network_ShillInitScripts/ |
mock_flimflam.py | 3 import dbus.service 18 class FlimflamManager(dbus.service.Object): 22 dbus.service.Object.__init__(self, bus, object_path) 26 @dbus.service.method('org.chromium.flimflam.Manager', 38 @dbus.service.method('org.chromium.flimflam.Manager', 49 @dbus.service.method('org.chromium.flimflam.Manager', 61 @dbus.service.method('org.chromium.flimflam.Manager', 74 @dbus.service.method('org.chromium.flimflam.Manager', 85 @dbus.service.method('org.chromium.flimflam.Manager', 129 name = dbus.service.BusName(self.FLIMFLAM, self.bus [all...] |
/external/guice/extensions/service/src/com/google/inject/service/ |
CompositeService.java | 16 package com.google.inject.service; 34 * A service that composes other services together in a fixed order. 41 private final Set<Key<? extends Service>> services = Sets.newLinkedHashSet(); 44 * Represents the state of this composite service. Will equal FAILED 45 * even if only one component service fails to start or stop. In other 47 * service to be considered started and similarly for stopped. 49 private volatile Service.State compositeState; 57 public CompositeService add(Class<? extends Service> service) { 58 return add(Key.get(service)); [all...] |
/frameworks/base/core/java/android/service/notification/ |
INotificationListener.aidl | 17 package android.service.notification; 22 import android.service.notification.NotificationStats; 23 import android.service.notification.IStatusBarNotificationHolder; 24 import android.service.notification.StatusBarNotification; 25 import android.service.notification.NotificationRankingUpdate;
|
/system/core/init/ |
sigchld_handler.cpp | 33 #include "service.h" 59 // We do NOT want to reap the zombie earlier as in Service::Reap(), we kill(-pid, ...) and we 65 Service* service = nullptr; local 72 service = ServiceList::GetInstance().FindService(pid, &Service::pid); 74 if (service) { 75 name = StringPrintf("Service '%s' (pid %d)", service->name().c_str(), pid); 76 if (service->flags() & SVC_EXEC) [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 58 * System level service that serves as an event dispatch for {@link AccessibilityEvent}s, 63 * events implement and register an accessibility service which extends 100 * Activity action: Launch UI to manage which accessibility service or feature is assigned 189 * enabled or disabled, or changes to the {@link AccessibilityServiceInfo} of a running service. 346 * @param service An interface to the backing service. 351 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { 358 tryConnectToServiceLocked(service); 366 * @param service An interface to the backing service 414 IAccessibilityManager service = getServiceLocked(); local 435 IAccessibilityManager service = getServiceLocked(); local 457 final IAccessibilityManager service; local 526 final IAccessibilityManager service; local 584 final IAccessibilityManager service; local 629 final IAccessibilityManager service; local 900 final IAccessibilityManager service; local 981 final IAccessibilityManager service; local 1006 final IAccessibilityManager service; local 1026 final IAccessibilityManager service; local 1046 final IAccessibilityManager service; local 1069 final IAccessibilityManager service; local 1094 final IAccessibilityManager service; local [all...] |
/prebuilts/go/darwin-x86/src/net/ |
port.go | 7 // parsePort parses service as a decimal integer and returns the 9 // parse service as a non-decimal integer when needsLookup is true. 15 func parsePort(service string) (port int, needsLookup bool) { 16 if service == "" { 26 if service[0] == '+' { 27 service = service[1:] 28 } else if service[0] == '-' { 30 service = service[1: [all...] |
/prebuilts/go/linux-x86/src/net/ |
port.go | 7 // parsePort parses service as a decimal integer and returns the 9 // parse service as a non-decimal integer when needsLookup is true. 15 func parsePort(service string) (port int, needsLookup bool) { 16 if service == "" { 26 if service[0] == '+' { 27 service = service[1:] 28 } else if service[0] == '-' { 30 service = service[1: [all...] |
/external/dagger2/lib/ |
auto-service-1.0-rc2.jar | |
/frameworks/native/libs/vr/libpdx/ |
service_dispatcher.cpp | 8 #include <pdx/service.h> 39 // the other entries that point to instances of Service. 71 int ServiceDispatcher::AddService(const std::shared_ptr<Service>& service) { 76 event.data.ptr = service.get(); 78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(), 80 ALOGE("Failed to add service to dispatcher because: %s\n", strerror(errno)); 84 services_.push_back(service); 88 int ServiceDispatcher::RemoveService(const std::shared_ptr<Service>& service) { 162 Service* service = static_cast<Service*>(events[i].data.ptr); local [all...] |
/prebuilts/tools/common/m2/repository/com/google/auto/service/auto-service/1.0-rc2/ |
auto-service-1.0-rc2.jar | |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ServiceManager.java | 26 import static com.google.common.util.concurrent.Service.State.FAILED; 27 import static com.google.common.util.concurrent.Service.State.NEW; 28 import static com.google.common.util.concurrent.Service.State.RUNNING; 29 import static com.google.common.util.concurrent.Service.State.STARTING; 30 import static com.google.common.util.concurrent.Service.State.STOPPING; 31 import static com.google.common.util.concurrent.Service.State.TERMINATED; 54 import com.google.common.util.concurrent.Service.State; 74 * A manager for monitoring and controlling a set of {@linkplain Service services}. This class 76 * {@linkplain #servicesByState inspecting} a collection of {@linkplain Service services}. 80 * <p>While it is recommended that service lifecycles be managed via this class, state transition 210 checkArgument(service.state() == NEW, "Can only manage NEW services, %s", service); local 596 Service service = entry.getKey(); local 640 "Service %s not at the expected location in the state map %s", service, from); local 642 "Service %s in the state map unexpectedly at %s", service, to); local 724 final Service service; field in class:ServiceManager.ServiceListener [all...] |
/external/guice/extensions/service/test/com/google/inject/service/ |
SingleServiceIntegrationTest.java | 1 package com.google.inject.service; 16 * Tests using Async Service. 26 AsyncService service = new AsyncService(executor) { local 42 Future<?> future = service.start(); 51 service.stop(); 64 AsyncService service = new AsyncService(executor) { local 74 service.start().get(2, TimeUnit.SECONDS); 75 service.stop().get(2, TimeUnit.SECONDS);
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
basic_io_object.hpp | 24 // Type trait used to determine whether a service supports move. 54 /// The type of the service that will be used to provide I/O operations. 70 return service.get_io_service(); 80 : service(asio::use_service<IoObjectService>(io_service)) 82 service.construct(implementation); 93 service.destroy(implementation); 96 /// Get the service associated with the I/O object. 99 return service; 102 /// Get the service associated with the I/O object. 105 return service; 113 service_type& service; member in class:asio::basic_io_object [all...] |