Home
last modified time | relevance | path

Searched refs:setDevicePolicyManager (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java126 ShadowRestrictedLockUtilsInternal.setDevicePolicyManager(mock(DevicePolicyManager.class)); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()
151 ShadowRestrictedLockUtilsInternal.setDevicePolicyManager(mock(DevicePolicyManager.class)); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddFragment.java70 void setDevicePolicyManager(DevicePolicyManager dpm) { in setDevicePolicyManager() method in DeviceAdminAddFragment
94 setDevicePolicyManager(context.getSystemService(DevicePolicyManager.class)); in onAttach()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictedLockUtilsInternal.java154 public static void setDevicePolicyManager(DevicePolicyManager dpm) { in setDevicePolicyManager() method in ShadowRestrictedLockUtilsInternal
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddFragmentTest.java399 mSpiedFragment.setDevicePolicyManager(mDpm); in testUninstallOnClickListener_activeAdmin()
421 mSpiedFragment.setDevicePolicyManager(mDpm); in testUninstallOnClickListener_inactiveAdmin()