Home
last modified time | relevance | path

Searched refs:setSystemService (Results 1 – 25 of 110) sorted by relevance

12345

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSeparateRingVolumePreferenceControllerTest.java71 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
72 shadowContext.setSystemService(Context.AUDIO_SERVICE, mAudioManager); in setUp()
73 shadowContext.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); in setUp()
74 shadowContext.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setUp()
DRingVolumePreferenceControllerTest.java75 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
76 shadowContext.setSystemService(Context.AUDIO_SERVICE, mAudioManager); in setUp()
77 shadowContext.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); in setUp()
78 shadowContext.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java81 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in setUp()
101 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice()
116 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice_zoneWrite()
132 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice_zoneRead()
148 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice_zoneHidden()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSimLockPreferenceControllerTest.java78 shadowApplication.setSystemService(Context.TELEPHONY_SUBSCRIPTION_SERVICE, in setUp()
81 shadowApplication.setSystemService(Context.CARRIER_CONFIG_SERVICE, mCarrierManager); in setUp()
82 shadowApplication.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
83 shadowApplication.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
DInstallCertificateFromStorageTest.java57 application.setSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
58 application.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
DEncryptionAndCredentialTest.java55 application.setSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
56 application.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
DVisiblePatternProfilePreferenceControllerTest.java82 application.setSystemService(Context.FINGERPRINT_SERVICE, mFingerprintManager); in setUp()
83 application.setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/combination/
DCombinedBiometricStatusPreferenceControllerTest.java82 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, in setUp()
84 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in setUp()
85 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm); in setUp()
DBiometricFaceStatusPreferenceControllerTest.java76 .setSystemService(Context.FINGERPRINT_SERVICE, mFingerprintManager); in setUp()
77 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in setUp()
78 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
DBiometricFingerprintStatusPreferenceControllerTest.java76 .setSystemService(Context.FINGERPRINT_SERVICE, mFingerprintManager); in setUp()
77 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in setUp()
78 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusPreferenceControllerTest.java77 .setSystemService(Context.FINGERPRINT_SERVICE, mFingerprintManager); in setUp()
78 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in setUp()
79 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageUtilsTest.java59 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
60 shadowContext.setSystemService(Context.NETWORK_STATS_SERVICE, mNetworkStatsManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintProfileStatusPreferenceControllerTest.java70 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, in setUp()
72 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm); in setUp()
DFingerprintStatusPreferenceControllerTest.java93 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, in setUp()
95 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DJobPreconditionsTest.java61 shadowOf(RuntimeEnvironment.application).setSystemService(Context.CONNECTIVITY_SERVICE, in setUp()
63 shadowOf(RuntimeEnvironment.application).setSystemService(Context.BATTERY_SERVICE, in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVibrationPreferenceControllerTest.java83 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
84 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
85 shadowApplication.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); in setUp()
DAppLinkPreferenceControllerTest.java64 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
65 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DDeletedChannelsPreferenceControllerTest.java68 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
69 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DInvalidConversationInfoPreferenceControllerTest.java74 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
75 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DConversationHeaderPreferenceControllerTest.java78 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
79 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DNotificationsOffPreferenceControllerTest.java66 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
67 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DAppBubbleListPreferenceControllerTest.java77 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
78 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceSettingsFooterPreferenceControllerTest.java93 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in displayFaceSettingsFooterPreferenceController()
104 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in createFaceSettingsFooterPreferenceController()
DFaceStatusPreferenceControllerTest.java94 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in setUp()
95 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/Contacts/src/com/android/contacts/testing/
DInjectedServices.java53 public void setSystemService(String name, Object service) { in setSystemService() method in InjectedServices

12345