Home
last modified time | relevance | path

Searched refs:getDeviceOwnerComponentOnCallingUser (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDevicePolicyManagerCompat.java93 public ComponentName getDeviceOwnerComponentOnCallingUser() { in getDeviceOwnerComponentOnCallingUser() method in DevicePolicyManagerCompat
94 return this.mManager.getDeviceOwnerComponentOnCallingUser(); in getDeviceOwnerComponentOnCallingUser()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddWarningPreferenceController.java47 if (isProfileOwner || admin.equals(mDpm.getDeviceOwnerComponentOnCallingUser())) { in updateState()
DBaseEnterprisePreferenceController.java75 || admin.equals(mDpm.getDeviceOwnerComponentOnCallingUser()); in isProfileOrDeviceOwner()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DBaseEnterpriseTestCase.java161 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(mDefaultAdmin); in mockDeviceOwner()
166 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(null); in mockNoDeviceOwner()
/packages/apps/Car/Settings/src/com/android/car/settingslib/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java89 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/Settings/src/com/android/settings/
DMonitoringCertInfoActivity.java95 } else if (dpm.getDeviceOwnerComponentOnCallingUser() != null) { in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java236 when(mDevicePolicyManager.getDeviceOwnerComponentOnCallingUser()).thenReturn(null); in testGetMaximumFailedPasswordsForWipeInCurrentUser()
245 when(mDevicePolicyManager.getDeviceOwnerComponentOnCallingUser()).thenReturn(mOwner); in testGetMaximumFailedPasswordsForWipeInCurrentUser()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java155 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java723 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner()
811 : dpm.getDeviceOwnerComponentOnCallingUser(); in getCurrentDeviceOwnerComponentName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java146 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java149 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java430 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(TEST_COMPONENT_NAME); in testParse_managedProfileIntent_CompProvisioning()
466 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(TEST_COMPONENT_NAME_2); in testParse_managedProfileIntent_DeviceOwnerWithByodProvisioning()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java492 mDPM.getDeviceOwnerComponentOnCallingUser())) { in updateInterface()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java691 mDPM.getDeviceOwnerComponentOnCallingUser())) { in updateInterface()