/frameworks/base/core/java/android/app/admin/ |
D | DeviceStateCache.java | 35 final DevicePolicyManagerInternal dpmi = in getInstance() 36 LocalServices.getService(DevicePolicyManagerInternal.class); in getInstance()
|
D | DevicePolicyCache.java | 36 final DevicePolicyManagerInternal dpmi = in getInstance() 37 LocalServices.getService(DevicePolicyManagerInternal.class); in getInstance()
|
D | DevicePolicyManagerInternal.java | 37 public abstract class DevicePolicyManagerInternal { class
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 27 import android.app.admin.DevicePolicyManagerInternal; 108 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in checkAccessLevel() 109 DevicePolicyManagerInternal.class); in checkAccessLevel()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 33 import android.app.admin.DevicePolicyManagerInternal; 100 private DevicePolicyManagerInternal mDevicePolicyManager; 131 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp() 132 LocalServices.addService(DevicePolicyManagerInternal.class, in setUp() 168 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in tearDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 32 import android.app.admin.DevicePolicyManagerInternal; 96 DevicePolicyManagerInternal mDevicePolicyManagerInternal; 119 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp_baseServices() 132 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp_baseServices() 134 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp_baseServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 36 import android.app.admin.DevicePolicyManagerInternal; 163 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration() 277 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration2_profileOwnerOnUser0() 346 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration3_managedProfileOwner() 507 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in bootDpmsUp()
|
D | NetworkEventTest.java | 30 import android.app.admin.DevicePolicyManagerInternal; 64 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
|
D | DevicePolicyManagerTest.java | 86 import android.app.admin.DevicePolicyManagerInternal; 285 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in initializeDpms() 373 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testHasNoFeature() 378 assertThat(LocalServices.getService(DevicePolicyManagerInternal.class)).isNull(); in testHasNoFeature() 3330 final DevicePolicyManagerInternal dpmi = in testIsActiveSupervisionApp() 3331 LocalServices.getService(DevicePolicyManagerInternal.class); in testIsActiveSupervisionApp() 3343 final DevicePolicyManagerInternal dpmi = in testSetMaximumTimeToLockProfile() 3344 LocalServices.getService(DevicePolicyManagerInternal.class); in testSetMaximumTimeToLockProfile()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 40 import android.app.admin.DevicePolicyManagerInternal; 224 DevicePolicyManagerInternal devicePolicyManager = LocalServices in interceptSuspendedByAdminPackage() 225 .getService(DevicePolicyManagerInternal.class); in interceptSuspendedByAdminPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 40 import android.app.admin.DevicePolicyManagerInternal; 110 @Mock private DevicePolicyManagerInternal mMockDevicePolicyManagerInternal; 450 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountNoDPM() 476 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 478 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 504 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM() 533 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 535 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 932 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testFinishSessionAsUserUserCannotModifyAccountNoDPM() 958 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testFinishSessionAsUserUserCannotModifyAccountWithDPM() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 37 import android.app.admin.DevicePolicyManagerInternal; 842 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { 843 return LocalServices.getService(DevicePolicyManagerInternal.class); 898 DevicePolicyManagerInternal getDevicePolicyManagerInternal();
|
D | PackageInstallerService.java | 32 import android.app.admin.DevicePolicyManagerInternal; 1012 DevicePolicyManagerInternal dpmi = in uninstall() 1013 LocalServices.getService(DevicePolicyManagerInternal.class); in uninstall()
|
D | UserManagerService.java | 38 import android.app.admin.DevicePolicyManagerInternal; 286 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 5050 final DevicePolicyManagerInternal dpm = getDevicePolicyManagerInternal(); in runList() 5898 private DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal() 5901 LocalServices.getService(DevicePolicyManagerInternal.class); in getDevicePolicyManagerInternal()
|
D | PackageInstallerSession.java | 56 import android.app.admin.DevicePolicyManagerInternal; 907 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwner() 908 LocalServices.getService(DevicePolicyManagerInternal.class); in isInstallerDeviceOwnerOrAffiliatedProfileOwner()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 25 import android.app.admin.DevicePolicyManagerInternal; 102 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 703 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 31 import android.app.admin.DevicePolicyManagerInternal; 85 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 40 import android.app.admin.DevicePolicyManagerInternal; 119 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 767 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 44 import android.app.admin.DevicePolicyManagerInternal; 160 mock(DevicePolicyManagerInternal.class), mock(IUriGrantsManager.class), in setUp()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 41 import android.app.admin.DevicePolicyManagerInternal; 171 DevicePolicyManagerInternal mDpmInternal; 454 private DevicePolicyManagerInternal getDpmInternal() { in getDpmInternal() 456 mDpmInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in getDpmInternal() 1594 DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in hasObserverPermission() 2104 final DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in registerAppUsageLimitObserver() 2131 final DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in unregisterAppUsageLimitObserver()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 28 import android.app.admin.DevicePolicyManagerInternal; 145 DevicePolicyManagerInternal dpmi = in print() 146 LocalServices.getService(DevicePolicyManagerInternal.class); in print()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 37 import android.app.admin.DevicePolicyManagerInternal; 38 import android.app.admin.DevicePolicyManagerInternal.OnCrossProfileWidgetProvidersChangeListener; 232 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 258 mDevicePolicyManagerInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in onStart()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 53 import android.app.admin.DevicePolicyManagerInternal; 1183 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() 1184 DevicePolicyManagerInternal.class); in notifySeparateProfileChallengeChanged()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 44 import android.app.admin.DevicePolicyManagerInternal; 3060 final DevicePolicyManagerInternal dpmi = in isSetWallpaperAllowed() 3061 LocalServices.getService(DevicePolicyManagerInternal.class); in isSetWallpaperAllowed()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 47 import android.app.admin.DevicePolicyManagerInternal; 3716 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() 3717 LocalServices.getService(DevicePolicyManagerInternal.class); in showCantAddAccount() 5816 final DevicePolicyManagerInternal dpmi = 5817 LocalServices.getService(DevicePolicyManagerInternal.class);
|