OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isManagedProfile
(Results
1 - 25
of
101
) sorted by null
1
2
3
4
5
/packages/services/Telecomm/src/com/android/server/telecom/
UserUtil.java
34
public static boolean
isManagedProfile
(Context context, UserHandle userHandle) {
36
return userInfo != null && userInfo.
isManagedProfile
();
/packages/apps/Settings/src/com/android/settings/accounts/
AutoSyncPersonalDataPreferenceController.java
33
return !mUserManager.
isManagedProfile
() && !mUserManager.isLinkedUser()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
ContactsTest.java
164
assertFalse(
isManagedProfile
());
189
assertTrue(
isManagedProfile
());
216
assertFalse(
isManagedProfile
());
241
assertTrue(
isManagedProfile
());
263
assertFalse(
isManagedProfile
());
275
assertFalse(
isManagedProfile
());
286
assertFalse(
isManagedProfile
());
298
assertFalse(
isManagedProfile
());
309
assertFalse(
isManagedProfile
());
319
assertTrue(
isManagedProfile
());
[
all
...]
BaseManagedProfileTest.java
57
assertTrue(mDevicePolicyManager.
isManagedProfile
(ADMIN_RECEIVER_COMPONENT));
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
AutoSyncWorkDataPreferenceControllerTest.java
69
when(mUserManager.
isManagedProfile
()).thenReturn(true);
76
when(mUserManager.
isManagedProfile
()).thenReturn(false);
84
when(mUserManager.
isManagedProfile
()).thenReturn(false);
96
when(mUserManager.
isManagedProfile
()).thenReturn(false);
AutoSyncDataPreferenceControllerTest.java
81
when(mUserManager.
isManagedProfile
()).thenReturn(true);
90
when(mUserManager.
isManagedProfile
()).thenReturn(false);
102
when(mUserManager.
isManagedProfile
()).thenReturn(false);
116
when(mUserManager.
isManagedProfile
()).thenReturn(false);
AutoSyncPersonalDataPreferenceControllerTest.java
74
when(mUserManager.
isManagedProfile
()).thenReturn(true);
83
when(mUserManager.
isManagedProfile
()).thenReturn(false);
95
when(mUserManager.
isManagedProfile
()).thenReturn(false);
109
when(mUserManager.
isManagedProfile
()).thenReturn(false);
AccountPreferenceControllerTest.java
107
when(mUserManager.
isManagedProfile
()).thenReturn(true);
116
when(mUserManager.
isManagedProfile
()).thenReturn(false);
129
when(mUserManager.
isManagedProfile
()).thenReturn(false);
143
when(mUserManager.
isManagedProfile
()).thenReturn(false);
157
when(mUserManager.
isManagedProfile
()).thenReturn(false);
173
when(mUserManager.
isManagedProfile
()).thenReturn(false);
191
when(mUserManager.
isManagedProfile
()).thenReturn(false);
207
when(mUserManager.
isManagedProfile
()).thenReturn(false);
225
when(mUserManager.
isManagedProfile
()).thenReturn(false);
243
when(mUserManager.
isManagedProfile
()).thenReturn(false)
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DevicePolicyUtils.java
40
if (!ui.
isManagedProfile
()) {
/packages/apps/Settings/src/com/android/settings/password/
ConfirmDeviceCredentialActivity.java
81
final boolean
isManagedProfile
= UserManager.get(this).
isManagedProfile
(userId);
84
if ((title == null) &&
isManagedProfile
) {
95
} else if (
isManagedProfile
&& isInternalActivity()
ConfirmDeviceCredentialBaseActivity.java
52
if (UserManager.get(this).
isManagedProfile
(credentialOwnerUserId)) {
ConfirmDeviceCredentialBaseFragment.java
145
if (mUserManager.
isManagedProfile
(credentialOwnerUserId)) {
290
if (mUserManager.
isManagedProfile
(mEffectiveUserId)) {
344
} else if (userToBeWiped.
isManagedProfile
()) {
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
ManagementTest.java
42
assertTrue(mDevicePolicyManager.
isManagedProfile
(
51
assertFalse(mDevicePolicyManager.
isManagedProfile
(
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DirectoryProvider.java
170
row[i] =
isManagedProfile
() ? MANAGED_THUMBNAIL_URI.toString()
173
row[i] =
isManagedProfile
() ? MANAGED_PHOTO_URI.toString()
232
resId =
isManagedProfile
() ? 0 : R.raw.primary_thumbnail;
235
resId =
isManagedProfile
() ? 0 : R.raw.primary_photo;
238
resId =
isManagedProfile
() ? R.raw.managed_thumbnail : 0;
241
resId =
isManagedProfile
() ? R.raw.managed_photo : 0;
255
private boolean
isManagedProfile
() {
/frameworks/base/core/java/android/content/pm/
UserInfo.java
148
public boolean
isManagedProfile
() {
198
return !
isManagedProfile
();
212
if (
isManagedProfile
() || isGuest() || isRestricted()) {
/frameworks/base/core/java/android/util/
IconDrawableFactory.java
52
return appInfo.isInstantApp() || mUm.
isManagedProfile
(userId);
78
if (mUm.
isManagedProfile
(userId)) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
UserUtils.java
59
if (!ui.
isManagedProfile
()) {
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
WorkModeCondition.java
47
if (userInfo.
isManagedProfile
()) {
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
BaseDeviceOwnerTest.java
106
assertFalse(dpm.
isManagedProfile
(getWho()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
ManagedProfileControllerImpl.java
84
if (ui.
isManagedProfile
()) {
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
ManagedProfileTest.java
75
if (user.
isManagedProfile
()) {
/frameworks/base/core/java/android/os/
IUserManager.aidl
88
boolean
isManagedProfile
(int userId);
/packages/apps/Settings/src/com/android/settings/notification/
RedactionInterstitial.java
84
UserManager.get(ctx).
isManagedProfile
(userId)
120
if (UserManager.get(getContext()).
isManagedProfile
(mUserId)) {
/packages/apps/Settings/src/com/android/settings/
DeviceAdminAdd.java
359
} else if (
isManagedProfile
(mDeviceAdmin)
409
if (
isManagedProfile
(mDeviceAdmin)
573
final boolean
isManagedProfile
=
isManagedProfile
(mDeviceAdmin);
574
if (isProfileOwner &&
isManagedProfile
) {
688
private boolean
isManagedProfile
(DeviceAdminInfo adminInfo) {
692
return info != null ? info.
isManagedProfile
() : false;
/frameworks/base/services/core/java/com/android/server/locksettings/
LockSettingsService.java
259
if (!mUserManager.getUserInfo(managedUserId).
isManagedProfile
()) {
425
if (!user.
isManagedProfile
()) {
545
if (isSecure && profile.
isManagedProfile
()) {
554
if (mUserManager.getUserInfo(userId).
isManagedProfile
()) {
712
if (userInfo.
isManagedProfile
() && mStorage.hasChildProfileLock(userInfo.id)) {
[
all
...]
Completed in 1508 milliseconds
1
2
3
4
5