OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getSystemService
(Results
1 - 25
of
78
) sorted by null
1
2
3
4
/frameworks/base/core/java/com/android/internal/policy/
DecorContext.java
49
public Object
getSystemService
(String name) {
53
(WindowManagerImpl) super.
getSystemService
(Context.WINDOW_SERVICE);
58
return super.
getSystemService
(name);
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/mock/
BluetoothMockContext.java
48
public Object
getSystemService
(String name) {
49
return mOriginalContext.
getSystemService
(name);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
ContextThemeWrapper.java
74
public Object
getSystemService
(String name) {
81
return getBaseContext().
getSystemService
(name);
/packages/apps/ContactsCommon/src/com/android/contacts/common/testing/
InjectedServices.java
66
public Object
getSystemService
(String name) {
/frameworks/base/core/java/android/app/
SystemServiceRegistry.java
134
* Manages all of the system services that can be returned by {@link Context#
getSystemService
}.
[
all
...]
/frameworks/base/core/java/android/view/
ContextThemeWrapper.java
164
public Object
getSystemService
(String name) {
171
return getBaseContext().
getSystemService
(name);
/packages/apps/Contacts/src/com/android/contacts/
ContactsActivity.java
68
public Object
getSystemService
(String name) {
69
Object service = super.
getSystemService
(name);
74
return getApplicationContext().
getSystemService
(name);
ContactsApplication.java
87
public Object
getSystemService
(String name) {
89
Object service = sInjectedServices.
getSystemService
(name);
95
return super.
getSystemService
(name);
/platform_testing/tests/functional/otatests/src/com/android/functional/otatests/
PackageProcessTest.java
50
public Object
getSystemService
(String name) {
54
return mInternal.
getSystemService
(name);
/cts/tests/tests/view/src/android/view/cts/
ContextThemeWrapperTest.java
75
assertEquals(context.
getSystemService
(Context.ACTIVITY_SERVICE),
76
contextThemeWrapper.
getSystemService
(Context.ACTIVITY_SERVICE));
77
assertNotSame(context.
getSystemService
(Context.LAYOUT_INFLATER_SERVICE),
78
contextThemeWrapper.
getSystemService
(Context.LAYOUT_INFLATER_SERVICE));
/frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java
108
public Object
getSystemService
(String name) {
110
return getInstrumentation().getTargetContext().
getSystemService
(name);
112
return super.
getSystemService
(name);
/frameworks/base/test-runner/src/android/test/
IsolatedContext.java
119
public Object
getSystemService
(String name) {
/packages/apps/Camera2/src/com/android/camera/util/
AndroidServices.java
66
return (ActivityManager)
getSystemService
(Context.ACTIVITY_SERVICE);
70
return (AudioManager)
getSystemService
(Context.AUDIO_SERVICE);
74
return (AccessibilityManager)
getSystemService
(Context.ACCESSIBILITY_SERVICE);
82
Object service = ApiHelper.HAS_CAMERA_2_API ?
getSystemService
(Context.CAMERA_SERVICE)
94
return (DevicePolicyManager)
getSystemService
(Context.DEVICE_POLICY_SERVICE);
98
return (DisplayManager)
getSystemService
(Context.DISPLAY_SERVICE);
102
return (KeyguardManager)
getSystemService
(Context.KEYGUARD_SERVICE);
106
return (LayoutInflater)
getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
110
return (LocationManager)
getSystemService
(Context.LOCATION_SERVICE);
114
return (NotificationManager)
getSystemService
(Context.NOTIFICATION_SERVICE)
[
all
...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContextWrapper.java
67
public Object
getSystemService
(String name) {
68
return getApplicationContext().
getSystemService
(name);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ContextWrapperTest.java
173
assertThat(activity.
getSystemService
(serviceName), sameInstance(activity.
getSystemService
(serviceName)));
175
assertThat(activity.
getSystemService
(serviceName), sameInstance(new Activity().
getSystemService
(serviceName)));
/packages/apps/Email/tests/src/com/android/email/
DBTestHelper.java
211
public Object
getSystemService
(String name) {
213
return mRealContext.
getSystemService
(name);
215
return super.
getSystemService
(name);
SecurityPolicyTests.java
98
public Object
getSystemService
(String name) {
99
return mRealContext.
getSystemService
(name);
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
MyMockContext.java
78
public Object
getSystemService
(String name) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
EnterprisePolicyGuardTest.java
288
public Object
getSystemService
(String name) {
294
return super.
getSystemService
(name);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ComponentContextFixture.java
161
public Object
getSystemService
(String name) {
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
MockContext.java
339
public Object
getSystemService
(String s) {
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractDownloadProviderFunctionalTest.java
128
public Object
getSystemService
(String name) {
137
return super.
getSystemService
(name);
/cts/tests/tests/content/src/android/content/cts/
ContextTest.java
268
assertNull(mContext.
getSystemService
("invalid"));
271
assertNotNull(mContext.
getSystemService
(Context.WINDOW_SERVICE));
276
assertNull(mContext.
getSystemService
(Object.class));
279
assertNotNull(mContext.
getSystemService
(WindowManager.class));
280
assertEquals(mContext.
getSystemService
(Context.WINDOW_SERVICE),
281
mContext.
getSystemService
(WindowManager.class));
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java
368
public Object
getSystemService
(String name) {
/frameworks/base/test-runner/src/android/test/mock/
MockContext.java
546
public Object
getSystemService
(String name) {
Completed in 1276 milliseconds
1
2
3
4