/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 26 import android.app.admin.DevicePolicyManagerInternal; 50 @Mock private DevicePolicyManagerInternal mDpmi; 55 private DevicePolicyManagerInternal mSystemDpmi; 61 mSystemDpmi = LocalServices.getService(DevicePolicyManagerInternal.class); in setUp() 62 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp() 63 LocalServices.addService(DevicePolicyManagerInternal.class, mDpmi); in setUp() 71 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in tearDown() 72 LocalServices.addService(DevicePolicyManagerInternal.class, mSystemDpmi); in tearDown()
|
/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 | 36 public abstract class DevicePolicyManagerInternal { class
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 28 import android.app.admin.DevicePolicyManagerInternal; 107 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in checkAccessLevel() 108 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 | 33 import android.app.admin.DevicePolicyManagerInternal; 99 DevicePolicyManagerInternal mDevicePolicyManagerInternal; 122 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp_baseServices() 135 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp_baseServices() 137 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp_baseServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 34 import android.app.admin.DevicePolicyManagerInternal; 153 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration() 265 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration2_profileOwnerOnUser0() 332 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration3_managedProfileOwner() 483 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in bootDpmsUp()
|
D | NetworkEventTest.java | 27 import android.app.admin.DevicePolicyManagerInternal; 61 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
|
/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; 438 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountNoDPM() 464 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 466 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 492 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM() 521 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 523 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 920 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testFinishSessionAsUserUserCannotModifyAccountNoDPM() 946 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testFinishSessionAsUserUserCannotModifyAccountWithDPM() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 35 import android.app.admin.DevicePolicyManagerInternal; 813 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { 814 return LocalServices.getService(DevicePolicyManagerInternal.class); 869 DevicePolicyManagerInternal getDevicePolicyManagerInternal();
|
D | PackageInstallerService.java | 30 import android.app.admin.DevicePolicyManagerInternal; 932 DevicePolicyManagerInternal dpmi = in uninstall() 933 LocalServices.getService(DevicePolicyManagerInternal.class); in uninstall()
|
D | PackageInstallerSession.java | 57 import android.app.admin.DevicePolicyManagerInternal; 493 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked() 494 LocalServices.getService(DevicePolicyManagerInternal.class); in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
|
D | UserManagerService.java | 38 import android.app.admin.DevicePolicyManagerInternal; 271 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 5370 private DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal() 5373 LocalServices.getService(DevicePolicyManagerInternal.class); in getDevicePolicyManagerInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 20 import android.app.admin.DevicePolicyManagerInternal; 94 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 683 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 29 import android.app.admin.DevicePolicyManagerInternal; 82 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 41 import android.app.admin.DevicePolicyManagerInternal; 117 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 724 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 39 import android.app.admin.DevicePolicyManagerInternal; 154 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; 161 DevicePolicyManagerInternal mDpmInternal; 408 private DevicePolicyManagerInternal getDpmInternal() { in getDpmInternal() 410 mDpmInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in getDpmInternal() 1420 DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in hasObserverPermission() 1914 final DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in registerAppUsageLimitObserver() 1941 final DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in unregisterAppUsageLimitObserver()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 28 import android.app.admin.DevicePolicyManagerInternal; 144 DevicePolicyManagerInternal dpmi = in print() 145 LocalServices.getService(DevicePolicyManagerInternal.class); in print()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 50 import android.app.admin.DevicePolicyManagerInternal; 1133 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() 1134 DevicePolicyManagerInternal.class); in notifySeparateProfileChallengeChanged()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 35 import android.app.admin.DevicePolicyManagerInternal; 36 import android.app.admin.DevicePolicyManagerInternal.OnCrossProfileWidgetProvidersChangeListener; 232 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 262 mDevicePolicyManagerInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in onStart()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 47 import android.app.admin.DevicePolicyManagerInternal; 3623 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() 3624 LocalServices.getService(DevicePolicyManagerInternal.class); in showCantAddAccount() 5722 final DevicePolicyManagerInternal dpmi = 5723 LocalServices.getService(DevicePolicyManagerInternal.class);
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 71 import android.app.admin.DevicePolicyManagerInternal; 3684 DevicePolicyManagerInternal dpmInternal = in isProfileOwner() 3685 LocalServices.getService(DevicePolicyManagerInternal.class); in isProfileOwner()
|