/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 103 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType() 109 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType() 115 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
|
D | DevicePolicyManagerTest.java | 7733 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/ |
D | SecurityController.java | 42 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
|
D | SecurityControllerImpl.java | 259 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/ |
D | ActionDisabledByAdminControllerFactory.java | 73 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 82 public int getDeviceOwnerType(ComponentName admin) { in getDeviceOwnerType() method in FakeSecurityController
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 153 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/ |
D | QSSecurityFooterTest.java | 125 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/ |
D | FakeSecurityController.kt | 68 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/ |
D | BaseIDevicePolicyManager.java | 157 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in BaseIDevicePolicyManager
|
D | Owners.java | 467 int getDeviceOwnerType(String packageName) { in getDeviceOwnerType() method in Owners
|
D | DevicePolicyManagerService.java | 1999 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/ |
D | KeyguardIndicationControllerTest.java | 248 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/ |
D | QSSecurityFooterUtils.java | 775 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 537 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
|
D | DevicePolicyManager.java | 15191 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/ |
D | KeyguardIndicationController.java | 451 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
|
/frameworks/base/core/api/ |
D | test-current.txt | 509 method public int getDeviceOwnerType(@NonNull android.content.ComponentName);
|
/frameworks/base/services/ |
D | art-profile | 19665 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->getDeviceOwnerType(Landroid/content/… 20192 HSPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerType(Ljava/lang/String;)I+]Lcom/android/…
|