Searched defs:getSystemService (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
H A DDecorContext.java49 public Object getSystemService(String name) { method in class:DecorContext
53 (WindowManagerImpl) super.getSystemService(Context.WINDOW_SERVICE);
58 return super.getSystemService(name);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java78 public Object getSystemService(String name) { method in class:ContextThemeWrapper
85 return getBaseContext().getSystemService(name);
/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java134 * Manages all of the system services that can be returned by {@link Context#getSystemService}.
790 public static Object getSystemService(ContextImpl ctx, String name) { method in class:SystemServiceRegistry
H A DContextImpl.java762 return getSystemService(WallpaperManager.class);
1511 public Object getSystemService(String name) { method in class:ContextImpl
1512 return SystemServiceRegistry.getSystemService(this, name);
H A DActivity.java5596 public Object getSystemService(@ServiceName @NonNull String name) { method in class:Activity
5608 return super.getSystemService(name);
5873 * inflating with the LayoutInflater returned by {@link #getSystemService}.
5889 * used when inflating with the LayoutInflater returned by {@link #getSystemService}.
6655 (WindowManager)context.getSystemService(Context.WINDOW_SERVICE),
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java108 public Object getSystemService(String name) { method in class:ListViewTest.MockContext2
110 return getInstrumentation().getTargetContext().getSystemService(name);
112 return super.getSystemService(name);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java164 public Object getSystemService(String name) { method in class:ContextThemeWrapper
171 return getBaseContext().getSystemService(name);
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java119 public Object getSystemService(String name) { method in class:IsolatedContext
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java377 public Object getSystemService(String name) { method in class:AccountManagerServiceTest.MyMockContext
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java1414 public Object getSystemService(@ServiceName @NonNull String name) { method in class:AccessibilityService
1423 mWindowManager = (WindowManager) getBaseContext().getSystemService(name);
1427 return super.getSystemService(name);
1459 final WindowManagerImpl wm = (WindowManagerImpl) getSystemService(WINDOW_SERVICE);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java413 public Object getSystemService(String name) { method in class:DpmMockContext
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java546 public Object getSystemService(String name) { method in class:MockContext
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java203 public Object getSystemService(String name) { method in class:ContextFixture.FakeContext
221 return TestApplication.getAppContext().getSystemService(name);
/frameworks/base/core/java/android/content/
H A DContextWrapper.java658 public Object getSystemService(String name) { method in class:ContextWrapper
659 return mBase.getSystemService(name);
H A DContext.java2854 public abstract Object getSystemService(@ServiceName @NonNull String name); method in class:Context
2884 public final <T> T getSystemService(Class<T> serviceClass) { method in class:Context
2885 // Because subclasses may override getSystemService(String) we cannot
2889 return serviceName != null ? (T)getSystemService(serviceName) : null;
2901 * Use with {@link #getSystemService} to retrieve a
2909 * Use with {@link #getSystemService} to retrieve a
2913 * @see #getSystemService
2919 * Use with {@link #getSystemService} to retrieve a
2923 * @see #getSystemService
2929 * Use with {@link #getSystemService} t
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java142 public Object getSystemService(String name) { method in class:ConnectivityServiceTest.MockContext
145 return super.getSystemService(name);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java539 public Object getSystemService(String service) { method in class:BridgeContext
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java130 public Object getSystemService(String name) { method in class:BaseShortcutManagerTest.BaseContext

Completed in 594 milliseconds