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

/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint/
H A DFingerprintEnrollIntroductionTest.java102 public Object getSystemService(String name) { method in class:FingerprintEnrollIntroductionTest.TestContext
106 return super.getSystemService(name);
/packages/apps/Contacts/src/com/android/contacts/testing/
H A DInjectedServices.java61 public Object getSystemService(String name) { method in class:InjectedServices
/packages/apps/Dialer/java/com/android/contacts/common/testing/
H A DInjectedServices.java59 public Object getSystemService(String name) { method in class:InjectedServices
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastActivityTestCase.java102 public Object getSystemService(String name) { method in class:CellBroadcastActivityTestCase.TestContext
108 return super.getSystemService(name);
H A DCellBroadcastServiceTestCase.java77 public Object getSystemService(String name) { method in class:CellBroadcastServiceTestCase.TestContextWrapper
83 return super.getSystemService(name);
/packages/apps/Contacts/src/com/android/contacts/
H A DAppCompatContactsActivity.java69 public Object getSystemService(String name) { method in class:AppCompatContactsActivity
70 Object service = super.getSystemService(name);
75 return getApplicationContext().getSystemService(name);
H A DContactsActivity.java68 public Object getSystemService(String name) { method in class:ContactsActivity
69 Object service = super.getSystemService(name);
74 return getApplicationContext().getSystemService(name);
H A DContactsApplication.java85 public Object getSystemService(String name) { method in class:ContactsApplication
87 Object service = sInjectedServices.getSystemService(name);
93 return super.getSystemService(name);
H A DContactSaveService.java286 public Object getSystemService(String name) { method in class:ContactSaveService
287 Object service = super.getSystemService(name);
292 return getApplicationContext().getSystemService(name);
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
H A DSmsProviderTest.java95 public Object getSystemService(String name) { method in class:SmsProviderTest.MockContextWithProvider
96 Log.d(TAG, "getSystemService: returning null");
H A DTelephonyProviderTest.java110 public Object getSystemService(String name) { method in class:TelephonyProviderTest.MockContextWithProvider
111 Log.d(TAG, "getSystemService: returning null");
H A DCarrierProviderTest.java94 public Object getSystemService(String name) { method in class:CarrierProviderTest.MockContextWithProvider
95 Log.d(TAG, "getSystemService: returning null");
/packages/apps/Camera2/src/com/android/camera/util/
H A DAndroidServices.java66 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(Contex
133 private Object getSystemService(String service) { method in class:AndroidServices
[all...]
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
H A DMyMockContext.java78 public Object getSystemService(String name) { method in class:MyMockContext
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
H A DTestActivity.java201 public final Object getSystemService(String service) { method in class:TestActivity
/packages/apps/Email/tests/src/com/android/email/
H A DDBTestHelper.java211 public Object getSystemService(String name) { method in class:DBTestHelper.ProviderContextSetupHelper.MyIsolatedContext
213 return mRealContext.getSystemService(name);
215 return super.getSystemService(name);
H A DSecurityPolicyTests.java98 public Object getSystemService(String name) { method in class:SecurityPolicyTests.MockContext2
99 return mRealContext.getSystemService(name);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
H A DEnterprisePolicyGuardTest.java288 public Object getSystemService(String name) { method in class:EnterprisePolicyGuardTest.TestMockContext
294 return super.getSystemService(name);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractDownloadProviderFunctionalTest.java128 public Object getSystemService(String name) { method in class:AbstractDownloadProviderFunctionalTest.TestContext
137 return super.getSystemService(name);
/packages/apps/Settings/tests/unit/src/com/android/settings/
H A DTetherServiceTest.java376 public Object getSystemService(String name) { method in class:TetherServiceTest.TestContextWrapper
385 return super.getSystemService(name);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java108 public Object getSystemService(String name) { method in class:ProviderTests.MockContext2
109 return mRealContext.getSystemService(name);
/packages/apps/Settings/src/com/android/settings/
H A DSettingsPreferenceFragment.java499 protected Object getSystemService(final String name) { method in class:SettingsPreferenceFragment
500 return getActivity().getSystemService(name);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DComponentContextFixture.java162 public Object getSystemService(String name) { method in class:ComponentContextFixture.FakeApplicationContext

Completed in 557 milliseconds