/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 80 mActivityShadow = Shadow.extract(mActivity); in setUp() 141 final ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testSetAdminSupportDetails() 162 final ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testSetAdminSupportDetails_shortSupportMessageIsNull() 184 final ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testSetAdminSupportDetailsNotAdmin() 205 ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testMaybeSetLearnMoreButton()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | DataUsageEntryPreferenceControllerTest.java | 25 import static org.robolectric.shadow.api.Shadow.extract; 143 return (ShadowConnectivityManager) extract( in getShadowConnectivityManager() 148 return (ShadowSubscriptionManager) extract( in getShadowSubscriptionManager()
|
D | DataUsageSummaryPreferenceControllerTest.java | 26 import static org.robolectric.shadow.api.Shadow.extract; 351 return (ShadowTelephonyManager) extract( in getShadowTelephonyManager() 356 return Shadow.extract(mContext.getSystemService(Context.TELEPHONY_SUBSCRIPTION_SERVICE)); in getShadowSubscriptionManager()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/specialaccess/ |
D | SpecialAppAccessTest.java | 24 import static org.robolectric.shadow.api.Shadow.extract; 56 mActivityManager = extract(RuntimeEnvironment.application in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ExternalSourcesDetailsTest.java | 115 final ShadowUserManager shadowUserManager = Shadow.extract(userManager); in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() 154 final ShadowUserManager shadowUserManager = Shadow.extract(userManager); in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() 193 final ShadowUserManager shadowUserManager = Shadow.extract(userManager); in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragmentTest.java | 183 Shadow.extract(mContext.getSystemService(UserManager.class)); in onResume_accountMissing_shouldFinish() 195 Shadow.extract(mContext.getSystemService(UserManager.class)); in onResume_accountPresentOneProfile_shouldNotFinish() 207 Shadow.extract(mContext.getSystemService(UserManager.class)); in onResume_accountPresentTwoProfiles_shouldNotFinish()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessControllerTest.java | 57 mActivityManager = Shadow.extract(mContext.getSystemService(Context.ACTIVITY_SERVICE)); in setUp() 81 final ShadowNotificationManager snm = Shadow.extract(mContext.getSystemService( in hasAccess_granted_yes()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | BubbleSummaryNotificationPreferenceControllerTest.java | 80 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_lowRam_returnsUnsupported() 88 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_notLowRam_returnsAvailable()
|
D | BubbleNotificationPreferenceControllerTest.java | 77 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_lowRam_returnsUnsupported() 85 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_notLowRam_returnsAvailable()
|
D | RedactionInterstitialTest.java | 109 Shadow.extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in managedProfileNoRestrictionsTest() 124 Shadow.extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in managedProfileUnredactedRestrictionTest()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | AddStartStateTest.java | 20 import static org.robolectric.shadow.api.Shadow.extract; 55 ShadowStateMachine shadowStateMachine = extract(stateMachine); in setUp()
|
D | AddPageBasedOnNetworkStateTest.java | 23 import static org.robolectric.shadow.api.Shadow.extract; 65 ShadowStateMachine shadowStateMachine = extract(stateMachine); in setUp()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/autofill/ |
D | AutofillPickerFragmentTest.java | 24 import static org.robolectric.shadow.api.Shadow.extract; 64 mUserManager = extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowWifiManager.java | 77 ShadowWifiInfo shadowWifiInfo = Shadow.extract(wifiInfo); in connect() 98 Shadow.extract(RuntimeEnvironment.application in connect()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
D | MainFragmentTest.java | 26 import static org.robolectric.shadow.api.Shadow.extract; 233 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPrefInfo_hasOneAccount() 265 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPrefInfo_hasMoreThanOneAccount()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothNamePreferenceControllerTest.java | 160 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter() 164 return Shadow.extract(UserManager.get(RuntimeEnvironment.application)); in getShadowUserManager()
|
D | BluetoothDevicePreferenceControllerTest.java | 144 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter() 148 return Shadow.extract(UserManager.get(mContext)); in getShadowUserManager()
|
D | BluetoothPreferenceControllerTest.java | 155 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter() 159 return Shadow.extract(UserManager.get(RuntimeEnvironment.application)); in getShadowUserManager()
|
D | BluetoothUnbondedDevicesPreferenceControllerTest.java | 211 return (ShadowBluetoothAdapter) Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in getShadowBluetoothAdapter() 215 return Shadow.extract(UserManager.get(RuntimeEnvironment.application)); in getShadowUserManager()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/inputmethod/ |
D | KeyboardFragmentTest.java | 23 import static org.robolectric.shadow.api.Shadow.extract; 74 mUserManager = extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in setUp()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BackupRestoreTest.java | 87 mUserManager = Shadow.extract(userManager); in setupUserManager() 94 final LShadowBackupManager bm = Shadow.extract(mBackupManager); in setupBackupManager()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 112 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in onStart_shouldRegisterObserver() 126 ShadowContentResolver shadowContentResolver = Shadow.extract(mContext.getContentResolver()); in onStop_shouldUnregisterObserver()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/ |
D | DevicePrefFragmentTest.java | 26 import static org.robolectric.shadow.api.Shadow.extract; 62 mUserManager = extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 84 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 86 mShadowCachedBluetoothDeviceManager = Shadow.extract( in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BubbleSummaryPreferenceControllerTest.java | 151 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_lowRam_shouldReturnFalse() 162 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_notLowRam_shouldReturnTrue()
|