Home
last modified time | relevance | path

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

12345

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRingVolumePreferenceControllerTest.java62 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
63 shadowContext.setSystemService(Context.AUDIO_SERVICE, mAudioManager); in setUp()
64 shadowContext.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); in setUp()
65 shadowContext.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setUp()
DVibrationPreferenceControllerTest.java78 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
79 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
80 shadowApplication.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); in setUp()
DDeletedChannelsPreferenceControllerTest.java64 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
65 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DAppLinkPreferenceControllerTest.java62 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
63 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DNotificationsOffPreferenceControllerTest.java58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
59 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DHeaderPreferenceControllerTest.java69 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
70 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DDescriptionPreferenceControllerTest.java61 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
62 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DVisibilityPreferenceControllerTest.java91 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
92 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
93 shadowApplication.setSystemService(Context.DEVICE_POLICY_SERVICE, mDm); in setUp()
DDndPreferenceControllerTest.java75 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
76 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DLightsPreferenceControllerTest.java80 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
81 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DMinImportancePreferenceControllerTest.java75 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
76 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DHighImportancePreferenceControllerTest.java75 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
76 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DAllowSoundPreferenceControllerTest.java78 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
79 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
DImportancePreferenceControllerTest.java81 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()
82 shadowApplication.setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSimLockPreferenceControllerTest.java74 shadowApplication.setSystemService(Context.TELEPHONY_SUBSCRIPTION_SERVICE, in setUp()
76 shadowApplication.setSystemService(Context.CARRIER_CONFIG_SERVICE, mCarrierManager); in setUp()
77 shadowApplication.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
78 shadowApplication.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
DEncryptionAndCredentialTest.java59 application.setSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
60 application.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
DVisiblePatternProfilePreferenceControllerTest.java79 application.setSystemService(Context.FINGERPRINT_SERVICE, mFingerprintManager); in setUp()
80 application.setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageUtilsTest.java59 shadowContext.setSystemService(Context.CONNECTIVITY_SERVICE, mManager); in setUp()
60 shadowContext.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager); in setUp()
61 shadowContext.setSystemService(Context.NETWORK_STATS_SERVICE, mNetworkStatsManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintProfileStatusPreferenceControllerTest.java68 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, in setUp()
70 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm); in setUp()
DFingerprintStatusPreferenceControllerTest.java75 ShadowApplication.getInstance().setSystemService(Context.FINGERPRINT_SERVICE, in setUp()
77 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/biometrics/face/
DFaceStatusPreferenceControllerTest.java74 ShadowApplication.getInstance().setSystemService(Context.FACE_SERVICE, mFaceManager); in setUp()
75 ShadowApplication.getInstance().setSystemService(Context.USER_SERVICE, mUm); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearConfirmFragmentTest.java69 ShadowApplication.getInstance().setSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE, in setUp()
71 ShadowApplication.getInstance().setSystemService(Context.OEM_LOCK_SERVICE, mOemLockManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DDefaultAppShortcutPreferenceControllerBaseTest.java79 shadowApplication.setSystemService(Context.ROLE_SERVICE, mRoleManager); in setUp()
80 shadowApplication.setSystemService(Context.ROLE_CONTROLLER_SERVICE, mRoleControllerManager); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java79 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in setUp()
99 Shadows.shadowOf(RuntimeEnvironment.application).setSystemService( in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice()

12345