Home
last modified time | relevance | path

Searched refs:LocalService (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalDeniedService.java19 public class LocalDeniedService extends LocalService
DLocalGrantedService.java19 public class LocalGrantedService extends LocalService
DLocalService.java28 public class LocalService extends Service { class
48 public LocalService() { in LocalService() method in LocalService
DServiceTest.java378 startExpectResult(new Intent(getContext(), LocalService.class)); in testLocalStartClass()
388 bindExpectResult(new Intent(getContext(), LocalService.class)); in testLocalBindClass()
398 bindAutoExpectResult(new Intent(getContext(), LocalService.class)); in testLocalBindAutoClass()
DLocalReceiver.java55 context.bindService(new Intent(context, LocalService.class), sc, 0); in onReceive()
DMetaDataTest.java125 ComponentName cn = new ComponentName(mContext, LocalService.class); in testServiceWithData()
/frameworks/base/docs/html/guide/components/
Dbound-services.jd33 …<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LocalService.ht…
34 LocalService}</a></li>
210 public class LocalService extends Service {
221 LocalService getService() {
222 // Return this instance of LocalService so clients can call public methods
223 return LocalService.this;
240 current instance of {@code LocalService}. This allows clients to call public methods in the
243 <p>Here's an activity that binds to {@code LocalService} and calls {@code getRandomNumber()}
248 LocalService mService;
260 // Bind to LocalService
[all …]
Dservices.jd40 …<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LocalService.ht…
41 LocalService}</a></li>
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java113 publishLocalService(UsageStatsManagerInternal.class, new LocalService()); in onStart()
427 private class LocalService extends UsageStatsManagerInternal { class in UsageStatsService
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java102 publishLocalService(DreamManagerInternal.class, new LocalService()); in onStart()
626 private final class LocalService extends DreamManagerInternal { class in DreamManagerService
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java181 publishLocalService(BatteryManagerInternal.class, new LocalService()); in onStart()
779 private final class LocalService extends BatteryManagerInternal { class in BatteryService
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java238 publishLocalService(DisplayManagerInternal.class, new LocalService()); in onStart()
1441 private final class LocalService extends DisplayManagerInternal { class in DisplayManagerService
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java271 LocalServices.addService(InputManagerInternal.class, new LocalService()); in InputManagerService()
1780 private final class LocalService extends InputManagerInternal { class in InputManagerService
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java462 publishLocalService(PowerManagerInternal.class, new LocalService()); in onStart()
3142 private final class LocalService extends PowerManagerInternal { class in PowerManagerService
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java203 final LocalService mLocalService;
912 mLocalService = new LocalService(); in DevicePolicyManagerService()
5319 private final class LocalService extends DevicePolicyManagerInternal { class in DevicePolicyManagerService
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java884 LocalServices.addService(WindowManagerInternal.class, new LocalService()); in WindowManagerService()
11483 private final class LocalService extends WindowManagerInternal { class
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2368 LocalServices.addService(ActivityManagerInternal.class, new LocalService()); in start()
19042 private final class LocalService extends ActivityManagerInternal {
/frameworks/base/docs/html/
Dsitemap.txt1457 …developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/LocalService.html