Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DDefaultServiceBinder.java19 import android.app.Service;
45 public abstract Service bindDozeService(DozeService service); in bindDozeService()
51 public abstract Service bindImageWallpaper(ImageWallpaper service); in bindImageWallpaper()
57 public abstract Service bindKeyguardService(KeyguardService service); in bindKeyguardService()
63 public abstract Service bindDreamOverlayService(DreamOverlayService service); in bindDreamOverlayService()
69 public abstract Service bindNotificationListenerWithPlugins( in bindNotificationListenerWithPlugins()
76 public abstract Service bindSystemUIService(SystemUIService service); in bindSystemUIService()
82 public abstract Service bindSystemUIAuxiliaryDumpService(SystemUIAuxiliaryDumpService service); in bindSystemUIAuxiliaryDumpService()
88 public abstract Service bindRecordingService(RecordingService service); in bindRecordingService()
94 public abstract Service bindIssueRecordingService(IssueRecordingService service); in bindIssueRecordingService()
DContextComponentResolver.java20 import android.app.Service;
36 private final Map<Class<?>, Provider<Service>> mServiceCreators;
42 Map<Class<?>, Provider<Service>> serviceCreators, in ContextComponentResolver()
79 public Service resolveService(String className) { in resolveService()
/frameworks/native/libs/vr/libpdx/
Dservice.cpp23 : service_{Service::GetFromMessageInfo(info)}, in Message()
383 Service* service, int flags, const std::shared_ptr<Channel>& channel, in PushChannel()
399 Status<int> Message::CheckChannel(const Service* service, ChannelReference ref, in CheckChannel()
437 std::shared_ptr<Service> Message::GetService() const { return service_.lock(); } in GetService()
441 Service::Service(const std::string& name, std::unique_ptr<Endpoint> endpoint) in Service() function in android::pdx::Service
451 Service::~Service() { in ~Service()
459 std::shared_ptr<Service> Service::GetFromMessageInfo(const MessageInfo& info) { in GetFromMessageInfo()
461 : std::shared_ptr<Service>(); in GetFromMessageInfo()
464 bool Service::IsInitialized() const { return endpoint_.get() != nullptr; } in IsInitialized()
466 std::shared_ptr<Channel> Service::OnChannelOpen(Message& /*message*/) { in OnChannelOpen()
[all …]
Dservice_dispatcher.cpp71 int ServiceDispatcher::AddService(const std::shared_ptr<Service>& service) { in AddService()
88 int ServiceDispatcher::RemoveService(const std::shared_ptr<Service>& service) { in RemoveService()
130 Service* service = static_cast<Service*>(events[i].data.ptr); in ReceiveAndDispatch()
162 Service* service = static_cast<Service*>(events[i].data.ptr); in EnterDispatchLoop()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice_dispatcher.h14 class Service; variable
35 int AddService(const std::shared_ptr<Service>& service);
44 int RemoveService(const std::shared_ptr<Service>& service);
94 std::vector<std::shared_ptr<Service>> services_;
Dservice.h26 class Service; variable
212 Service* service, int flags, const std::shared_ptr<Channel>& channel,
239 Status<int> CheckChannel(const Service* service, ChannelReference ref,
258 Status<int> CheckChannel(const Service* service, ChannelReference ref, in CheckChannel()
328 std::shared_ptr<Service> GetService() const;
349 friend class Service;
355 std::weak_ptr<Service> service_;
363 class Service : public std::enable_shared_from_this<Service> {
365 Service(const std::string& name, std::unique_ptr<Endpoint> endpoint);
366 virtual ~Service();
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapter.java30 public class DozeSuspendScreenStatePreventingAdapter extends DozeMachine.Service.Delegate {
33 DozeSuspendScreenStatePreventingAdapter(DozeMachine.Service inner, Executor bgExecutor) { in DozeSuspendScreenStatePreventingAdapter()
49 public static DozeMachine.Service wrapIfNeeded(DozeMachine.Service inner, in wrapIfNeeded()
DDozeScreenStatePreventingAdapter.java30 public class DozeScreenStatePreventingAdapter extends DozeMachine.Service.Delegate {
33 DozeScreenStatePreventingAdapter(DozeMachine.Service inner, Executor bgExecutor) { in DozeScreenStatePreventingAdapter()
51 public static DozeMachine.Service wrapIfNeeded(DozeMachine.Service inner, in wrapIfNeeded()
/frameworks/base/test-mock/src/android/test/mock/
DMockService.java19 import android.app.Service;
34 public static <T extends Service> void attachForTesting(Service service, Context context, in attachForTesting()
/frameworks/native/libs/binder/rust/tests/
Dndk_rust_interop.rs75 struct Service; struct
77 impl Interface for Service {} implementation
79 impl IBinderRustNdkInteropTest for Service { implementation
94 let service = BnBinderRustNdkInteropTest::new_binder(Service, BinderFeatures::default()); in rust_start_service()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java19 import android.app.Service;
41 mContext.getSystemService(Service.WINDOW_SERVICE); in getDefaultDisplay()
53 mContext.getSystemService(Service.POWER_SERVICE); in isScreenOn()
/frameworks/native/libs/binder/tests/
DbinderHostDeviceTestService.cpp26 class Service : public android::BBinder { class
28 Service(std::string_view descriptor) : mDescriptor(descriptor.data(), descriptor.size()) {} in Service() function in __anonc83f94e70111::Service
46 auto service = android::sp<Service>::make(descriptor); in main()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java28 import android.app.Service;
87 testRestartStartedService(Service.START_STICKY, true /* shouldRestart */); in testRestart_stickyStartedService_restarted()
92 testRestartStartedService(Service.START_FLAG_REDELIVERY, true /* shouldRestart */); in testRestart_redeliveryStartedService_restarted()
97 testRestartStartedService(Service.START_NOT_STICKY, false /* shouldRestart */); in testRestart_notStickyStartedService_notRestarted()
133 assertThat(startService(Service.START_NOT_STICKY), is(servicePid)); in testRestart_boundNotStickyStartedService_restarted()
152 final int servicePid = startService(Service.START_NOT_STICKY); in testRestart_notStickyStartedNoAutoCreateBoundService_notRestarted()
231 public static class RemoteService extends Service {
243 return intent.getIntExtra(EXTRA_START_CODE, Service.START_NOT_STICKY); in onStartCommand()
/frameworks/base/services/tests/PackageManagerServiceTests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
DTestService.java20 import android.app.Service;
24 public class TestService extends Service {
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DDisabledService.java19 import android.app.Service;
27 public class DisabledService extends Service {
DEnabledService.java19 import android.app.Service;
27 public class EnabledService extends Service {
/frameworks/base/core/tests/coretests/src/android/os/
DBinderProxyService.java19 import android.app.Service;
22 public class BinderProxyService extends Service {
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeCoreService.java19 import android.app.Service;
24 public class FakeCoreService extends Service {
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskModule.kt22 import android.app.Service
41 fun bindNoteTaskControllerUpdateService(service: NoteTaskControllerUpdateService): Service in bindNoteTaskControllerUpdateService()
44 fun bindNoteTaskBubblesService(service: NoteTaskBubblesService): Service in bindNoteTaskControllerUpdateService()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType2AuthenticatorService.java18 import android.app.Service;
25 public class TestAccountType2AuthenticatorService extends Service {
DTestAccountType1AuthenticatorService.java18 import android.app.Service;
25 public class TestAccountType1AuthenticatorService extends Service {
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/dagger/
DScreenshotModule.java21 import android.app.Service;
61 abstract Service bindTakeScreenshotService(TakeScreenshotService service); in bindTakeScreenshotService()
77 abstract Service bindAppClipsScreenshotHelperService(AppClipsScreenshotHelperService service); in bindAppClipsScreenshotHelperService()
82 abstract Service bindAppClipsService(AppClipsService service); in bindAppClipsService()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DEmptyService.java19 import android.app.Service;
24 public class EmptyService extends Service {
/frameworks/base/location/lib/java/com/android/location/provider/
DSignificantPlaceProvider.java49 mBinder = new Service(); in SignificantPlaceProvider()
80 private final class Service extends ISignificantPlaceProvider.Stub { class in SignificantPlaceProvider
82 Service() {} in Service() method in SignificantPlaceProvider.Service
/frameworks/base/core/java/android/app/admin/
DDeviceAdminService.java18 import android.app.Service;
55 public class DeviceAdminService extends Service {

12345678910>>...13