Home
last modified time | relevance | path

Searched refs:getDeviceOwnerType (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java113 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
119 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
125 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java47 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
DSecurityControllerImpl.java285 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in SecurityControllerImpl
286 return mDevicePolicyManager.getDeviceOwnerType(admin); in getDeviceOwnerType()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java82 public int getDeviceOwnerType(ComponentName admin) { in getDeviceOwnerType() method in FakeSecurityController
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledByAdminControllerFactory.java92 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java133 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
197 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testManagedFinancedDeviceWithOwnerName()
510 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementTitleForFinancedDevice()
541 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementMessage_deviceOwner_asFinancedDevice()
708 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testCreateDialogViewForFinancedDevice()
732 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testFinancedDeviceUsesSettingsButtonText()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DFakeSecurityController.kt68 override fun getDeviceOwnerType(admin: ComponentName?): Int = 0 in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java487 && getDeviceOwnerType(getDeviceOwnerPackageName()) == DEVICE_OWNER_TYPE_DEFAULT; in isDefaultDeviceOwnerUserId()
495 && getDeviceOwnerType(getDeviceOwnerPackageName()) in isFinancedDeviceOwnerUserId()
550 int getDeviceOwnerType(String packageName) { in getDeviceOwnerType() method in Owners
DDevicePolicyManagerService.java2342 mOwners.getDeviceOwnerType(mOwners.getDeviceOwnerPackageName())); in loadOwners()
2842 if (mOwners.getDeviceOwnerType(doComponent.getPackageName()) == DEFAULT_DEVICE_OWNER) { in getDefaultDeviceOwnerLocked()
22298 public int getDeviceOwnerType(@NonNull ComponentName admin) {
22307 return mOwners.getDeviceOwnerType(packageName);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java157 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testIsFinancedDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java239 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
DKeyguardIndicationControllerTest.java305 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in disclosure_deviceOwner_financedDeviceWithOrganizationName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java804 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl569 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
DDevicePolicyManager.java17062 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in DevicePolicyManager
17066 return mService.getDeviceOwnerType(admin); in getDeviceOwnerType()
17084 && getDeviceOwnerType(getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java552 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
/frameworks/base/core/api/
Dtest-current.txt598 method @Deprecated public int getDeviceOwnerType(@NonNull android.content.ComponentName);