Home
last modified time | relevance | path

Searched refs:Service (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/packages/modules/Bluetooth/system/stack/mmc/daemon/
Dservice.h37 class Service final {
39 explicit Service(base::OnceClosure shutdown_callback);
42 Service(const Service&) = delete;
43 Service& operator=(const Service&) = delete;
85 base::WeakPtrFactory<Service> weak_ptr_factory_;
Dservice.cc117 Service::Service(base::OnceClosure shutdown_callback) in Service() function in mmc::Service
120 bool Service::Init() { in Init()
137 using ServiceMethod = void (Service::*)(dbus::MethodCall*, dbus::ExportedObject::ResponseSender); in Init()
139 {kCodecInitMethod, &Service::CodecInit}, in Init()
140 {kCodecCleanUpMethod, &Service::CodecCleanUp}, in Init()
160 void Service::CodecInit(dbus::MethodCall* method_call, in CodecInit()
260 void Service::CodecCleanUp(dbus::MethodCall* method_call, in CodecCleanUp()
268 bool Service::StartWorkerThread(int fd, struct sockaddr_un addr, in StartWorkerThread()
299 void Service::RemoveIdleThread() { in RemoveIdleThread()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java57 ArrayMap<String, ArrayList<Service>> mServices = new ArrayMap<>(1);
111 ArrayList<Service> value = new ArrayList<Service>(); in ProcStatsEntry()
112 in.readTypedList(value, Service.CREATOR); in ProcStatsEntry()
222 ArrayList<Service> subProcServices = null; in evaluateTargetPackage()
224 ArrayList<Service> subServices = mServices.valueAt(isp); in evaluateTargetPackage()
233 Service service = subProcServices.get(iss); in evaluateTargetPackage()
264 ArrayList<Service> services = mServices.get(svc.getPackage()); in addService()
266 services = new ArrayList<Service>(); in addService()
269 services.add(new Service(svc)); in addService()
315 public static final class Service implements Parcelable { class in ProcStatsEntry
[all …]
DProcessStatsDetail.java56 import com.android.settings.applications.ProcStatsEntry.Service;
311 final static Comparator<ProcStatsEntry.Service> sServiceCompare
312 = new Comparator<ProcStatsEntry.Service>() {
314 public int compare(ProcStatsEntry.Service lhs, ProcStatsEntry.Service rhs) {
337 final ArrayList<ProcStatsEntry.Service> mServices = new ArrayList<>();
347 ArrayList<ProcStatsEntry.Service> services = entry.mServices.valueAt(ip); in fillServicesSection()
349 ProcStatsEntry.Service pent = services.get(is); in fillServicesSection()
366 ArrayList<ProcStatsEntry.Service> services = pkgList.get(ip).mServices; in fillServicesSection()
369 final ProcStatsEntry.Service service = services.get(is); in fillServicesSection()
382 private CharSequence getLabel(Service service) { in getLabel()
/packages/modules/Virtualization/docs/
Dservice_vm.md1 # Service VM
3 The Service VM is a lightweight, bare-metal virtual machine specifically
7 - Only one instance of the Service VM is allowed to run at any given time.
8 - The instance ID of the Service VM remains unchanged during updates of
9 both the client VMs and the Service VM.
19 [Rialto][rialto] is used as the bare-metal kernel for the Service VM. It
25 The main functionality of the Service VM is to process requests from the host
33 - [libservice_vm_manager][libservice_vm_manager] manages the Service VM
34 session, ensuring that only one Service VM is active at any given time. The
36 Service VM instance.
[all …]
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase_builder.cc45 database.services.emplace_back(Service{ in AddService()
56 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService()
59 vec.emplace(it, Service{ in AddService()
72 Service* service = FindService(database.services, handle); in AddIncludedService()
94 Service* service = FindService(database.services, handle); in AddCharacteristic()
115 Service* service = FindService(database.services, handle); in AddDescriptor()
164 Service* service = FindService(database.services, pending_service.first); in NextDescriptorRangeToExplore()
198 static Descriptor* FindDescriptorByHandle(std::list<Service>& services, uint16_t handle) { in FindDescriptorByHandle()
199 Service* service = FindService(services, handle); in FindDescriptorByHandle()
Ddatabase.h71 struct Service { struct
111 void Clear() { std::list<Service>().swap(services); } in Clear()
114 const std::list<Service>& Services() const { return services; } in Services()
128 std::list<Service> services;
133 Service* FindService(std::list<Service>& services, uint16_t handle);
Ddatabase.cc45 bool HandleInRange(const Service& svc, uint16_t handle) { in HandleInRange()
55 Service* FindService(std::list<Service>& services, uint16_t handle) { in FindService()
56 for (Service& service : services) { in FindService()
68 for (const Service& service : services) { in ToString()
98 for (const Service& service : services) { in Serialize()
105 for (const Service& service : services) { in Serialize()
147 result.services.emplace_back(Service{ in Deserialize()
176 Service* included_service = FindService(result.services, attr.value.included_service.handle); in Deserialize()
221 for (const Service& service : services) { in Hash()
249 for (const Service& service : services) { in Hash()
Dbta_gattc_cache.cc60 using gatt::Service;
115 static const Service* bta_gattc_find_matching_service(const std::list<Service>& services, in bta_gattc_find_matching_service()
117 for (const Service& service : services) { in bta_gattc_find_matching_service()
567 for (const Service& service : p_clcb->p_srcb->gatt_database.Services()) { in bta_gattc_search_service()
589 static const std::list<Service>* bta_gattc_get_services_srcb(tBTA_GATTC_SERV* p_srcb) { in bta_gattc_get_services_srcb()
597 const std::list<Service>* bta_gattc_get_services(tCONN_ID conn_id) { in bta_gattc_get_services()
609 const Service* bta_gattc_get_service_for_handle_srcb(tBTA_GATTC_SERV* p_srcb, uint16_t handle) { in bta_gattc_get_service_for_handle_srcb()
610 const std::list<Service>* services = bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_service_for_handle_srcb()
617 const Service* bta_gattc_get_service_for_handle(tCONN_ID conn_id, uint16_t handle) { in bta_gattc_get_service_for_handle()
618 const std::list<Service>* services = bta_gattc_get_services(conn_id); in bta_gattc_get_service_for_handle()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothClass.java110 public static final class Service { class in BluetoothClass
138 return ((mClass & Service.BITMASK & service) != 0); in hasService()
315 if (hasService(Service.RENDER)) { in doesClassMatch()
331 if (hasService(Service.CAPTURE)) { in doesClassMatch()
348 if (hasService(Service.RENDER)) { in doesClassMatch()
361 if (hasService(Service.OBJECT_TRANSFER)) { in doesClassMatch()
387 if (hasService(Service.NETWORKING)) { in doesClassMatch()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/dagger/
DTvServiceBinder.kt18 import android.app.Service
33 abstract fun bindSystemUIService(service: SystemUIService): Service
38 abstract fun bindSystemUIAuxiliaryDumpService(service: SystemUIAuxiliaryDumpService): Service
43 abstract fun bindImageWallpaper(service: ImageWallpaper): Service
/packages/services/Car/car_product/sepolicy/private/
Dcarservice_app.te1 # Domain to run Car Service (com.android.car)
4 # Allow Car Service to be the client of Vehicle and Audio Control HALs
9 # Allow Car Service to be the client of remoteaccess HAL.
12 # Allow Car Service to use EVS service
15 # Allow Car Service to use IVN HAL.
21 # Allow Car Service to register/access itself with ServiceManager
24 # Allow Car Service to access certain system services.
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DREADME.md1 # Fake VHAL mode in Car Service
10 Car Service connects to FakeVehicleStub: true
16 Car Service connects to FakeVehicleStub: false
48 1. Check if Car Service is connecting to fake VHAL.
52 Car Service connects to FakeVehicleStub: true
/packages/modules/Bluetooth/android/pandora/test/
Dgatt_test.py22 from bumble.gatt import (Characteristic, Service, GATT_VOLUME_CONTROL_SERVICE, GATT_AUDIO_INPUT_CON…
123 service = Service(
188 self.ref.device.add_service(Service(SERVICE_UUID_1, [])) # type:ignore
195 self.ref.device.add_service(Service(SERVICE_UUID_2, [])) # type:ignore
219 self.ref.device.add_service(Service(SERVICE_UUID_1, [])) # type:ignore
231 self.ref.device.add_service(Service(SERVICE_UUID_2, [])) # type:ignore
294 included_service = Service(INCLUDED_SERVICE_UUID, [], primary=is_primary_service)
295 primary_service = Service(PRIMARY_SERVICE_UUID, [], included_services=[included_service])
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DBackgroundIncomingCallService.java23 import android.app.Service;
29 public class BackgroundIncomingCallService extends Service {
57 return Service.START_STICKY_COMPATIBILITY; in onStartCommand()
/packages/modules/Bluetooth/offload/leaudio/hci/
Dservice.rs29 pub(crate) struct Service { struct
33 static SERVICE: LazyLock<Service> = LazyLock::new(|| { argument
36 Service { state }
46 impl Service { implementation
/packages/modules/Permission/tests/cts/permission/AppThatRequestOneTimePermission/src/android/permission/cts/appthatrequestpermission/
DKeepAliveForegroundService.java22 import android.app.Service;
28 public class KeepAliveForegroundService extends Service {
66 () -> stopForeground(Service.STOP_FOREGROUND_REMOVE), lifespan); in onStartCommand()
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dhfp.proto10 // Service to trigger HFP (Hands Free Profile) procedures.
12 // Enable Service level connection
14 // Disable Service level connection
48 // Enable Service level connection (as a handsfree)
50 // Disable Service level connection (as a handsfree)
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java72 ResolveInfo defPanel = Service.searchControlPanel(this, null); in onCreate()
82 Intent updateIntent = new Intent(this, Service.class); in onCreate()
109 Intent updateIntent = new Intent(context, Service.class); in onReceive()
115 public static class Service extends IntentService { class in Compatibility
119 public Service() { in Service() method in Compatibility.Service
/packages/apps/Traceur/src/com/android/traceur/
DTraceService.java25 import android.app.Service;
202 stopForeground(Service.STOP_FOREGROUND_DETACH); in startTracingInternal()
210 stopForeground(Service.STOP_FOREGROUND_REMOVE); in startTracingInternal()
244 stopForeground(Service.STOP_FOREGROUND_DETACH); in startStackSamplingInternal()
252 stopForeground(Service.STOP_FOREGROUND_REMOVE); in startStackSamplingInternal()
295 stopForeground(Service.STOP_FOREGROUND_DETACH); in startHeapDumpInternal()
301 stopForeground(Service.STOP_FOREGROUND_REMOVE); in startHeapDumpInternal()
347 stopForeground(Service.STOP_FOREGROUND_REMOVE); in stopTracingInternal()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.kt19 import android.app.Service
44 class AlarmService : Service() {
151 return Service.START_NOT_STICKY in onStartCommand()
188 return Service.START_NOT_STICKY in onStartCommand()
/packages/apps/Contacts/src/com/android/contacts/util/
DEmptyService.java19 import android.app.Service;
28 public class EmptyService extends Service {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaService.java19 import android.app.Service;
26 public class OtaService extends Service {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DMockSyncAdapter.java19 import android.app.Service;
26 public class MockSyncAdapter extends Service {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningService.java19 import android.app.Service;
26 public class ProvisioningService extends Service {

12345678910>>...13