Home
last modified time | relevance | path

Searched refs:getDeviceOwnerComponentOnAnyUser (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java43 ComponentName getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponentOnAnyUser() method
DSecurityControllerImpl.java278 public ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in SecurityControllerImpl
279 return mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponentOnAnyUser()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java77 public ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in FakeSecurityController
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledByAdminControllerFactory.java93 dpm.getDeviceOwnerComponentOnAnyUser()) == DEVICE_OWNER_TYPE_FINANCED; in isFinancedDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java147 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testGetDeviceOwnerComponentOnAnyUser()
149 assertEquals(mSecurityController.getDeviceOwnerComponentOnAnyUser(), in testGetDeviceOwnerComponentOnAnyUser()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DFakeSecurityController.kt65 override fun getDeviceOwnerComponentOnAnyUser(): ComponentName? = in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DWorkPolicyUtils.java163 return mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java75 adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getProfileOrDeviceOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java562 return new EnforcedAdmin(dpm.getDeviceOwnerComponentOnAnyUser(), deviceOwnerUser); in checkIfPasswordQualityIsSet()
688 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java235 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java341 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(admin); in setUpDeviceOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1125 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in setDeviceOwner()
1133 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in setDeviceOwner()
1154 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in setDeviceOwner()
1204 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in setDeviceOwner_headlessSystemUser()
1229 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in checkGetDeviceOwnerInfoApi()
1237 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(null); in checkGetDeviceOwnerInfoApi()
1248 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in checkGetDeviceOwnerInfoApi()
1256 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(null); in checkGetDeviceOwnerInfoApi()
1268 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(admin1); in checkGetDeviceOwnerInfoApi()
1272 assertThat(dpm.getDeviceOwnerComponentOnAnyUser()).isEqualTo(null); in checkGetDeviceOwnerInfoApi()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java222 boolean deviceOwnerExists = dpm.getDeviceOwnerComponentOnAnyUser() != null; in setBadgeIfManagedDevice()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java229 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn( in setUp_baseServices()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java129 when(mSecurityController.getDeviceOwnerComponentOnAnyUser()) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java805 mSecurityController.getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java1755 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testCanShare_UserRestrictionSet_returnsFalse()
1772 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testCanEasyConnect_UserRestrictionSet_returnsFalse()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java980 deviceOwnerComponent = devicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java553 mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in getDisclosureText()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9489 public ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in DevicePolicyManager
17084 && getDeviceOwnerType(getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java690 if (mDpm.getDeviceOwnerComponentOnAnyUser() != null) { in getLauncherActivities()
/frameworks/base/core/api/
Dsystem-current.txt1314 …ROFILE_AND_DEVICE_OWNERS}) public android.content.ComponentName getDeviceOwnerComponentOnAnyUser();
/frameworks/base/boot/
Dboot-image-profile.txt2904 HSPLandroid/app/admin/DevicePolicyManager;->getDeviceOwnerComponentOnAnyUser()Landroid/content/Comp…
/frameworks/base/config/
Dboot-image-profile.txt2904 HSPLandroid/app/admin/DevicePolicyManager;->getDeviceOwnerComponentOnAnyUser()Landroid/content/Comp…