Home
last modified time | relevance | path

Searched refs:addService (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/base/core/java/android/os/
DServiceManager.java154 public static void addService(String name, IBinder service) { in addService() method in ServiceManager
155 addService(name, service, false, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService()
167 public static void addService(String name, IBinder service, boolean allowIsolated) { in addService() method in ServiceManager
168 addService(name, service, allowIsolated, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService()
181 public static void addService(String name, IBinder service, boolean allowIsolated, in addService() method in ServiceManager
184 getIServiceManager().addService(name, service, allowIsolated, dumpPriority); in addService()
DIServiceManager.java48 void addService(String name, IBinder service, boolean allowIsolated, int dumpFlags) in addService() method
DServiceManagerNative.java78 addService(name, service, allowIsolated, dumpPriority); in onTransact()
144 public void addService(String name, IBinder service, boolean allowIsolated, int dumpPriority) in addService() method in ServiceManagerProxy
/frameworks/base/services/java/com/android/server/
DSystemServer.java419 LocalServices.addService(SystemServiceManager.class, mSystemServiceManager); in run()
783 ServiceManager.addService("sec_key_att_app_id_provider", in startOtherServices()
792 ServiceManager.addService("scheduling_policy", new SchedulingPolicyService()); in startOtherServices()
801 ServiceManager.addService("telephony.registry", telephonyRegistry); in startOtherServices()
834 ServiceManager.addService("vibrator", vibrator); in startOtherServices()
840 ServiceManager.addService(Context.CONSUMER_IR_SERVICE, consumerIr); in startOtherServices()
864 ServiceManager.addService(Context.WINDOW_SERVICE, wm, /* allowIsolated= */ false, in startOtherServices()
866 ServiceManager.addService(Context.INPUT_SERVICE, inputManager, in startOtherServices()
952 ServiceManager.addService(Context.ACCESSIBILITY_SERVICE, in startOtherServices()
1057 ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar); in startOtherServices()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowManagerServiceRule.java82 LocalServices.addService(DisplayManagerInternal.class, in apply()
85 LocalServices.addService(PowerManagerInternal.class, in apply()
92 LocalServices.addService(ActivityManagerInternal.class, in apply()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp104 sm->addService(String16(SurfaceFlinger::getServiceName()), flinger, false, in main()
109 sm->addService(String16(GpuService::SERVICE_NAME), gpuservice, false); in main()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java236 ServiceManager.addService(name, service, allowIsolated, dumpPriority); in publishBinderService()
250 LocalServices.addService(type, service); in publishLocalService()
DBinderCallsStatsService.java38 ServiceManager.addService("binder_calls_stats", service); in start()
/frameworks/av/services/mediadrm/
DMediaDrmService.cpp33 defaultServiceManager()->addService( in instantiate()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp48 if (defaultServiceManager()->addService(String16("incident"), service) != 0) { in main()
/frameworks/layoutlib/bridge/src/android/os/
DServiceManager.java47 public static void addService(String name, IBinder service) { in addService() method in ServiceManager
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java94 LocalServices.addService(InputManagerInternal.class, mMockInputManagerInternal); in setUp()
96 LocalServices.addService(WindowManagerInternal.class, mMockWindowManagerInternal); in setUp()
98 LocalServices.addService(LightsManager.class, mMockLightsManager); in setUp()
/frameworks/native/services/vr/virtual_touchpad/
Dmain.cpp23 sm->addService(android::String16(touchpad_service->SERVICE_NAME()), in main()
/frameworks/native/libs/binder/include/binder/
DBinderService.h40 return sm->addService(String16(SERVICE::getServiceName()), new SERVICE(), allowIsolated,
DIServiceManager.h64 virtual status_t addService(const String16& name, const sp<IBinder>& service,
/frameworks/base/core/java/com/android/server/
DLocalServices.java54 public static <T> void addService(Class<T> type, T service) { in addService() method in LocalServices
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java133 mContextFixture.addService( in mockCarrierApp()
153 mContextFixture.addService( in mockSystemApp()
/frameworks/native/services/vr/hardware_composer/
Dvr_hardware_composer_service.cpp45 android::status_t status = sm->addService( in main()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java62 LocalServices.addService(DevicePolicyManagerInternal.class, mDpmi); in setUp()
71 LocalServices.addService(DevicePolicyManagerInternal.class, mSystemDpmi); in tearDown()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiServiceTestCase.java53 LocalServices.addService(PackageManagerInternal.class, mPmi); in setup()
/frameworks/native/services/nativeperms/
Dnativeperms.cpp72 android::status_t status = android::defaultServiceManager()->addService( in main()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DServiceManagerPermissionTests.java41 ServiceManager.addService("activity", binder); in testAddService()
/frameworks/base/cmds/statsd/src/
Dmain.cpp112 if (defaultServiceManager()->addService(String16("stats"), service) != 0) { in main()
/frameworks/native/services/thermalservice/
DThermalService.cpp121 defaultServiceManager()->addService(String16("thermalservice"), in publish()
/frameworks/base/libs/common_time/
Dcommon_time_config_service.cpp30 defaultServiceManager()->addService(ICommonTimeConfig::kServiceName, ctcs); in instantiate()

12345