Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java103 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
109 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
115 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
DDevicePolicyManagerTest.java7733 assertThat(dpm.getDeviceOwnerType(admin1)).isEqualTo(DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice()
7735 assertThat(dpm.getDeviceOwnerType(admin1)).isEqualTo(DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice()
7746 assertThat(dpm.getDeviceOwnerType(admin1)).isEqualTo(DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success()
7751 assertThrows(IllegalStateException.class, () -> dpm.getDeviceOwnerType(admin1)); in testGetDeviceOwnerType_throwsExceptionWhenThereIsNoDeviceOwner()
7758 assertThrows(IllegalStateException.class, () -> dpm.getDeviceOwnerType(admin2)); in testGetDeviceOwnerType_throwsExceptionWhenNotAsDeviceOwnerAdmin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java42 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
DSecurityControllerImpl.java259 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in SecurityControllerImpl
260 return mDevicePolicyManager.getDeviceOwnerType(admin); in getDeviceOwnerType()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledByAdminControllerFactory.java73 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
/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/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java153 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetDeviceOwnerType()
155 assertEquals(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT), in testGetDeviceOwnerType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java125 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
187 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testManagedFinancedDeviceWithOwnerName()
498 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementTitleForFinancedDevice()
527 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementMessage_deviceOwner_asFinancedDevice()
692 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testCreateDialogViewForFinancedDevice()
714 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/
DBaseIDevicePolicyManager.java157 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in BaseIDevicePolicyManager
DOwners.java467 int getDeviceOwnerType(String packageName) { in getDeviceOwnerType() method in Owners
DDevicePolicyManagerService.java1999 mOwners.getDeviceOwnerType(mOwners.getDeviceOwnerPackageName())); in loadOwners()
18449 public int getDeviceOwnerType(@NonNull ComponentName admin) {
18458 return mOwners.getDeviceOwnerType(packageName);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java248 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
502 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in disclosure_deviceOwner_financedDeviceWithOrganizationName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java775 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl537 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
DDevicePolicyManager.java15191 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in DevicePolicyManager
15195 return mService.getDeviceOwnerType(admin); in getDeviceOwnerType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java451 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
/frameworks/base/core/api/
Dtest-current.txt509 method public int getDeviceOwnerType(@NonNull android.content.ComponentName);
/frameworks/base/services/
Dart-profile19665 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->getDeviceOwnerType(Landroid/content/…
20192 HSPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerType(Ljava/lang/String;)I+]Lcom/android/…