/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
RingVolumePreferenceControllerTest.java | 62 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); 63 shadowContext.setSystemService(Context.AUDIO_SERVICE, mAudioManager); 64 shadowContext.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); 65 shadowContext.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
CastPreferenceControllerTest.java | 49 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
|
PhoneRingtonePreferenceControllerTest.java | 49 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
|
ZenModeBlockedEffectsPreferenceControllerTest.java | 56 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
AppLinkPreferenceControllerTest.java | 61 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); 62 shadowApplication.setSystemService(Context.USER_SERVICE, mUm);
|
DeletedChannelsPreferenceControllerTest.java | 61 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); 62 shadowApplication.setSystemService(Context.USER_SERVICE, mUm);
|
NotificationsOffPreferenceControllerTest.java | 56 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); 57 shadowApplication.setSystemService(Context.USER_SERVICE, mUm);
|
ZenModeBehaviorCallsPreferenceControllerTest.java | 58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
ZenModeBehaviorMsgEventReminderPreferenceControllerTest.java | 58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
ZenModeBehaviorSoundPreferenceControllerTest.java | 58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
VibrationPreferenceControllerTest.java | 75 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); 76 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); 77 shadowApplication.setSystemService(Context.VIBRATOR_SERVICE, mVibrator);
|
ZenModePreferenceControllerTest.java | 62 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
ZenModeScheduleRuleSettingsTest.java | 66 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
DescriptionPreferenceControllerTest.java | 60 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); 61 shadowApplication.setSystemService(Context.USER_SERVICE, mUm);
|
/packages/apps/Contacts/src/com/android/contacts/testing/ |
InjectedServices.java | 53 public void setSystemService(String name, Object service) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
SimLockPreferenceControllerTest.java | 70 shadowApplication.setSystemService(Context.TELEPHONY_SUBSCRIPTION_SERVICE, 72 shadowApplication.setSystemService(Context.CARRIER_CONFIG_SERVICE, mCarrierManager); 73 shadowApplication.setSystemService(Context.USER_SERVICE, mUserManager); 74 shadowApplication.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
|
EncryptionAndCredentialTest.java | 56 application.setSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); 57 application.setSystemService(Context.USER_SERVICE, mUserManager);
|
VisiblePatternProfilePreferenceControllerTest.java | 75 application.setSystemService(Context.FINGERPRINT_SERVICE, mFingerprintManager); 76 application.setSystemService(Context.USER_SERVICE, mUm);
|
LockUnificationPreferenceControllerTest.java | 65 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
DataUsageUtilsTest.java | 51 shadowContext.setSystemService(Context.CONNECTIVITY_SERVICE, mManager); 52 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
|
DataUsageSummaryLegacyTest.java | 54 shadowContext.setSystemService(Context.CONNECTIVITY_SERVICE, mManager);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/ |
FingerprintProfileStatusPreferenceControllerTest.java | 66 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, 68 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm);
|
FingerprintStatusPreferenceControllerTest.java | 72 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, 74 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm);
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
JobPreconditionsTest.java | 63 shadowOf(RuntimeEnvironment.application).setSystemService(Context.CONNECTIVITY_SERVICE, 65 shadowOf(RuntimeEnvironment.application).setSystemService(Context.BATTERY_SERVICE,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
AutoSyncPersonalDataPreferenceControllerTest.java | 60 shadowContext.setSystemService(Context.USER_SERVICE, mUserManager);
|