OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isAdminUser
(Results
1 - 25
of
59
) sorted by null
1
2
3
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
EnableAdbPreferenceControllerTest.java
77
when(mUserManager.
isAdminUser
()).thenReturn(false);
88
when(mUserManager.
isAdminUser
()).thenReturn(true);
98
when(mUserManager.
isAdminUser
()).thenReturn(true);
109
when(mUserManager.
isAdminUser
()).thenReturn(true);
123
when(mUserManager.
isAdminUser
()).thenReturn(true);
136
when(mUserManager.
isAdminUser
()).thenReturn(true);
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/
FactoryResetPreferenceControllerTest.java
73
when(mUserManager.
isAdminUser
()).thenReturn(true);
80
when(mUserManager.
isAdminUser
()).thenReturn(false);
88
when(mUserManager.
isAdminUser
()).thenReturn(false);
SystemDashboardFragmentTest.java
66
when(manager.
isAdminUser
()).thenReturn(false);
/packages/apps/Settings/src/com/android/settings/
TestingSettings.java
34
if (!um.
isAdminUser
()) {
/packages/apps/Settings/src/com/android/settings/system/
FactoryResetPreferenceController.java
41
return mUm.
isAdminUser
() || Utils.isDemoUser(mContext);
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
NetworkResetRestrictionCheckerTest.java
59
when(mUserManager.
isAdminUser
()).thenReturn(false);
66
when(mUserManager.
isAdminUser
()).thenReturn(true);
75
when(mUserManager.
isAdminUser
()).thenReturn(true);
84
when(mUserManager.
isAdminUser
()).thenReturn(true);
MobileNetworkPreferenceControllerTest.java
84
when(mUserManager.
isAdminUser
()).thenReturn(false);
96
when(mUserManager.
isAdminUser
()).thenReturn(true);
/packages/apps/Settings/src/com/android/settings/backup/
BackupSettingsActivityPreferenceController.java
44
return mUm.
isAdminUser
();
/packages/apps/Settings/src/com/android/settings/network/
NetworkResetRestrictionChecker.java
49
return !mUserManager.
isAdminUser
()
MobileNetworkPreferenceController.java
53
mIsSecondaryUser = !mUserManager.
isAdminUser
();
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
EmergencyBroadcastPreferenceControllerTest.java
85
when(mUserManager.
isAdminUser
()).thenReturn(false);
97
when(mUserManager.
isAdminUser
()).thenReturn(true);
110
when(mUserManager.
isAdminUser
()).thenReturn(true);
122
when(mUserManager.
isAdminUser
()).thenReturn(true);
SoundSettingsTest.java
57
when(userManager.
isAdminUser
()).thenReturn(false);
/packages/apps/Settings/tests/robotests/src/com/android/settings/
EncryptionAndCredentialTest.java
84
when(mUserManager.
isAdminUser
()).thenReturn(false);
100
when(mUserManager.
isAdminUser
()).thenReturn(true);
114
when(mUserManager.
isAdminUser
()).thenReturn(true);
/packages/services/Telephony/tests/src/com/android/phone/
PhoneSearchIndexablesProviderTest.java
99
when(mUserManager.
isAdminUser
()).thenReturn(true);
117
when(mUserManager.
isAdminUser
()).thenReturn(false);
124
when(mUserManager.
isAdminUser
()).thenReturn(true);
/packages/apps/Settings/src/com/android/settings/datausage/
DataUsageBase.java
71
return services.mUserManager.
isAdminUser
();
79
return policy != null && isBandwidthControlEnabled() && services.mUserManager.
isAdminUser
()
BillingCyclePreference.java
73
&& mServices.mUserManager.
isAdminUser
());
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DefaultPaymentSettingsPreferenceControllerTest.java
78
when(mUserManager.
isAdminUser
()).thenReturn(true);
87
when(mUserManager.
isAdminUser
()).thenReturn(true);
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
BackupSettingsActivityPreferenceControllerTest.java
95
when(mUserManager.
isAdminUser
()).thenReturn(true);
102
when(mUserManager.
isAdminUser
()).thenReturn(false);
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DefaultPaymentSettingsPreferenceController.java
49
&& mUserManager.
isAdminUser
()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
AppAndNotificationDashboardFragmentTest.java
46
when(manager.
isAdminUser
()).thenReturn(true);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
AbstractEnableAdbPreferenceController.java
55
return mContext.getSystemService(UserManager.class).
isAdminUser
();
/packages/apps/Settings/src/com/android/settings/notification/
EmergencyBroadcastPreferenceController.java
82
return mUserManager.
isAdminUser
() && mCellBroadcastAppLinkEnabled
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
BuildNumberPreferenceControllerTest.java
116
when(mUserManager.
isAdminUser
()).thenReturn(false);
123
when(mUserManager.
isAdminUser
()).thenReturn(true);
157
when(mUserManager.
isAdminUser
()).thenReturn(true);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageWizardInit.java
46
mIsPermittedToAdopt = UserManager.get(this).
isAdminUser
()
SystemUpdatePreferenceController.java
52
return mUm.
isAdminUser
();
Completed in 447 milliseconds
1
2
3