Home
last modified time | relevance | path

Searched refs:mDevicePolicyManagerInternal (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/contentcapture/java/com/android/server/contentprotection/
DContentProtectionConsentManager.java56 @NonNull private final DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in ContentProtectionConsentManager
72 mDevicePolicyManagerInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in ContentProtectionConsentManager()
116 return mDevicePolicyManagerInternal.isUserOrganizationManaged(userId); in isUserOrganizationManaged()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java120 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in CrossProfileAppsServiceImplRoboTest
204 when(mDevicePolicyManagerInternal.getAllCrossProfilePackages(anyInt())) in mockCrossProfileAppWhitelisted()
558 when(mDevicePolicyManagerInternal.getProfileOwnerAsUser(WORK_PROFILE_USER_ID)) in canUserAttemptToConfigureInteractAcrossProfiles_profileOwnerWorkProfile_returnsFalse()
571 when(mDevicePolicyManagerInternal.getProfileOwnerAsUser(PERSONAL_PROFILE_USER_ID)) in canUserAttemptToConfigureInteractAcrossProfiles_profileOwnerOtherProfile_returnsFalse()
581 when(mDevicePolicyManagerInternal.getProfileOwnerAsUser(OTHER_PROFILE_GROUP_USER_ID)) in canUserAttemptToConfigureInteractAcrossProfiles_profileOwnerOutsideProfileGroup_returnsTrue()
665 when(mDevicePolicyManagerInternal.getAllCrossProfilePackages(anyInt())) in mockCrossProfileAppNotWhitelisted()
670 when(mDevicePolicyManagerInternal.getDefaultCrossProfilePackages()) in mockCrossProfileAppNotWhitelistedByOem()
781 return mDevicePolicyManagerInternal; in getDevicePolicyManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java103 DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in BaseLockSettingsServiceTests
128 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp_baseServices()
142 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp_baseServices()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java106 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in CrossProfileAppsServiceImplTest
764 return mDevicePolicyManagerInternal; in getDevicePolicyManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java106 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in CrossProfileAppsServiceImplTest
764 return mDevicePolicyManagerInternal; in getDevicePolicyManagerInternal()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java272 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in AppWidgetServiceImpl
305 mDevicePolicyManagerInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in onStart()
435 if (mDevicePolicyManagerInternal != null) { in registerOnCrossProfileProvidersChangedListener()
436 mDevicePolicyManagerInternal.addOnCrossProfileWidgetProvidersChangeListener(this); in registerOnCrossProfileProvidersChangedListener()
765 onClickIntent = mDevicePolicyManagerInternal.createShowAdminSupportIntent( in maskWidgetsViewsLocked()
4617 if (mDevicePolicyManagerInternal == null) { in isProviderWhiteListed()
4621 List<String> crossProfilePackages = mDevicePolicyManagerInternal in isProviderWhiteListed()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java368 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in UserManagerService
8095 if (mDevicePolicyManagerInternal == null) {
8096 mDevicePolicyManagerInternal =
8099 return mDevicePolicyManagerInternal;