OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shadowContext
(Results
1 - 24
of
24
) sorted by null
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
RingVolumePreferenceControllerTest.java
64
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
65
shadowContext
.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
66
shadowContext
.setSystemService(Context.AUDIO_SERVICE, mAudioManager);
67
shadowContext
.setSystemService(Context.VIBRATOR_SERVICE, mVibrator);
68
shadowContext
.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
69
mContext =
shadowContext
.getApplicationContext();
CastPreferenceControllerTest.java
51
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
52
shadowContext
.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
53
mContext =
shadowContext
.getApplicationContext();
PhoneRingtonePreferenceControllerTest.java
50
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
51
shadowContext
.setSystemService(Context.TELEPHONY_SERVICE, mTelephonyManager);
52
mContext =
shadowContext
.getApplicationContext();
AdjustVolumeRestrictedPreferenceControllerTest.java
58
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
59
mContext = spy(
shadowContext
.getApplicationContext());
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
AccountDetailDashboardFragmentTest.java
72
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
73
shadowContext
.setSystemService(Context.ACCOUNT_SERVICE, mAccountManager);
74
mContext = spy(
shadowContext
.getApplicationContext());
AddUserWhenLockedPreferenceControllerTest.java
62
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
63
shadowContext
.setSystemService(Context.USER_SERVICE, mUserManager);
64
mContext =
shadowContext
.getApplicationContext();
AutoSyncDataPreferenceControllerTest.java
69
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
70
shadowContext
.setSystemService(Context.USER_SERVICE, mUserManager);
71
mContext =
shadowContext
.getApplicationContext();
AutoSyncPersonalDataPreferenceControllerTest.java
64
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
65
shadowContext
.setSystemService(Context.USER_SERVICE, mUserManager);
66
mContext =
shadowContext
.getApplicationContext();
AccountTypePreferenceLoaderTest.java
70
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
71
shadowContext
.setSystemService(Context.ACCOUNT_SERVICE, mAccountManager);
76
mContext =
shadowContext
.getApplicationContext();
RemoveAccountPreferenceControllerTest.java
87
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
88
shadowContext
.setSystemService(Context.ACCOUNT_SERVICE, mAccountManager);
89
mContext = spy(
shadowContext
.getApplicationContext());
AccountPreferenceControllerTest.java
87
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
88
shadowContext
.setSystemService(Context.USER_SERVICE, mUserManager);
89
shadowContext
.setSystemService(Context.ACCOUNT_SERVICE, mAccountManager);
90
mContext =
shadowContext
.getApplicationContext();
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
ApplicationListPreferenceControllerTest.java
84
final ShadowApplication
shadowContext
= ShadowApplication.getInstance();
85
mContext =
shadowContext
.getApplicationContext();
EnterpriseSetDefaultAppsListPreferenceControllerTest.java
87
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
88
mContext = spy(
shadowContext
.getApplicationContext());
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DataUsageSummaryTest.java
68
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
69
shadowContext
.setSystemService(Context.CONNECTIVITY_SERVICE, mManager);
70
mContext =
shadowContext
.getApplicationContext();
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
BugReportInPowerPreferenceControllerTest.java
70
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
71
shadowContext
.setSystemService(Context.USER_SERVICE, mUserManager);
72
mContext = spy(
shadowContext
.getApplicationContext());
VerifyAppsOverUsbPreferenceControllerTest.java
82
final ShadowApplication
shadowContext
= ShadowApplication.getInstance();
83
mContext = spy(
shadowContext
.getApplicationContext());
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
OwnerInfoPreferenceControllerTest.java
76
ShadowApplication
shadowContext
= ShadowApplication.getInstance();
77
mContext = spy(
shadowContext
.getApplicationContext());
/prebuilts/misc/common/robolectric/lib/
shadows-core-v16-3.1.1.jar
shadows-core-v17-3.1.1.jar
shadows-core-v18-3.1.1.jar
shadows-core-v19-3.1.1.jar
shadows-core-v21-3.1.1.jar
shadows-core-v22-3.1.1.jar
shadows-core-v23-3.1.1.jar
Completed in 913 milliseconds