Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityController.java47 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
H A DSecurityControllerImpl.java260 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in SecurityControllerImpl
261 return mDevicePolicyManager.getDeviceOwnerType(admin); in getDeviceOwnerType()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeSecurityController.java82 public int getDeviceOwnerType(ComponentName admin) { in getDeviceOwnerType() method in FakeSecurityController
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSSecurityFooterTest.java132 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
196 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testManagedFinancedDeviceWithOwnerName()
509 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementTitleForFinancedDevice()
540 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementMessage_deviceOwner_asFinancedDevice()
707 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testCreateDialogViewForFinancedDevice()
731 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testFinancedDeviceUsesSettingsButtonText()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
H A DActionDisabledByAdminControllerFactory.java92 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
H A DFakeSecurityController.kt68 override fun getDeviceOwnerType(admin: ComponentName?): Int = 0
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A 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
H A DDevicePolicyManagerService.java2323 mOwners.getDeviceOwnerType(mOwners.getDeviceOwnerPackageName())); in loadOwners()
2854 if (mOwners.getDeviceOwnerType(doComponent.getPackageName()) == DEFAULT_DEVICE_OWNER) { in getDefaultDeviceOwnerLocked()
22421 public int getDeviceOwnerType(@NonNull ComponentName admin) {
22430 return mOwners.getDeviceOwnerType(packageName);
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DSecurityControllerTest.java155 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testIsFinancedDevice()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DKeyguardIndicationControllerBaseTest.java219 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
H A DKeyguardIndicationControllerTest.java300 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in disclosure_deviceOwner_financedDeviceWithOrganizationName()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSSecurityFooterUtils.java804 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
/aosp14/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl563 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
H A DDevicePolicyManager.java16584 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in DevicePolicyManager
16588 return mService.getDeviceOwnerType(admin); in getDeviceOwnerType()
16606 && getDeviceOwnerType(getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java495 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt555 method @Deprecated public int getDeviceOwnerType(@NonNull android.content.ComponentName);