/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/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 22 import android.app.admin.DevicePolicyManagerInternal; 84 public DevicePolicyManagerInternal getDevicePolicyManagerInternal() { in getDevicePolicyManagerInternal() 85 return LocalServices.getService(DevicePolicyManagerInternal.class); in getDevicePolicyManagerInternal()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyCache.java | 36 final DevicePolicyManagerInternal dpmi = in getInstance() 37 LocalServices.getService(DevicePolicyManagerInternal.class); in getInstance()
|
D | DevicePolicyManagerInternal.java | 29 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/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 33 import android.app.admin.DevicePolicyManagerInternal; 93 DevicePolicyManagerInternal mDevicePolicyManagerInternal; 111 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp_baseServices() 118 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp_baseServices() 120 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp_baseServices()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 32 import android.app.admin.DevicePolicyManagerInternal; 97 private DevicePolicyManagerInternal mDevicePolicyManager; 126 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp() 127 LocalServices.addService(DevicePolicyManagerInternal.class, in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 24 import android.app.admin.DevicePolicyManagerInternal; 126 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration() 239 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration2_profileOwnerOnUser0() 305 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration3_managedProfileOwner()
|
D | NetworkEventTest.java | 27 import android.app.admin.DevicePolicyManagerInternal; 61 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
|
D | DevicePolicyManagerTest.java | 64 import android.app.admin.DevicePolicyManagerInternal; 229 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in initializeDpms() 290 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testHasNoFeature() 294 assertNull(LocalServices.getService(DevicePolicyManagerInternal.class)); in testHasNoFeature() 2616 final DevicePolicyManagerInternal dpmi = in testSetMaximumTimeToLockProfile() 2617 LocalServices.getService(DevicePolicyManagerInternal.class); in testSetMaximumTimeToLockProfile()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 39 import android.app.admin.DevicePolicyManagerInternal; 213 DevicePolicyManagerInternal devicePolicyManager = LocalServices in interceptSuspendedByAdminPackage() 214 .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; 436 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountNoDPM() 462 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 464 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 490 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM() 519 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 521 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 918 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testFinishSessionAsUserUserCannotModifyAccountNoDPM() 944 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testFinishSessionAsUserUserCannotModifyAccountWithDPM() [all …]
|
/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/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 39 import android.app.admin.DevicePolicyManagerInternal; 142 mock(DevicePolicyManagerInternal.class), mock(IUriGrantsManager.class), in setUp()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 28 import android.app.admin.DevicePolicyManagerInternal; 143 DevicePolicyManagerInternal dpmi = in print() 144 LocalServices.getService(DevicePolicyManagerInternal.class); in print()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 34 import android.app.admin.DevicePolicyManagerInternal; 132 DevicePolicyManagerInternal mDpmInternal; 278 private DevicePolicyManagerInternal getDpmInternal() { in getDpmInternal() 280 mDpmInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in getDpmInternal() 938 DevicePolicyManagerInternal dpmInternal = getDpmInternal(); in hasObserverPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 30 import android.app.admin.DevicePolicyManagerInternal; 829 DevicePolicyManagerInternal dpmi = in uninstall() 830 LocalServices.getService(DevicePolicyManagerInternal.class); in uninstall()
|
D | PackageInstallerSession.java | 48 import android.app.admin.DevicePolicyManagerInternal; 363 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked() 364 LocalServices.getService(DevicePolicyManagerInternal.class); in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 45 import android.app.admin.DevicePolicyManagerInternal; 1021 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() 1022 DevicePolicyManagerInternal.class); in notifySeparateProfileChallengeChanged() 2453 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in shouldCacheSpForUser() 2454 DevicePolicyManagerInternal.class); in shouldCacheSpForUser()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 22 import android.app.admin.DevicePolicyManagerInternal; 878 final DevicePolicyManagerInternal dpmi = in canModifyNetwork() 3337 final DevicePolicyManagerInternal dpmi = in canModifyProxySettings()
|
D | WifiServiceImpl.java | 48 import android.app.admin.DevicePolicyManagerInternal; 773 final DevicePolicyManagerInternal dpmi = in isDeviceOrProfileOwner()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 33 import android.app.admin.DevicePolicyManagerInternal; 34 import android.app.admin.DevicePolicyManagerInternal.OnCrossProfileWidgetProvidersChangeListener; 232 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; 259 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; 3627 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() 3628 LocalServices.getService(DevicePolicyManagerInternal.class); in showCantAddAccount() 5726 final DevicePolicyManagerInternal dpmi = 5727 LocalServices.getService(DevicePolicyManagerInternal.class);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 78 import android.app.admin.DevicePolicyManagerInternal; 260 @Mock DevicePolicyManagerInternal mDevicePolicyManagerInternal;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 125 import android.app.admin.DevicePolicyManagerInternal; 431 private DevicePolicyManagerInternal mDpm; 1644 UsageStatsManagerInternal appUsageStats, DevicePolicyManagerInternal dpm, in init() 1832 LocalServices.getService(DevicePolicyManagerInternal.class), in onStart()
|